/* MIPA-MONT Landing Pages Shared Styles */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

img.icon {
  width: 42px;
  height: 42px;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 180px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 1.6rem; /* 16px with 10px root */
  line-height: 1.6;
}

/* Container System */
.lp-container {
  margin: 0 auto;
  margin-bottom: 5rem;
}

/* Typography */
.lp-container h1,
.lp-container h2,
.lp-container h3,
.lp-container h4,
.lp-container h5,
.lp-container h6 {
  margin: 0 0 1.6rem 0;
  font-weight: bold;
  line-height: 1.2;
}

.lp-container h1 {
  font-size: 4rem;
  margin-bottom: 2.4rem;
}

.lp-container h2 {
  font-size: 3.2rem;
  margin-bottom: 3.2rem;
}

.lp-container h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
}

.lp-container p {
  margin: 0 0 1.6rem 0;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .lp-container h1 {
    font-size: 3.2rem;
  }

  .lp-container h2 {
    font-size: 2.8rem;
  }
}

/* Buttons */
.lp-container .btn-primary {
  display: inline-block;
  background: #e0422c;
  color: #fff !important;
  padding: 8px 24px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.lp-container .btn-primary:hover {
  background: #c53824;
  transform: translateY(-1px);
}

/* Grid System */
.lp-grid {
  display: grid;
  gap: 3.2rem;
  margin-top: 3.2rem;
}

@media (min-width: 768px) {
  .lp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card Styles */
.lp-card {
  text-align: left;
}

.lp-card h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: bold;
}

.lp-card p {
  font-size: 1.52rem;
  line-height: 1.6;
}

.lp-card-highlight {
  background: #f5f0ea;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.lp-card-with-padding {
  padding: 10.7rem 3.2rem;
}

.lp-card-highlight h3,
.lp-card-highlight p {
  color: #5b5a59;
}

/* Section Spacing */
.lp-section {
  padding: 3rem 0;
}

.lp-section h2 {
  text-align: left;
}

.lp-section:first-child {
  padding-top: 3.2rem;
}

@media (max-width: 767px) {
  .lp-section {
    padding: 4rem 0;
  }
}

hr.lp-divider {
  border: 1px solid #c0c0c0;
}

/* Hero Section */
.lp-hero {
  padding: 2rem 0;
}

.lp-hero h1 {
  text-align: left;
  margin-bottom: 2.4rem;
}

.lp-hero-content {
  display: grid;
  gap: 4.8rem;
  align-items: center;
}

@media (min-width: 768px) {
  .lp-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
  }
}

.lp-hero-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 3.2rem;
  background-color: #f5f0ea;
}

@media (min-width: 768px) {
  .lp-hero-text {
    padding: 6.4rem;
  }
}

.lp-hero-text p {
  font-size: 1.76rem;
  margin-bottom: 3.2rem;
  line-height: 1.7;
  font-weight: bold;
}

.lp-hero-image {
  text-align: center;
}

.lp-hero-image img {
  max-width: 100%;
  height: auto;
}

.lp-hero .lp-temp-image {
  min-height: 300px;
}

@media (min-width: 768px) {
  .lp-hero .lp-temp-image {
    min-height: 400px;
  }
}

/* Numbered Lists */
.lp-numbered-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .lp-numbered-list {
    grid-template-columns: 1fr 42px 1fr;
    gap: 4rem;
  }
}

@media (min-width: 768px) {
  .lp-numbered-list.no-arrow {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-numbered-list li:not(.step-arrow-separator) {
  counter-increment: step;
  position: relative;
}

.lp-numbered-list li:not(.step-arrow-separator)::before {
  content: counter(step);
  background: white;
  color: black;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.76rem;
  margin-bottom: 1.2rem;
}

.lp-numbered-list li  {
  font-size: 1.4rem;
  line-height: 1.5;
}

.lp-numbered-list li strong {
  display: block;
  font-size: 1.76rem;
}

.lp-numbered-list .step-arrow-separator {
  height: 100%;
  align-items: center;
  justify-content: center;
  display: none;
}

@media (min-width: 768px) {
  .lp-numbered-list .step-arrow-separator {
    display: flex;
  }
}

/* Two Column Content */
.lp-two-column {
  display: grid;
  gap: 3rem;
}

.lp-two-column h3 {
  margin: 1rem 0
}

.lp-two-column .text {
  justify-self: center;
}

#content .lp-two-column .text p {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .lp-two-column {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* VAT 12% Section Layout */
.vat12-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.2rem;
  align-items: start;
}

.vat12-badge {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vat12-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}

.vat12-text > div {
  display: flex;
  flex-direction: column;
}

.vat12-text h3 {
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
}

.vat12-text > div > div {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.vat12-text > div > div img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.vat12-text > div > div p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .vat12-content {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .vat12-text {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  margin-top: 3.2rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  height: auto;
  margin-bottom: 1.6rem;
}

.gallery-item h4 img.collapse-arrow {
  display: none;
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* Image Grid Section - 2x3 layout */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* How-to section with side image */
.howto-content {
  display: grid;
  gap: 4.8rem;
  align-items: start;
}

@media (min-width: 768px) {
  .howto-content {
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
  }
}

.howto-image .lp-temp-image {
  min-height: 300px;
}

/* Store section with images */
.store-images {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

@media (min-width: 768px) {
  .store-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Map responsive styling */
.location-map iframe {
  width: 100%;
  height: 300px;
}

@media (min-width: 768px) {
  .location-map iframe {
    height: 450px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 1.6rem;
}
.mb-2 {
  margin-bottom: 3.2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 1.6rem;
}
.mt-2 {
  margin-top: 3.2rem;
}

/* ===== Sekce Další kontakty (náš blok) ===== */
#more-contacts {
  margin-top: 32px;
  margin-bottom: 5rem;
}

/* Nadpisy */
#more-contacts h2 {
  line-height: 1.2;
  margin: 0 0 1rem 0;
}
#more-contacts h3 {
  font-weight: 700;
  margin: 0 0 1rem 0;
}

/* --- Řádek 1: Kamenná prodejna + mapa --- */
#more-contacts .store-row {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}
@media (min-width: 992px) {
  #more-contacts .store-row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Ikonky + text v „Kamenná prodejna“ */
#more-contacts .store  h2 {
  font-size: 2.4em;
  margin-bottom: 2rem;
}
#more-contacts .store p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
#more-contacts .store p img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  margin: 0;
}
#more-contacts .store p a {
  color: inherit;
  text-decoration: none;
}
#more-contacts .store p a:hover {
  text-decoration: underline;
}

/* Mapa vpravo – responzivní */
#more-contacts .map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}
@media (min-width: 768px) {
  #more-contacts .map iframe {
    height: 420px;
  }
}

/* --- Řádek 2: tři sloupce --- */
#more-contacts .three-cols {
  display: grid;
  gap: 32px 32px;
}
@media (min-width: 992px) {
  #more-contacts .three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Řádky s ikonami v jednotlivých sloupcích */
#more-contacts .three-cols .col p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  line-height: 1.55;
}
#more-contacts .three-cols .col p img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  margin: 0;
}
#more-contacts .three-cols .col a {
  color: inherit;
  text-decoration: none;
}
#more-contacts .three-cols .col a:hover {
  text-decoration: underline;
}

/* Remove theme clearfix pseudo-elements on our grids */
#more-contacts .store-row::before,
#more-contacts .store-row::after,
#more-contacts .three-cols::before,
#more-contacts .three-cols::after {
  content: none !important;
  display: none !important;
}

/* ===== Vše o nákupu (scoped) ===== */
#vse-o-nakupu {
  margin: 50px 0;
}
#vse-o-nakupu .vn-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 992px) {
  #vse-o-nakupu .vn-grid {
    grid-template-columns: 1fr 1fr; /* left / right */
    align-items: start;
    gap: 40px 48px;
  }
}

/* Left column blocks */
#vse-o-nakupu .vn-block + .vn-block {
  margin-top: 28px;
}
#vse-o-nakupu h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}
#vse-o-nakupu p {
  margin: 0 0 8px;
}

/* CTA tiles (both columns) */
#vse-o-nakupu .vn-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #f5f0ea;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.05s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}
#vse-o-nakupu .vn-cta:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
#vse-o-nakupu .vn-cta img {
  width: 36px; /* adjust if needed */
  height: 36px;
  object-fit: contain;
  flex: 0 0 36px;
}
#vse-o-nakupu .vn-cta span {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Right column – vertical stack of tiles */
#vse-o-nakupu .vn-right {
  display: grid;
  gap: 16px;
}

/* Left column contact button spacing */
#vse-o-nakupu .vn-cta-wrap {
  margin-top: 24px;
}

/* Prevent theme clearfix (::before/::after) from breaking our layout */
#vse-o-nakupu .vn-grid::before,
#vse-o-nakupu .vn-grid::after {
  content: none !important;
  display: none !important;
}
