/* Shared retail layout. Product photography supplies the colour.
   Design review using unslop by Damir Sokolovsky, CC BY 4.0. */
:root {
  --sr-wall: #f5f7fa;
  --sr-wall-deep: #edf1f6;
  --sr-case: #fff;
  --sr-ink: #152031;
  --sr-muted: #535f70;
  --sr-line: #d8dfe8;
  --sr-brand: #1552c7;
}

body, body:has(.aisle, .showcase, .info, .comparison) { background: var(--sr-wall); color: var(--sr-ink); }
body > header { width: 100%; margin: 0; top: 0; border: 0; border-bottom: 1px solid var(--sr-line); }
.header-main { padding: 12px 0; gap: 16px; }
.header-main .logo img { width: 120px; }
body > header .nav { gap: 24px; justify-content: flex-start; }
body > header .nav a { min-height: 40px; padding: 0; border: 0; white-space: nowrap; }
body > header .nav a[href="/nakup/"] { order: 1; margin-left: auto; }
#searchForm { border-radius: 8px; }

.shop-front { padding-block: 24px 40px; }
.shop-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 0 0 20px; border-bottom: 1px solid var(--sr-line); }
.shop-intro h1, .aisle .catalog-title, .comparison .catalog-title, .info .info-head h1 {
  margin: 0;
  color: var(--sr-ink);
  font: 600 clamp(24px, 3vw, 36px)/1.15 Archivo, Arial, sans-serif;
  letter-spacing: -.025em;
}
.shop-delivery { display: inline-block; margin: 8px 0 0; color: var(--sr-muted); text-decoration: underline; text-underline-offset: 3px; }
.shop-intro .btn { margin: 0; }
.shop-display { padding-top: 24px; }
.shop-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.shop-section-head h2, .showcase .showcase-more h2 {
  margin: 0;
  color: var(--sr-ink);
  font: 600 20px/1.2 Archivo, Arial, sans-serif;
  letter-spacing: -.01em;
}
.shop-section-head a, .shop-collections a { color: var(--sr-brand); }
.shop-collections { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; }
.shop-collections a { text-decoration: underline; text-underline-offset: 3px; }

.aisle-head { padding: 24px 0 12px; grid-template-areas: "title title"; column-gap: 16px; }
.comparison-head { grid-template-areas: "crumbs crumbs" "title side"; }
.aisle .catalog-layout { gap: 20px; padding-bottom: 40px; }
.aisle .catalog-toolbar { margin: 0 0 12px; }
.aisle .filter-panel { border-radius: 8px; }
.aisle .filter-panel > summary { font-size: 14px; padding: 12px; }
.aisle .filters { gap: 12px; padding: 12px; }
.aisle .catalog-toolbar select, .aisle .filters input, .aisle .filters select { border-radius: 8px; }

.shop-front .shelf, .aisle .catalog-layout .shelf, .showcase-more .shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shelf > .shelf-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "photo photo" "text text" "price price" "add compare";
  align-content: start;
  align-items: start;
  min-width: 0;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--sr-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.shelf > .shelf-item.no-photo {
  grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas: "text text" "price price" "add compare";
}
.shelf > .shelf-item .shelf-photo {
  aspect-ratio: 4 / 3;
  height: auto;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}
.shelf > .shelf-item.is-fill .shelf-photo { padding: 0; }
.shelf > .shelf-item .shelf-photo img { transform: none; transition: none; }
.shelf > .shelf-item .shelf-text { padding: 0; }
.shelf > .shelf-item.no-photo .shelf-text { padding-right: 36px; }
.shelf > .shelf-item h3 { margin: 0; font: 600 15px/1.35 Archivo, Arial, sans-serif; letter-spacing: 0; }
.shelf > .shelf-item .shelf-price { margin: 0; }
.shelf > .shelf-item .price { font-size: 18px; line-height: 1.25; letter-spacing: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.shelf > .shelf-item .save { top: 8px; right: 8px; width: 36px; height: 36px; min-height: 36px; box-shadow: none; }
.shelf > .shelf-item .add, .shelf > .shelf-item .compare-pick {
  margin: 0;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  background: #fff;
  color: var(--sr-ink);
  font-size: 13px;
  line-height: 1.2;
  box-shadow: none;
  white-space: normal;
  transform: none;
}
.shelf > .shelf-item .add::after { content: none; }
.shelf > .shelf-item .add:hover, .shelf > .shelf-item .compare-pick:hover { border-color: var(--sr-brand); color: var(--sr-brand); }
.shelf > .shelf-item .compare-pick[aria-pressed="true"] { background: var(--sr-wall-deep); color: var(--sr-brand); }
.btn { border-radius: 8px; }

.showcase .detail { gap: 24px; padding: 16px 0 32px; }
.showcase .detail.detail-no-photo { grid-template-columns: minmax(0, 680px); }
.showcase .detail-image, .showcase .detail-image[data-gallery-ready] {
  position: relative;
  top: auto;
  border: 1px solid var(--sr-line);
  border-radius: 12px;
  box-shadow: none;
  transform: none;
  transition: none;
}
.showcase .photo-hint, .showcase .photo-count { display: none; }
.showcase .detail-image:hover .photo-open img { transform: none; }
.showcase .detail h1 { font: 600 clamp(24px, 3vw, 36px)/1.15 Archivo, Arial, sans-serif; letter-spacing: -.025em; text-wrap: initial; }
.showcase .showcase-price { margin-top: 12px; }
.showcase .showcase-price .price { font: 600 24px/1.2 Archivo, Arial, sans-serif; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.showcase .showcase-actions { gap: 8px; margin-top: 12px; }
.variant-choice { display: grid; gap: 4px; margin-top: 16px; font-size: 14px; }
.variant-choice select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid var(--sr-line); border-radius: 8px; font: inherit; }
.offer-note { margin: 8px 0 16px; color: var(--sr-muted); font-size: 14px; }
.product-facts { padding: 12px 0; border-block: 1px solid var(--sr-line); }
.product-facts summary { cursor: pointer; font-weight: 600; }
.product-facts p { margin: 12px 0; }
.product-facts .specs { margin-top: 12px; }
.showcase-more { padding-block: 24px 32px; }
.showcase-more-head { margin-bottom: 12px; }

body > footer.shop-footer { padding: 20px 0 0; background: #fff; color: var(--sr-ink); border-radius: 0; border-top: 1px solid var(--sr-line); }
.shop-footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px 24px; }
.shop-footer .logo img { width: 104px; }
.shop-footer nav { display: grid; justify-items: start; align-content: start; gap: 4px; }
.shop-footer a { color: var(--sr-ink); }
.shop-footer a:hover { color: var(--sr-brand); }
.shop-footer p, .shop-footer-bottom { margin-top: 8px; color: var(--sr-muted); font-size: 13px; }
.shop-footer-bottom { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-block: 12px; border-top: 1px solid var(--sr-line); }

@media (max-width: 1120px) {
  body > header .nav { gap: 16px; }
  .aisle .catalog-layout .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body > header .nav { gap: 16px; }
  body > header .nav a[href="/nakup/"] { margin-left: 0; }
  .shop-front .shelf, .aisle .catalog-layout .shelf, .showcase-more .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf > .shelf-item { padding: 8px; }
  .shelf > .shelf-item.product .compare-pick { width: 44px; padding: 0; font-size: 0; }
  .shelf > .shelf-item.product .compare-pick::before { content: '⇄'; font-size: 18px; }
  .shelf > .shelf-item.product .compare-pick[aria-pressed="true"]::before { content: '✓'; }
  .showcase .detail-image, .showcase .detail-image[data-gallery-ready] { max-height: 280px; }
  .shop-footer-main { grid-template-columns: 1fr 1fr; }
  .shop-footer-main > div { grid-column: 1/-1; }
}
@media (max-width: 359px) {
  .shop-front .shelf, .aisle .catalog-layout .shelf, .showcase-more .shelf { grid-template-columns: 1fr; }
  .shop-footer-main { grid-template-columns: 1fr; }
}

/* PROCOM retail layout. Design review using unslop by Damir Sokolovsky, CC BY 4.0. */
*, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
a, button, img, summary { transition: none !important; }
:is(.aisle,.showcase,.info,.comparison) { --sr-brand-ink: #fff; --sr-brand-soft: #eaf1ff; --sr-ease: ease-out; }
.product-image img, .detail-image img { mix-blend-mode: normal; filter: none; }
.header-main, body > header .nav { width: min(1280px, calc(100% - 48px)); }
.shop-utility { background: #f5f7fa; border-bottom: 1px solid var(--sr-line); font-size: 13px; }
.shop-utility .wrap, .shop-utility .wrap > div { display: flex; gap: 16px; align-items: center; }
.shop-utility .wrap { justify-content: space-between; min-height: 32px; }
.shop-utility a { color: var(--sr-muted); }
.shop-utility a:hover { text-decoration: underline; }
body > header .nav { margin-inline: auto; overflow: visible; padding: 4px 0 8px; }
body > header .nav a { font-size: 14px; }
body > header .nav a.all { border: 0; }
.shop-menu { position: relative; flex: none; padding: 0; border: 0; }
.shop-menu summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; color: #fff; background: #1552c7; border-radius: 6px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.shop-menu summary::-webkit-details-marker { display: none; }
.shop-menu-links { position: absolute; inset: calc(100% + 4px) auto auto 0; z-index: 5; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--sr-line); border-radius: 6px; padding: 4px; }
body > header .nav .shop-menu-links a { display: flex; align-items: center; padding: 0 12px; }
.shop-menu-links a:hover { background: var(--sr-wall); }
#cartBtn { display: inline-flex; align-items: center; justify-content: center; }
.shop-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; padding: 16px 48px; background: #fff; border: 1px solid var(--sr-line); border-radius: 8px; }
.shop-feature-copy { display: grid; gap: 8px; justify-items: start; padding-block: 20px; }
.shop-feature-copy h2 { margin: 0; font: 600 clamp(24px,3.5vw,44px)/1.08 Archivo,Arial,sans-serif; letter-spacing: -.025em; }
.shop-feature-copy p { margin: 0; color: var(--sr-muted); }
.shop-feature-price { font-size: clamp(18px,2vw,26px); font-variant-numeric: tabular-nums; }
.shop-feature-copy .btn { margin-top: 4px; padding: 10px 16px; min-height: 44px; }
.shop-feature-photo { width: 100%; height: 272px; object-fit: contain; }
.shop-departments, .shop-front .shop-display { padding-top: 28px; }
.shop-department-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.shop-department { display: grid; grid-template-rows: 84px 1fr; gap: 8px; align-items: start; justify-items: center; padding: 12px 8px; background: #fff; border: 1px solid var(--sr-line); border-radius: 8px; text-align: center; font-size: 14px; font-weight: 600; }
.shop-department img { width: 100%; height: 100%; object-fit: contain; }
.shop-department:hover { border-color: var(--sr-brand); color: var(--sr-brand); }
.department-shortcuts { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 8px 0; }
.department-shortcuts a { display: inline-flex; align-items: center; min-height: 36px; color: var(--sr-brand); text-underline-offset: 4px; }
.department-shortcuts { border-block: 1px solid var(--sr-line); margin-bottom: 16px; }
.department-shortcuts a[aria-current] { color: var(--sr-ink); font-weight: 600; text-decoration: underline; }
.shop-display { padding-top: 16px; }
.shelf > .shelf-item { grid-template-columns: minmax(0,1fr); grid-template-areas: "photo" "text" "price" "add"; border-radius: 8px; }
.shelf > .shelf-item.no-photo { grid-template-areas: "text" "price" "add"; }
.shelf > .shelf-item.no-photo .shelf-text { padding-right: 0; }
.shelf > .shelf-item .shelf-photo { aspect-ratio: 3 / 2; }
.shelf > .shelf-item .add { min-height: 40px; color: #fff; background: var(--sr-brand); border-color: var(--sr-brand); }
.shelf > .shelf-item .add:hover { color: #fff; background: #113f9b; border-color: #113f9b; }
.showcase .showcase-actions { align-items: center; margin-bottom: 16px; }
@media (min-width: 1000px) {
  .showcase .detail-image, .showcase .detail-image[data-gallery-ready] { max-height: 480px; }
}
.product-tool { min-height: 44px; padding: 0 8px; color: var(--sr-brand); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.product-tool[aria-pressed="true"] { color: var(--sr-ink); }
.phone-options { display: grid; gap: 16px; margin: 16px 0; }
.phone-options fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.phone-options legend { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.phone-options legend span { font-weight: 400; color: var(--sr-muted); }
.phone-options-row { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--sr-line); border-radius: 6px; background: #fff; color: var(--sr-ink); font-size: 14px; }
.variant-chip:hover, .variant-chip[aria-current] { border-color: var(--sr-brand); }
.variant-chip[aria-current] { background: #eef4ff; box-shadow: inset 0 0 0 1px var(--sr-brand); }
.variant-chip[aria-disabled] { opacity: .6; }
.finish-dot { display: none; width: 16px; height: 16px; border: 1px solid #0003; border-radius: 50%; background: var(--finish); }
:is([data-finish="burgundy"],[data-finish="glacier"],[data-finish="silver"],[data-finish="black"],[data-finish="cosmic-orange"],[data-finish="deep-blue"],[data-finish="sky-blue"],[data-finish="cobalt-violet"],[data-finish="white"],[data-finish="pink-gold"],[data-finish="silver-shadow"],[data-finish="blue"],[data-finish="purple"],[data-finish="space-gray"],[data-finish="starlight"],[data-finish="polnočna"],[data-finish="srebrna"],[data-finish="zvezdnata"],[data-finish="nebeško-modra"]) .finish-dot { display: inline-block; }
[data-finish="burgundy"] { --finish: #6a3438; }
[data-finish="glacier"] { --finish: #b8c8d1; }
[data-finish="silver"] { --finish: #dddfe0; }
[data-finish="black"] { --finish: #282a2b; }
[data-finish="cosmic-orange"] { --finish: #cf592d; }
[data-finish="deep-blue"] { --finish: #263c56; }
[data-finish="sky-blue"],[data-finish="blue"],[data-finish="nebeško-modra"] { --finish: #b5c9d7; }
[data-finish="cobalt-violet"],[data-finish="purple"] { --finish: #b3a7c8; }
[data-finish="white"] { --finish: #fafafa; }
[data-finish="pink-gold"] { --finish: #e2c2b8; }
[data-finish="silver-shadow"],[data-finish="srebrna"] { --finish: #cfced1; }
[data-finish="space-gray"] { --finish: #6c6d72; }
[data-finish="starlight"],[data-finish="zvezdnata"] { --finish: #e2d8c6; }
[data-finish="polnočna"] { --finish: #272e3f; }
.product-quantity { display: grid; gap: 6px; justify-items: start; font-size: 14px; font-weight: 600; }
.product-quantity-controls { display: flex; background: #fff; border: 1px solid var(--sr-line); border-radius: 6px; }
.product-quantity-controls button { color: var(--sr-ink); background: transparent; border: 0; width: 42px; min-height: 42px; font: inherit; }
.product-quantity-controls input { width: 48px; border: 0; text-align: center; font: inherit; appearance: textfield; }
.product-quantity-controls input::-webkit-inner-spin-button { appearance: none; }
.phone-box { margin-bottom: 24px; padding: 20px 0; border-block: 1px solid var(--sr-line); }
.phone-box h2 { margin: 0 0 8px; font-size: 20px; }
.phone-box ul { margin: 0 0 8px; padding-left: 20px; }
.phone-box p { margin: 0; color: var(--sr-muted); }
.product-buy-bar[hidden] { display: none; }
.product-buy-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8; background: #fff; border-top: 1px solid var(--sr-line); padding-block: 8px; }
.product-buy-bar .wrap { display: flex; align-items: center; gap: 12px; }
.buy-bar-label { flex: 1 1 0%; min-width: 0; }
.buy-bar-label strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-bar-label a, .product-buy-bar small:not(:empty) { display: block; font-size: 12px; color: var(--sr-muted); }
.buy-bar-label a { text-decoration: underline; }
.product-buy-bar .price { margin: 0 0 0 auto; font-size: 18px; white-space: nowrap; }
.has-product-buy-bar { padding-bottom: 96px; }
.has-product-buy-bar .compare-bar { bottom: 106px; }
@media(max-width:400px) {
  .product-buy-bar .wrap { gap: 8px; }
  .product-buy-bar .wrap > div { font-size: 12px; }
  .product-buy-bar .price { font-size: 15px; }
  .product-buy-bar .btn { padding-inline: 10px; }
  .buy-bar-label a { font-size: 11px; }
}
.product-delivery { margin: 0 0 12px; color: var(--sr-muted); font-size: 14px; }
.product-delivery a { text-decoration: underline; }
.shop-added { width: min(420px,calc(100% - 32px)); padding: 20px; border-radius: 8px; border: 1px solid var(--sr-line); color: var(--sr-ink); }
.shop-added::backdrop { background: #15203166; }
.shop-added h2 { margin: 0; font-size: 20px; }
.shop-added p { margin: 10px 0; }
.shop-added-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.showcase .photo-open:hover img, .compare-case:hover img { transform: none !important; }
.aisle .empty { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .header-main, body > header .nav { width: calc(100% - 32px); }
  body > header .nav { flex-wrap: wrap; gap: 4px 12px; }
  body > header .nav a { min-height: 36px; }
  body > header .nav > a { display: none; }
  .shop-utility .wrap { gap: 4px 8px; font-size: 11px; padding-block: 4px; }
  .shop-utility .wrap > div { gap: 8px; }
  .shop-front { padding-block: 20px 32px; }
  .shop-feature { gap: 4px; padding: 12px 16px; }
  .shop-feature-copy { padding: 0; }
  .shop-feature-copy p { font-size: 13px; }
  .shop-feature-photo { height: 176px; }
  .shop-feature-copy .btn { padding-inline: 10px; }
  .shop-department-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .shop-department { grid-template-rows: 60px 1fr; padding-inline: 4px; font-size: 13px; }
  .department-shortcuts { gap: 0 16px; }
}
