/* OS2O complete unified live storefront skin for Shoptet */
:root {
  --os2o-ink: #171914;
  --os2o-paper: #f2f0e9;
  --os2o-muted: #767970;
  --os2o-line: rgba(23, 25, 20, 0.14);
  --os2o-lime: #c9e86a;
  --os2o-container: 1240px;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  background: var(--os2o-paper) !important;
  color: var(--os2o-ink);
  font-family: "Manrope", Arial, sans-serif;
}

/* ==========================================================================
   GLOBAL CONTAINER & BACKGROUND FIXES (NO WHITE BOXES / NO BORDERS)
   ========================================================================== */
#content-wrapper,
.content-wrapper,
.content-wrapper-in,
#content,
.content,
.overall-wrapper,
.pageGrid,
.pageGrid__content,
.p-detail,
.p-detail-inner,
.breadcrumbs,
.breadcrumbNav,
.breadcrumbNav ol,
.shp-tabs-holder,
.tab-content,
.tab-pane {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.breadcrumbNav {
  max-width: var(--os2o-container) !important;
  margin: 0 auto !important;
  padding: 18px 0 6px !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.breadcrumbNav a,
.breadcrumbNav span {
  color: var(--os2o-muted) !important;
}

.breadcrumbNav a:hover {
  color: var(--os2o-ink) !important;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
  background: var(--os2o-paper) !important;
  border-bottom: 1px solid var(--os2o-line) !important;
}

#header .container,
#header .navigation-wrapper,
#content,
#footer .container {
  max-width: var(--os2o-container);
}

#header .navigation-wrapper {
  min-height: 76px;
}

#header .site-name img,
#header .logo img {
  max-height: 42px;
  width: auto;
}

#navigation .navigation-in > ul > li > a {
  color: var(--os2o-ink);
  font-size: 12px;
  font-weight: 700;
}

#navigation .navigation-in > ul > li > a:hover {
  color: #719111;
}

#navigation .navigation-in ul ul {
  background: rgba(23, 25, 20, 0.94);
}

#navigation .navigation-in ul ul li a,
#navigation .navigation-in .submenu a {
  color: #fff !important;
}

body:not(.in-index) #header {
  height: 76px !important;
  min-height: 76px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body:not(.in-index) #header .header-navigation {
  position: absolute !important;
  inset: 0;
  height: 76px !important;
}

body:not(.in-index) #header .container.navigation-wrapper {
  height: 76px !important;
  top: 0 !important;
}

/* ==========================================================================
   HOMEPAGE (in-index)
   ========================================================================== */
body.in-index #header {
  height: 76px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

body.in-index #header .container.navigation-wrapper,
body.in-index #header .header-navigation {
  height: 76px !important;
  min-height: 76px !important;
}

body.in-index #header .site-name {
  left: 50% !important;
  position: absolute !important;
  top: 15px !important;
  transform: translateX(-50%) !important;
}

body.in-index #header a,
body.in-index #header .brand,
body.in-index #header .cart-link,
body.in-index #header .main-navigation a {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#header-title,
.header-title {
  display: none !important;
}

body.in-index #content-wrapper {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.in-index .content-wrapper-in {
  display: block !important;
  width: 100% !important;
}

body.in-index aside,
body.in-index .sidebar-left,
body.in-index #products-1,
body.in-index .homepage-group-title,
body.in-index .banner-wrapper {
  display: none !important;
}

body.in-index #content {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.in-index #content > .welcome-wrapper {
  order: 1 !important;
  width: 100% !important;
}

/* Hero section on homepage */
.os2o-home-hero {
  color: #fff !important;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  background: #171914;
}

.os2o-home-hero > img {
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover !important;
  position: absolute !important;
  width: 100% !important;
  display: block !important;
}

.os2o-home-hero:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12) 78%) !important;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.os2o-home-hero-copy {
  bottom: 58px !important;
  left: 5%;
  max-width: 540px;
  position: absolute;
  z-index: 2;
}

.os2o-home-hero h1,
.os2o-home-hero p,
.os2o-home-hero .os2o-eyebrow {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}

.os2o-home-hero .os2o-eyebrow {
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.os2o-home-hero h1 {
  font-size: clamp(52px, 7.5vw, 110px) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.06em;
  margin: 12px 0 16px !important;
  font-weight: 800;
}

.os2o-home-hero p {
  font-size: 16px !important;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 0 20px !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.os2o-home-hero a,
.os2o-home-hero-copy > a {
  background: var(--os2o-ink) !important;
  color: var(--os2o-paper) !important;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 22px;
  text-decoration: none;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Intro band on homepage */
.os2o-home-intro {
  margin: 0 auto;
  max-width: var(--os2o-container);
  padding: 90px 24px;
}

.os2o-home-intro .os2o-eyebrow {
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--os2o-muted);
}

.os2o-home-intro h2 {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 14px 0 18px;
  font-weight: 800;
}

.os2o-home-intro h2 em {
  color: var(--os2o-muted);
  font-style: normal;
}

.os2o-home-intro p {
  color: #5d6157;
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

/* Category banners on homepage (Muži, Ženy, Děti) */
.os2o-home-categories,
.os2o-audience-categories {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 0 auto 90px !important;
  max-width: var(--os2o-container) !important;
  padding: 0 24px !important;
}

.os2o-home-category {
  height: 380px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #e1ded3 !important;
  border-radius: 2px !important;
}

.os2o-home-category img {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}

.os2o-home-category:hover img {
  transform: scale(1.04) !important;
}

.os2o-home-category:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  z-index: 1;
}

.os2o-home-category > div {
  bottom: 24px !important;
  left: 24px !important;
  color: #fff !important;
  position: absolute !important;
  z-index: 2 !important;
}

.os2o-home-category > div span {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff !important;
}

.os2o-home-category > div small {
  display: block;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-top: 4px;
}

.os2o-home-category > a {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  color: transparent !important;
}

/* Homepage Products Section */
.os2o-home-products {
  padding: 40px 0 90px;
  margin: 0 auto;
  max-width: var(--os2o-container);
  width: calc(100% - 48px);
}

.os2o-home-products-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.os2o-home-products-heading h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0;
  font-weight: 800;
}

.os2o-home-eyebrow {
  color: var(--os2o-muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.os2o-home-products-heading a {
  color: var(--os2o-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.os2o-home-products-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.os2o-home-product-card {
  min-width: 0;
}

.os2o-home-product-card > a {
  background: #e1ded3;
  display: block;
  overflow: hidden;
  border-radius: 2px;
}

.os2o-home-product-card img {
  aspect-ratio: 1;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.os2o-home-product-card:hover img {
  transform: scale(1.035);
}

.os2o-home-product-meta {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 14px;
}

.os2o-home-product-meta a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--os2o-ink);
  text-decoration: none;
}

.os2o-home-product-meta span {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Homepage Story Section */
.os2o-home-story {
  background: #d9d5ca;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto 90px;
  max-width: var(--os2o-container);
  width: calc(100% - 48px);
}

.os2o-home-story img {
  display: block;
  height: 540px;
  object-fit: cover;
  width: 100%;
}

.os2o-home-story-copy {
  align-self: center;
  max-width: 420px;
  padding: 48px;
}

.os2o-home-story-copy h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 0.94;
  margin: 0 0 20px;
  font-weight: 800;
}

.os2o-home-story-copy p:not(.os2o-home-eyebrow) {
  color: #5d6157;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.os2o-home-story-copy a {
  background: var(--os2o-ink);
  color: var(--os2o-paper);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Homepage Newsletter */
.os2o-home-newsletter {
  margin: 0 auto 90px;
  max-width: var(--os2o-container);
  padding: 40px 0;
  width: calc(100% - 48px);
}

.os2o-home-newsletter h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 0.94;
  margin: 0 0 20px;
  font-weight: 800;
}

.os2o-home-newsletter-form {
  border-bottom: 1px solid var(--os2o-ink);
  display: flex;
  gap: 18px;
  margin-top: 32px;
  max-width: 580px;
}

.os2o-home-newsletter-form input {
  background: transparent;
  border: 0;
  font-size: 14px;
  outline: 0;
  padding: 14px 0;
  width: 100%;
}

.os2o-home-newsletter-form button {
  background: 0;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   CATEGORY & CATALOG LISTINGS (Products grid)
   ========================================================================== */
body.type-category #content-wrapper {
  background: transparent !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category .sidebar-left {
  display: none !important;
}

body.type-category .products-top-wrapper {
  display: none !important;
}

/* All brands page: keep only the brand directory */
body.in-znacka .sidebar-left {
  display: none !important;
}

body.in-znacka #content {
  width: calc(100% - 48px) !important;
  max-width: var(--os2o-container) !important;
  margin: 0 auto !important;
  padding: 72px 0 110px !important;
}

body.in-znacka .category-title {
  color: var(--os2o-ink) !important;
  font-size: clamp(48px, 8vw, 110px) !important;
  line-height: 0.9 !important;
  margin: 0 0 56px !important;
  font-weight: 800 !important;
  letter-spacing: -0.06em !important;
}

body.in-znacka .manufacturers {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px 16px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.in-znacka .manufacturers > li {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.in-znacka .manufacturers h2 {
  color: var(--os2o-ink) !important;
  font-size: 18px !important;
  margin: 0 0 10px !important;
}

body.in-znacka .manufacturers ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.in-znacka .manufacturers a {
  display: block !important;
  padding: 16px 20px !important;
  background: var(--os2o-ink) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--os2o-paper) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

body.in-znacka .manufacturers a:hover {
  background: #3d4038 !important;
  color: #fff !important;
}

/* Blog page: editorial layout without the legacy sidebar */
body.in-blog .sidebar-left {
  display: none !important;
}

body.in-blog #content {
  width: calc(100% - 48px) !important;
  max-width: var(--os2o-container) !important;
  margin: 0 auto !important;
  padding: 72px 0 110px !important;
}

body.in-blog .pageArticleDetail {
  margin: 0 !important;
}

body.in-blog .pageArticleDetail > header {
  padding: 0 0 34px !important;
  border-bottom: 1px solid var(--os2o-line) !important;
}

body.in-blog .pageArticleDetail h1 {
  color: var(--os2o-ink) !important;
  font-size: clamp(58px, 10vw, 138px) !important;
  line-height: 0.84 !important;
  margin: 0 !important;
  font-weight: 800 !important;
  letter-spacing: -0.07em !important;
}

body.in-blog .pageArticleDetail > div[itemprop="about"] {
  min-height: 300px !important;
  padding: 56px 0 !important;
}

body.in-blog .pageArticleDetail > div[itemprop="about"]::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 300px !important;
  background: linear-gradient(90deg, rgba(23, 25, 20, 0.2), rgba(23, 25, 20, 0) 60%),
    url("https://images.unsplash.com/photo-1551632811-561732d1e306?auto=format&fit=crop&w=1600&q=85") center / cover !important;
}

body.in-blog .pageArticleDetail a {
  color: var(--os2o-ink) !important;
}

/* Blog-2 listing and article detail */
body.in-blog-2 .sidebar-left {
  display: none !important;
}

body.in-blog-2 #content {
  width: calc(100% - 48px) !important;
  max-width: var(--os2o-container) !important;
  margin: 0 auto !important;
  padding: 72px 0 110px !important;
}

body.in-blog-2 .sectionDescription h1,
body.in-blog-2 .news-item-detail h1 {
  color: var(--os2o-ink) !important;
  font-size: clamp(54px, 9vw, 126px) !important;
  line-height: 0.88 !important;
  margin: 0 0 36px !important;
  font-weight: 800 !important;
  letter-spacing: -0.07em !important;
}

body.in-blog-2 .subcategories.with-image {
  display: none !important;
}

body.in-blog-2 #articlesListHeading {
  display: block !important;
  color: var(--os2o-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  margin: 0 0 16px !important;
  text-transform: uppercase !important;
}

body.in-blog-2 #newsWrapper {
  border-top: 1px solid var(--os2o-line) !important;
  padding-top: 32px !important;
}

body.in-blog-2 .news-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr) !important;
  gap: 40px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 0 56px !important;
}

body.in-blog-2 .news-item .image,
body.in-blog-2 .news-item .image img {
  display: block !important;
  width: 100% !important;
  height: 430px !important;
  object-fit: cover !important;
  margin: 0 !important;
}

body.in-blog-2 .news-item .text {
  padding: 8px 0 !important;
}

body.in-blog-2 .news-item .title {
  display: block !important;
  color: var(--os2o-ink) !important;
  font-size: clamp(24px, 3vw, 42px) !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  text-decoration: none !important;
}

body.in-blog-2 .news-item time {
  display: block !important;
  color: var(--os2o-muted) !important;
  font-size: 12px !important;
  margin: 14px 0 20px !important;
}

body.in-blog-2 .news-item .description {
  color: var(--os2o-ink) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.in-blog-2 .news-item-detail {
  max-width: 860px !important;
  margin: 0 auto !important;
}

body.in-blog-2 .news-item-detail time {
  display: block !important;
  color: var(--os2o-muted) !important;
  font-size: 13px !important;
  margin: -18px 0 26px !important;
}

body.in-blog-2 .news-item-detail .text {
  border-top: 1px solid var(--os2o-line) !important;
  padding-top: 28px !important;
  color: var(--os2o-ink) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

@media (max-width: 767px) {
  body.in-blog #content {
    width: calc(100% - 32px) !important;
    padding: 44px 0 70px !important;
  }

  body.in-blog .pageArticleDetail h1 {
    font-size: clamp(52px, 18vw, 86px) !important;
  }

  body.in-blog .pageArticleDetail > div[itemprop="about"] {
    padding: 32px 0 !important;
  }

  body.in-blog .pageArticleDetail > div[itemprop="about"]::before {
    height: 240px !important;
  }

  body.in-blog-2 #content {
    width: calc(100% - 32px) !important;
    padding: 44px 0 70px !important;
  }

  body.in-blog-2 .sectionDescription h1,
  body.in-blog-2 .news-item-detail h1 {
    font-size: clamp(48px, 16vw, 82px) !important;
  }

  body.in-blog-2 .news-item {
    display: block !important;
  }

  body.in-blog-2 .news-item .image,
  body.in-blog-2 .news-item .image img {
    height: 300px !important;
  }

  body.in-blog-2 .news-item .text {
    padding-top: 24px !important;
  }
}

.category-top {
  position: relative !important;
  z-index: 3 !important;
  isolation: isolate !important;
  background: transparent !important;
  color: #fff !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-top: 140px !important;
  padding-bottom: 0 !important;
}

.category-top,
.category-top > * {
  position: relative !important;
  z-index: 3 !important;
}

.category-top::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 375px !important;
  background: linear-gradient(90deg, rgba(17, 20, 17, 0.72), rgba(17, 20, 17, 0.2) 70%),
              url(https://images.unsplash.com/photo-1486911278844-a81c5267e227) center / cover !important;
  z-index: 0 !important;
}

.category-top h1,
.category-title {
  position: relative !important;
  z-index: 2 !important;
  color: #fff !important;
  font-size: clamp(48px, 7vw, 96px) !important;
  line-height: 0.95 !important;
  margin: 0 0 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em !important;
}

.category-perex {
  position: relative !important;
  z-index: 2 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  max-width: 680px !important;
  margin-bottom: 50px !important;
}

.category-perex * {
  color: inherit !important;
  font-family: inherit !important;
}

/* Subcategories bar placed cleanly BELOW the banner photo */
.subcategories,
ul.subcategories {
  position: relative !important;
  z-index: 2 !important;
  margin-left: calc(-1 * max(24px, calc((100vw - 1240px) / 2))) !important;
  margin-right: calc(-1 * max(24px, calc((100vw - 1240px) / 2))) !important;
  padding-left: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  background: #ece8dd !important;
  border-top: 1px solid rgba(23, 25, 20, 0.1) !important;
  border-bottom: 1px solid rgba(23, 25, 20, 0.1) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  list-style: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.products.products-block,
.category-content-wrapper .product-list,
.homepage-products-1 {
  position: relative !important;
  z-index: 1 !important;
}

.subcategories li {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

.subcategories a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 190px !important;
  padding: 12px 18px 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #171914 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.subcategories a:hover {
  background: transparent !important;
  color: #171914 !important;
  border-color: transparent !important;
}

.subcategories .image {
  display: block !important;
  flex: 0 0 auto !important;
  width: 140px !important;
  height: 100px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

.subcategories .image img {
  display: block !important;
  width: 140px !important;
  height: 100px !important;
  object-fit: contain !important;
}

.subcategories .text {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Perfect Product Listing Grid Cards */
.products.products-block,
.category-content-wrapper .product-list,
.homepage-products-1 {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 24px 16px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 32px auto 0 !important;
  max-width: var(--os2o-container) !important;
  padding: 40px 0 90px !important;
  width: calc(100% - 48px) !important;
}

.category-content-wrapper {
  padding-top: 32px !important;
}

.products.products-block > div,
.products.products-block .product,
.category-content-wrapper .product {
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.products.products-block .p,
.category-content-wrapper .p {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  position: relative !important;
}

.products.products-block .p-image,
.category-content-wrapper .p-image {
  aspect-ratio: 1 !important;
  background: #e1ded3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  border-radius: 2px !important;
  margin-bottom: 12px !important;
}

.products.products-block .p-image img,
.category-content-wrapper .p-image img {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.products.products-block .product:hover .p-image img,
.category-content-wrapper .product:hover .p-image img {
  transform: scale(1.035) !important;
}

.products.products-block .p-code,
.category-content-wrapper .p-code {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(242, 240, 233, 0.88) !important;
  backdrop-filter: blur(4px) !important;
  padding: 4px 8px !important;
  border-radius: 2px !important;
  font-family: "DM Mono", monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.04em !important;
  color: var(--os2o-muted) !important;
  text-transform: uppercase !important;
  z-index: 2 !important;
}

.products.products-block .p-in,
.category-content-wrapper .p-in {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.products.products-block .p-name,
.category-content-wrapper .p-name,
.products.products-block a.p-name,
.category-content-wrapper a.p-name {
  display: block !important;
  color: var(--os2o-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  text-decoration: none !important;
}

.products.products-block .p-name:hover,
.category-content-wrapper .p-name:hover {
  color: #719111 !important;
}

.products.products-block .prices,
.category-content-wrapper .prices {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 10px !important;
  background: transparent !important;
  border-top: 1px solid var(--os2o-line) !important;
}

.products.products-block .prices-top,
.category-content-wrapper .prices-top {
  margin: 0 !important;
}

.products.products-block .price-final,
.category-content-wrapper .price-final {
  color: var(--os2o-ink) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  display: block !important;
}

.products.products-block .price-final strong,
.category-content-wrapper .price-final strong {
  font-size: 15px !important;
  font-weight: 800 !important;
}

.products.products-block .widget-parameter-wrapper,
.category-content-wrapper .widget-parameter-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.products.products-block .widget-parameter-list,
.category-content-wrapper .widget-parameter-list {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.products.products-block .widget-parameter-value,
.category-content-wrapper .widget-parameter-value {
  display: inline-block !important;
  margin: 0 !important;
}

.products.products-block .widget-parameter-list a,
.category-content-wrapper .widget-parameter-list a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 4px !important;
  border-radius: 2px !important;
  background: rgba(225, 222, 211, 0.6) !important;
  color: var(--os2o-ink) !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.products.products-block .widget-parameter-list a:hover,
.category-content-wrapper .widget-parameter-list a:hover {
  background: var(--os2o-ink) !important;
  color: var(--os2o-paper) !important;
}

/* Hide clutter on catalog cards */
.products.products-block .p-bottom,
.category-content-wrapper .p-bottom,
.products.products-block .p-desc,
.category-content-wrapper .p-desc,
.products.products-block .availability,
.category-content-wrapper .availability,
.products.products-block .flags,
.category-content-wrapper .flags,
.products.products-block .price-additional,
.category-content-wrapper .price-additional,
.products.products-block .p-in > a:not(.p-name) {
  display: none !important;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PREMIUM 2-COLUMN LAYOUT)
   ========================================================================== */
#content {
  max-width: var(--os2o-container) !important;
  width: calc(100% - 48px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.p-detail {
  max-width: var(--os2o-container) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px 0 80px !important;
}

.p-detail-inner {
  display: block !important;
  width: 100% !important;
}

#product-detail-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 56px !important;
  align-items: start !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Image gallery on left */
.p-image-wrapper {
  background: #e1ded3 !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  padding: 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.p-main-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 380px !important;
  width: 100% !important;
}

.p-main-image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.p-main-image img {
  max-height: 420px !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  mix-blend-mode: multiply !important;
}

.p-thumbnails {
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  margin-top: 10px !important;
}

.p-thumbnails a {
  border: 1px solid rgba(23, 25, 20, 0.12) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  padding: 4px !important;
  transition: all 0.2s ease !important;
}

.p-thumbnails a.highlighted,
.p-thumbnails a:hover {
  border-color: #171914 !important;
}

.p-thumbnails img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}

/* Info & Purchase Column on right */
.p-info-wrapper {
  padding-top: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.p-detail-top {
  margin-bottom: 8px !important;
}

.p-code {
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
  color: var(--os2o-muted) !important;
  text-transform: uppercase !important;
  display: block !important;
}

.p-info-wrapper h1,
h1[itemprop="name"] {
  font-size: clamp(34px, 4vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em !important;
  line-height: 1.04 !important;
  margin: 0 0 16px !important;
  color: var(--os2o-ink) !important;
}

.price.price-table,
.p-final-price-wrapper {
  margin: 8px 0 20px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
}

.price-final,
.price-final-holder {
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: var(--os2o-ink) !important;
}

/* Variant select with modern dropdown indicator */
.variant-list,
#simple-variants,
#simple-variants-select {
  margin: 16px 0 20px !important;
  max-width: 100% !important;
}

.variant-list strong,
#simple-variants-select strong {
  display: block !important;
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--os2o-muted) !important;
  margin-bottom: 8px !important;
}

.variant-list select,
#simple-variants-select,
#simple-variants select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 44px 0 16px !important;
  border: 1px solid var(--os2o-ink) !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23171914' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--os2o-ink) !important;
  border-radius: 0 !important;
  outline: none !important;
  cursor: pointer !important;
}

/* Short description box (single clean left accent line) */
.p-info-wrapper .p-details {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.p-short-description {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #3b3e37 !important;
  margin: 16px 0 22px !important;
  padding: 16px 20px !important;
  background: rgba(225, 222, 211, 0.6) !important;
  border: 0 !important;
  border-left: 3px solid var(--os2o-ink) !important;
  border-radius: 0 2px 2px 0 !important;
}

.p-short-description p {
  margin: 0 !important;
}

/* Add to cart block */
.add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 0 !important;
}

.add-to-cart .quantity {
  margin: 0 !important;
}

.add-to-cart .amount {
  height: 54px !important;
  width: 64px !important;
  border: 1px solid var(--os2o-ink) !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-align: center !important;
}

.add-to-cart button[type="submit"],
.add-to-cart .btn,
.btn-cart {
  flex: 1 !important;
  background: var(--os2o-ink) !important;
  color: var(--os2o-paper) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0 32px !important;
  height: 54px !important;
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}

.add-to-cart button[type="submit"]:hover,
.add-to-cart .btn:hover,
.btn-cart:hover {
  opacity: 0.88 !important;
}

/* Hide clutter on detail */
.p-info-wrapper .p-details-bottom,
.p-info-wrapper .link-icons,
.p-info-wrapper .social-icons,
.p-info-wrapper .star-rating {
  display: none !important;
}

/* Tabs & Bottom Description */
.shp-tabs-holder,
.p-detail-tabs-wrapper {
  margin-top: 40px !important;
  border-top: 1px solid var(--os2o-line) !important;
  padding-top: 28px !important;
  width: 100% !important;
}

#p-detail-tabs.shp-tabs {
  display: flex !important;
  gap: 36px !important;
  border-bottom: 1px solid var(--os2o-line) !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  list-style: none !important;
}

#p-detail-tabs .shp-tab-link {
  display: block !important;
  padding: 12px 0 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: var(--os2o-muted) !important;
  text-decoration: none !important;
  position: relative !important;
}

#p-detail-tabs .shp-tab.active .shp-tab-link,
#p-detail-tabs .shp-tab-link:hover {
  color: var(--os2o-ink) !important;
}

#p-detail-tabs .shp-tab.active .shp-tab-link::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 2px !important;
  background: var(--os2o-ink) !important;
}

/* Description Typography & Spec Cards */
.description-inner,
.basic-description {
  color: #2e312a !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  max-width: 860px !important;
}

.basic-description p {
  margin: 0 0 16px !important;
  line-height: 1.75 !important;
}

.basic-description > p:first-of-type {
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin-bottom: 24px !important;
  color: #171914 !important;
}

.basic-description h2,
.basic-description h3,
.basic-description h4 {
  color: var(--os2o-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin: 36px 0 16px !important;
}

.basic-description h2 { font-size: 26px !important; line-height: 1.15 !important; }
.basic-description h3 { font-size: 20px !important; line-height: 1.25 !important; }

.basic-description ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 28px !important;
  display: grid !important;
  gap: 12px !important;
}

.basic-description ul li {
  position: relative !important;
  padding-left: 26px !important;
  line-height: 1.6 !important;
  color: #2e312a !important;
}

.basic-description ul li::before {
  content: "—" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--os2o-ink) !important;
  font-weight: 700 !important;
}

/* Custom cards for products with .os2o-spec-grid */
.os2o-spec-grid,
.os2o-product-specs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  margin: 28px 0 36px !important;
}

.os2o-spec-card {
  background: #e1ded3 !important;
  padding: 20px 22px !important;
  border-radius: 2px !important;
  border: 1px solid rgba(23, 25, 20, 0.08) !important;
}

.os2o-spec-card h4 {
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--os2o-muted) !important;
  margin: 0 0 8px !important;
}

.os2o-spec-card p,
.os2o-spec-card strong {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--os2o-ink) !important;
  line-height: 1.4 !important;
}

/* Automatic card formatting for standard/unstructured Shoptet product descriptions */
.basic-description span[style*="underline"] {
  text-decoration: none !important;
  font-family: "DM Mono", monospace !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--os2o-muted) !important;
  display: inline-block !important;
}

.basic-description p:has(span[style*="underline"]):has(span:only-child) {
  margin-top: 32px !important;
  margin-bottom: 14px !important;
}

.basic-description p:has(span[style*="underline"]):has(span:only-child) span {
  font-size: 14px !important;
  color: var(--os2o-ink) !important;
}

.basic-description p:has(span[style*="underline"]):not(:has(span:only-child)) {
  background: #e1ded3 !important;
  padding: 16px 20px !important;
  border-radius: 2px !important;
  border: 1px solid rgba(23, 25, 20, 0.08) !important;
  margin: 14px 0 !important;
}

.basic-description p:has(span[style*="underline"]):not(:has(span:only-child)) span[style*="underline"] {
  display: block !important;
  margin-bottom: 6px !important;
}

.basic-description p:not(:has(span[style*="underline"])):not(:first-of-type) {
  padding-left: 24px !important;
  margin-bottom: 10px !important;
  line-height: 1.6 !important;
  color: #2e312a !important;
}

/* ==========================================================================
   CART
   ========================================================================== */
#cart-wrapper {
  margin: 0 auto;
  max-width: var(--os2o-container);
  padding: 55px 0 110px;
  width: 100%;
}

#cart-wrapper .cart-inner,
#cart-wrapper .cart-content {
  min-width: 0;
}

#cart-wrapper .empty-cart-boxes {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

#cart-wrapper .empty-cart-boxes > .col-md-6,
#cart-wrapper .empty-cart-boxes > .col-md-4 {
  float: none;
  width: auto;
  min-width: 0;
}

#cart-wrapper .box,
#cart-wrapper .contact-box {
  height: 100%;
  min-width: 0;
  padding: 24px;
  background: #e1ded3;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  background: var(--os2o-ink) !important;
  color: var(--os2o-paper) !important;
  margin-top: 80px;
}

#footer .footer-bottom .os2o-footer-logo {
  display: inline-block !important;
  width: 180px !important;
  height: 38px !important;
  margin: 0 0 0 18px !important;
  vertical-align: middle !important;
  background: url("/user/documents/upload/lufreecode-horizontal-dark.svg") center / contain no-repeat !important;
}

#footer .footer-bottom .container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
}

#footer .footer-bottom .copyright {
  order: 1 !important;
  margin-right: auto !important;
}

#footer .footer-bottom .os2o-footer-logo {
  order: 2 !important;
}

#footer .footer-bottom #signature {
  order: 3 !important;
  white-space: nowrap !important;
}

#footer .os2o-footer-logo::before {
  content: "" !important;
  display: block !important;
}

@media (max-width: 767px) {
  #footer .footer-bottom .container {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  #footer .footer-bottom .copyright {
    width: 100% !important;
    margin-right: 0 !important;
  }

  #footer .footer-bottom .os2o-footer-logo {
    margin-left: 0 !important;
  }
}

#footer a {
  color: var(--os2o-paper) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  #product-detail-form {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 767px) {
  body:not(.in-index) #content {
    width: calc(100% - 32px) !important;
  }

  body.in-index #header #navigation {
    display: none !important;
  }

  .os2o-home-hero {
    min-height: 560px;
  }

  .os2o-home-categories,
  .os2o-audience-categories {
    grid-template-columns: 1fr !important;
  }

  .os2o-home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px;
  }

  .os2o-home-story {
    display: block;
    width: 100%;
  }

  .os2o-home-story img {
    height: 380px;
  }

  .os2o-home-story-copy {
    padding: 40px 24px;
  }

  .os2o-home-newsletter-form {
    display: block;
  }

  .os2o-home-newsletter-form button {
    margin-top: 12px;
  }

  .category-top {
    min-height: auto !important;
    padding: 110px 20px 0 !important;
  }

  body.in-znacka #content {
    width: calc(100% - 32px) !important;
    padding: 44px 0 70px !important;
  }

  body.in-znacka .category-title {
    font-size: clamp(42px, 13vw, 72px) !important;
    margin-bottom: 36px !important;
  }

  body.in-znacka .manufacturers {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .subcategories,
  ul.subcategories {
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    gap: 8px !important;
  }

  .subcategories a {
    font-size: 11px !important;
    min-width: 0 !important;
    padding: 10px 12px 12px !important;
  }

  .subcategories .image,
  .subcategories .image img {
    width: 100px !important;
    height: 72px !important;
  }

  .products.products-block,
  .category-content-wrapper .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px !important;
  }

  .products.products-block .p-name {
    font-size: 11px !important;
  }

  .p-detail {
    padding: 32px 0 60px !important;
  }

  .p-info-wrapper {
    padding-top: 16px !important;
  }

  .p-info-wrapper h1 {
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  .add-to-cart button[type="submit"],
  .add-to-cart .btn,
  .btn-cart {
    flex: 1 1 220px !important;
  }

  #cart-wrapper {
    padding: 35px 0 80px;
  }

  #cart-wrapper .empty-cart-boxes {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
