:root {
  --sand-50: #f8f5f0;
  --sand-100: #f0e8dc;
  --sand-200: #e3d4c1;
  --sand-300: #d1bfa6;
  --clay-400: #5fc7ea;
  --clay-500: #00a6de;
  --clay-600: #007aa6;
  --ink-700: #3b342f;
  --ink-800: #2a2420;
  --ink-900: #191513;
  --sage-400: #7a8f81;
  --sage-500: #5f7566;
  --steel-400: #8b9aa6;
  --accent: #00a6de;
  --shadow: 0 24px 48px rgba(15, 20, 23, 0.12);
  --shadow-soft: 0 14px 30px rgba(15, 20, 23, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: #f4f6f8;
  color: var(--ink-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand span {
  font-family: "Manrope", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.nav-bar {
  background: #0b0f12;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  overflow: visible;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 12px;
  gap: 20px;
}

.nav-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  position: relative;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 10px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.92rem;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-tools .search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-tools .search input {
  width: clamp(180px, 20vw, 280px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
}

.header-tools .search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.header-tools .search button {
  border: none;
  background: var(--accent);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch .lang {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch .lang.active {
  background: #fff;
  color: #0b0f12;
  font-weight: 700;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 10;
}

.dropdown-menu a {
  padding: 6px 4px;
  font-size: 0.9rem;
  color: var(--ink-800);
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px 28px;
  display: none;
  box-shadow: 0 22px 56px rgba(15, 20, 23, 0.22);
  z-index: 40;
  border: 1px solid rgba(15, 20, 23, 0.1);
}

.mega-menu,
.mega-cats,
.mega-col {
  position: relative;
}

.mega-cats {
  display: block;
  column-count: 5;
  column-gap: 26px;
  min-width: 0;
}

.mega-col {
  min-width: 0;
  display: inline-grid;
  width: 100%;
  gap: 10px;
  overflow: visible;
  break-inside: avoid;
  margin: 0 0 16px;
}

.mega-menu h5 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7b89;
}

.mega-root-link {
  color: #112a3a;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mega-menu a::after {
  display: none !important;
}

.mega-menu a {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-800);
  font-size: 0.92rem;
  padding-bottom: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.mega-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mega-tree-depth-1 {
  gap: 7px;
}

.mega-tree-depth-2,
.mega-tree-depth-3,
.mega-tree-depth-4 {
  margin-top: 3px;
  margin-left: 0;
  padding-left: 12px;
  border-left: 1px dashed rgba(15, 20, 23, 0.16);
  min-width: 0;
}

.mega-tree-link {
  margin: 0;
  line-height: 1.25;
  border-radius: 8px;
  padding: 4px 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mega-tree-link:hover {
  background: rgba(0, 166, 222, 0.1);
  color: #074157;
}

.mega-tree-link-depth-1 {
  font-size: 0.9rem;
  font-weight: 600;
}

.mega-tree-link-depth-2 {
  font-size: 0.88rem;
}

.mega-tree-link-depth-3,
.mega-tree-link-depth-4 {
  font-size: 0.84rem;
  color: var(--ink-700);
}

.mega .mega-card {
  background: #ffffff;
  border: 1px solid rgba(0, 166, 222, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 0;
}

.mega .mega-card .promo-image {
  height: 120px;
  border-radius: 12px;
  background-image: url("https://cdn.pixabay.com/photo/2024/04/10/14/03/bathroom-8688132_1280.jpg");
  background-size: cover;
  background-position: center;
}

.mega-menu::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  pointer-events: none;
}

.mega .mega-card span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.mega .mega-card strong,
.mega .mega-card p {
  margin: 0;
}

.mega .mega-card p {
  color: var(--ink-800);
}

.mega .mega-card a {
  color: var(--accent);
  font-weight: 600;
}

.mega:hover .mega-menu {
  display: block;
}

.mega.is-open .mega-menu,
.mega:focus-within .mega-menu {
  display: block;
}

@media (max-width: 1320px) {
  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }

  .header-tools .search input {
    width: clamp(150px, 18vw, 220px);
  }

  .mega-menu {
    padding: 22px 24px;
  }

  .mega-cats {
    column-count: 4;
  }
}

@media (max-width: 1180px) {
  .mega-cats {
    column-count: 3;
  }
}

@media (max-width: 1024px) {
  .mega-cats {
    column-count: 2;
  }
}

@media (max-width: 1080px) {
  .nav-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .header-tools {
    margin-left: 0;
  }
}

.menu-toggle {
  display: none;
  background: #fff;
  color: var(--ink-900);
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #0b0f12;
}

.hero-track {
  position: relative;
  height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 120px 0;
  z-index: 1;
  color: #fff;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide .container {
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-track {
    height: 520px;
  }
}

@media (max-width: 600px) {
  .hero-track {
    height: 480px;
  }
}

.hero-text {
  display: grid;
  gap: 6px;
  max-width: 620px;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 166, 222, 0.22);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide h1 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  line-height: 0.94;
  margin: 0 0 12px;
}

.hero-slide strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-slide p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-slide h1,
.hero-slide strong,
.hero-slide p,
.hero-slide .cta,
.hero-slide .section-kicker {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.hero-slide.active h1,
.hero-slide.active strong,
.hero-slide.active p,
.hero-slide.active .cta,
.hero-slide.active .section-kicker {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide .cta {
  display: inline-flex;
  width: fit-content;
  justify-self: start;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-visual {
  display: none;
}

.hero-controls {
  position: absolute;
  inset: 0 6vw 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.hero-controls button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
}

.hero-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  gap: 12px;
}

.hero-card .tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.hero-card .visual {
  background: linear-gradient(120deg, #e9e9e9, #f7f7f7);
  border-radius: 0;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.hero-card .visual::after {
  content: "";
  position: absolute;
  inset: 18% 14% 10% 46%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px 50px 20px 20px;
  box-shadow: 0 18px 32px rgba(25, 21, 19, 0.12);
}

.hero-card .visual::before {
  content: "";
  position: absolute;
  inset: 60% 50% 12% 8%;
  background: rgba(25, 21, 19, 0.08);
  border-radius: 20px;
}

.slider {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: none;
  border: 1px solid rgba(15, 20, 23, 0.08);
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.slider-track {
  display: grid;
  gap: 16px;
}

.slider-head {
  margin-bottom: 16px;
}

.slider-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.slider-head p {
  margin: 0;
  color: var(--ink-700);
}

.slide {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: center;
}

.slide.active {
  display: grid;
}

.slide h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.slide p {
  margin: 0 0 12px;
  color: var(--ink-700);
}

.slide .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 166, 222, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.slide .preview {
  height: 300px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.slide .preview::after {
  content: "";
  position: absolute;
  inset: 20% 12% 20% 55%;
  background: rgba(255, 255, 255, 0.0);
  border-radius: 18px;
}

.slider .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: fit-content;
}

.quick-links-section {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: none;
  border: 1px solid rgba(15, 20, 23, 0.08);
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.quick-links-head {
  margin-bottom: 18px;
}

.quick-links-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.quick-links-head p {
  margin: 0;
  color: var(--ink-700);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-link-card {
  display: grid;
  grid-template-rows: auto 220px;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  min-height: 100%;
}

.quick-link-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.quick-link-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.quick-link-card p {
  margin: 0;
  color: var(--ink-700);
}

.quick-link-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: fit-content;
  margin-top: 4px;
}

.quick-link-image {
  display: block;
  min-height: 220px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.quick-link-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
}

@media (max-width: 980px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin: 0 0 14px;
}

.section p.lead {
  color: var(--ink-700);
  margin: 0 0 32px;
  max-width: 640px;
}

.section .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: none !important;
}

.product-ticker {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: none;
  border: 1px solid rgba(15, 20, 23, 0.08);
  min-width: 220px;
}

.product-card .thumb {
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(0, 166, 222, 0.14), rgba(0, 166, 222, 0.03));
  margin-bottom: 14px;
}

.product-card h4 {
  margin: 0 0 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius-md);
  box-shadow: none;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 20, 23, 0.08);
}

.category-card span {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-600);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(15, 20, 23, 0.08);
  display: grid;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-section .news-header {
  text-align: center;
  margin-bottom: 30px;
}

.accent-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 12px;
}

.accent-line.small {
  width: 36px;
  height: 3px;
  margin: 10px 0;
}

.news-card.fancy .media {
  position: relative;
}

.date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  line-height: 1.1;
  border-radius: 4px;
}

.read-more {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
}

.news-card .media {
  height: 180px;
  background: linear-gradient(135deg, rgba(122, 143, 129, 0.25), rgba(139, 154, 166, 0.25));
}

.news-card .content {
  padding: 20px;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
}

.categories-layout {
  display: grid;
  gap: 30px;
}

.categories-intro {
  text-align: center;
}

.category-explorer {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.category-explorer-item,
.category-explorer-leaf {
  border: 1px solid rgba(15, 20, 23, 0.1);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-explorer-item[open] {
  border-color: rgba(0, 166, 222, 0.32);
  box-shadow: 0 14px 34px rgba(15, 20, 23, 0.08);
}

.category-explorer-item > summary,
.category-explorer-leaf {
  min-height: 68px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-800);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.category-explorer-item > summary {
  list-style: none;
}

.category-explorer-item > summary::-webkit-details-marker {
  display: none;
}

.category-explorer-item > summary:hover,
.category-explorer-leaf:hover {
  color: var(--accent);
  background: rgba(0, 166, 222, 0.045);
}

.category-explorer-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.category-explorer-image {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  background: #eef2f4;
}

.category-explorer-toggle {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.category-explorer-toggle::before,
.category-explorer-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.category-explorer-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.category-explorer-item[open] > summary .category-explorer-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.category-explorer-children {
  padding: 0 12px 12px 28px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(15, 20, 23, 0.07);
  background: linear-gradient(180deg, rgba(0, 166, 222, 0.025), rgba(255, 255, 255, 0.9));
}

.category-explorer-children .category-explorer-item,
.category-explorer-children .category-explorer-leaf {
  border-radius: 12px;
}

.category-explorer-children .category-explorer-item > summary,
.category-explorer-children .category-explorer-leaf {
  min-height: 54px;
  padding: 12px 16px;
  font-size: 0.98rem;
}

.category-explorer-children .category-explorer-image {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 7px;
}

.category-explorer-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px 5px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.category-explorer-arrow {
  color: var(--accent);
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .category-explorer {
    gap: 8px;
  }

  .category-explorer-item > summary,
  .category-explorer-leaf {
    min-height: 58px;
    padding: 13px 15px;
    font-size: 0.98rem;
  }

  .category-explorer-label {
    gap: 11px;
  }

  .category-explorer-image {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
  }

  .category-explorer-children .category-explorer-image {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .category-explorer-children {
    padding: 0 8px 8px 14px;
  }

  .category-explorer-toggle {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-tile {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  padding: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.categories-grid.photo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-tile.photo {
  position: relative;
  padding: 0;
  height: 210px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: none;
}

@media (max-width: 1200px) {
  .categories-grid.photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .categories-grid.photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .categories-grid.photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile.photo {
    height: 190px;
  }
}

@media (max-width: 480px) {
  .categories-grid.photo-grid {
    grid-template-columns: 1fr;
  }
}

.category-tile.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));*/
}

.category-tile.photo strong {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
  margin: 0;
}

.category-tile.photo:hover {
  transform: translateY(-4px);
}

.category-tile.photo.is-active {
  box-shadow: 0 0 0 3px rgba(0, 166, 222, 0.32);
}

.category-tile strong {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tile-image {
  height: 110px;
  background: linear-gradient(140deg, rgba(0, 166, 222, 0.12), rgba(0, 166, 222, 0.02));
  border-radius: 12px;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 18px 0;
}

.cta-band .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.cta-band strong {
  font-size: 1.05rem;
}

.dark-news {
  background: #0e1317;
  color: #fff;
}

.dark-news .lead {
  color: rgba(255, 255, 255, 0.65);
}

.dark-news .news-card {
  background: #ffffff;
  color: var(--ink-800);
}

.dark-projects {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 166, 222, 0.18), transparent 30%),
    radial-gradient(circle at 88% 84%, rgba(202, 155, 87, 0.15), transparent 28%),
    linear-gradient(135deg, #0b151b 0%, #101d24 55%, #081116 100%);
  color: #fff;
}

.dark-header {
  text-align: center;
  margin-bottom: 32px;
}

.dark-header .lead {
  color: rgba(255, 255, 255, 0.65);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.featured-offer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  background: #fff;
  color: var(--ink-800);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 20, 23, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card-link:hover .project-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.project-card .media {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.featured-offer-grid .project-card .media {
  height: auto;
  aspect-ratio: 1 / 1;
}

.project-card .content {
  padding: 14px;
  height: 150px;
}

.featured-offer-grid .project-card .content {
  min-height: 92px;
  height: auto;
  padding: 18px 18px 20px;
}

.featured-offer-grid .project-card h4 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.project-card span {
  font-size: 0.8rem;
  color: var(--ink-700);
}

.dark-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dark-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.new-offer-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 166, 222, 0.09), transparent 26%),
    linear-gradient(180deg, #f8fbfc 0%, #eef4f6 100%);
}

.new-offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.new-offer-card {
  border-radius: 22px;
  border-color: rgba(20, 52, 65, 0.1);
  box-shadow: 0 18px 45px rgba(23, 55, 68, 0.08);
}

.new-offer-card.fancy .media {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.new-offer-card .content {
  display: flex;
  flex-direction: column;
  min-height: 215px;
  padding: 24px;
}

.new-offer-card .content h4 {
  font-size: 1.28rem;
}

.new-offer-card .content p {
  color: #53636b;
  line-height: 1.65;
}

.new-offer-card .read-more {
  margin-top: auto;
  padding-top: 12px;
}

.new-offer-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0b8fbd;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 95, 130, 0.22);
}

@media (max-width: 900px) {
  .featured-offer-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 68vw);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 4px 4px 18px;
    scrollbar-width: thin;
  }

  .featured-offer-grid .project-card-link {
    scroll-snap-align: start;
  }

  .new-offer-grid {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .featured-offer-grid {
    grid-auto-columns: 82vw;
    gap: 14px;
  }

  .new-offer-card .content {
    min-height: 0;
    padding: 20px;
  }
}

.contact-band {
  background: linear-gradient(120deg, rgba(11, 15, 18, 0.92), rgba(11, 15, 18, 0.6)),
  url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contact-band .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-box {
  display: grid;
  gap: 12px;
}

.contact-details {
  display: grid;
  gap: 10px;
}

.contact-details > div,
.contact-method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-method-icon {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-method-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-details span:not(.contact-method-icon) {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-method strong {
  display: block;
}

.contact-viber {
  width: fit-content;
}

.contact-viber .contact-method-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 20, 23, 0.1);
  margin-bottom: 10px;
  font-family: inherit;
}

.contact-form .cta {
  width: 100%;
  justify-content: center;
}

.news-card h4 {
  margin: 0 0 10px;
}

.dual-callouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.callout {
  background: var(--ink-900);
  color: #f8f5f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.callout::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(184, 79, 60, 0.25);
  top: -40px;
  right: -60px;
}

.callout.secondary {
  background: #fff;
  color: var(--ink-800);
  border: 1px solid rgba(25, 21, 19, 0.08);
}

.callout-image {
  background-image: var(--callout-bg);
  background-size: cover;
  background-position: center;
  color: inherit;
}

.callout-image.secondary {
  border: none;
}

.callout-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--callout-bg);
  opacity: 1;
  z-index: 0;
}

.callout-image > * {
  position: relative;
  z-index: 1;
}

.callout-image:not(.secondary) h3,
.callout-image:not(.secondary) p {
  color: #fff;
}

.callout-image:not(.secondary) p {
  color: rgba(255, 255, 255, 0.85);
}

.callout .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  width: fit-content;
}

.info-strip {
  background: var(--sand-100);
  border-top: 1px solid rgba(25, 21, 19, 0.08);
  border-bottom: 1px solid rgba(25, 21, 19, 0.08);
  padding: 26px 0;
}

.info-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.info-card {
  display: grid;
  gap: 6px;
}

.info-card span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-600);
}

.footer,
.footer-dark {
  background: #1f2226;
  color: #f1f4f7;
  padding: 60px 0 30px;
}

.footer-dark * {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.footer p {
  color: rgba(241, 244, 247, 0.7);
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: rgba(241, 244, 247, 0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(241, 244, 247, 0.75);
}

.footer-links a::before {
  content: \"›\";
  margin-right: 8px;
  color: var(--accent);
}

.footer-news {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-news input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
}

.footer-news button {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.footer-note {
  margin: -4px 0 0;
  font-size: 0.9rem;
}

.footer-note-success {
  color: #9ce7b2;
}

.footer-note-error {
  color: #ffb4b4;
}

.footer-sub {
  margin-top: 18px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: rgba(0, 166, 222, 0.24);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(241, 244, 247, 0.6);
}

.page-hero {
  padding: 60px 0 30px;
  background: linear-gradient(120deg, #fff, var(--sand-100));
}

.page-hero h1 {
  margin: 0 0 10px;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 28px;
}

.filters {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-radius: 22px;
  padding: 20px;
  border: 1px solid rgba(0, 166, 222, 0.16);
  box-shadow: 0 20px 44px rgba(15, 20, 23, 0.1);
  height: fit-content;
  position: sticky;
  top: 88px;
}

.product-filters-form {
  display: grid;
  gap: 14px;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 20, 23, 0.08);
  padding-bottom: 12px;
}

.filters-header h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filters-count {
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: var(--accent);
}

.filters-toggle {
  display: none;
}

.filters-content {
  display: grid;
  gap: 14px;
}

.filters-block {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 20, 23, 0.08);
}

.filters-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filters h3 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.filter-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15, 20, 23, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  min-height: 44px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-search-wrap:focus-within {
  border-color: rgba(0, 166, 222, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 166, 222, 0.14);
}

.filter-search-icon {
  color: #6f8091;
  font-size: 1rem;
}

.filter-search-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink-800);
  font-size: 0.94rem;
  padding: 10px 0;
}

.filter-search-wrap input::placeholder {
  color: #7b8b98;
}

.filter-group {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
}

.filter-group-title {
  display: block;
  margin: 10px 0 2px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f8091;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--ink-800);
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-option:hover {
  background: rgba(0, 166, 222, 0.08);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid #6f8294;
  background: #fff;
  display: inline-grid;
  place-content: center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-option input[type="radio"] {
  border-radius: 999px;
}

.filter-option input[type="checkbox"] {
  border-radius: 5px;
}

.filter-option input[type="radio"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.14s ease;
}

.filter-option input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.14s ease;
}

.filter-option input[type="radio"]:checked,
.filter-option input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.filter-option input[type="radio"]:checked::after {
  transform: scale(1);
}

.filter-option input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

.filter-option input[type="radio"]:focus-visible,
.filter-option input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 166, 222, 0.2);
}

.filter-option-label {
  line-height: 1.35;
}

.filter-option:has(input:checked) {
  background: rgba(0, 166, 222, 0.14);
  color: #074157;
  border-color: rgba(0, 166, 222, 0.22);
}

.filter-option input:checked + .filter-option-label {
  font-weight: 600;
}

.filter-group .sub-filter {
  margin-left: 16px;
}

.filter-summary-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  margin-left: auto;
  padding-right: 22px;
  color: var(--ink-800);
  font-size: 0.82rem;
  letter-spacing: normal;
  text-transform: none;
  text-align: right;
}

.filter-accordion {
  border: 1px solid rgba(15, 20, 23, 0.12);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.filter-accordion + .filter-accordion {
  margin-top: 10px;
}

.filter-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-dropdown summary {
  gap: 12px;
  align-items: flex-start;
}

.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.filter-accordion summary::after {
  content: "+";
  font-size: 1rem;
  font-weight: 700;
  color: #6f8091;
}

.filter-accordion[open] summary::after {
  content: "−";
}

.filter-accordion .filter-group {
  border-top: 1px solid rgba(15, 20, 23, 0.1);
  padding: 8px 10px 10px;
}

.filter-subaccordion {
  border-radius: 10px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.filter-subaccordion + .filter-subaccordion {
  margin-top: 8px;
}

.filter-subaccordion summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f7080;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-subaccordion summary::-webkit-details-marker {
  display: none;
}

.filter-subaccordion summary::after {
  content: "+";
  font-size: 0.95rem;
  font-weight: 700;
  color: #6f8091;
}

.filter-subaccordion[open] summary::after {
  content: "−";
}

.filter-subaccordion .filter-group-sub {
  padding: 2px 8px 10px;
  border-top: 1px solid rgba(15, 20, 23, 0.08);
}

.filters-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-actions .btn {
  flex: 1;
  justify-content: center;
}

.filters-actions .btn-outline {
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.products-category-grid {
  margin-top: 8px;
}

.subcategories-panel {
  margin-bottom: 22px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(0, 166, 222, 0.16);
}

.subcategories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.subcategories-header h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subcategories-all-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.subcategories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategories-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .subcategories-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.subcategory-photo-card {
  min-height: 170px;
}

.subcategory-photo-card strong {
  max-width: calc(100% - 32px);
  line-height: 1.15;
}

.subcategory-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 166, 222, 0.18);
  background: #fff;
  color: var(--ink-800);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.subcategory-chip:hover {
  background: rgba(0, 166, 222, 0.1);
  border-color: rgba(0, 166, 222, 0.3);
  color: #074157;
  transform: translateY(-1px);
}

.subcategory-chip.is-active {
  background: rgba(0, 166, 222, 0.14);
  border-color: rgba(0, 166, 222, 0.34);
  color: #074157;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.product-toolbar select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25, 21, 19, 0.12);
  background: #fff;
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  position: relative;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  overflow: hidden;
  min-height: 360px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.gallery-main.zoomed .gallery-image {
  background-size: 160%;
}

.gallery-nav {
  position: absolute;
  inset: 12px 12px auto 12px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.gallery-nav.center {
  inset: 0 14px;
  align-items: center;
}

.gallery-nav button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(15, 20, 23, 0.7);
  color: #fff;
  cursor: pointer;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumbs .thumb {
  height: 110px;
  border-radius: 10px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  background: #f1f4f7;
  cursor: pointer;
}

.gallery-thumbs .thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 166, 222, 0.2);
}

.zoom-hint {
  font-size: 0.85rem;
  color: var(--ink-700);
}

.product-info .badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 166, 222, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-info h2 {
  margin: 0 0 8px;
}

.product-info .short {
  color: var(--ink-700);
  margin: 0 0 18px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.meta-grid span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ghost {
  background: transparent;
  border: 1px solid rgba(15, 20, 23, 0.2);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink-800);
  border-color: rgba(15, 20, 23, 0.25);
}

.alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.alert.ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.detail-tabs {
  display: none;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 20, 23, 0.1);
  background: #fff;
  cursor: pointer;
}

.tab.active {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-content {
  display: none;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  padding: 20px;
}

.tab-content.active {
  display: block;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.spec-grid span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.attributes {
  margin: 0;
  padding-left: 18px;
}

.product-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg");
  background-size: cover;
  background-position: center;
}

.detail-cards {
  display: grid;
  gap: 20px;
}

.detail-card {
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.similar-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.similar-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  padding: 16px;
}

.similar-card .thumb {
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(0, 166, 222, 0.14), rgba(0, 166, 222, 0.03));
  margin-bottom: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  place-items: center;
  z-index: 999;
}

.lightbox.open {
  display: grid;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close {
  top: -10px;
  right: -10px;
}

.lightbox-prev {
  left: -50px;
}

.lightbox-next {
  right: -50px;
}

@media (max-width: 700px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

.card-list {
  display: grid;
  gap: 14px;
}

.doc-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 6px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 756px){
  .doc-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .mega-menu a{
    color: #ffffff;
  }
}

.download-folders {
  display: grid;
  gap: 18px;
}

.download-folder {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  padding: 18px;
}

.download-folder-head {
  margin-bottom: 14px;
}

.download-folder-head h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.download-folder-head p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.download-folder-empty {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(15, 20, 23, 0.2);
  color: var(--ink-700);
  font-size: 0.9rem;
}

.doc-card {
  border: 1px solid rgba(15, 20, 23, 0.08);
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}

.doc-media {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.manual-cover {
  height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(145deg, #003f8f 0%, #0069b6 58%, #08a8df 100%);
  color: #fff;
}

.catalog-cover-image {
  height: 360px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(145deg, #edf3f6, #fff);
}

.catalog-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 18px rgba(12, 26, 34, 0.16));
}

.catalog-cover-fallback {
  color: #063f73;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.manual-cover::after {
  content: "";
  position: absolute;
  inset: auto -12% -23% -12%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(-5deg);
}

.manual-cover-brand,
.manual-cover-kicker,
.manual-cover strong,
.manual-cover-mark {
  position: relative;
  z-index: 1;
}

.manual-cover-brand {
  margin-bottom: auto;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.manual-cover-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.manual-cover strong {
  max-width: 92%;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.manual-cover-mark {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.doc-pending {
  cursor: default;
  opacity: 0.65;
}

.price-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(28px, 5vw, 68px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 166, 222, 0.18), transparent 30%),
    #0c1a22;
  color: #fff;
}

.price-access-copy {
  position: relative;
}

.price-access-copy h2 {
  margin: 8px 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.price-access-copy p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.price-access-lock {
  width: 74px;
  height: 74px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #24b9e8;
  font-weight: 800;
}

.price-access-form-wrap {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.price-access-form-head {
  display: grid;
  gap: 5px;
  margin-bottom: 24px;
}

.price-access-form-head span {
  color: #24b9e8;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-access-form-head strong {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.price-access-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-access-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.price-access-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.price-access-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.price-access-form input:focus {
  border-color: #24b9e8;
  outline: none;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(36, 185, 232, 0.18);
}

.price-access-form .btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  justify-content: center;
}

.form-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
}

.form-notice.success { background: rgba(47, 180, 112, 0.18); color: #b9f4d2; }
.form-notice.error { background: rgba(224, 80, 80, 0.18); color: #ffd0d0; }

@media (max-width: 800px) {
  .manual-cover,
  .catalog-cover-image { height: 310px; }
  .price-access-panel { grid-template-columns: 1fr; }
  .price-access-form { grid-template-columns: 1fr; }
  .price-access-lock { display: none; }
}

.doc-content {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.doc-content p {
  margin: 0;
  color: var(--ink-700);
}

.doc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 6px;
}

.doc-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.doc-actions button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.doc-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.doc-actions .ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.blog-list .doc-card {
  text-decoration: none;
  color: inherit;
}

.blog-list .doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.blog-hero-image {
  height: 320px;
  border-radius: 16px;
  background-image: url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg");
  background-size: cover;
  background-position: center;
  margin: 20px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.contact-card form {
  display: grid;
  gap: 12px;
}

.contact-card input,
.contact-card textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(25, 21, 19, 0.12);
  font-family: inherit;
}

.contact-card .cta {
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  width: fit-content;
  border: none;
  box-shadow: none;
  margin-left: auto;
  margin-right: auto;
  display: block;
  cursor: pointer;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 166, 222, 0.15);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #9aa4af;
}

.map-placeholder {
  height: 220px;
  background: linear-gradient(135deg, rgba(139, 154, 166, 0.25), rgba(184, 79, 60, 0.2));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.gallery-item {
  height: 180px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(184, 79, 60, 0.22), rgba(122, 143, 129, 0.2));
}

.gallery-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2016/11/21/18/18/tiles-1846980_1280.jpg");
  background-size: cover;
  background-position: center;
}

.gallery-section .news-header {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-grid.two-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 20, 23, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card-link:hover .gallery-card,
.gallery-card-link:focus-visible .gallery-card {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 20, 23, 0.12);
}

.gallery-card .media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f4;
}

.gallery-card .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card-link:hover .media img,
.gallery-card-link:focus-visible .media img {
  transform: scale(1.025);
}

.gallery-card .content {
  text-align: center;
  padding: 14px;
}

.gallery-card .content p {
  margin: 10px 0 12px;
  color: var(--ink-700);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .gallery-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-card span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-700);
}

.project-offers-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.24), rgba(9, 28, 45, 0.48)),
  url("/uploads/homepage/B1_ponuda_za_projekte.png");
  background-size: cover;
  background-position: center;
}

.project-offers-hero .container {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.project-offers-layout,
.design-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.project-offers-card,
.design-detail-card {
  padding: 28px;
}

.project-offers-card h2,
.design-detail-card h2,
.design-detail-card h3 {
  color: var(--ink-900);
}

.project-offers-card p,
.project-offers-card li,
.design-detail-card p,
.design-detail-card li {
  color: var(--ink-700);
}

.project-offers-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.project-offers-intro {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 30px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  box-shadow: 0 18px 44px rgba(15, 20, 23, 0.08);
}

.project-mini-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 166, 222, 0.12);
  color: #0a5d79;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.project-offers-intro h2 {
  margin: 0;
}

.project-intro-copy {
  display: grid;
  gap: 12px;
}

.project-offers-intro p {
  margin: 0;
  max-width: 760px;
}

.project-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.project-tier-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(0, 166, 222, 0.16);
}

.project-tier-card.is-active {
  border-color: rgba(0, 166, 222, 0.42);
  box-shadow: 0 16px 34px rgba(0, 166, 222, 0.12);
}

.project-tier-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-900);
}

.project-tier-card p {
  margin: 0;
}

.project-tier-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 166, 222, 0.1);
  color: #0a5d79;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-tier-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.project-tier-card .button:hover {
  background: var(--ink-900);
}

.project-tier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.project-tier-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.project-offers-products {
  margin-top: 6px;
  margin-bottom: 28px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(0, 166, 222, 0.14);
}

.project-offers-products.dark-surface {
  background: linear-gradient(180deg, #0f1519 0%, #182126 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(15, 20, 23, 0.18);
}

.project-products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.project-products-header h2 {
  margin: 10px 0 8px;
}

.project-products-header p {
  margin: 0;
  max-width: 720px;
}

.project-offers-products.dark-surface h2,
.project-offers-products.dark-surface p {
  color: rgba(255, 255, 255, 0.92);
}

.project-offers-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-offers-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 166, 222, 0.18);
  background: #fff;
  color: var(--ink-800);
  font-weight: 700;
  text-decoration: none;
}

.project-offers-tab.is-active,
.project-offers-tab:hover {
  background: rgba(0, 166, 222, 0.1);
  border-color: rgba(0, 166, 222, 0.34);
  color: #074157;
}

.project-offers-products.dark-surface .project-offers-tab {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.project-offers-products.dark-surface .project-offers-tab.is-active,
.project-offers-products.dark-surface .project-offers-tab:hover {
  background: rgba(0, 166, 222, 0.18);
  border-color: rgba(0, 166, 222, 0.36);
  color: #fff;
}

.project-offers-shop-grid .shop-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
}

.project-products-empty {
  padding: 18px 0 4px;
}

.project-products-empty p {
  margin: 0;
}

.project-offers-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-top: 8px;
}

.project-offers-support h3 {
  margin: 0 0 8px;
  color: #fff;
}

.project-offers-support p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.project-offers-support::after {
  background: rgba(0, 166, 222, 0.18);
}

.project-offers-support .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  width: fit-content;
}

.project-offers-richtext {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 20, 23, 0.08);
}

.project-offers-richtext h2,
.project-offers-richtext h3 {
  color: var(--ink-900);
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.cta-grid .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cta-grid .button:hover {
  background: var(--ink-900);
}

.design-detail-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 920px;
  border-radius: 18px;
  object-fit: contain;
  background: #eef2f4;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .project-offers-card,
  .design-detail-card {
    padding: 22px;
  }

  .project-offers-grid {
    grid-template-columns: 1fr;
  }

  .project-offers-intro {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .project-products-header {
    flex-direction: column;
  }

  .project-offers-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid.two-col {
    grid-template-columns: 1fr;
  }

}

.about-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2016/11/22/19/14/bathroom-1850821_1280.jpg");
  background-size: cover;
  background-position: center;
}

.contact-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg");
  background-size: cover;
  background-position: center;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.about-visual {
  min-height: 260px;
  border-radius: 16px;
  background: url("https://cdn.pixabay.com/photo/2016/08/16/03/21/bathroom-1597027_1280.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(15, 20, 23, 0.08);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.about-stats strong {
  font-size: 1.4rem;
  color: var(--accent);
}

.about-stats span {
  color: var(--ink-700);
  font-size: 0.9rem;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.contact-collections {
  display: grid;
  gap: 10px;
}

.contact-collections h4 {
  margin: 8px 0 4px;
  font-size: 0.95rem;
}

.contact-collections ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-700);
}

.service-request {
  margin-top: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(15, 20, 23, 0.08);
}

.service-request form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.service-request textarea,
.service-request input,
.service-request select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 20, 23, 0.12);
  font-family: inherit;
}

.service-request .full-row {
  grid-column: 1 / -1;
}

.service-request button {
  justify-self: flex-start;
}

.service-request .cta {
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.service-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.service-hero .container {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.redirect-card {
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: var(--radius-md);
  padding: 26px;
  display: grid;
  gap: 12px;
  text-align: center;
}

.redirect-card .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.redirect-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

.distributors-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 30px;
  align-items: start;
}

.distributors-list {
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.distributors-list h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.distributor-item {
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.distributor-item span {
  color: var(--ink-700);
  font-size: 0.9rem;
}

.distributor-item.active {
  border-color: var(--accent);
  background: rgba(0, 166, 222, 0.08);
}

.distributors-map {
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.map-stage {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 12px;
  background-color: #eaf5fb;
  background-image:
          linear-gradient(135deg, rgba(0, 166, 222, 0.1), rgba(0, 166, 222, 0.02)),
          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 700'%3E%3Crect width='1000' height='700' fill='%23edf7fc'/%3E%3Cg opacity='0.55'%3E%3Cpath d='M282 116l63 16 43-19 55 17 49-20 47 18 54-8 54 39 46 14 14 57-23 51 11 53-27 52-60 31-11 57-49 51-78 28-79 39-72-13-38-46-66-18-26-58-47-27-32-67 10-57 46-43 16-55 47-35 12-57 61-10z' fill='%23d7e6ee' stroke='%239bb7c8' stroke-width='10' stroke-linejoin='round'/%3E%3Cpath d='M470 140c-24 46-45 86-88 127-41 39-79 62-120 80' fill='none' stroke='%23ffffff' stroke-width='12' stroke-linecap='round' opacity='0.9'/%3E%3Cpath d='M601 174c-17 35-26 77-20 123 6 54 27 90 26 141' fill='none' stroke='%23ffffff' stroke-width='10' stroke-linecap='round' opacity='0.85'/%3E%3Cpath d='M370 417c54-25 98-29 158-19 63 10 108 31 163 28' fill='none' stroke='%23ffffff' stroke-width='10' stroke-linecap='round' opacity='0.85'/%3E%3Ccircle cx='515' cy='349' r='16' fill='%2300a6de' fill-opacity='0.32'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(0, 166, 222, 0.2);
}

.pin .tooltip {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ink-800);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  min-width: 180px;
  display: none;
  box-shadow: var(--shadow-soft);
}

.pin:hover .tooltip,
.pin.active .tooltip {
  display: grid;
  gap: 4px;
}

.map-hint {
  margin-top: 10px;
  color: var(--ink-700);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .distributors-layout {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  border: 1px solid rgba(15, 20, 23, 0.08);
  box-shadow: none;
}

.contact-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.contact-card input,
.contact-card textarea {
  color: var(--ink-900);
  background: #fff;
}

.contact-card .cta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-collections h4 {
  margin-top: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-800);
  background: rgba(0, 166, 222, 0.1);
  border: 1px solid rgba(0, 166, 222, 0.2);
}

.contact-collections ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
}

.contact-collections li {
  color: var(--ink-800);
}

.distributors-layout {
  margin-top: 28px;
  grid-template-columns: minmax(340px, 420px) 1fr;
  gap: 22px;
}

.distributors-list,
.distributors-map {
  border: 1px solid rgba(15, 20, 23, 0.08);
  box-shadow: none;
}

.distributors-intro {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.nearest-search {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.nearest-search label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 700;
}

.nearest-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.nearest-search-input {
  position: relative;
}

.nearest-search-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(73, 91, 106, 0.82);
  border-radius: 50%;
  transform: translateY(-62%);
  pointer-events: none;
}

.nearest-search-input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 27px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: rgba(73, 91, 106, 0.82);
  transform: translateY(3px) rotate(45deg);
  pointer-events: none;
}

.nearest-search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(15, 20, 23, 0.18);
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  padding: 10px 12px 10px 40px;
  color: var(--ink-900);
  font-size: 0.96rem;
  line-height: 1.25;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 1px 2px rgba(15, 20, 23, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nearest-search input::placeholder {
  color: #7f8f9d;
}

.nearest-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 166, 222, 0.18), 0 12px 24px rgba(15, 20, 23, 0.08);
}

.nearest-search .cta {
  border: none;
  border-radius: 10px;
  min-height: 46px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.nearest-result {
  border-radius: 12px;
  border: 1px solid rgba(0, 166, 222, 0.35);
  background: rgba(0, 166, 222, 0.07);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.nearest-result strong {
  color: var(--ink-900);
}

.nearest-result span {
  font-size: 0.9rem;
  color: var(--ink-700);
}

.distributor-list-scroll {
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
  display: grid;
  gap: 10px;
}

.distributor-item {
  cursor: pointer;
}

.distributor-item strong {
  font-size: 0.96rem;
}

.distributors-map {
  padding: 14px;
}

.map-stage {
  height: 430px;
  border: 1px solid rgba(15, 20, 23, 0.1);
}

.pin {
  border: none;
  padding: 0;
  appearance: none;
}

.pin.active {
  box-shadow: 0 0 0 8px rgba(0, 166, 222, 0.22);
}

.pin .tooltip {
  min-width: 170px;
  text-align: left;
}

.service-request {
  margin-top: 24px;
}

@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .distributors-layout {
    grid-template-columns: minmax(300px, 1fr) 1fr;
  }

  .service-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .distributors-layout {
    grid-template-columns: 1fr;
  }

  .map-stage {
    height: 320px;
  }

  .nearest-search-row {
    grid-template-columns: 1fr;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .nav-main {
    padding: 12px 0;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: calc(100% + 8px);
    background: #0b0f12;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    z-index: 35;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-panel.open {
    display: grid;
    gap: 14px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-item,
  .nav-links > a {
    width: 100%;
  }

  .nav-item.dropdown,
  .nav-item.dropdown.mega {
    display: block;
  }

  .nav-links a {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .header-tools {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .header-tools .search {
    width: 100%;
  }

  .header-tools .search input {
    width: 100%;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 6px 0 0 12px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-panel.open .dropdown-menu {
    display: flex;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 12px 0 0 12px;
    box-shadow: none;
    border: 0;
    background: transparent;
    min-width: 0;
    max-height: none;
  }

  .mega-menu::after {
    display: none;
  }

  .mega-cats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    column-count: auto;
  }

  .mega-col {
    display: grid;
    width: 100%;
    gap: 6px;
    margin: 0;
  }

  .mega-menu h5,
  .mega-root-link,
  .mega-tree-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .mega-tree-depth-2,
  .mega-tree-depth-3,
  .mega-tree-depth-4 {
    margin-left: 0;
    padding-left: 8px;
  }

  .mega:hover .mega-menu {
    display: none;
  }

  .nav-panel.open .mega.is-open .mega-menu,
  .nav-panel.open .mega:focus-within .mega-menu {
    display: grid;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    top: auto;
  }

  .filters-header {
    padding-bottom: 0;
    border-bottom: none;
  }

  .filters-toggle {
    min-height: 34px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(0, 166, 222, 0.18);
    border-radius: 999px;
    background: #f7fbff;
    color: #06536d;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
  }

  .filters-toggle::after {
    content: "+";
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    font-size: 1rem;
    line-height: 1;
  }

  .filters.is-open .filters-toggle::after {
    content: "−";
  }

  .filters-toggle-label {
    font-size: 0.82rem;
  }

  .filters-count-desktop {
    display: none;
  }

  .filters-content {
    display: none;
    margin-top: 14px;
  }

  .filters.is-open .filters-content {
    display: grid;
  }

  .filter-summary-value {
    max-width: 55%;
  }
}

@media (max-width: 600px) {
  .slider {
    margin-top: 0;
  }

  .quick-links-section {
    margin-top: 0;
    padding: 18px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-card {
    grid-template-rows: auto 190px;
  }

  .quick-link-image {
    min-height: 190px;
  }

  .brand-logo {
    height: 30px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .subcategories-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
.shop-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("/uploads/homepage/B1_ponuda_za_projekte.png");
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.products-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2024/04/10/14/03/bathroom-8688132_1280.jpg");
  background-size: cover;
  background-position: center;
}

.catalogs-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2016/08/16/03/21/bathroom-1597027_1280.jpg");
  background-size: cover;
  background-position: center;
}

.technical-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2014/07/10/17/18/shower-389273_640.jpg");
  background-size: cover;
  background-position: center;
}

.blog-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2016/11/21/18/18/tiles-1846980_1280.jpg");
  background-size: cover;
  background-position: center;
}

.distributors-hero {
  background: linear-gradient(120deg, rgba(0, 166, 222, 0.22), rgba(0, 166, 222, 0.22)),
  url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg");
  background-size: cover;
  background-position: center;
}

.shop-hero.product-hero {
  background: linear-gradient(120deg, rgba(7, 24, 38, 0.64), rgba(7, 24, 38, 0.38)),
  var(--hero-bg-image, url("https://cdn.pixabay.com/photo/2023/11/07/13/57/faucet-8372443_1280.jpg"));
  background-size: cover;
  background-position: center;
}

.shop-hero.about-hero {
  background: linear-gradient(120deg, rgba(7, 24, 38, 0.62), rgba(7, 24, 38, 0.34)),
  var(--hero-bg-image, url("https://cdn.pixabay.com/photo/2016/11/22/19/14/bathroom-1850821_1280.jpg"));
  background-size: cover;
  background-position: center;
}

.shop-hero h1 {
  margin: 0 0 6px;
  color: #fff;
}

.shop-hero span {
  color: #bfeeff;
}

.shop-hero p {
  color: rgba(255, 255, 255, 0.9);
}

.filters h3 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.best-product {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.best-product .thumb {
  height: 60px;
  border-radius: 10px;
  background: #f1f4f7;
}

.best-product span {
  color: var(--ink-700);
  font-size: 0.85rem;
}

.shop-toolbar {
  justify-content: space-between;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
}

.view-switch {
  display: flex;
  gap: 6px;
}

.view-switch button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(15, 20, 23, 0.1);
  background: #fff;
  cursor: pointer;
}

.view-switch button.active {
  border-color: var(--accent);
  color: var(--accent);
}

.sort select {
  border-radius: 6px;
}

.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.search-results-note {
  margin: 14px 0 18px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 166, 222, 0.22);
  background: rgba(0, 166, 222, 0.08);
  color: var(--ink-800);
  font-size: 0.92rem;
}

.search-results-note[hidden] {
  display: none;
}

.shop-card.is-hidden {
  display: none;
}

.shop-card {
  text-align: center;
  border: none;
}

.shop-card .thumb {
  height: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  margin-bottom: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.shop-card h4 {
  margin: 0;
  font-size: 1rem;
}

.shop-card-price {
  margin: 6px 0 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.shop-card:hover .thumb {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.shop-card:hover h4 {
  color: var(--accent);
}

.project-offers-section .project-offers-layout {
  grid-template-columns: minmax(0, 100%);
}

.project-builder {
  margin-top: 26px;
}

.project-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: start;
}

.project-tier-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-tier-select-card,
.project-summary-card {
  background: #fff;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 20, 23, 0.08);
}

.project-tier-select-card {
  overflow: hidden;
}

.project-tier-select-head {
  min-height: 220px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(0, 166, 222, 0.13), rgba(15, 20, 23, 0.04));
}

.project-tier-select-head h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  color: var(--ink-900);
}

.project-tier-select-head p,
.project-tier-empty {
  margin: 0;
  color: var(--ink-700);
}

.project-tier-product-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.project-offer-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
  width: 100%;
}
.project-offer-matrix-cell{
  padding: 7px!important;
}

.project-offer-item.is-selected {
  border-color: rgba(0, 166, 222, 0.55);
  box-shadow: 0 12px 26px rgba(0, 166, 222, 0.14);
  transform: translateY(-1px);
}

.project-offer-check {
  display: grid;
  grid-template-columns: 18px 66px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.project-offer-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.project-offer-thumb {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: rgba(15, 20, 23, 0.06);
}

.project-offer-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.project-offer-info strong {
  color: var(--ink-900);
  font-size: 0.92rem;
  line-height: 1.22;
}

.project-offer-info small,
.project-summary-list small {
  color: var(--ink-500);
  font-size: 0.76rem;
}

.project-offer-info em {
  color: #0a5d79;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.project-offer-qty {
  display: grid;
  gap: 5px;
  color: var(--ink-600);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-offer-qty input {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 20, 23, 0.14);
  padding: 0 8px;
  font-weight: 800;
}

.project-summary-card {
  padding: 20px;
}

.project-summary-sticky {
  position: sticky;
  top: 20px;
}

.project-summary-sticky h3 {
  margin: 0 0 8px;
  color: var(--ink-900);
}

.project-summary-sticky p,
.project-summary-empty {
  color: var(--ink-700);
}

.project-summary-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.project-summary-list li {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 166, 222, 0.07);
}

.project-summary-list li span {
  display: grid;
  gap: 3px;
}

.project-summary-list li em {
  color: #0a5d79;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-summary-list li b {
  color: var(--ink-600);
  font-size: 0.78rem;
}

.project-summary-list li > strong {
  color: var(--ink-900);
  font-size: 0.95rem;
}

.project-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid rgba(15, 20, 23, 0.1);
  border-bottom: 1px solid rgba(15, 20, 23, 0.1);
}

.project-summary-total span {
  color: var(--ink-700);
  font-weight: 700;
}

.project-summary-total strong {
  color: var(--accent);
  font-size: 1.25rem;
}

.project-contact-fields {
  display: grid;
  gap: 12px;
}

.project-contact-fields .field {
  display: grid;
  gap: 6px;
}

.project-contact-fields label {
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-contact-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 20, 23, 0.14);
  border-radius: 14px;
  padding: 0 12px;
}

.project-submit-button {
  width: 100%;
  justify-content: center;
  border: none;
  margin-top: 16px;
  cursor: pointer;
}

.project-tier-empty {
  padding: 18px;
}

.project-products-admin-list {
  max-height: 520px;
}

@media (max-width: 1280px) {
  .project-builder-grid {
    grid-template-columns: 1fr;
  }

  .project-summary-sticky {
    position: static;
  }
}

@media (max-width: 980px) {
  .project-tier-columns {
    grid-template-columns: 1fr;
  }

  .project-tier-select-head {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .project-offer-item {
    grid-template-columns: 1fr;
  }

  .project-offer-check {
    grid-template-columns: 18px 58px minmax(0, 1fr);
  }

  .project-offer-thumb {
    width: 58px;
    height: 58px;
  }
}

.project-offers-section > .container {
  width: min(1680px, 94vw);
}

.project-offer-item {
  grid-template-columns: 24px 88px minmax(0, 1fr) 96px;
  gap: 14px;
  padding: 14px;
}

.project-offer-check {
  display: contents;
}

.project-offer-check input {
  grid-column: 1;
  align-self: center;
}

.project-offer-thumb {
  grid-column: 2;
  width: 88px;
  height: 88px;
}

.project-offer-info {
  grid-column: 3;
  align-self: center;
  gap: 6px;
}

.project-offer-info strong {
  font-size: 0.98rem;
  line-height: 1.18;
}

.project-offer-info em {
  width: fit-content;
  white-space: nowrap;
  line-height: 1.15;
}

.project-offer-qty {
  grid-column: 4;
  align-self: center;
}

.project-offer-qty input {
  min-height: 48px;
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .project-offer-item {
    grid-template-columns: 24px 84px minmax(0, 1fr);
  }

  .project-offer-thumb {
    width: 84px;
    height: 84px;
  }

  .project-offer-qty {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: auto minmax(86px, 120px);
    align-items: center;
    justify-content: start;
    gap: 12px;
    margin-top: 2px;
  }
}

@media (max-width: 560px) {
  .project-offer-item {
    grid-template-columns: 22px 72px minmax(0, 1fr);
    gap: 12px;
  }

  .project-offer-check {
    display: contents;
  }

  .project-offer-thumb {
    width: 72px;
    height: 72px;
  }

  .project-offer-info strong {
    font-size: 0.92rem;
  }
}

.project-offer-item {
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "image meta";
  gap: 12px 14px;
  align-items: start;
  padding: 16px;
}

.project-offer-check {
  display: contents;
}

.project-offer-check input {
  grid-area: check;
  align-self: center;
  justify-self: start;
}

.project-offer-thumb {
  grid-area: image;
  width: 96px;
  height: 96px;
}

.project-offer-info {
  display: contents;
}

.project-offer-info strong {
  grid-area: title;
  display: block;
  color: var(--ink-900);
  font-size: 1.04rem;
  line-height: 1.18;
}

.project-offer-info small {
  grid-area: code;
  color: var(--ink-600);
  font-size: 0.84rem;
  font-weight: 700;
}

.project-offer-info em {
  grid-area: price;
  width: fit-content;
  white-space: nowrap;
  color: #0a5d79;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
}

.project-offer-qty {
  grid-area: qty;
  display: grid;
  grid-template-columns: minmax(0, 92px) 22px;
  grid-template-areas:
    "label label"
    "input check";
  gap: 6px 10px;
  align-items: center;
  align-self: end;
  margin: 0;
}

.project-offer-qty span {
  grid-area: label;
}

.project-offer-qty input {
  grid-area: input;
  min-height: 44px;
  text-align: center;
  font-size: 1rem;
}

.project-offer-item .project-offer-check > input {
  display: none;
}

.project-offer-item::after {
  content: "";
  grid-area: meta;
  display: grid;
  grid-template-areas:
    "code"
    "price"
    "qty";
  grid-template-rows: auto auto 1fr;
}

.project-offer-item .project-offer-info small,
.project-offer-item .project-offer-info em,
.project-offer-item .project-offer-qty {
  grid-column: 2;
}

.project-offer-item .project-offer-info small {
  grid-row: 2;
}

.project-offer-item .project-offer-info em {
  grid-row: 3;
}

.project-offer-item .project-offer-qty {
  grid-row: 4;
}

.project-offer-item {
  display: grid;
}

.project-offer-item > .project-offer-qty {
  margin-top: 4px;
}

.project-offer-item .project-offer-qty::after {
  content: "";
  grid-area: check;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(15, 20, 23, 0.28);
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.project-offer-item:has([data-project-checkbox]:checked) .project-offer-qty::after {
  border-color: var(--accent);
  background: var(--accent);
}

@supports not selector(:has(*)) {
  .project-offer-item .project-offer-check > input {
    display: block;
    grid-column: 2;
    grid-row: 4;
    align-self: end;
    justify-self: end;
  }

  .project-offer-item .project-offer-qty::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .project-offer-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .project-offer-thumb {
    width: 82px;
    height: 82px;
  }
}

/* Project offer product card: title full-width, media left, details right. */
.project-offer-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "image meta";
  gap: 12px 16px;
  align-items: start;
  padding: 16px;
}

.project-offer-item::after {
  content: none;
  display: none;
}

.project-offer-title {
  grid-area: title;
  color: var(--ink-900);
  cursor: pointer;
  display: block;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.17;
  padding-right: 4px;
}

.project-offer-media {
  grid-area: image;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background-color: #f6f8f9;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(15, 20, 23, 0.07);
}

.project-offer-meta {
  grid-area: meta;
  align-self: stretch;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.project-offer-code {
  color: var(--ink-700);
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.15;
}

.project-offer-price {
  color: #0a5d79;
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
}

.project-offer-actions {
  align-items: end;
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.project-offer-qty {
  display: grid;
  gap: 6px;
  margin: 0;
  width: 96px;
}

.project-offer-qty span {
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.project-offer-qty input {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  text-align: center;
}

.project-offer-check {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

.project-offer-item .project-offer-check > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  display: block;
  width: 1px;
  height: 1px;
}

.project-offer-check-box {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(15, 20, 23, 0.34);
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.project-offer-check input:checked + .project-offer-check-box {
  border-color: var(--accent);
  background: var(--accent);
}

.project-offer-check input:focus-visible + .project-offer-check-box {
  outline: 3px solid rgba(18, 164, 216, 0.25);
  outline-offset: 3px;
}

.project-offer-item:has([data-project-checkbox]:checked) .project-offer-check-box {
  transform: scale(1.03);
}

@media (max-width: 560px) {
  .project-offer-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 11px 13px;
    padding: 14px;
  }

  .project-offer-title {
    font-size: 1rem;
  }

  .project-offer-media {
    width: 84px;
    height: 84px;
    border-radius: 16px;
  }

  .project-offer-actions {
    gap: 10px;
  }

  .project-offer-qty {
    width: 88px;
  }

  .project-offer-check {
    width: 42px;
    height: 42px;
  }
}

.project-offer-item .project-offer-qty {
  grid-area: auto;
  grid-template-columns: 1fr;
  grid-template-areas: none;
}

.project-offer-item .project-offer-qty::after {
  content: none;
  display: none;
}

.project-vat-note {
  align-items: center;
  background: rgba(18, 164, 216, 0.1);
  border: 1px solid rgba(18, 164, 216, 0.22);
  border-radius: 18px;
  color: #075b78;
  display: flex;
  font-size: 0.95rem;
  font-weight: 900;
  justify-content: space-between;
  line-height: 1.35;
  margin-bottom: 18px;
  padding: 12px 16px;
}

.project-offer-matrix {
  border: 1px solid rgba(15, 20, 23, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(15, 20, 23, 0.07);
  overflow: hidden;
  min-width: 0;
}

.project-offer-matrix-head,
.project-offer-matrix-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.55fr) repeat(3, minmax(230px, 1fr));
}

.project-offer-matrix-head {
  background: #f5f9fb;
  border-bottom: 1px solid rgba(15, 20, 23, 0.08);
}

.project-offer-matrix-category,
.project-offer-matrix-tier,
.project-offer-row-label,
.project-offer-matrix-cell {
  min-width: 0;
  padding: 16px;
}

.project-offer-matrix-category,
.project-offer-matrix-tier {
  color: var(--ink-900);
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-offer-matrix-tier span {
  display: block;
  font-size: 1.05rem;
}

.project-offer-matrix-tier small {
  color: var(--ink-600);
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin-top: 6px;
  text-transform: none;
}

.project-offer-matrix-row + .project-offer-matrix-row {
  border-top: 1px solid rgba(15, 20, 23, 0.08);
}

.project-offer-row-label {
  background: linear-gradient(180deg, #ffffff, #f7fafb);
  color: var(--ink-900);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.project-offer-matrix-cell {
  border-left: 1px solid rgba(15, 20, 23, 0.08);
}

.project-offer-item-compact {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.project-offer-empty-cell {
  align-items: center;
  background: #f7f9fa;
  border: 1px dashed rgba(15, 20, 23, 0.16);
  border-radius: 18px;
  color: var(--ink-500);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 94px;
  padding: 14px;
}

@media (max-width: 1180px) {
  .project-offer-matrix {
    overflow-x: auto;
  }

  .project-offer-matrix-head,
  .project-offer-matrix-row {
    min-width: 940px;
  }
}

@media (max-width: 760px) {
  .project-vat-note {
    border-radius: 16px;
    font-size: 0.88rem;
  }

  .project-offer-matrix {
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .project-offer-matrix-head {
    display: none;
  }

  .project-offer-matrix-row {
    background: #fff;
    border: 1px solid rgba(15, 20, 23, 0.08);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 16px;
    min-width: 0;
    overflow: hidden;
  }

  .project-offer-row-label {
    border-bottom: 1px solid rgba(15, 20, 23, 0.08);
    padding: 14px 16px;
  }

  .project-offer-matrix-cell {
    border-left: 0;
    border-top: 1px solid rgba(15, 20, 23, 0.08);
    padding: 14px;
  }

  .project-offer-matrix-cell::before {
    color: var(--accent);
    display: block;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .project-offer-matrix-cell:nth-child(2)::before { content: "Smart"; }
  .project-offer-matrix-cell:nth-child(3)::before { content: "Select"; }
  .project-offer-matrix-cell:nth-child(4)::before { content: "Premium"; }
}

/* Mobile cleanup for project-offers matrix. Keeps each package option readable on phones. */
@media (max-width: 760px) {
  .project-offers-section {
    overflow-x: hidden;
  }

  .project-offers-section > .container,
  .project-offers-layout,
  .project-offers-card,
  .project-builder,
  .project-builder-grid,
  .project-offer-matrix,
  .project-summary-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .project-offers-section > .container {
    width: min(100% - 20px, 100%);
  }

  .project-offers-card {
    border-radius: 22px;
    padding: 14px;
  }

  .project-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .project-offer-matrix-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    width: 100%;
  }

  .project-offer-matrix-cell {
    min-width: 0;
    width: 100%;
  }

  .project-offer-item,
  .project-offer-item.project-offer-item-compact {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "image meta";
    align-items: start;
    gap: 10px 12px;
    min-width: 0;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .project-offer-title {
    grid-area: title;
    min-width: 0;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .project-offer-media {
    grid-area: image;
    width: 74px;
    height: 74px;
    border-radius: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .project-offer-meta {
    grid-area: meta;
    display: grid;
    gap: 7px;
    min-width: 0;
    width: 100%;
  }

  .project-offer-code,
  .project-offer-price {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .project-offer-price {
    font-size: 0.98rem;
  }

  .project-offer-actions {
    display: grid;
    grid-template-columns: minmax(84px, 104px) 42px;
    align-items: end;
    justify-content: start;
    gap: 10px;
    min-width: 0;
  }

  .project-offer-qty {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 5px;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .project-offer-qty input {
    min-height: 40px;
    width: 100%;
    border-radius: 14px;
    font-size: 0.95rem;
    text-align: center;
  }

  .project-offer-check {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .project-offer-item .project-offer-check > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
  }

  .project-offer-check-box {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .project-summary-card {
    border-radius: 22px;
    padding: 16px;
  }

  .project-summary-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-submit-button {
    width: 100% !important;
  }
}

@media (max-width: 390px) {
  .project-offer-item,
  .project-offer-item.project-offer-item-compact {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 9px 10px;
  }

  .project-offer-media {
    width: 64px;
    height: 64px;
  }

  .project-offer-actions {
    grid-template-columns: minmax(76px, 92px) 38px;
    gap: 8px;
  }

  .project-offer-check {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

@media (max-width: 760px) {
  .project-offers-hero,
  .shop-hero.project-offers-hero {
    overflow: hidden;
  }

  .project-offers-hero .container,
  .shop-hero.project-offers-hero .container {
    min-width: 0;
  }

  .project-offers-hero h1,
  .shop-hero.project-offers-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .project-offers-hero p,
  .shop-hero.project-offers-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-offer-row-label {
    font-size: 1rem;
  }

  .project-offer-matrix-cell::before {
    margin-bottom: 12px;
  }

  .project-offer-item.is-selected,
  .project-offer-item.project-offer-item-compact.is-selected {
    transform: none;
  }

  .project-offer-actions {
    margin-top: 4px;
  }
}
