/* Snaga tela – mobile homepage layout (Vilgain-style reference) */

:root {
  --st-brand: #c32d25;
  --st-brand-dark: #98231d;
  --st-surface: #faf8f7;
  --st-promo: #f3ebe8;
  --st-border: #ece6e4;
  --st-shadow: 0 8px 24px rgba(35, 24, 21, 0.08);
  --st-radius: 14px;
  --st-mobile-stack: 168px;
  --st-mobile-header-height: 58px;
  /*
   * Visina logo trake + search iznad .home-first-screen (iPhone 14 Pro ≈ 144px).
   * Mora da prati realan chrome — premali offset čini slider previsokim i „gura“ sadržaj.
   */
  --st-mobile-header-block: 14.4rem;
  --st-text: #111;
  --st-text-body: #222;
  --st-text-muted: #555;
}

.cart-count.is-empty,
.cart-count[hidden] {
  display: none !important;
}

/* O nama */
.about-page-header {
  position: relative;
  overflow: hidden;
  background-image: var(--about-bg-desktop);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-page-header__img {
  display: none;
}

.about-page .about-page__text,
.about-page .about-page__text p,
.about-page .about-page__text li,
.about-page .about-page__text span {
  color: #222 !important;
  font-weight: 400;
}

.about-page .about-page__text strong,
.about-page .about-page__text b {
  color: #111 !important;
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .about-page-header {
    background-image: none;
    min-height: 0 !important;
    height: auto;
    padding: 0;
    display: block;
  }

  .about-page-header__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    pointer-events: none;
  }

  .about-page-header .page-title {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.6rem;
  }
}

/* Blog listing + single */
.blog-listing .entry-container {
  row-gap: 36px;
}

.blog-listing .entry-item {
  padding: 0 14px;
}

.blog-listing .entry.entry-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.blog-listing .entry.entry-grid:hover {
  margin: 0;
  padding: 0;
  border-color: #e6e6e6;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.blog-listing .entry .entry-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: 0;
  background: #f6f6f6;
}

.blog-listing .entry .entry-media a,
.blog-listing .entry .entry-media picture {
  display: block;
  height: 100%;
}

.blog-listing .entry .entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.blog-listing .entry.entry-grid:hover .entry-media img {
  transform: scale(1.04);
}

.blog-listing .entry .entry-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 24px;
}

.blog-listing .entry .entry-meta,
.blog-listing .entry .entry-meta a,
.blog-single .entry-meta,
.blog-single .entry-meta a {
  color: #444 !important;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.blog-listing .entry .entry-title,
.blog-listing .entry .entry-title a,
.blog-single .entry-title,
.blog-single .entry-title a {
  color: #111 !important;
  font-size: 1.8rem;
  line-height: 1.35;
  font-weight: 700 !important;
  margin: 0;
}

.blog-single .entry-title {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.blog-single .blog-single__text,
.blog-single .blog-single__text p,
.blog-single .blog-single__text li,
.blog-single .blog-single__text span {
  color: #222 !important;
  font-weight: 400;
}

.blog-single .blog-single__text strong,
.blog-single .blog-single__text b {
  color: #111 !important;
  font-weight: 700;
}

.blog-single .sidebar .widget-title,
.blog-single .posts-list h4 a {
  color: #111 !important;
  font-weight: 700;
}

/* Typography – darker body copy (Vilgain-style) */
.product-single .product-details {
  color: var(--st-text-body);
  font-weight: 400;
}

.product-single .product-details .product-title {
  color: var(--st-text);
  font-weight: 700;
}

.product-single .product-content,
.product-single .product-content p {
  color: var(--st-text-body);
  font-size: 1.45rem;
  line-height: 1.65;
  font-weight: 400;
}

.product-single .product-desc-content {
  color: var(--st-text-body);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.7;
}

.product-single .product-desc-content p,
.product-single .product-desc-content li,
.product-single .product-desc-content td,
.product-single .product-desc-content th,
.product-single .product-desc-content span:not([class]),
.product-single .product-desc-content div:not([class]) {
  color: inherit;
}

.product-single .product-desc-content h2,
.product-single .product-desc-content h3,
.product-single .product-desc-content h4 {
  color: var(--st-text);
  font-weight: 600;
}

.product-single .product-desc-content ul,
.product-single .product-desc-content ol {
  color: var(--st-text-body);
}

.product-single .product-desc-content a {
  color: var(--st-text);
  font-weight: 500;
}

.product-single .product-desc-content strong,
.product-single .product-desc-content b {
  color: var(--st-text);
  font-weight: 600;
}

.product-single .details-filter-row label {
  color: var(--st-text);
  font-weight: 500;
}

.product-single .product-details-footer .product-cat,
.product-single .product-details-footer .product-cat span {
  color: var(--st-text-muted);
}

.product-single .product-details-footer .product-cat a {
  color: var(--st-text-body);
  font-weight: 500;
}

.product-single .details-action-wrapper .btn-product span {
  color: var(--st-text-body);
  font-weight: 500;
}

.product-single .product-details-tab .nav.nav-pills .nav-link {
  color: var(--st-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.product-single .product-details-tab .nav.nav-pills .nav-link.active,
.product-single .product-details-tab .nav.nav-pills .nav-item.show .nav-link {
  color: var(--st-text);
  font-weight: 600;
}

.product-single .product-details-tab.product-single-tabs .nav.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem 1.2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-single .product-details-tab.product-single-tabs .nav.nav-pills::-webkit-scrollbar {
  display: none;
}

.product-single .product-details-tab.product-single-tabs .nav.nav-pills .nav-item {
  flex: 0 0 auto;
  margin: 0 !important;
}

/* Homepage product sections – Novo / Najprodavanije */
.home-products-section {
  padding: 2.4rem 0 1.6rem;
}

.home-products-section + .home-products-section {
  padding-top: 1rem;
}

.home-brand-section {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
  margin: 0;
  height: 360px;
  background-color: #2f2f2f;
  background-image: var(--brand-bg-desktop);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  --slide-title-color: var(--d-title-color, #ffffff);
  --slide-title-font: var(--d-title-font, inherit);
  --slide-title-size: var(--d-title-size, 3rem);
  --slide-btn-bg: var(--d-btn-bg, #111111);
  --slide-btn-text: var(--d-btn-text, #ffffff);
  --slide-btn-font: var(--d-btn-font, inherit);
}

/* Iste responsive visine kao intro-slider (demo-2.css) */
@media screen and (min-width: 576px) {
  .home-brand-section {
    height: 400px;
  }
}

@media screen and (min-width: 768px) {
  .home-brand-section {
    height: 440px;
  }
}

@media screen and (min-width: 992px) {
  .home-brand-section {
    height: 460px;
  }
}

@media screen and (min-width: 1200px) {
  .home-brand-section {
    height: 500px;
  }
}

.home-brand-section__img {
  display: none;
}

@media screen and (max-width: 991px) {
  .home-brand-section {
    background-image: none;
    --slide-title-color: var(--m-title-color, var(--d-title-color, #ffffff));
    --slide-title-font: var(--m-title-font, var(--d-title-font, inherit));
    --slide-title-size: var(--m-title-size, var(--d-title-size, 2.6rem));
    --slide-btn-bg: var(--m-btn-bg, var(--d-btn-bg, #111111));
    --slide-btn-text: var(--m-btn-text, var(--d-btn-text, #ffffff));
    --slide-btn-font: var(--m-btn-font, var(--d-btn-font, inherit));
  }
}

.home-brand-section__overlay {
  display: none;
}

.home-brand-section__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 100%;
  padding: 2.4rem 1.2rem;
}

.home-brand-section__text {
  margin: 0 0 1.2rem;
  max-width: 36rem;
  color: var(--slide-title-color) !important;
  font-family: var(--slide-title-font);
  font-size: var(--slide-title-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-shadow: none;
}

.home-brand-section__text p {
  margin: 0 0 0.35em;
  color: inherit;
  font: inherit;
}

.home-brand-section__text p:last-child {
  margin-bottom: 0;
}

.home-brand-section__text strong,
.home-brand-section__text b {
  font-weight: 700;
}

.home-brand-section__text em,
.home-brand-section__text i {
  font-style: italic;
}

.home-brand-section__text a {
  color: inherit;
  text-decoration: underline;
}

.home-brand-section__btn {
  align-self: auto;
  border-radius: 10px !important;
  min-height: 44px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-family: var(--slide-btn-font);
  background-color: var(--slide-btn-bg) !important;
  border-color: var(--slide-btn-bg) !important;
}

.home-brand-section__btn span,
.home-brand-section__btn i {
  color: var(--slide-btn-text) !important;
}

.home-brand-section__btn:hover,
.home-brand-section__btn:focus {
  filter: brightness(1.08);
  color: var(--slide-btn-text) !important;
}

/* Desktop content position – isto kao slider */
@media (min-width: 992px) {
  .home-brand-section {
    --slide-side-inset: max(1.5rem, calc((100% - 960px) / 2 + 15px));
  }

  .home-brand-section .home-brand-section__content {
    position: absolute;
    z-index: 10;
    width: auto;
    max-width: min(36rem, calc(100% - (2 * var(--slide-side-inset))));
    min-height: 0;
    height: auto;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .home-brand-section.st-h-d-left .home-brand-section__content {
    left: var(--slide-side-inset);
    right: auto;
    align-items: flex-start;
    text-align: left;
  }

  .home-brand-section.st-h-d-center .home-brand-section__content {
    left: 50%;
    right: auto;
    align-items: center;
    text-align: center;
  }

  .home-brand-section.st-h-d-right .home-brand-section__content {
    left: auto;
    right: var(--slide-side-inset);
    align-items: flex-end;
    text-align: right;
  }

  .home-brand-section.st-v-d-top .home-brand-section__content {
    top: 8%;
    bottom: auto;
    transform: none;
  }

  .home-brand-section.st-v-d-center .home-brand-section__content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .home-brand-section.st-h-d-center.st-v-d-center .home-brand-section__content {
    transform: translate(-50%, -50%);
  }

  .home-brand-section.st-h-d-center.st-v-d-top .home-brand-section__content,
  .home-brand-section.st-h-d-center.st-v-d-bottom .home-brand-section__content {
    transform: translateX(-50%);
  }

  .home-brand-section.st-v-d-bottom .home-brand-section__content {
    top: auto;
    bottom: 8%;
    transform: none;
  }

  .home-brand-section.st-h-d-center.st-v-d-bottom .home-brand-section__content {
    transform: translateX(-50%);
  }
}

@media (min-width: 1200px) {
  .home-brand-section {
    --slide-side-inset: max(1.5rem, calc((100% - 1140px) / 2 + 15px));
  }
}

.home-products-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.home-products-section__title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.home-products-section__link {
  font-size: 1.35rem;
  font-weight: 500;
  color: #222;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.home-products-section__link:hover,
.home-products-section__link:focus {
  color: var(--st-brand);
}

.home-products-section__carousel {
  overflow: hidden;
  max-width: 100%;
}

.home-products-carousel.owl-carousel {
  overflow: hidden;
}

.home-products-carousel .owl-stage-outer {
  overflow: hidden;
}

.home-products-carousel:not(.owl-loaded) > .home-product-card:not(:first-child) {
  display: none;
}

.home-products-carousel.owl-loaded .owl-stage,
.home-products-carousel.owl-loaded .owl-item {
  display: flex;
  align-items: stretch;
}

.home-products-carousel.owl-loaded .owl-item .home-product-card {
  width: 100%;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f0f0f0;
  border-radius: 14px;
  overflow: hidden;
}

.home-product-card__visual {
  position: relative;
  margin-bottom: 0;
}

.home-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 2rem 1.4rem 1.2rem;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
}

.home-product-card__media img {
  width: auto;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.home-product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-product-card__badge.is-new {
  background: #f6d66a;
  color: #222;
}

.home-product-card__badge.is-top {
  background: #ff9800;
  color: #fff;
}

.home-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.4rem 1.2rem 1.2rem;
}

.home-product-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 0;
}

.home-product-card__title a {
  color: #111;
  text-decoration: none;
}

.home-product-card__title a:hover,
.home-product-card__title a:focus {
  color: var(--st-brand);
}

.home-product-card__subtitle {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--st-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-product-card__price {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
  margin-bottom: 0;
}

.home-product-card__price-new {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.home-product-card__price-old {
  font-size: 1.15rem;
  color: #888;
  text-decoration: line-through;
  line-height: 1.2;
}

.home-product-card__cart {
  margin: 0;
  flex-shrink: 0;
}

.home-product-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.home-product-card__btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: var(--st-brand);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.home-product-card__btn:hover,
.home-product-card__btn:focus {
  background: var(--st-brand-dark);
  color: #fff;
}

.home-product-card__btn.is-disabled {
  background: #ccc;
  cursor: not-allowed;
}

.home-products-carousel .owl-dots {
  margin-top: 1.2rem;
}

/* Carousel edge arrows – desktop only (mobile keeps dots) */
.st-carousel-hover-nav {
  position: relative;
}

.st-carousel-edge-nav.owl-carousel {
  position: relative;
}

@media screen and (max-width: 991px) {
  .st-carousel-edge-nav.owl-carousel .owl-nav {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .st-carousel-edge-nav.owl-carousel .owl-dots {
    display: none !important;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav {
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
    z-index: 6;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
    color: #222 !important;
    font-size: 1.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav .owl-prev {
    left: 0.4rem;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav .owl-next {
    right: 0.4rem;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav [class*='owl-']:not(.disabled):hover,
  .st-carousel-edge-nav.owl-carousel .owl-nav [class*='owl-']:not(.disabled):focus {
    background: #fff !important;
    color: var(--st-brand) !important;
  }

  .st-carousel-edge-nav.owl-carousel .owl-nav .disabled {
    opacity: 0 !important;
    pointer-events: none;
  }

  .st-carousel-hover-nav:hover .st-carousel-edge-nav.owl-carousel .owl-nav [class*='owl-']:not(.disabled) {
    opacity: 1;
  }

  .intro-slider-container.st-carousel-hover-nav .st-carousel-edge-nav.owl-carousel .owl-nav [class*='owl-'] {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #222 !important;
  }

  .intro-slider-container.st-carousel-hover-nav .st-carousel-edge-nav.owl-carousel .owl-nav .owl-prev {
    left: 1.5rem;
  }

  .intro-slider-container.st-carousel-hover-nav .st-carousel-edge-nav.owl-carousel .owl-nav .owl-next {
    right: 1.5rem;
  }

  .home-products-section__carousel-wrap.st-carousel-hover-nav .home-products-carousel.owl-carousel .owl-nav {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    /* Visina zone slike (.home-product-card__media), ne cele kartice */
    height: 220px;
  }

  .home-products-section__carousel-wrap.st-carousel-hover-nav .st-carousel-edge-nav.owl-carousel .owl-nav .owl-prev {
    left: 0;
  }

  .home-products-section__carousel-wrap.st-carousel-hover-nav .st-carousel-edge-nav.owl-carousel .owl-nav .owl-next {
    right: 0;
  }
}

/* Homepage slider – desktop / mobile backgrounds */
.home-main .intro-slide {
  background-image: var(--slide-desktop);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  --slide-title-color: var(--d-title-color, #ffffff);
  --slide-title-font: var(--d-title-font, inherit);
  --slide-title-size: var(--d-title-size, 3rem);
  --slide-btn-bg: var(--d-btn-bg, #111111);
  --slide-btn-text: var(--d-btn-text, #ffffff);
  --slide-btn-font: var(--d-btn-font, inherit);
}

.home-main .intro-slide__img {
  display: none !important;
}

@media (max-width: 991px) {
  .home-main .intro-slide {
    background-image: none;
    --slide-title-color: var(--m-title-color, var(--d-title-color, #ffffff));
    --slide-title-font: var(--m-title-font, var(--d-title-font, inherit));
    --slide-title-size: var(--m-title-size, var(--d-title-size, 2.6rem));
    --slide-btn-bg: var(--m-btn-bg, var(--d-btn-bg, #111111));
    --slide-btn-text: var(--m-btn-text, var(--d-btn-text, #ffffff));
    --slide-btn-font: var(--m-btn-font, var(--d-btn-font, inherit));
  }
}

/* Homepage slider – title / button styles from CMS */
.home-main .intro-title {
  color: var(--slide-title-color) !important;
  font-family: var(--slide-title-font);
  font-size: var(--slide-title-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  text-shadow: none;
}

.home-main .intro-title p {
  margin: 0 0 0.35em;
  color: inherit;
  font: inherit;
}

.home-main .intro-title p:last-child {
  margin-bottom: 0;
}

.home-main .intro-title strong,
.home-main .intro-title b {
  font-weight: 700;
}

.home-main .intro-title em,
.home-main .intro-title i {
  font-style: italic;
}

.home-main .intro-title a {
  color: inherit;
  text-decoration: underline;
}

.home-main .intro-content .btn.btn-primary {
  border-radius: 10px !important;
  min-height: 44px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-family: var(--slide-btn-font);
  background-color: var(--slide-btn-bg) !important;
  border-color: var(--slide-btn-bg) !important;
}

.home-main .intro-content .btn.btn-primary span,
.home-main .intro-content .btn.btn-primary i {
  color: var(--slide-btn-text) !important;
}

.home-main .intro-content .btn.btn-primary:hover,
.home-main .intro-content .btn.btn-primary:focus {
  filter: brightness(1.08);
  color: var(--slide-btn-text) !important;
}

/* Desktop content position – levo/desno poravnato sa širinom .container (ne uz ivicu ekrana) */
@media (min-width: 992px) {
  .home-main .intro-slide {
    --slide-side-inset: max(1.5rem, calc((100% - 960px) / 2 + 15px));
  }

  .home-main .intro-slide .intro-content {
    position: absolute;
    z-index: 10;
    width: auto;
    max-width: min(36rem, calc(100% - (2 * var(--slide-side-inset))));
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .home-main .intro-slide.st-h-d-left .intro-content {
    left: var(--slide-side-inset);
    right: auto;
    align-items: flex-start;
    text-align: left;
  }

  .home-main .intro-slide.st-h-d-center .intro-content {
    left: 50%;
    right: auto;
    align-items: center;
    text-align: center;
  }

  .home-main .intro-slide.st-h-d-right .intro-content {
    left: auto;
    right: var(--slide-side-inset);
    align-items: flex-end;
    text-align: right;
  }

  .home-main .intro-slide.st-v-d-top .intro-content {
    top: 8%;
    bottom: auto;
    transform: none;
  }

  .home-main .intro-slide.st-v-d-center .intro-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .home-main .intro-slide.st-h-d-center.st-v-d-center .intro-content {
    transform: translate(-50%, -50%);
  }

  .home-main .intro-slide.st-h-d-center.st-v-d-top .intro-content,
  .home-main .intro-slide.st-h-d-center.st-v-d-bottom .intro-content {
    transform: translateX(-50%);
  }

  .home-main .intro-slide.st-v-d-bottom .intro-content {
    top: auto;
    bottom: 8%;
    transform: none;
  }

  .home-main .intro-slide.st-h-d-center.st-v-d-bottom .intro-content {
    transform: translateX(-50%);
  }
}

@media (min-width: 1200px) {
  .home-main .intro-slide {
    --slide-side-inset: max(1.5rem, calc((100% - 1140px) / 2 + 15px));
  }
}

/* Contact page – submit button (homepage slider style) */
.contact-form__submit {
  margin-top: 1rem;
  min-height: 44px;
  border-radius: 10px !important;
  padding: 0.9rem 1.8rem;
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
  font-weight: 600;
}

.contact-form__submit:hover,
.contact-form__submit:focus,
.contact-form__submit:active {
  background-color: var(--st-brand-dark) !important;
  border-color: var(--st-brand-dark) !important;
  color: #fff !important;
}

.contact-form__submit span,
.contact-form__submit i,
.contact-form__submit:hover span,
.contact-form__submit:hover i,
.contact-form__submit:focus span,
.contact-form__submit:focus i {
  color: #fff !important;
}

/* Mini cart dropdown – action buttons */
.dropdown-cart-action .btn {
  border-radius: 10px !important;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
}

.dropdown-cart-action .btn.btn-primary {
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
}

.dropdown-cart-action .btn.btn-primary:hover,
.dropdown-cart-action .btn.btn-primary:focus,
.dropdown-cart-action .btn.btn-primary:active {
  background-color: var(--st-brand-dark) !important;
  border-color: var(--st-brand-dark) !important;
  color: #fff !important;
}

.dropdown-cart-action .btn.btn-outline-primary-2 {
  border-color: var(--st-brand) !important;
  color: var(--st-brand) !important;
  background-color: transparent;
}

.dropdown-cart-action .btn.btn-outline-primary-2:hover,
.dropdown-cart-action .btn.btn-outline-primary-2:focus,
.dropdown-cart-action .btn.btn-outline-primary-2:active {
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
}

.dropdown-cart-action .btn.btn-outline-primary-2 span,
.dropdown-cart-action .btn.btn-outline-primary-2 i {
  color: inherit;
}

.dropdown-cart-action .btn.btn-outline-primary-2:hover span,
.dropdown-cart-action .btn.btn-outline-primary-2:hover i,
.dropdown-cart-action .btn.btn-outline-primary-2:focus span,
.dropdown-cart-action .btn.btn-outline-primary-2:focus i {
  color: #fff !important;
}

/* Cart, checkout & profile – rounded action buttons */
.cart-page .btn,
.checkout-page .btn,
.profile-page .btn {
  border-radius: 10px !important;
  font-weight: 600;
}

.cart-page .btn.btn-primary,
.checkout-page .btn.btn-primary,
.profile-page .btn.btn-primary {
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
}

.cart-page .btn.btn-primary:hover,
.cart-page .btn.btn-primary:focus,
.checkout-page .btn.btn-primary:hover,
.checkout-page .btn.btn-primary:focus,
.profile-page .btn.btn-primary:hover,
.profile-page .btn.btn-primary:focus {
  background-color: var(--st-brand-dark) !important;
  border-color: var(--st-brand-dark) !important;
  color: #fff !important;
}

.cart-page .btn.btn-outline-primary-2,
.checkout-page .btn.btn-outline-primary-2,
.profile-page .btn.btn-outline-primary-2 {
  border-color: var(--st-brand) !important;
  color: var(--st-brand) !important;
  background-color: transparent;
}

.cart-page .btn.btn-outline-primary-2:hover,
.cart-page .btn.btn-outline-primary-2:focus,
.checkout-page .btn.btn-outline-primary-2:hover,
.checkout-page .btn.btn-outline-primary-2:focus,
.profile-page .btn.btn-outline-primary-2:hover,
.profile-page .btn.btn-outline-primary-2:focus {
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
}

.cart-page .btn.btn-outline-primary-2:hover span,
.cart-page .btn.btn-outline-primary-2:hover i,
.checkout-page .btn.btn-outline-primary-2:hover span,
.checkout-page .btn.btn-outline-primary-2:hover i,
.profile-page .btn.btn-outline-primary-2:hover span,
.profile-page .btn.btn-outline-primary-2:hover i,
.cart-page .btn.btn-outline-primary-2:focus span,
.cart-page .btn.btn-outline-primary-2:focus i,
.checkout-page .btn.btn-outline-primary-2:focus span,
.checkout-page .btn.btn-outline-primary-2:focus i,
.profile-page .btn.btn-outline-primary-2:focus span,
.profile-page .btn.btn-outline-primary-2:focus i {
  color: #fff !important;
}

.cart-page .btn.btn-outline-dark-2 {
  border-radius: 10px !important;
  border-color: #333 !important;
  color: #333 !important;
}

.cart-page .btn.btn-outline-dark-2:hover,
.cart-page .btn.btn-outline-dark-2:focus {
  background-color: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}

.cart-page .btn.btn-outline-dark-2:hover span,
.cart-page .btn.btn-outline-dark-2:hover i,
.cart-page .btn.btn-outline-dark-2:focus span,
.cart-page .btn.btn-outline-dark-2:focus i {
  color: #fff !important;
}

.cart-item-flavor {
  display: block;
  width: 100%;
  margin: 0.25rem 0 0;
  font-size: 1.2rem;
  color: #777;
  line-height: 1.35;
}

.cart-item-flavor--inline {
  margin-top: 0.15rem;
}

.cart-page .product-col .cart-item-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}

.cart-page .product-col .product {
  align-items: center;
}

.cart-page .product-col .product-title {
  display: block;
  width: 100%;
}

/* PNG proizvodi u korpi — bez sive pozadine iz teme (.product-media) */
.cart-page .product-col .product-media,
.cart-page .product-col .product-media > a {
  background: transparent !important;
  background-color: transparent !important;
}

.cart-page .product-col .product-media img {
  background: transparent;
  display: block;
  max-width: 100%;
  height: auto;
}

.cart-empty {
  padding: 4.5rem 1.5rem 5rem;
  background: #fff;
  text-align: center;
}

.cart-empty__title {
  margin: 0 0 0.75rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.cart-empty__text {
  margin: 0 0 1.8rem;
  font-size: 1.4rem;
  color: #666;
}

.cart-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.cart-empty__actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* Login / registration modal */
#signin-modal .form-footer .btn {
  border-radius: 10px !important;
  min-height: 44px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
}

#signin-modal .form-footer .btn:hover,
#signin-modal .form-footer .btn:focus,
#signin-modal .form-footer .btn:active {
  background-color: var(--st-brand-dark) !important;
  border-color: var(--st-brand-dark) !important;
  color: #fff !important;
}

#signin-modal .form-footer .btn span,
#signin-modal .form-footer .btn i,
#signin-modal .form-footer .btn:hover span,
#signin-modal .form-footer .btn:hover i,
#signin-modal .form-footer .btn:focus span,
#signin-modal .form-footer .btn:focus i {
  color: #fff !important;
}

/* Category listing – breadcrumbs, toolbar, product grid */
.category-listing .page-content {
  padding-top: 1.2rem;
  padding-bottom: 2.4rem;
}

.category-listing__breadcrumb {
  margin-bottom: 0.6rem;
}

.category-listing__breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1.4;
}

.category-listing__breadcrumb .breadcrumb-item,
.category-listing__breadcrumb .breadcrumb-item a {
  color: #999;
}

.category-listing__breadcrumb .breadcrumb-item a:hover,
.category-listing__breadcrumb .breadcrumb-item a:focus {
  color: var(--st-brand);
}

.category-listing__breadcrumb .breadcrumb-item.active {
  color: #777;
}

.category-listing__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #bbb;
}

.category-listing__title {
  margin: 0 0 1.2rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  letter-spacing: -0.02em;
}

/* Vilgain-style category / subcategory cards */
.category-nav-cards {
  margin: 0 0 1.6rem;
  max-width: 100%;
}

.category-nav-cards__scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
}

.category-nav-cards__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 118px;
  padding: 0.85rem 0.65rem 0.9rem;
  background: #f3f1ef;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
}

.category-nav-cards__item:hover,
.category-nav-cards__item:focus {
  background: #ebe8e5;
  color: var(--st-brand);
  text-decoration: none;
}

.category-nav-cards__item.is-active {
  background: #e8e4e1;
  box-shadow: inset 0 0 0 2px var(--st-brand);
  color: var(--st-brand);
}

.category-nav-cards__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e5e2;
}

.category-nav-cards__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-nav-cards__label {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .category-nav-cards {
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    padding: 0 0 0.2rem;
  }

  .category-nav-cards__scroll {
    flex-wrap: nowrap;
    gap: 0.65rem;
    padding: 0 1.2rem 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-nav-cards__scroll::-webkit-scrollbar {
    display: none;
  }

  .category-nav-cards__item {
    flex: 0 0 auto;
    width: 104px;
    padding: 0.75rem 0.5rem 0.8rem;
  }

  .category-nav-cards__media {
    width: 64px;
    height: 64px;
  }

  .category-nav-cards__label {
    font-size: 1.1rem;
  }
}

.category-listing__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}

.category-listing__filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 500;
  color: #222;
  cursor: pointer;
}

.category-listing__filters-btn .icon-angle-right {
  font-size: 1.1rem;
  color: #888;
}

.category-listing__filters-icon {
  flex-shrink: 0;
}

.category-listing__divider {
  margin: 1rem 0 1.4rem;
  border: 0;
  border-top: 1px solid var(--st-border);
}

.category-listing__divider--tight {
  margin-top: 0;
}

.category-listing--wishlist .category-listing__title {
  margin-bottom: 0;
}

.category-listing__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.category-listing__grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}

.category-listing__empty {
  margin: 2rem 0;
  font-size: 1.4rem;
  color: #666;
  text-align: center;
}

.category-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
}

.category-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  padding: 1.2rem 1rem;
  background: #f3f3f3;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}

.category-product-card__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.category-product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.category-product-card__badge.is-new {
  background: #f6d66a;
  color: #222;
}

.category-product-card__badge.is-sale {
  background: var(--st-brand);
  color: #fff;
}

.category-product-card__badge.is-top {
  background: #ff9800;
  color: #fff;
}

.category-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 0.85rem 0.85rem;
}

.category-product-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-product-card__title a {
  color: #111;
  text-decoration: none;
}

.category-product-card__title a:hover,
.category-product-card__title a:focus {
  color: var(--st-brand);
}

.category-product-card__desc {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  color: var(--st-text-body);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 1.7em;
  margin: auto 0 0.75rem;
}

.category-product-card__price-new {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.category-product-card__price-old {
  font-size: 1.15rem;
  color: #999;
  text-decoration: line-through;
  line-height: 1.2;
}

.category-product-card__cart {
  margin: 0;
  flex-shrink: 0;
}

.category-product-card__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  background: var(--st-brand);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.category-product-card__btn:hover,
.category-product-card__btn:focus {
  background: var(--st-brand-dark);
  color: #fff;
}

.category-product-card__btn.is-disabled {
  justify-content: center;
  background: #ccc;
  cursor: not-allowed;
}

.category-product-card__btn-plus {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

/* Single product page – fixed image frame, natural proportions inside */
.product-single .product-main-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: #f3f3f3;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.product-main-image__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  color: #222;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.product-main-image__nav--prev {
  left: 0.85rem;
}

.product-main-image__nav--next {
  right: 0.85rem;
}

.product-main-image__nav:hover,
.product-main-image__nav:focus {
  background: #fff;
  color: var(--st-brand);
  outline: none;
}

.product-single .product-main-image img,
.product-single #product-main-img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-single .product-image-gallery .product-gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  padding: 0.45rem;
  background: #f3f3f3;
  border-radius: 8px;
  box-sizing: border-box;
}

.product-single .product-image-gallery .product-gallery-item:before,
.product-single .product-image-gallery .product-gallery-item:after {
  display: none;
}

.product-single .product-image-gallery .product-gallery-item.active {
  box-shadow: inset 0 0 0 2px var(--st-brand);
}

.product-single .product-image-gallery .product-gallery-item img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.product-single .product-flavor-row .product-details-flavor,
.product-single .product-grammage-row .product-details-grammage {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.product-single .product-flavor-select,
.product-single .product-grammage-select {
  width: 100%;
  max-width: 100%;
  height: 44px;
  border-radius: 8px;
  border-color: #d8d8d8;
  font-size: 1.4rem;
  box-sizing: border-box;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 10px;
  background-color: var(--st-brand) !important;
  border-color: var(--st-brand) !important;
  color: #fff !important;
  box-shadow: none;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn::before {
  display: none;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn span,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn .product-single__add-plus {
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:hover,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:focus,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:active {
  background-color: var(--st-brand-dark) !important;
  border-color: var(--st-brand-dark) !important;
  color: #fff !important;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:hover span,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:focus span,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:active span,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:hover .product-single__add-plus,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:focus .product-single__add-plus,
.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn:active .product-single__add-plus {
  color: #fff !important;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn.is-disabled {
  justify-content: center;
  background-color: #ccc !important;
  border-color: #ccc !important;
  cursor: not-allowed;
}

.product-single .product-details-action .btn-product.btn-cart.product-single__add-btn.is-disabled span {
  color: #fff !important;
}

.product-single__add-plus {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

/* Desktop / tablet – spacing & quantity */
.product-single .product-details-top .row {
  align-items: flex-start;
}

.product-single .product-details-top {
  margin-bottom: 0;
}

.product-single .product-gallery {
  margin-bottom: 0;
}

.product-single .details-filter-row {
  margin-bottom: 1.2rem;
}

.product-single .product-details-action {
  margin-bottom: 1.2rem;
}

.product-single .product-details-footer {
  display: none !important;
  padding-top: 1.2rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

.product-single .product-details-tab.product-single-tabs {
  margin-top: 1.4rem;
  margin-bottom: 2rem;
}

.product-single .product-details-tab.product-single-tabs .tab-content .tab-pane {
  padding: 1.6rem 1.4rem;
}

.product-single .product-details-quantity {
  max-width: 140px;
}

.product-single .product-details-quantity .input-spinner {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  overflow: hidden;
}

.product-single .product-details-quantity .input-spinner .form-control {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.product-single .product-details-quantity .input-spinner .btn-spinner {
  border-radius: 0;
}

.product-single .product-details-quantity .form-control:not(.input-spinner .form-control) {
  border-radius: 10px;
  border-color: #d8d8d8;
  text-align: center;
}

.product-single__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-single__social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--st-brand);
  color: var(--st-brand);
  font-size: 16px;
  transition: all 0.3s ease;
}

.product-single__social a:hover {
  background-color: var(--st-brand);
  color: #fff;
}

.product-single__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #666;
  text-decoration: none;
}

.product-single__back:hover,
.product-single__back:focus {
  color: var(--st-brand);
}

.product-single__gallery {
  position: relative;
  margin-bottom: 1.4rem;
  overflow: hidden;
  max-width: 100%;
}

.product-single__carousel.owl-carousel,
.product-single__carousel .owl-stage-outer {
  overflow: hidden;
  max-width: 100%;
}

.product-single__carousel:not(.owl-loaded) > .product-single__slide:not(:first-child) {
  display: none;
}

.product-single__carousel.owl-loaded .owl-stage-outer,
.product-single__carousel.owl-height .owl-stage-outer {
  height: auto !important;
}

.product-single__carousel.owl-loaded .owl-stage,
.product-single__carousel.owl-loaded .owl-item {
  display: flex;
  align-items: stretch;
}

.product-single__carousel.owl-loaded .owl-item {
  float: none;
  flex-shrink: 0;
}

.product-single__carousel.owl-loaded .owl-item .product-single__slide {
  width: 100%;
}

.product-single__gallery:not(.product-single__gallery--peek) .product-single__carousel.owl-loaded .owl-item {
  width: 100% !important;
}

.product-single__slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  min-height: 280px;
  max-height: 280px;
  padding: 1.2rem;
  background: #f3f3f3;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.product-single__slide-inner img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-single__carousel .owl-dots {
  margin-top: 1rem;
}

.product-single__gallery--peek {
  margin-right: -1.2rem;
  width: calc(100% + 1.2rem);
  max-width: none;
}

@media screen and (max-width: 991px) {
  .product-single__gallery .owl-nav {
    display: none !important;
  }

  .product-single__gallery--peek {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 1.2rem;
    box-sizing: border-box;
  }
}

.product-single__gallery--peek .product-single__carousel.owl-loaded .owl-item {
  width: calc((100vw - 1.2rem - 12px) / 1.5) !important;
}

.product-single__gallery--peek .product-single__slide {
  width: 100%;
  height: auto;
}

.product-single__gallery--peek .product-single__slide-inner {
  height: 280px;
  min-height: 280px;
  max-height: 280px;
  padding: 1.2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.product-single__gallery--peek .product-single__carousel .owl-dots {
  padding-right: 1.2rem;
}

@media screen and (min-width: 992px) {
  .product-single .product-main-image {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    padding: 2rem;
  }

  .product-single .product-image-gallery .product-gallery-item {
    height: 112px;
    min-height: 112px;
    max-height: 112px;
    padding: 0.55rem;
  }

  .product-single .product-details-tab.product-single-tabs .nav.nav-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem 1.2rem;
  }

  .product-single .product-details-tab.product-single-tabs .nav.nav-pills .nav-item {
    margin: 0 !important;
  }

  .product-single .product-details-tab.product-single-tabs .nav.nav-pills .nav-link {
    padding: 0.55rem 0;
    font-size: 1.35rem;
  }

  .product-single .details-action-wrapper {
    margin-left: 1.5rem;
  }

  .product-single__details-col .product-details-tab.product-single-tabs .tab-content {
    border-radius: 10px;
  }
}

/* Product tabs – mobile */
@media screen and (max-width: 991px) {
  .product-single-tabs {
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
  }

  .product-single-tabs .nav.nav-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--st-border);
    scrollbar-width: none;
  }

  .product-single-tabs .nav.nav-pills::-webkit-scrollbar {
    display: none;
  }

  .product-single-tabs .nav.nav-pills .nav-item {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .product-single-tabs .nav.nav-pills .nav-link {
    padding: 0.8rem 1.1rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-text-muted);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    white-space: nowrap;
    background: transparent;
  }

  .product-single-tabs .nav.nav-pills .nav-link:hover,
  .product-single-tabs .nav.nav-pills .nav-link:focus {
    color: #333;
    background: transparent;
  }

  .product-single-tabs .nav.nav-pills .nav-link.active,
  .product-single-tabs .nav.nav-pills .nav-item.show .nav-link {
    color: #111;
    border-bottom-color: var(--st-brand);
    background: transparent;
  }

  .product-single-tabs .tab-content {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .product-single-tabs .tab-content .tab-pane {
    padding: 1.4rem 0 0;
  }

  .product-single-tabs .product-desc-content {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--st-text-body);
    font-weight: 400;
  }

  .product-single-tabs .product-desc-content h2,
  .product-single-tabs .product-desc-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

.product-related-section {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--st-border);
}

.product-related-section__head {
  justify-content: center;
  margin-bottom: 0.4rem;
}

.product-related-section__title {
  margin: 0 0 1.4rem;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  letter-spacing: -0.02em;
}

.product-related-section .home-products-section__carousel-wrap {
  margin-top: 0.4rem;
}

/* Footer – newsletter + link columns */
.footer-modern {
  background: #fff;
}

.footer-modern .footer-bottom,
.footer-modern .footer-bottom-modern {
  border-top: 0;
}

.footer-newsletter-modern {
  padding: 3.2rem 1.5rem 2.4rem;
  background: #fff;
  overflow: hidden;
}

.footer-newsletter-modern .container {
  width: 100%;
  max-width: 520px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.footer-newsletter-modern__brand {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-newsletter-modern__brand img {
  width: auto;
  height: 48px;
  max-width: 240px;
}

.footer-newsletter-modern__desc {
  margin: 0 0 1.6rem;
  font-size: 1.45rem;
  line-height: 1.5;
  color: #555;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-newsletter-modern__form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.8rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.footer-newsletter-modern__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 1.2rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: #222;
  box-shadow: none;
}

.footer-newsletter-modern__input::placeholder {
  color: #9a9a9a;
}

.footer-newsletter-modern__input:focus {
  outline: 0;
}

.footer-newsletter-modern__submit {
  flex: 0 0 52px;
  width: 52px;
  border: 0;
  background: var(--st-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
}

.footer-newsletter-modern__submit:hover,
.footer-newsletter-modern__submit:focus {
  background: var(--st-brand-dark);
  color: #fff;
}

.footer-newsletter-modern__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #111;
  font-size: 1.8rem;
  text-decoration: none;
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: var(--st-brand);
}

.footer-links-modern {
  padding: 1rem 1.5rem 2.4rem;
  background: #fff;
  overflow: hidden;
}

.footer-links-modern .container {
  max-width: 1320px;
  padding: 0;
}

.footer-links-modern__grid {
  display: grid;
  gap: 2.4rem;
}

.footer-links-modern__title {
  margin: 0 0 1rem;
  padding-bottom: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.footer-links-modern__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-modern__list li {
  margin: 0 0 0.85rem;
}

.footer-links-modern__list li:last-child {
  margin-bottom: 0;
}

.footer-links-modern__list a {
  font-size: 1.35rem;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
}

.footer-links-modern__list a:hover,
.footer-links-modern__list a:focus {
  color: var(--st-brand);
}

.footer-bottom-modern {
  padding: 1.6rem 0 2.4rem;
  background: #fff;
}

.footer-bottom-modern .container {
  text-align: center;
}

.footer-bottom-modern .container::before {
  display: none !important;
}

.footer-bottom-modern .footer-copyright {
  margin: 0;
  font-size: 1.25rem;
  color: #777;
}

/* Mobile side menu – slides in from right (Vilgain-style) */
.mobile-menu-container.mobile-menu-modern {
  left: auto;
  right: 0;
  width: 100%;
  max-width: min(92vw, 420px);
  background: #fff;
  color: #111;
  transform: translateX(100%);
  visibility: hidden;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 1050;
}

.mmenu-active .mobile-menu-container.mobile-menu-modern {
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-modern .mobile-menu-wrapper {
  padding: 1.4rem 0 2rem;
}

.mobile-menu-modern__search-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0 1.2rem 1.2rem;
}

.mobile-menu-modern__search-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-menu-modern__search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0 1.2rem;
  margin: 0;
  background: #f3f3f3;
  border-radius: 10px;
}

.mobile-menu-modern__search .icon-search {
  flex-shrink: 0;
  font-size: 1.6rem;
  color: #888;
}

.mobile-menu-modern__search .form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.4rem;
  color: #222;
}

.mobile-menu-modern__search .form-control::placeholder {
  color: #9a9a9a;
}

.mobile-menu-modern__close {
  position: static;
  top: auto;
  right: auto;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f3f3;
  border-radius: 10px;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-modern__close:hover,
.mobile-menu-modern__close:focus {
  color: #222;
}

.mobile-menu-modern__nav {
  margin: 0;
  padding: 0;
}

.mobile-menu-modern .mobile-menu {
  margin: 0;
  padding: 0;
}

.mobile-menu-modern .mobile-menu > li > a,
.mobile-menu-modern .mobile-menu li a {
  color: #111;
  padding: 1.05rem 3.4rem 1.05rem 1.6rem;
  border-bottom: 1px solid #f0f0f0;
  text-transform: none;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.mobile-menu-modern .mobile-menu li a:hover,
.mobile-menu-modern .mobile-menu li a:focus,
.mobile-menu-modern .mobile-menu li.open > a,
.mobile-menu-modern .mobile-menu li.active > a {
  color: var(--st-brand);
}

.mobile-menu-modern__sale > a {
  color: var(--st-brand) !important;
  font-weight: 600;
}

.mobile-menu-modern .mobile-menu li ul {
  margin: 0;
  padding: 0;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-modern .mobile-menu li ul li a {
  padding: 0.85rem 1.6rem 0.85rem 2.4rem;
  font-size: 1.35rem;
  font-weight: 400;
  color: #444;
  border-bottom: 0;
}

.mobile-menu-modern .mobile-menu li ul li a:hover,
.mobile-menu-modern .mobile-menu li ul li a:focus {
  color: var(--st-brand);
}

.mobile-menu-modern .mmenu-btn {
  right: 0.8rem;
  width: 2.8rem;
  height: 2.8rem;
  margin-top: -1.4rem;
  color: #999;
}

.mobile-menu-modern .mmenu-btn:hover,
.mobile-menu-modern .mmenu-btn:focus {
  color: var(--st-brand);
}

.mobile-menu-modern__divider {
  display: block;
  width: 2.8rem;
  height: 3px;
  margin: 1rem 1.6rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--st-brand);
  opacity: 1;
}

.mobile-menu-modern__extras {
  margin-top: 0;
}

.mobile-menu-modern__search-wrap .suggesstion-box {
  margin-top: 0.5rem;
}

@media screen and (min-width: 992px) {
  .header.header-2.header-intro-clearance .header-top {
    display: none !important;
  }

  .header.header-2.header-intro-clearance {
    padding-top: 0 !important;
  }

  .header-intro-clearance .header-middle .header-right .header-account__auth {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: auto !important;
    height: auto !important;
    padding: 0 0.75rem !important;
    color: #333 !important;
    text-decoration: none;
    font-size: inherit !important;
    line-height: 1.2 !important;
  }

  .header-intro-clearance .header-middle .header-right .header-account__auth .icon {
    width: auto !important;
    height: 3.2rem !important;
    min-height: 3.2rem !important;
    margin-bottom: 0.15rem;
  }

  .header-intro-clearance .header-middle .header-right .header-account__auth .icon i {
    font-size: 2.8rem;
    line-height: 1;
  }

  .header-intro-clearance .header-middle .header-right .header-account__auth-label,
  .header-intro-clearance .header-middle .header-right p {
    display: block !important;
    margin: 0;
    font-size: 1.4rem !important;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #333 !important;
    white-space: nowrap;
  }

  .header-intro-clearance .header-middle .header-right .header-account__auth:hover .header-account__auth-label,
  .header-intro-clearance .header-middle .header-right .header-account__auth:focus .header-account__auth-label {
    color: var(--st-brand) !important;
  }

  .header-search .search-wrapper-wide .form-control::placeholder {
    color: #8a8a8a;
  }

  .category-listing__filters.collapse:not(.show) {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  .category-listing__sidebar {
    padding-right: 0.75rem;
  }

  .category-listing__content {
    padding-left: 0.75rem;
  }

  .category-listing__sidebar-inner {
    padding: 1.15rem 1rem 1.2rem;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    background: #fff;
  }

  .category-listing__sidebar-inner .widget-clean {
    margin-bottom: 0.75rem;
    padding-top: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--st-border);
  }

  .category-listing__sidebar-inner .widget-clean label {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111;
  }

  .category-listing__sidebar-inner .widget-collapsible {
    margin: 0 0 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--st-border);
  }

  .category-listing__sidebar-inner .widget-collapsible:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .category-listing__sidebar-inner .widget-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .category-listing__sidebar-inner .widget-title a {
    color: #222;
    text-decoration: none;
    padding-right: 2rem;
  }

  .category-listing__sidebar-inner .widget-title a:after {
    right: 0;
    font-size: 1.2rem;
  }

  .category-listing__sidebar-inner .widget-body {
    padding: 0.7rem 0 0;
  }

  .category-listing__sidebar-inner .filter-items {
    margin: 0;
  }

  .category-listing__sidebar-inner .filter-item {
    margin-bottom: 0.5rem;
  }

  .category-listing__sidebar-inner .filter-item:last-child {
    margin-bottom: 0;
  }

  .category-listing__sidebar-inner .custom-control {
    padding-left: 2.4rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  .category-listing__sidebar-inner .custom-control-label {
    font-size: 1.2rem;
    line-height: 1.45;
    padding-left: 2.4rem;
    margin-left: -2.4rem;
  }

  .category-listing__sidebar-inner .custom-control-label::before,
  .category-listing__sidebar-inner .custom-control-label::after {
    left: 0;
    top: 0.15rem;
    width: 1.4rem;
    height: 1.4rem;
  }

  .category-listing__grid {
    margin-left: -0.4rem;
    margin-right: -0.4rem;
  }

  .category-listing__grid > [class*="col-"] {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .category-product-card__media {
    flex-basis: 210px;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
    padding: 1.4rem 0.9rem;
  }

  .category-product-card__media img {
    max-width: 100%;
    max-height: 100%;
  }

  .category-product-card__body {
    padding: 0.9rem 0.75rem 0.8rem;
  }

  .category-product-card__title {
    font-size: 1.45rem;
  }

  .category-product-card__desc {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    min-height: calc(1.45em * 2);
  }

  .category-product-card__price-new {
    font-size: 1.4rem;
  }

  .category-product-card__btn {
    font-size: 1.15rem;
    padding: 0.7rem 0.85rem;
  }

  .category-listing__title {
    font-size: 3.2rem;
  }

  .home-products-section {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .home-products-section__head.container {
    max-width: 1320px;
    padding-left: 0;
    padding-right: 0;
  }

  .home-products-section__carousel {
    max-width: 1320px;
    margin: 0 auto;
  }

  .home-products-section__carousel-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .home-product-card__media {
    min-height: 220px;
    aspect-ratio: auto;
    max-height: none;
    padding: 2rem 1.4rem;
  }

  .home-product-card__media img {
    max-height: 180px;
  }

  .home-product-card__title {
    font-size: 1.55rem;
  }

  .home-product-card__subtitle {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    min-height: 3.2rem;
  }

  .home-product-card__footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 4.8rem;
    padding-top: 0.85rem;
  }

  .home-product-card__cart {
    width: auto;
    margin: 0;
  }

  .home-product-card__footer .home-product-card__btn {
    width: auto;
    min-width: 148px;
    display: inline-block;
    padding: 0.75rem 1.2rem;
    font-size: 1.1rem;
  }

  .footer-links-modern__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding: 0 1rem;
  }

  .footer-newsletter-modern .container {
    max-width: 560px;
  }

  .footer-newsletter-modern__brand img {
    height: 56px;
    max-width: 260px;
  }

  .footer-newsletter-modern__social {
    gap: 2.8rem;
  }
}

@media screen and (max-width: 991px) {
  .page-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .mmenu-active .page-wrapper {
    transform: none;
  }

  .header.header-2.header-intro-clearance {
    display: flex;
    flex-direction: column;
    padding-top: var(--st-mobile-header-height);
  }

  .header-middle {
    order: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
    padding: 1rem 0 1.35rem;
    background: #fff;
    border-bottom: 1px solid var(--st-border);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  }

  .header-top {
    display: none !important;
  }

  .header-mobile-search {
    order: 3;
    padding: 0.85rem 1.2rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--st-border);
  }

  .header-mobile-search .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .header-mobile-search .search-form-wrap {
    width: 100%;
  }

  .header-bottom {
    order: 4;
    display: none !important;
  }

  .header-middle .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
  }

  .header-middle .header-left {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .header-middle .header-center {
    display: none;
  }

  .header.header-2 .header-middle .logo,
  .header-intro-clearance .header-middle .logo {
    margin: 0 !important;
    min-height: 0;
    line-height: 0;
    flex-shrink: 1;
    min-width: 0;
    padding-bottom: 0.15rem;
  }

  .header-middle .logo img {
    display: block;
    width: auto !important;
    height: 48px !important;
    max-width: 100%;
    margin-bottom: 0.1rem;
  }

  .header-middle .header-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    flex-shrink: 0;
    margin-left: 0.6rem;
  }

  .header-middle .header-right > * {
    flex-shrink: 0;
  }

  .header-intro-clearance .header-middle .account {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
  }

  .header-intro-clearance .header-middle .cart-dropdown {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
  }

  .header-intro-clearance .header-middle .account > a,
  .header-intro-clearance .header-middle .cart-dropdown > .dropdown-toggle {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
    color: #222 !important;
  }

  .header-intro-clearance .header-middle .header-right p {
    display: none;
  }

  .header-intro-clearance .header-middle .header-account__auth-label {
    display: none;
  }

  .header-intro-clearance .wishlist {
    display: none;
  }

  .header-intro-clearance .header-middle .cart-dropdown,
  .header-intro-clearance .header-middle .account {
    padding: 0 !important;
    margin: 0 !important;
  }

  .header-intro-clearance .header-middle div.icon {
    position: relative;
    width: 46px !important;
    height: 46px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-intro-clearance .header-middle .account .icon,
  .header-intro-clearance .header-middle .cart-dropdown .icon,
  .header-middle .mobile-menu-toggler {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: transparent;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem;
    line-height: 1;
  }

  .header-intro-clearance .header-middle .account .icon i,
  .header-intro-clearance .header-middle .cart-dropdown .icon i {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
  }

  .header-intro-clearance .header-middle .cart-dropdown .cart-count {
    top: 0;
    right: -0.2rem;
    min-width: 1.6rem;
    height: 1.6rem;
  }

  .header-intro-clearance .header-middle .cart-dropdown .cart-count.is-empty,
  .header-intro-clearance .header-middle .cart-dropdown .cart-count[hidden] {
    display: none !important;
  }

  .mobile-menu-toggler {
    margin: 0 0 0 0.1rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #222;
    font-size: 2.55rem;
  }

  .header-search-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 48px;
    padding: 0 1.4rem;
    background: #f3f3f3;
    border-radius: 12px;
  }

  .header-search-pill__icon {
    flex-shrink: 0;
    font-size: 1.7rem;
    color: #888;
  }

  .header-search-pill .form-control {
    flex: 1 1 auto;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 1.35rem;
    color: #333;
  }

  .header-search-pill .form-control::placeholder {
    color: #8a8a8a;
  }

  .header-mobile-search .search-form-wrap .suggesstion-box {
    margin-top: 0.6rem;
  }

  .home-category-strip {
    background: #fff;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--st-border);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-category-strip::-webkit-scrollbar {
    display: none;
  }

  .home-category-strip__scroll {
    display: flex;
    gap: 0.55rem;
    padding: 0 1.2rem;
    width: max-content;
    max-width: none;
    box-sizing: border-box;
  }

  .home-category-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.65rem 1.15rem;
    background: #efefef;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    color: #2f2f2f;
    text-decoration: none;
    border: 0;
    box-shadow: none;
  }

  /* Visina prati uploadovanu mobile sliku, bez isečenog cover-a. */
  .home-main .home-first-screen {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .home-main .home-first-screen .home-category-strip {
    flex: 0 0 auto;
  }

  .home-main .intro-slider-container {
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    background-color: #e8e8e8;
  }

  .home-main .intro-slider-container .owl-carousel {
    position: relative !important;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100% !important;
    height: auto !important;
  }

  /* NE forsiranje width na .owl-stage — Owl računa širinu svih slide-ova. */
  .home-main .intro-slider-container .owl-stage-outer,
  .home-main .intro-slider-container .owl-stage,
  .home-main .intro-slider-container .owl-item,
  .home-main .intro-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  .home-main .intro-slider-container .owl-stage-outer {
    width: 100% !important;
  }

  .home-main .intro-slide {
    position: relative;
    background-image: none !important;
    background-color: #e8e8e8;
  }

  .home-main .intro-slide__img {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    pointer-events: none;
  }

  .home-main .intro-slider-container--single .owl-nav,
  .home-main .intro-slider-container--single .owl-dots {
    display: none !important;
  }

  .home-main .intro-slide::before {
    display: none;
    content: none;
  }

  .home-main .intro-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100%;
    padding: 2rem 1.6rem;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
  }

  .home-main .intro-slide.st-h-m-left .intro-content {
    align-items: flex-start;
    text-align: left;
  }

  .home-main .intro-slide.st-h-m-center .intro-content {
    align-items: center;
    text-align: center;
  }

  .home-main .intro-slide.st-h-m-right .intro-content {
    align-items: flex-end;
    text-align: right;
  }

  .home-main .intro-slide.st-v-m-top .intro-content {
    justify-content: flex-start;
  }

  .home-main .intro-slide.st-v-m-center .intro-content {
    justify-content: center;
  }

  .home-main .intro-slide.st-v-m-bottom .intro-content {
    justify-content: flex-end;
  }

  .home-main .intro-title {
    font-size: var(--slide-title-size, 2.6rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
    text-shadow: none;
  }

  .home-main .intro-content .btn-primary {
    align-self: auto;
    min-height: 58px;
    border-radius: 12px;
    padding: 1.25rem 2.6rem;
    font-size: 1.65rem;
    line-height: 1.2;
    background-color: var(--slide-btn-bg, #111) !important;
    border-color: var(--slide-btn-bg, #111) !important;
    font-weight: 700;
  }

  .home-main .intro-content .btn-primary span,
  .home-main .intro-content .btn-primary i {
    font-size: inherit;
  }

  .home-main .mb-3.mb-lg-5 {
    margin-bottom: 2rem !important;
  }

  .mobile-menu-container {
    width: min(88vw, 360px);
    box-shadow: var(--st-shadow);
  }

  .mobile-menu-wrapper {
    padding: 2rem 1.6rem 2.4rem;
  }

  .mobile-search {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
    margin-bottom: 1.6rem;
  }

  .mobile-search .form-control {
    border: 0;
    background: transparent;
    box-shadow: none;
    height: 42px;
    font-size: 1.4rem;
  }

  .mobile-search .btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-products-section {
    padding: 2rem 0 1.2rem;
    overflow: hidden;
  }

  .home-brand-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background-image: none;
  }

  .home-brand-section__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center top;
    pointer-events: none;
  }

  .home-brand-section::before {
    display: none;
    content: none;
  }

  .home-brand-section__overlay {
    display: none !important;
  }

  .home-brand-section__content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100%;
    padding: 2rem 1.6rem;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
  }

  .home-brand-section.st-h-m-left .home-brand-section__content {
    align-items: flex-start;
    text-align: left;
  }

  .home-brand-section.st-h-m-center .home-brand-section__content {
    align-items: center;
    text-align: center;
  }

  .home-brand-section.st-h-m-right .home-brand-section__content {
    align-items: flex-end;
    text-align: right;
  }

  .home-brand-section.st-v-m-top .home-brand-section__content {
    justify-content: flex-start;
  }

  .home-brand-section.st-v-m-center .home-brand-section__content {
    justify-content: center;
  }

  .home-brand-section.st-v-m-bottom .home-brand-section__content {
    justify-content: flex-end;
  }

  .home-brand-section__text {
    font-size: var(--slide-title-size, 2.6rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
    max-width: 100%;
    text-shadow: none;
  }

  .home-brand-section__btn {
    align-self: auto;
  }

  .home-products-section__head {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .home-products-section__carousel-wrap {
    max-width: none;
    padding: 0;
  }

  .home-products-section__carousel {
    padding: 0 0 0 1.2rem;
  }

  .home-products-carousel.owl-loaded .owl-item {
    width: calc((100vw - 1.2rem - 12px) / 1.5) !important;
  }

  .home-product-card__media {
    min-height: 260px;
    padding: 2.2rem 1.2rem 2.6rem;
  }

  .home-product-card__media img {
    max-height: 210px;
  }

  .home-product-card__title {
    font-size: 1.35rem;
  }

  .home-product-card__subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
  }

  .home-product-card__price-new {
    font-size: 1.2rem;
  }

  .home-product-card__price-old {
    font-size: 0.95rem;
  }

  .home-product-card__footer {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    min-height: 0;
  }

  .home-product-card__price {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home-product-card__cart,
  .home-product-card__footer > .home-product-card__btn {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home-product-card__footer .home-product-card__btn {
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.55rem 0.35rem;
  }

  .home-products-section__title {
    font-size: 2.1rem;
  }

  .home-products-carousel .owl-dots {
    padding-right: 1.2rem;
  }

  .footer-newsletter-modern {
    padding: 2.6rem 1.2rem 2rem;
  }

  .footer-newsletter-modern__brand img {
    height: 50px;
    max-width: 220px;
  }

  .footer-newsletter-modern__social {
    gap: 2rem;
  }

  .footer-links-modern {
    padding: 0.5rem 1.2rem 2rem;
  }

  .footer-links-modern__grid {
    gap: 2rem;
  }

  .nav-big.nav-pills {
    gap: 0.8rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
  }

  .nav-big.nav-pills .nav-link {
    flex: 1 0 auto;
    min-width: 140px;
    text-align: center;
    border-radius: 999px;
    font-weight: 600;
    padding: 1rem 1.4rem;
    white-space: nowrap;
    color: #555 !important;
    background: #f3f3f3;
    border-bottom: 0;
  }

  .nav-big.nav-pills .nav-link::before {
    display: none !important;
  }

  .nav-big.nav-pills .nav-link:hover,
  .nav-big.nav-pills .nav-link:focus {
    color: #333 !important;
    background: #ebebeb;
  }

  .nav-big.nav-pills .nav-link.active,
  .nav.nav-pills.nav-big .nav-item .nav-link.active,
  .nav.nav-pills.nav-big .nav-item.show .nav-link {
    background-color: var(--st-brand) !important;
    color: #fff !important;
    border-bottom-color: transparent !important;
  }

  .product.product-7,
  .product.product-11 {
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--st-shadow);
    margin-bottom: 1.2rem;
  }

  .product.product-7 .product-body,
  .product.product-11 .product-body {
    padding: 1rem 1rem 0.6rem;
  }

  .product.product-7 .product-title,
  .product.product-11 .product-title {
    font-size: 1.35rem;
    line-height: 1.35;
    min-height: 3.6rem;
  }

  .product.product-7 .product-price,
  .product.product-11 .product-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--st-brand);
  }

  .product .btn-product.btn-cart {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    min-height: 42px;
    border-radius: 999px;
    background: var(--st-brand);
    color: #fff;
  }

  .product .btn-product.btn-cart span {
    color: #fff;
  }

  #scroll-top {
    right: 1.2rem;
    bottom: calc(1.2rem + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--st-brand);
    box-shadow: var(--st-shadow);
  }

  .category-listing .page-content {
    padding-top: 0.6rem;
  }

  .category-listing .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .category-listing__title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .category-listing__filters {
    margin-bottom: 1.2rem;
  }

  .category-listing__filters.collapse:not(.show) {
    display: none;
  }

  .category-listing__sidebar-inner {
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
  }

  .product-single .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-single .product-details,
  .product-single .product-details-top,
  .product-single .product-details-top .row,
  .product-single .product-details-top .row > [class*="col-"] {
    max-width: 100%;
    min-width: 0;
  }

  .product-single .details-filter-row {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .product-single .product-details-quantity,
  .product-single .product-details-flavor {
    width: 100%;
    max-width: 100%;
  }

  .product-single .product-details-quantity .input-group {
    width: auto;
    max-width: 160px;
  }

  .product-single .product-details-action .btn-cart {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-single__slide-inner {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    padding: 1rem;
  }

  .product-single__gallery--peek .product-single__slide-inner {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    padding: 1rem;
  }

  .product-single .product-details-action .btn-product.btn-cart.product-single__add-btn {
    max-width: 100%;
    font-size: 1.35rem;
    padding: 1rem 1.2rem;
  }

  .product-single .page-content {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }
}

@media screen and (max-width: 575px) {
  .header-mobile-search {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-middle .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-middle .logo img {
    height: 46px !important;
  }

  .header-intro-clearance .header-middle .account {
    display: flex !important;
  }

  .header-intro-clearance .header-middle .account > a,
  .header-intro-clearance .header-middle .cart-dropdown > .dropdown-toggle,
  .header-intro-clearance .header-middle div.icon,
  .header-middle .mobile-menu-toggler {
    width: 44px;
    height: 44px;
    font-size: 2.4rem;
  }

  .header-intro-clearance .header-middle .account .icon i,
  .header-intro-clearance .header-middle .cart-dropdown .icon i {
    font-size: 2.4rem;
  }

  .header-middle .header-right {
    gap: 0.25rem;
    margin-left: 0.5rem;
  }
}

@media screen and (max-width: 390px) {
  .header-middle .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .header-middle .logo img {
    height: 44px !important;
  }

  .header-intro-clearance .header-middle .account > a,
  .header-intro-clearance .header-middle .cart-dropdown > .dropdown-toggle,
  .header-intro-clearance .header-middle div.icon,
  .header-middle .mobile-menu-toggler {
    width: 42px;
    height: 42px;
    font-size: 2.3rem;
  }

  .header-intro-clearance .header-middle .account .icon i,
  .header-intro-clearance .header-middle .cart-dropdown .icon i {
    font-size: 2.3rem;
  }

  .header-middle .header-right {
    gap: 0.15rem;
    margin-left: 0.4rem;
  }

  .header-intro-clearance .header-middle .account {
    display: flex !important;
  }
}

/* Prevent page-level horizontal scroll (nav / slider / carousels) */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.page-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

.home-main .intro-slider-container {
  max-width: 100%;
  overflow: hidden;
}

/* Desktop category nav (Vilgain-style) */
@media (min-width: 992px) {
  .header-bottom.sticky-header {
    display: block !important;
    background: #fff;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
    z-index: 1040;
    max-width: 100%;
  }

  .header-bottom .container {
    position: relative;
    max-width: 100%;
  }

  .st-cat-nav {
    width: 100%;
    max-width: 100%;
  }

  .st-cat-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
  }

  .st-cat-nav__item {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    text-align: center;
  }

  .st-cat-nav__item--sale {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .st-cat-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: auto;
    min-height: 46px;
    padding: 0.55rem 0.15rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }

  .st-cat-nav__link:hover,
  .st-cat-nav__link:focus,
  .st-cat-nav__item:hover > .st-cat-nav__link {
    color: var(--st-brand);
    border-bottom-color: var(--st-brand);
    text-decoration: none;
  }

  .st-cat-nav__caret {
    font-size: 1rem;
    opacity: 0.65;
  }

  .st-cat-nav__link--sale {
    color: var(--st-brand);
    font-weight: 700;
  }

  .st-cat-nav__link--sale:hover,
  .st-cat-nav__link--sale:focus {
    color: var(--st-brand-dark);
    border-bottom-color: var(--st-brand);
  }

  .st-cat-nav__panel {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    max-width: min(320px, calc(100vw - 2rem));
    padding: 0.85rem 0 0.6rem;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1050;
  }

  /* First / last panels: keep dropdown inside the viewport */
  .st-cat-nav__item:first-child .st-cat-nav__panel {
    left: 0;
    transform: none;
  }

  .st-cat-nav__item:last-child .st-cat-nav__panel {
    left: auto;
    right: 0;
    transform: none;
  }

  /* Keep hover bridge so cursor can reach the panel */
  .st-cat-nav__item.has-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
  }

  .st-cat-nav__item.has-panel:hover > .st-cat-nav__panel,
  .st-cat-nav__item.has-panel:focus-within > .st-cat-nav__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .st-cat-nav__all {
    display: block;
    padding: 0.35rem 1.1rem 0.65rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--st-border);
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
  }

  .st-cat-nav__all:hover,
  .st-cat-nav__all:focus {
    color: var(--st-brand);
    text-decoration: none;
  }

  .st-cat-nav__subs {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
  }

  .st-cat-nav__subs li {
    margin: 0;
  }

  .st-cat-nav__subs a {
    display: block;
    padding: 0.45rem 1.1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }

  .st-cat-nav__subs a:hover,
  .st-cat-nav__subs a:focus {
    color: var(--st-brand);
    background: #faf7f6;
    text-decoration: none;
  }
}

/* Theme leftover: vertical divider lines in header-bottom container */
.header-intro-clearance .header-bottom .container::before,
.header-intro-clearance .header-bottom .container::after {
  content: none !important;
  display: none !important;
}

/* Tablet / small desktop: wrap labels so long category names don't widen the page */
@media (min-width: 992px) and (max-width: 1199px) {
  .st-cat-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
  }

  .st-cat-nav__link {
    padding: 0.45rem 0.55rem;
    font-size: 1.05rem;
  }
}

.cart-page .summary-shipping td,
.checkout-page .summary-shipping td {
  color: #222;
  font-weight: 600;
}

