/*
.slot--component-container .tws-container--tws-custom-html, .slot--component-container .tws-container--tws-article-display, .slot--component-container .tws-container--tws-articles, .slot--component-container .tws-container--tws-articles-connected, .slot--component-container .tws-container--tws-newsletter-subscribe {
padding: 0px 20px!important;
}
*/

/* =========================
COMPARE BUTTON
========================= */

.tws-compare-articles-button--button button {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: unset;
}

.fabrikk--buy-button-group {
    margin-bottom: 10px;
}

/* =========================
HEADER / MENU
========================= */

.tws-mega-menu--navigation .tws-mega-menu--articlegroup > a,
.tws-mega-menu--navigation .tws-mega-menu--articlegroup-children a,
.tws-mega-menu--navigation a {
    color: #fff !important;
}

.fabrikk--top-bar {
    background: #1a870a;
}

body.scrolled .fabrikk--header {
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 2;
    transition: all 0.5s ease;
}

body.scrolled .slot--logo .tws-logo {
    transition: all 0.3s ease;
    max-width: 250px;
}

.slot--logo .tws-logo {
    transition: all 0.3s ease;
}

@media (max-width: 550px) {
    .slot--logo {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {

    .tws-mini-cart .tws-mini-cart--header-cart-button {
        padding: 10px;
    }

    .fabrikk--header .slot--header-favorites .tws-favorite-list--header-favorite-button {
        margin-right: 0;
    }
}

/*
Oprez:
Ovo je ranije bilo globalno i moglo je sakriti sve choice labele u Abicartu.

label.tws-react-common--choice-label {
    display: none !important;
}
*/

/* =========================
STOCK TEXT
========================= */

.tws-article-list--list .tws-list--type-grid .ItemStock .tws-article-list--item-stock,
.tws-article-search-page--list .tws-list--type-grid .ItemStock .tws-article-list--item-stock,
.tws-article-list--list .tws-list--type-carousel .ItemStock .tws-article-list--item-stock,
.tws-article-search-page--list .tws-list--type-carousel .ItemStock .tws-article-list--item-stock {
    position: relative;
    left: 0;
}

/* =========================
COMPARE BUTTON STYLE
========================= */

div.slot--compare-articles-button {
    display: inline-block !important;
    width: auto !important;
    max-width: 150px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-left: 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

div.slot--compare-articles-button button,
div.slot--compare-articles-button a,
.slot--compare-articles-button .btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 140px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 7px 14px !important;
    background: transparent !important;
    border: 1px solid #cdbba5 !important;
    border-radius: 5px !important;
    color: #2d241d !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

div.slot--compare-articles-button button:hover,
div.slot--compare-articles-button a:hover,
.slot--compare-articles-button .btn:hover {
    background: #f8f3ec !important;
    border-color: #b89b74 !important;
    color: #2d241d !important;
}

/* =========================
CONTACT FORM
========================= */

.tws-contact-form--after-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    background: #faf7f3 !important;
    border: 1px solid #e7ddd1 !important;
    border-radius: 8px !important;
    color: #2d241d !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 18px !important;
    text-decoration: none !important;
}

.tws-contact-form--after-text:before {
    content: "☎";
    font-size: 17px;
    color: #2d241d;
}

.tws-contact-form--after-text:hover {
    background: #f5efe9 !important;
    border-color: #d6c7b5 !important;
}

/* =========================
CATEGORY HEADINGS
========================= */

.tws-custom-page--articlegroups-heading {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent !important;
    border: none;
    padding: 6px 10px !important;
    margin: 26px 0 18px 0 !important;
    text-align: center;
    font-size: 15px !important;
    line-height: 1.2;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #5a4a3f !important;
    border-top: 1px solid #e8ddd2;
    border-bottom: 1px solid #e8ddd2;
}

.tws-custom-page--articlegroups-heading::before,
.tws-custom-page--articlegroups-heading::after {
    display: none !important;
}

/* =========================
CATEGORY CARDS
========================= */

.tws-articlegroup-list--articlegroup {
    background: #fff;
    border: 1px solid #e6ded6;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.tws-articlegroup-list--articlegroup:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: #d5c1ad;
}

.tws-articlegroup-list--articlegroup img {
    width: 100%;
    display: block;
}

.tws-articlegroup-list--articlegroup p {
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: #3a2f2a;
    margin: 0;
}

/* =========================
USP BLOCK
========================= */

.tws-unique-selling-points--wrapper {
    background: #fcfaf7 !important;
    border: 1px solid #e2d6c8 !important;
    border-left: 3px solid #b89b74 !important;
    border-radius: 10px !important;
    padding: 18px 16px !important;
    margin-top: 16px !important;
    margin-bottom: 20px !important;
    max-width: 285px !important;
}

.tws-unique-selling-points--wrapper ul {
    margin: 0 !important;
    padding: 0 !important;
}

.tws-unique-selling-points--wrapper li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.tws-unique-selling-point-icon,
.tws-unique-selling-points--wrapper li i,
.tws-unique-selling-points--wrapper li .fa,
.tws-unique-selling-points--wrapper li .fas,
.tws-unique-selling-points--wrapper li .far,
.tws-unique-selling-points--wrapper li .fab {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    text-align: center !important;
    display: inline-block !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
}

.tws-unique-selling-points--text {
    display: block !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: #2d241d !important;
}

.tws-unique-selling-points--wrapper li:first-child {
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 14px !important;
}

/* =========================
PRODUCT IMAGE HOVER FIX
========================= */

.tws-article-list--grid-item-link {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}

.tws-article-list--grid-item-link > .tws-article-list--product-image:not(.tws-article-list--product-image-second) {
    position: relative !important;
    z-index: 1 !important;
}

.tws-article-list--product-image-second {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    background: #fff !important;
}

.tws-article-list--product-image {
    background: #fff !important;
}

/* FIX ZA ZOOM / CROP PROBLEM */

.tws-article-list--grid-item-link > .tws-article-list--product-image img,
.tws-article-list--product-image-second img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #fff !important;
}

.tws-article-list--grid-item-link:hover .tws-article-list--product-image-second {
    opacity: 1 !important;
}

.tws-article-list--grid-item-link .tws-article-favoritebutton--container:nth-of-type(2) {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    z-index: 4 !important;
}

/* =========================
RESTORE STOCK TEXT ON PRODUCT PAGE
========================= */

.tws-article-display .tws-article-stock-shipping,
.tws-article-display .tws-article-list--item-stock {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================
CHECKOUT USP MOBILE FIX
========================= */

.slot--checkout-introduction-text,
.slot--checkout-introduction-text.tws-text-display,
.slot--checkout-introduction-text.tws-text-display--pre-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.slot--checkout-introduction-text * {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

@media (max-width: 640px) {

    .slot--checkout-introduction-text,
    .slot--checkout-introduction-text.tws-text-display,
    .slot--checkout-introduction-text.tws-text-display--pre-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        text-align: center !important;
        line-height: 1.45 !important;
        font-size: 14px !important;
    }

    .slot--checkout-introduction-text br {
        display: none !important;
    }

    .slot--checkout-introduction-text span,
    .slot--checkout-introduction-text p,
    .slot--checkout-introduction-text div {
        white-space: normal !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .slot--checkout-introduction-text img,
    .slot--checkout-introduction-text svg,
    .slot--checkout-introduction-text i,
    .slot--checkout-introduction-text .fa {
        display: inline-block !important;
        max-width: 18px !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
        vertical-align: middle !important;
    }
}

@media (max-width: 420px) {

    .slot--checkout-introduction-text,
    .slot--checkout-introduction-text.tws-text-display,
    .slot--checkout-introduction-text.tws-text-display--pre-wrap {
        font-size: 13px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}
/* =========================
LOW STOCK CTA - PRODUCT PAGE
========================= */

.etno-low-stock-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px 0 16px !important;
    padding: 8px 14px !important;
    background: #f6efe7 !important;
    border: 1px solid #e2c9ab !important;
    border-radius: 999px !important;
    color: #7a4d21 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
}

.etno-low-stock-cta:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #c77b30;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 8px;
}
.etno-care-block {
  width: 100%;
  margin-top: -24px;
  box-sizing: border-box;
}
.etno-card {
  background: #f8f3ec;
  border: 1px solid #e2d5c6;
  border-radius: 7px;
  padding: 10px 12px;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.52;
  color: #4d433a;
  box-sizing: border-box;
  transition: background .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .22s ease;
}

.etno-card:hover {
  background: #f3eadf;
  border-color: #d5c4af;
  box-shadow: 0 5px 14px rgba(46,36,28,.08);
  transform: translateY(-1px);
}

.etno-bold {
  font-weight: 600;
  color: #2d241d;
}

.etno-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.etno-tile {
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 116px;
  border-radius: 8px;
  padding: 10px 13px;
  box-sizing: border-box;
  transition: background .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .22s ease;
}

.etno-tile--light {
  background: #f7f1e9;
  border: 1px solid #e0d4c3;
}

.etno-tile--dark {
  background: #efe6da;
  border: 1px solid #dccfbc;
}

.etno-tile:hover {
  box-shadow: 0 5px 14px rgba(46,36,28,.08);
  transform: translateY(-1px);
}

.etno-tile--light:hover { background: #f3eadf; border-color: #d5c4af; }
.etno-tile--dark:hover  { background: #eadfce; border-color: #cdbda7; }

.etno-label {
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #9a6f52;
  margin-bottom: 4px;
}

.etno-title {
  font-size: 15px;
  color: #2e241c;
  margin-bottom: 5px;
}

.etno-desc {
  font-size: 12px;
  line-height: 1.42;
  color: #5f5042;
  margin-bottom: 9px;
}

.etno-link {
  display: inline-block;
  margin-top: auto;
  font-size: 11.5px;
  color: #2e241c;
  text-decoration: none;
  border-bottom: 1px solid #b79d83;
  padding-bottom: 1px;
}