/* ═══════════════════════════════════════════════════════════
   UDA Group | Chlum Svaté Máří
   ═══════════════════════════════════════════════════════════

   OBSAH
   ─────────────────────────────────────────────────────────
   GLOBÁLNÍ
     1. Reset & box-model
     2. CSS proměnné
     3. Základní elementy
     4. Typografie — pomocné třídy
     5. Tlačítka
     6. Formuláře
     7. Animace & scroll reveal
     8. Navigace
     9. Patička
    10. Responzivita — globální

   STRÁNKY
    11. Home — Hero
    12. Home — Služby
    13. Home — O nás
    14. Home — Produkty
    15. Home — Proč my
    16. Home — Galerie
    17. Home — Kontakt
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   1. RESET & BOX-MODEL
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ═══════════════════════════════════════════════════════════
   2. CSS PROMĚNNÉ
═══════════════════════════════════════════════════════════ */
:root {
  --black:        #0D0C0B;
  --iron:         #1A1917;
  --steel:        #2E2C29;
  --graphite:     #7A7672;
  --smoke:        #7A7672;
  --ash:          #B0ABA5;
  --linen:        #E8E2D9;
  --white:        #F4F1EC;

  --red:          rgb(221, 24, 49);
  --rust:         #B84C1E;
  --rust-light:   #D96830;
  --rust-dim:     rgba(184, 76, 30, 0.18);
  --rust-border:  rgba(184, 76, 30, 0.35);

  --border-dark:  rgba(255, 255, 255, 0.07);
  --border-light: rgba(0, 0, 0, 0.10);

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --nav-height:      64px;
  --section-padding: 8rem 8%;
}


/* ═══════════════════════════════════════════════════════════
   3. ZÁKLADNÍ ELEMENTY
═══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--iron);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }


/* ═══════════════════════════════════════════════════════════
   4. TYPOGRAFIE — POMOCNÉ TŘÍDY
═══════════════════════════════════════════════════════════ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--graphite);
  max-width: 540px;
}


/* ═══════════════════════════════════════════════════════════
   5. TLAČÍTKA
═══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  border: 2px solid var(--rust);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--rust-light);
  border-color: var(--rust-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--iron);
  border: 2px solid var(--iron);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--iron);
  color: var(--white);
}


/* ═══════════════════════════════════════════════════════════
   6. FORMULÁŘE
═══════════════════════════════════════════════════════════ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--smoke);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1px solid var(--linen);
  border-bottom: 2px solid var(--linen);
  background: var(--white);
  color: var(--iron);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rust);
  border-bottom-color: var(--rust);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error,
.form-group .error {
  display: block;
  font-size: 0.75rem;
  color: var(--rust);
  margin-top: 4px;
  font-weight: 500;
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--rust-dim);
  border: 1px solid var(--rust-border);
  border-left: 3px solid var(--rust);
  margin-top: 1rem;
}
.form-success p {
  color: var(--rust);
  font-weight: 600;
  font-size: 0.9rem;
}


/* ═══════════════════════════════════════════════════════════
   7. ANIMACE & SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════
   8. NAVIGACE
═══════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 4%;
  height: var(--nav-height);
  background: rgba(13, 12, 11, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
  border: 2px solid var(--ash);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  justify-content: center;
}
.nav-links a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 0.65rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   9. PATIČKA
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--black);
  padding: 2rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border-dark);
}

.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
  border: 2px solid var(--ash);
}

footer p {
  font-size: 0.75rem;
  color: var(--graphite);
}


/* ═══════════════════════════════════════════════════════════
   10. RESPONZIVITA — GLOBÁLNÍ
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .form-row  { grid-template-columns: 1fr; }
}

/* ─── Hamburger tlačítko ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  nav { grid-template-columns: auto 1fr auto auto; }
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cart { margin-left: auto; }
}

/* ─── Mobilní overlay ─── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 149;
  opacity: 0;
  transition: opacity 0.25s;
}
.nav-mobile-overlay.is-open {
  display: block;
  opacity: 1;
}

/* ─── Mobilní menu panel ─── */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--black);
  border-left: 1px solid var(--border-dark);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 1.5rem) 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile.is-open {
  transform: translateX(0);
}
.nav-mobile-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--ash);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--white); }

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile ul li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.2s;
}
.nav-mobile ul li a:hover { color: var(--white); }
.nav-mobile-contact {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-mobile-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile-contact a {
  font-size: 0.85rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-contact-links a:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.nav-mobile-contact a:hover { color: var(--rust-light); }
.nav-mobile-logo-sub {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.85;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  :root { --section-padding: 5rem 6%; }
}




/* ╔═══════════════════════════════════════════════════════════
   ║  STRÁNKY
   ╚═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   11. HOME — HERO
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45) contrast(1.1) saturate(0.7);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13,12,11,0.92) 0%, rgba(13,12,11,0.3) 55%, transparent 100%),
    linear-gradient(to right, rgba(13,12,11,0.5) 0%, transparent 60%);
}

.hero-accent-line {
  position: absolute;
  top: 0; right: 18%;
  width: 2px;
  height: 100%;
  background: var(--rust);
  opacity: 0.25;
  transform: skewX(-3deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8% 8rem;
  max-width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--rust);
}
.hero-eyebrow span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust-light);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--rust-light);
}
.hero-title .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ash);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}
.hero-cta .btn-outline {
  color: var(--linen);
  border-color: rgba(232, 226, 217, 0.4);
}
.hero-cta .btn-outline:hover {
  background: var(--linen);
  color: var(--black);
  border-color: var(--linen);
}


@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
}


/* ═══════════════════════════════════════════════════════════
   12. HOME — SLUŽBY
═══════════════════════════════════════════════════════════ */
#sluzby {
  padding: var(--section-padding);
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--linen);
}

.service-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10);
  z-index: 2;
}

.service-img-wrap {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }

.service-body {
  padding: 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--graphite);
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid var(--rust-border);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.service-link:hover {
  color: var(--rust-light);
  border-color: var(--rust-light);
}

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


/* ═══════════════════════════════════════════════════════════
   13. HOME — O NÁS
═══════════════════════════════════════════════════════════ */
#o-nas {
  background: var(--iron);
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%; height: 78%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05) saturate(0.75);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%; height: 52%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05) saturate(0.75);
  border: 5px solid var(--iron);
}
.about-badge {
  position: absolute;
  top: 54%; left: 58%;
  transform: translate(-50%, -50%);
  background: var(--rust);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  text-align: center;
  z-index: 3;
}
.about-badge strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  font-weight: 600;
}

#o-nas .section-title { color: var(--white); }
#o-nas .section-desc  { color: var(--ash); margin-bottom: 2rem; }

.about-features {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.feature-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--rust-dim);
  border: 1px solid var(--rust-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 2px;
}
.feature-row h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--linen);
  margin-bottom: 3px;
}
.feature-row p {
  font-size: 0.8rem;
  color: var(--smoke);
  line-height: 1.55;
}

@media (max-width: 900px) {
  #o-nas { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { height: 360px; }
}


/* ═══════════════════════════════════════════════════════════
   14. HOME — PRODUKTY
═══════════════════════════════════════════════════════════ */
#produkty {
  padding: var(--section-padding);
  background: var(--white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.products-note {
  font-size: 0.82rem;
  color: var(--graphite);
  max-width: 280px;
  line-height: 1.6;
  border-left: 2px solid var(--rust);
  padding-left: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--linen);
}

.product-card {
  background: var(--white);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.13);
  z-index: 2;
}

.product-img-wrap {
  overflow: hidden;
  height: 220px;
  position: relative;
  background: var(--linen);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--rust);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
}

.product-body {
  padding: 1.3rem 1.5rem 1.5rem;
  border-top: 3px solid var(--linen);
  transition: border-color 0.2s;
}
.product-card:hover .product-body { border-color: var(--rust); }

.product-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--black);
}
.product-dims {
  font-size: 0.75rem;
  color: var(--smoke);
  margin-bottom: 1.1rem;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}
.product-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}
.product-price span {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--smoke);
}
.product-price-bm {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600 !important;
  color: var(--rust) !important;
  margin-top: 2px;
}
.product-cta {
  background: var(--iron);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.product-cta:hover { background: var(--rust); }

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


/* ═══════════════════════════════════════════════════════════
   15. HOME — PROČ MY
═══════════════════════════════════════════════════════════ */
#proc-my {
  background: var(--black);
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

#proc-my .section-title { color: var(--white); }
#proc-my .section-desc  { color: var(--smoke); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}
.why-item {
  padding: 2rem 1.8rem;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--rust);
  transition: height 0.3s;
}
.why-item:hover::before { height: 100%; }
.why-item:hover { background: rgba(255,255,255,0.03); }

.why-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--rust);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.why-item h3 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--linen);
  margin-bottom: 0.6rem;
}
.why-item p {
  font-size: 0.8rem;
  color: var(--graphite);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  #proc-my { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   16. HOME — GALERIE
═══════════════════════════════════════════════════════════ */
#galerie {
  padding: var(--section-padding);
  background: var(--linen);
}

.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.gallery-header .section-desc { margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
}
.gallery-item { overflow: hidden; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.08);
  transition: transform 0.5s ease, filter 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(0.95) contrast(1.05);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   17. HOME — KONTAKT
═══════════════════════════════════════════════════════════ */
#kontakt {
  padding: var(--section-padding);
  background: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info { padding-top: 0.5rem; }
#kontakt .section-title { margin-bottom: 0.5rem; }
#kontakt .section-desc  { margin-bottom: 2.5rem; }

.info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-light);
}
.info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--linen);
}
.info-item h4 {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--smoke);
  font-weight: 600;
  margin-bottom: 3px;
}
.info-item p {
  font-size: 0.93rem;
  color: var(--iron);
}

@media (max-width: 900px) {
  #kontakt { grid-template-columns: 1fr; gap: 3rem; }
}


/* ═══════════════════════════════════════════════════════════
   18. WOOD PAGE — HERO
═══════════════════════════════════════════════════════════ */
#drevo-hero {
  padding: 10rem 8% 6rem;
  background: var(--iron);
}

#drevo-hero .section-title { color: var(--white); }
#drevo-hero .section-label { color: var(--rust-light); }
#drevo-hero .section-desc  { color: var(--ash); margin-top: 1rem; }


.wood-detail-stock-line {
  font-size: 0.88rem;
  color: var(--ash);
  margin-top: 0.25rem;
}
.wood-detail-stock-line strong { color: var(--white); }


/* ═══════════════════════════════════════════════════════════
   19. WOOD PAGE — PRODUKT BEZ FOTKY
═══════════════════════════════════════════════════════════ */
.product-no-photo {
  width: 100%;
  height: 100%;
  background: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ═══════════════════════════════════════════════════════════
   20. WOOD PAGE — POPTÁVKOVÝ FORMULÁŘ
═══════════════════════════════════════════════════════════ */
#poptavka {
  padding: var(--section-padding);
  background: var(--linen);
}

.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.inquiry-success {
  background: var(--rust-dim);
  border: 1px solid var(--rust-border);
  border-left: 3px solid var(--rust);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--rust);
  font-weight: 500;
}

.inquiry-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  .inquiry-wrap { grid-template-columns: 1fr; gap: 3rem; }
}


/* ═══════════════════════════════════════════════════════════
   21. PRODUCT CHECKBOX CARDS
═══════════════════════════════════════════════════════════ */
.form-label-static {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--smoke);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.product-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.product-checkbox-card {
  cursor: pointer;
  display: block;
}

.product-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pcb-inner {
  border: 2px solid var(--linen);
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-checkbox-card:hover .pcb-inner {
  border-color: var(--ash);
}

.product-checkbox-card input:checked + .pcb-inner {
  border-color: var(--rust);
  box-shadow: 0 0 0 1px var(--rust);
}

.pcb-img {
  height: 100px;
  overflow: hidden;
  background: var(--linen);
}

.pcb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter 0.2s;
}

.product-checkbox-card input:checked + .pcb-inner .pcb-img img {
  filter: saturate(1);
}

.pcb-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.75rem;
}

.pcb-info {
  padding: 0.6rem 0.7rem 0.5rem;
}

.pcb-info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 2px;
}

.pcb-info span {
  display: block;
  font-size: 0.72rem;
  color: var(--smoke);
}

.pcb-unit-price {
  margin-top: 4px;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--rust) !important;
}

.pcb-line-total {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rust);
  margin-top: 4px;
  min-height: 1em;
}

.inquiry-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--rust-dim);
  border: 1px solid var(--rust-border);
  border-radius: 4px;
}

.inquiry-total-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inquiry-total-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rust);
  white-space: nowrap;
}

.pcb-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--rust);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s, transform 0.15s;
}

.product-checkbox-card input:checked + .pcb-inner .pcb-check {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 600px) {
  .product-checkboxes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .product-checkboxes { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   22. WOOD PAGE — SKLADOVÁ KAPACITA
═══════════════════════════════════════════════════════════ */
.product-stock {
  font-size: 0.78rem;
  color: var(--smoke);
  margin-bottom: 1.1rem;
}

.product-stock strong {
  color: var(--black);
  font-weight: 600;
}

.badge-vyprodano {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════
   23. FORMULÁŘ — CHYBOVÉ HLÁŠKY (FRONT)
═══════════════════════════════════════════════════════════ */
.contact-form .error {
  display: block;
  font-size: 0.78rem;
  color: var(--rust);
  margin-top: 4px;
  font-weight: 500;
}

.form-product-error {
  font-size: 0.78rem;
  color: var(--rust);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Nette inputError output */
.contact-form ul.error {
  list-style: none;
  margin-top: 4px;
}
.contact-form ul.error li {
  font-size: 0.78rem;
  color: var(--rust);
  font-weight: 500;
}

/* Required asterisk */
.form-required {
  color: var(--rust);
  margin-left: 2px;
}

/* Nette ul.error output */
.contact-form ul.error {
  list-style: none;
  padding: 0;
  margin-top: 4px;
}
.contact-form ul.error li,
.contact-form .error {
  font-size: 0.78rem;
  color: var(--rust);
  font-weight: 500;
}

/* Skryté Nette checkboxy */
.nette-products-hidden {
  display: none;
}

/* Vizuální karta — selected stav (nahrazuje :checked) */
.product-checkbox-card.selected .pcb-inner {
  border-color: var(--rust);
  box-shadow: 0 0 0 1px var(--rust);
}
.product-checkbox-card.selected .pcb-img img {
  filter: saturate(1);
}
.product-checkbox-card.selected .pcb-check {
  opacity: 1;
  transform: scale(1);
}


/* ─── Chyba výběru produktů — výrazná hláška ─── */
#product-checkboxes + ul.error,
.form-group ul.error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 76, 30, 0.10);
  border: 1.5px solid var(--rust);
  border-left: 4px solid var(--rust);
  padding: 0.7rem 1rem;
  margin-top: 0.75rem;
  list-style: none;
}

#product-checkboxes + ul.error li,
.form-group ul.error li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.01em;
}

#product-checkboxes + ul.error li::before,
.form-group ul.error li::before {
  content: '⚠';
  margin-right: 0.4rem;
}

.product-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 76, 30, 0.10);
  border: 1.5px solid var(--rust);
  border-left: 4px solid var(--rust);
  padding: 0.7rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rust);
}


/* ═══════════════════════════════════════════════════════════
   24. REKONSTRUKCE — HERO
═══════════════════════════════════════════════════════════ */
#rekonstrukce-hero {
  padding: 10rem 8% 6rem;
  background: var(--iron);
}
#rekonstrukce-hero .section-title { color: var(--white); }
#rekonstrukce-hero .section-label { color: var(--rust-light); }
#rekonstrukce-hero .section-desc  { color: var(--ash); margin-top: 1rem; max-width: 600px; }

.recon-hero-content { max-width: 700px; }


/* ═══════════════════════════════════════════════════════════
   25. REKONSTRUKCE — SEZNAM
═══════════════════════════════════════════════════════════ */
#realizace {
  padding: var(--section-padding);
  background: var(--bg);
}

.section-intro {
  margin-bottom: 3rem;
}

.recon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.recon-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.recon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

.recon-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--linen);
}

.recon-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.recon-card:hover .recon-card-img img {
  transform: scale(1.04);
}

.recon-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recon-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,12,11,0.45);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.recon-card:hover .recon-card-overlay { opacity: 1; }

.recon-card-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.recon-card-body {
  padding: 1.5rem;
}

.recon-period {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.recon-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.recon-desc {
  font-size: 0.85rem;
  color: var(--smoke);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.recon-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rust);
}

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


/* ═══════════════════════════════════════════════════════════
   26. REKONSTRUKCE — DETAIL
═══════════════════════════════════════════════════════════ */
#recon-detail-hero {
  background: var(--iron);
  padding: 6rem 8% 4rem;
}

.recon-detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.recon-detail-cover {
  border-radius: 3px;
  overflow: hidden;
}

.recon-detail-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.recon-back {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ash);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.recon-back:hover { color: var(--white); }

.recon-detail-header .section-label { color: var(--rust-light); }
.recon-detail-header .section-title { color: var(--white); margin-top: 0.3rem; }

.recon-detail-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rust-light);
  margin-top: 1rem;
}

#recon-detail-desc {
  padding: var(--section-padding);
  background: var(--bg);
}

.recon-desc-content { max-width: 720px; }

.recon-description {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--iron);
  margin-top: 1.5rem;
}

#recon-detail-gallery {
  padding: var(--section-padding);
  background: var(--linen);
}

.recon-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.recon-gallery-item {
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
}

.recon-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.recon-gallery-item:hover img { transform: scale(1.03); }

.recon-gallery-title {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--smoke);
}

#recon-cta {
  padding: 6rem 8%;
  background: var(--iron);
  text-align: center;
}

.recon-cta-inner { max-width: 600px; margin: 0 auto; }
.recon-cta-inner .section-title { color: var(--white); margin-bottom: 1rem; }
.recon-cta-inner .section-desc  { color: var(--ash); margin-bottom: 2.5rem; }

@media (max-width: 800px) {
  .recon-detail-hero-inner { grid-template-columns: 1fr; }
  .recon-detail-cover img  { height: 260px; }
}


/* ═══════════════════════════════════════════════════════════
   27. REKONSTRUKCE — KONTAKTNÍ FORMULÁŘ
═══════════════════════════════════════════════════════════ */
#kontakt-rekon {
  padding: var(--section-padding);
  background: var(--linen);
}

.recon-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

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


/* ─── Nav kontakt ─── */
.nav-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.nav-logo-sub {
  display: none;
}

.nav-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

@media (max-width: 600px) {
  .nav-contact { display: none; }
}

.nav-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--rust-light); }

.nav-email {
  font-size: 0.75rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-email:hover { color: var(--white); }

/* ─── Nav košík ─── */
.nav-cart {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-cart--hidden {
  visibility: hidden;
  pointer-events: none;
}

.nav-cart:hover { color: var(--rust-light); }

.nav-cart-count {
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  margin-top: -15px;
  margin-left: -12px;
}

/* ─── Buy qty popup ─── */
.buy-popup {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

.buy-popup-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--graphite);
}

.buy-popup-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.buy-popup-btn {
  width: 30px;
  height: 30px;
  background: var(--linen);
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-popup-input {
  width: 70px;
  text-align: center;
  border: 1px solid var(--linen);
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 0.9rem;
}

.buy-popup-confirm {
  background: var(--rust);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.buy-popup-confirm:hover { background: var(--rust-light); }

.buy-popup-actions {
  display: flex;
  gap: 0.5rem;
}

.buy-popup-remove {
  flex: 1;
  background: transparent;
  border: 1px solid var(--graphite);
  border-radius: 3px;
  padding: 7px 10px;
  font-size: 0.82rem;
  color: var(--graphite);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.buy-popup-remove:hover {
  border-color: var(--red);
  color: var(--red);
}

.product-cta--in-cart {
  background: var(--rust) !important;
  color: #fff !important;
  border-color: var(--rust) !important;
}

/* ─── Pronajato badge ─── */

.contact-map {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.contact-map iframe {
  display: block;
}

.service-no-photo {
  width: 100%;
  height: 100%;
  background: var(--linen);
}


/* ═══════════════════════════════════════════════════════════
   28. SLUŽBA — DETAIL
═══════════════════════════════════════════════════════════ */
#service-hero {
  background: var(--iron);
  padding: 6rem 8% 4rem;
}

.service-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.service-hero-img {
  border-radius: 3px;
  overflow: hidden;
}

.service-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-hero-content .section-label { color: var(--rust-light); }
.service-hero-content .section-title { color: var(--white); margin-top: 0.3rem; }
.service-hero-content .section-desc  { color: var(--ash); margin-top: 1rem; }

#service-content {
  padding: var(--section-padding);
  background: var(--bg);
}

.service-content-body {
  max-width: 800px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--iron);
}

.service-content-body h1,
.service-content-body h2,
.service-content-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin: 2rem 0 0.8rem;
}

.service-content-body p    { margin-bottom: 1rem; }
.service-content-body ul,
.service-content-body ol   { margin: 1rem 0 1rem 1.5rem; }
.service-content-body li   { margin-bottom: 0.4rem; }
.service-content-body a    { color: var(--rust); }
.service-content-body blockquote {
  border-left: 3px solid var(--rust);
  padding: 0.5rem 1.2rem;
  color: var(--smoke);
  margin: 1.5rem 0;
}

#service-cta {
  padding: 6rem 8%;
  background: var(--iron);
  text-align: center;
}

.service-cta-inner { max-width: 600px; margin: 0 auto; }
.service-cta-inner .section-title { color: var(--white); margin-bottom: 0.8rem; }
.service-cta-inner .section-desc  { color: var(--ash); margin-bottom: 2.5rem; }

.service-cta-contacts {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--rust);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.service-cta-btn:hover { background: var(--rust-light); }

.service-cta-btn-outline {
  background: transparent;
  border: 2px solid var(--ash);
  color: var(--ash);
}
.service-cta-btn-outline:hover {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 800px) {
  .service-hero-inner { grid-template-columns: 1fr; }
  .service-hero-img img { height: 240px; }
}

#service-gallery {
  padding: var(--section-padding);
  background: var(--linen);
}


/* ═══════════════════════════════════════════════════════════
   29. PRONÁJMY BYTŮ
═══════════════════════════════════════════════════════════ */
#pronajem-hero {
  padding: 10rem 8% 6rem;
  background: var(--iron);
}
#pronajem-hero .section-title { color: var(--white); }
#pronajem-hero .section-label { color: var(--rust-light); }
#pronajem-hero .section-desc  { color: var(--ash); margin-top: 1rem; max-width: 600px; }

.rental-hero-content { max-width: 700px; }

#byty {
  padding: var(--section-padding);
  background: var(--bg);
}

.rental-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.rental-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.rental-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--linen);
}

.rental-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rental-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rust);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
}

.rental-rented-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.rental-rented-badge--yes { background: var(--red); color: #fff; }
.rental-rented-badge--no  { background: rgba(46, 125, 50, 0.85);  color: #fff; }

.rental-detail-header .rental-rented-badge {
  position: static;
  margin-bottom: 0.75rem;
}

.rental-card-body {
  padding: 1.5rem;
}

.rental-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.rental-address {
  font-size: 0.8rem;
  color: var(--smoke);
  margin-bottom: 0.6rem;
}

.rental-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.rental-size,
.rental-disp {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--graphite);
  background: var(--linen);
  padding: 2px 8px;
  border-radius: 2px;
}

.rental-desc {
  font-size: 0.83rem;
  color: var(--smoke);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rental-prices {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rental-price-main strong { color: var(--rust); font-size: 1rem; }
.rental-price-services strong { color: var(--graphite); font-size: 0.9rem; }

.rental-price-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--smoke);
  margin-bottom: 2px;
}

.rental-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  text-decoration: none;
  transition: color 0.2s;
}
.rental-cta:hover { color: var(--rust-light); }

#kontakt-pronajem {
  padding: var(--section-padding);
  background: var(--linen);
}

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


/* ═══════════════════════════════════════════════════════════
   30. PRONÁJEM — DETAIL
═══════════════════════════════════════════════════════════ */
#rental-detail-hero {
  background: var(--iron);
  padding: 6rem 8% 4rem;
}

.rental-detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.rental-detail-cover {
  border-radius: 3px;
  overflow: hidden;
}

.rental-detail-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.rental-detail-header .section-label { color: var(--rust-light); }
.rental-detail-header .section-title { color: var(--white); margin-top: 0.3rem; }

.rental-detail-address {
  color: var(--ash);
  font-size: 0.85rem;
  margin: 0.6rem 0 1rem;
}

.rental-detail-prices {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rental-detail-prices strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
}

#rental-detail-desc {
  padding: var(--section-padding);
  background: var(--bg);
}

#rental-detail-gallery {
  padding: var(--section-padding);
  background: var(--linen);
}

.rental-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.rental-detail-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--graphite);
  text-decoration: none;
  transition: color 0.2s;
}
.rental-detail-link:hover { color: var(--black); }

@media (max-width: 800px) {
  .rental-detail-hero-inner { grid-template-columns: 1fr; }
  .rental-detail-cover img  { height: 260px; }
}
/* ─── Množství u produktové karty ─── */
.pcb-qty {
  display: none;
  padding: 8px 10px;
  border-top: 1px solid var(--linen);
  background: var(--linen);
}
.product-checkbox-card.selected .pcb-qty,
.product-checkbox-card input:checked ~ .pcb-inner .pcb-qty {
  display: block;
}
.pcb-qty-label {
  display: block;
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}
.pcb-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--ash);
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
  width: fit-content;
}
.pcb-qty-btn {
  width: 28px;
  height: 28px;
  background: var(--white);
  border: none;
  color: var(--black);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pcb-qty-btn:hover {
  background: var(--linen);
}
.pcb-qty-input {
  width: 80px;
  text-align: center;
  background: var(--white);
  border: none;
  border-left: 1px solid var(--ash);
  border-right: 1px solid var(--ash);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 6px;
  -moz-appearance: textfield;
}
.pcb-qty-input::-webkit-inner-spin-button,
.pcb-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }


/* ═══════════════════════════════════════════════════════════
   SHRNUTÍ POPTÁVKY
═══════════════════════════════════════════════════════════ */

#shrnuti {
  padding: var(--section-padding);
  padding-top: calc(var(--nav-height) + 3rem);
}

.summary-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.summary-header {
  margin-bottom: 3rem;
}

.summary-back {
  display: inline-block;
  color: var(--smoke);
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.summary-back:hover { color: var(--rust); }

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

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

.summary-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 4px;
  overflow: hidden;
}

.summary-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--linen);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Produktový řádek ── */
.summary-product-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--linen);
}
.summary-product-row:last-of-type { border-bottom: none; }

.summary-product-img {
  width: 72px;
  height: 72px;
  border-radius: 3px;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}
.summary-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 1.2rem;
}

.summary-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}
.summary-product-meta {
  font-size: 0.78rem;
  color: var(--smoke);
}
.summary-product-unitprice {
  font-size: 0.82rem;
  color: var(--rust);
  font-weight: 500;
  margin-top: 2px;
}

.summary-product-bm {
  font-size: 0.75rem;
  color: var(--rust);
  font-weight: 400;
  margin-top: 1px;
}

/* ── Qty stepper ── */
.summary-product-qty {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.summary-qty-label {
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.summary-qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--linen);
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
}
.summary-qty-btn {
  width: 30px;
  height: 32px;
  background: var(--white);
  border: none;
  color: var(--black);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.summary-qty-btn:hover { background: var(--linen); }
.summary-qty-input {
  width: 72px;
  height: 32px;
  text-align: center;
  background: var(--white);
  border: none;
  border-left: 1px solid var(--linen);
  border-right: 1px solid var(--linen);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  padding: 0 4px;
  -moz-appearance: textfield;
}
.summary-qty-input::-webkit-inner-spin-button,
.summary-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Mezisoučet ── */
.summary-product-subtotal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 110px;
  text-align: right;
}
.summary-subtotal-label {
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.summary-subtotal-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}

/* ── Celková cena ── */
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-top: 2px solid var(--linen);
  background: var(--white);
}
.summary-total-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--iron);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.summary-total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rust);
  white-space: nowrap;
}
.summary-total-note {
  font-size: 0.75rem;
  color: var(--smoke);
  padding: 0.5rem 1.5rem 1rem;
  margin: 0;
}

/* ── Kontaktní karta ── */
.summary-contact {
  padding: 1rem 1.5rem;
}
.summary-contact-row {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linen);
}
.summary-contact-row:last-child { border-bottom: none; }
.summary-contact-label {
  font-size: 0.78rem;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 70px;
  padding-top: 1px;
}
.summary-contact-value {
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 500;
}
.summary-contact-message .summary-contact-value {
  white-space: pre-line;
  font-weight: 400;
  color: var(--iron);
}
.summary-contact-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--linen);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 2px 4px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.summary-contact-input:focus {
  border-bottom-color: var(--rust);
}
.summary-contact-textarea {
  resize: vertical;
  font-weight: 400;
  line-height: 1.6;
  min-height: 72px;
}

/* ── Akční tlačítka ── */
.summary-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .summary-product-row {
    grid-template-columns: 56px 1fr;
    gap: 0.75rem;
  }
  .summary-product-img {
    grid-column: 1;
    grid-row: 1;
    width: 56px;
    height: 56px;
  }
  .summary-product-info { grid-column: 2; grid-row: 1; }
  .summary-product-qty  {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .summary-actions { flex-direction: column-reverse; }
  .summary-actions .btn-outline,
  .summary-actions .btn-primary { width: 100%; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════
   DĚKOVACÍ STRÁNKA
═══════════════════════════════════════════════════════════ */

#dekujeme {
  padding: var(--section-padding);
  padding-top: calc(var(--nav-height) + 3rem);
}

.thankyou-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.thankyou-hero {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thankyou-hero .section-desc {
  text-align: center;
  width: 100%;
}

.thankyou-icon {
  width: 64px;
  height: 64px;
  background: var(--rust);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ── Objednávkový blok ── */
.thankyou-order {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 4px;
  overflow: hidden;
}

.thankyou-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 2rem;
  background: var(--iron);
  color: var(--white);
}

.thankyou-order-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.thankyou-order-date {
  font-size: 0.8rem;
  color: var(--ash);
  margin: 0;
}

.thankyou-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--rust-light);
  letter-spacing: 0.04em;
}

.thankyou-section {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--linen);
}
.thankyou-section:last-child { border-bottom: none; }

.thankyou-section-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--smoke);
  margin: 0 0 1rem;
}

/* ── Kontaktní grid ── */
.thankyou-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.thankyou-contact-full { grid-column: 1 / -1; }

.thankyou-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.thankyou-label {
  font-size: 0.73rem;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.thankyou-value {
  font-size: 0.95rem;
  color: var(--black);
  font-weight: 500;
  white-space: pre-line;
}

/* ── Tabulka produktů ── */
.thankyou-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.thankyou-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smoke);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--linen);
  text-align: left;
}
.thankyou-table td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid var(--linen);
  color: var(--black);
  vertical-align: middle;
}
.thankyou-table tr:last-child td { border-bottom: none; }
.thankyou-meta { color: var(--smoke); font-size: 0.8rem; }
.text-right { text-align: right !important; }

.thankyou-total-row td {
  padding-top: 1rem;
  border-top: 2px solid var(--linen);
  border-bottom: none;
}
.thankyou-total-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--iron);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.thankyou-total-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rust);
  white-space: nowrap;
}

.thankyou-note {
  font-size: 0.75rem;
  color: var(--smoke);
  margin: 1rem 0 0;
}

/* ── Tisk ── */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm 12mm;
  }

  /* Schovat vše kromě tiskové oblasti */
  nav, header, footer,
  .no-print,
  .thankyou-hero,
  .thankyou-actions,
  #hero, #sluzby,
  .reveal { display: none !important; }

  body, html {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
  }

  /* Zrušit padding sekcí */
  section, #dekujeme, .thankyou-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  /* Tiskový blok */
  .thankyou-order {
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  /* Hlavička — tmavá s barvou */
  .thankyou-order-header {
    background: #1A1917 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    padding: 8px 14px !important;
  }
  .thankyou-order-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-order-date {
    font-size: 9px !important;
    color: #ccc !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-brand {
    font-size: 13px !important;
    color: #D96830 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Sekce */
  .thankyou-section {
    padding: 8px 14px !important;
    border-bottom: 1px solid #e0ddd8 !important;
  }
  .thankyou-section-title {
    font-size: 8px !important;
    margin: 0 0 6px !important;
    letter-spacing: 0.08em;
  }

  /* Kontaktní grid */
  .thankyou-contact-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px 12px !important;
  }
  .thankyou-contact-full {
    grid-column: 1 / -1 !important;
  }
  .thankyou-label {
    font-size: 8px !important;
    margin-bottom: 1px !important;
  }
  .thankyou-value {
    font-size: 10px !important;
  }

  /* Tabulka produktů — kompaktní */
  .thankyou-table {
    font-size: 9.5px !important;
    width: 100% !important;
  }
  .thankyou-table th {
    font-size: 7.5px !important;
    padding: 4px 6px !important;
    background: #f5f3ef !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-table td {
    padding: 5px 6px !important;
    border-bottom: 1px solid #ece9e3 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-meta {
    font-size: 8px !important;
    color: #888 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-total-row td {
    padding-top: 6px !important;
    padding-bottom: 4px !important;
  }
  .thankyou-total-label {
    font-size: 8px !important;
  }
  .thankyou-total-value {
    font-size: 13px !important;
    color: #D96830 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .thankyou-note {
    font-size: 7.5px !important;
    margin: 5px 0 0 !important;
    color: #999 !important;
  }
}
/* ═══════════════════════════════════════
   FOTOALBUM — frontend
   ═══════════════════════════════════════ */

.album-hero {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--charcoal, #1a1a1a);
}

.album-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.album-hero .section-title {
  color: #fff;
  margin-bottom: 8px;
}

.album-hero .section-label {
  color: rgba(255,255,255,0.5);
}

/* Galerie */
.album-gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

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

.album-gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.album-gallery-item a {
  display: block;
  overflow: hidden;
}

.album-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.album-gallery-item:hover img {
  transform: scale(1.04);
}

.album-gallery-title {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.album-empty {
  text-align: center;
  color: #888;
  padding: 60px 0;
}

/* Heslo */
.album-password-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 60px 24px;
}

.album-password-box {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.album-password-icon {
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.album-password-label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.album-password-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.album-password-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.album-password-field input[type="password"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  padding: 12px 16px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.album-password-field input[type="password"]:focus {
  border-color: rgba(255,255,255,0.4);
}

.album-password-error {
  color: #e05a3a;
  font-size: 0.82rem;
  margin: 0;
}

@media (max-width: 600px) {
  .album-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .album-password-box {
    padding: 32px 24px;
  }
}