/* --- Gallery Modal for GS --- */
.gallery-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #111;
  background: rgba(0,0,0,0.98);
  transition: opacity 0.2s;
  padding: 0;
  text-align: center;
}
.gallery-modal-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  background: #222;
}
.gallery-modal {
  align-items: center !important;
  justify-content: center !important;
}
.gallery-modal-close {
  position: absolute;
  top: 24px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100001;
  text-shadow: 0 2px 8px #000;
}
.gallery-modal-prev, .gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  font-size: 64px;
  padding: 12px 32px;
  cursor: pointer;
  border-radius: 12px;
  z-index: 100001;
  box-shadow: 0 2px 12px #000;
  transition: background 0.2s;
}
.gallery-modal-prev:hover, .gallery-modal-next:hover {
  background: rgba(220,0,0,0.7);
}
.gallery-modal-prev { left: 32px; }
.gallery-modal-next { right: 32px; }
.gallery-modal-counter {
  color: #fff;
  margin-top: 18px;
  font-size: 22px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #000;
}
@media (max-width: 700px) {
  .offer-porsche-img img {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
  }
  .gallery-modal-close {
    top: 8px;
    right: 12px;
    font-size: 36px;
  }
  .gallery-modal-prev, .gallery-modal-next {
    font-size: 36px;
    padding: 8px 12px;
    top: 55%;
  }
  .gallery-modal-prev { left: 4px; }
  .gallery-modal-next { right: 4px; }
}
/* --- Mini galeria pod głównym zdjęciem --- */
.offer-porsche-gallery {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 28px 0 0 0;
  justify-content: center;
  width: 100%;
  padding-top: 0;
}
.offer-porsche-gallery img {
  width: 90px;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
  background: #eee;
}
.offer-porsche-gallery img:hover {
  border: 2px solid #dc0000;
}
@media (max-width: 900px) {
  /* (Poprawka: usunięto nieprawidłowe właściwości bez selektora) */
  .offer-porsche-gallery img {
    width: 60px;
    height: 44px;
  }
}
/* --- Porsche Finder two-column layout --- */
.offer-porsche {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  width: 900px;
  max-width: 98vw;
  margin: 0 auto 40px auto;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.offer-porsche-left {
  flex: 0 0 40vw;
  max-width: 40vw;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 24px 0 18px 0;
}
.offer-porsche-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  max-height: 340px;
}
.offer-porsche-right {
  flex: 1 1 0;
  padding: 32px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  text-align: left;
}
.offer-porsche-title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.offer-porsche-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
}
.offer-porsche-year {
  font-size: 1.3rem;
  color: #888;
  font-weight: 500;
}
.offer-porsche-meta-row {
  color: #444;
  font-size: 1.08rem;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.offer-porsche-meta-row .dot {
  color: #bbb;
  font-size: 1.2em;
  margin: 0 6px;
}
.offer-porsche-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: #dc0000;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}
.offer-porsche-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-start;
  align-items: center;
}
.offer-porsche-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  display: inline-block;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.offer-porsche-btn:hover {
  background: #dc0000;
  color: #fff;
}
.offer-porsche-btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
.offer-porsche-btn-secondary:hover {
  background: #dc0000;
  color: #fff;
  border: 1px solid #dc0000;
}
@media (max-width: 900px) {
  .offer-porsche {
    flex-direction: column;
    width: 98vw;
    max-width: 98vw;
    min-height: unset;
    border-radius: 0;
    margin: 0 0 32px 0;
    align-items: stretch;
  }
  .offer-porsche-left {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .offer-porsche-img {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
  }
  .offer-porsche-img img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
  }
  .offer-porsche-right {
    padding: 24px 16px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
/* --- Page top padding fix --- */
.section.offers-section, .breadcrumbs-container, .filters-section {
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .section.offers-section, .breadcrumbs-container, .filters-section {
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* --- Porsche Finder style offer card --- */
.offer-porsche {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  width: 900px;
  max-width: 98vw;
  margin: 0 auto 40px auto;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.gallery-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #111;
  background: rgba(0,0,0,0.98);
  transition: opacity 0.2s;
  padding: 0;
  text-align: center;
}
/* --- Modal gallery (kept for compatibility with existing JS) --- */
.gallery-modal-img {
  width: min(92vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 12px;
}
.gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 26px;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}
.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(20, 20, 20, 0.6);
  font-size: 30px;
  cursor: pointer;
}
.gallery-modal-prev { left: 14px; }
.gallery-modal-next { right: 14px; }
.gallery-modal-counter {
  margin-top: 10px;
  color: #f0f0f0;
  font-size: 1rem;
}
/* Responsiveness */
@media (max-width: 1100px) {
  .offer-porsche {
    grid-template-columns: 1fr;
  }
}

.offer-porsche:hover {
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18);
  background: #f8f8f8;
  transform: translateY(-2px) scale(1.01);
}
.offer-porsche-img {
  flex: 0 0 340px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.offer-porsche-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  max-height: 220px;
}
.offer-porsche-details {
  flex: 1 1 0;
  padding: 32px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  text-align: left;
  height: 100%;
}
.offer-porsche-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.offer-porsche-header:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin: 16px 0 0 0;
}
.offer-porsche-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
  text-align: left;
}
.offer-porsche-year {
  font-size: 1.3rem;
  color: #888;
  font-weight: 500;
}
.offer-porsche-meta {
  color: #444;
  font-size: 1.08rem;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  text-align: left;
}
.offer-porsche-specs {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  text-align: left;
}
.offer-porsche-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: #dc0000;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}
.offer-porsche-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: flex-end;
  align-items: flex-end;
}
.offer-porsche-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  display: inline-block;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.offer-porsche-btn:hover {
  background: #dc0000;
  color: #fff;
}
.offer-porsche-btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
.offer-porsche-btn-secondary:hover {
  background: #dc0000;
  color: #fff;
  border: 1px solid #dc0000;
}
@media (max-width: 900px) {
  .offer-porsche {
    flex-direction: column;
    width: 98vw;
    max-width: 98vw;
    min-height: unset;
    border-radius: 0;
    margin: 0 0 32px 0;
    align-items: stretch;
  }
  .offer-porsche-img {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .offer-porsche-img img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
  }
  .offer-porsche-details {
    padding: 24px 16px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .offer-porsche-header:after {
    margin: 12px 0 0 0;
  }
}
/* Blok głównego zdjęcia i podpisu */
.offer-main-photo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 0 8px 0;
  background: #fff;
}
.offer-main-photo-block .offer-main-photo {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
}
.offer-main-photo-block .offer-main-photo img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.offer-main-caption {
  text-align: center;
  font-size: 1.1rem;
  color: #222;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* --- FLEX GRID FOR OFFERS/REALIZATIONS --- */
.realizations-grid, .offers-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1920px;
  margin: 0 auto 40px auto;
  justify-content: center;
  align-items: flex-start;
}

/* --- PORSCHE STYLE CARD LAYOUT --- */
.offer-porsche {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 420px;
  max-width: 98vw;
  margin: 0 auto 40px auto;
  padding: 0;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee;
  align-items: center;
}

/* Usunięto szerokie flexy dla głównego zdjęcia, bo teraz jest w .offer-main-photo-block */
.offer-main-photo img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.offer-details {
  width: 100%;
  padding: 32px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  border: none;
  align-items: flex-start;
}

.offer-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 8px 24px 8px;
  background: #fafafa;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 0 0 18px 18px;
}

.offer-gallery img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .offer-main-photo img {
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: 100vh;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
  }
  .realizations-grid, .offers-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    max-width: 100vw;
  }
  .offer-porsche {
    width: 98vw;
    max-width: 98vw;
    min-height: unset;
    border-radius: 0;
    margin: 0 0 32px 0;
  }
  .offer-main-photo-block .offer-main-photo {
    max-width: 98vw;
    min-width: 0;
  }
  .offer-main-photo-block .offer-main-photo img {
    max-height: none;
  }
  .offer-details {
    padding: 24px 16px;
  }
  .offer-gallery {
    padding: 12px 8px;
  }
}
/* Nowy blok oferty/realizacji na wzór Porsche 911 Turbo (MY23) - styl główny */
.offer-porsche {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 420px;
  padding: 0;
}
.offer-porsche .offer-main-photo {
  flex: 1;
  min-width: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  border-radius: 0;
  overflow: visible;
  flex-direction: column;
}
.offer-porsche .offer-main-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 420px;
  border-radius: 0;
}
.offer-porsche .offer-gallery {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 12px 0 0 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0 8px 0 8px;
}
.offer-porsche .offer-gallery img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
  background: #eee;
}
.offer-porsche .offer-gallery img.active {
  border: 2px solid #dc0000;
}
.offer-porsche .offer-details {
  flex: 1;
  padding: 38px 48px 38px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.offer-porsche .offer-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.offer-porsche .offer-meta {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.offer-porsche .offer-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #dc0000;
  margin-bottom: 18px;
}
.offer-porsche .offer-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}
.offer-porsche .offer-actions button, .offer-porsche .offer-actions a {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.offer-porsche .offer-actions button:hover, .offer-porsche .offer-actions a:hover {
  background: #dc0000;
}
@media (max-width: 900px) {
  .offer-porsche {
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    min-height: unset;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }
  .offer-porsche .offer-main-photo {
    max-height: none;
  }
  .offer-porsche .offer-main-photo img {
    object-fit: contain;
    max-height: 100vh;
    object-position: center top;
    width: 100%;
    height: auto;
  }
  .offer-porsche .offer-details {
    padding: 16px 6vw 0 6vw;
  }
  .offer-porsche .offer-gallery img {
    width: 60px;
    height: 44px;
  }
}

/* Final mobile override to show full bike image larger and top-aligned */
@media (max-width: 900px) {
  .offer-porsche-left {
    padding: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .offer-porsche-img {
    width: 100vw;
    max-width: 100vw;
    min-height: 60vh;
  }
  .offer-porsche-img img {
    width: 100vw;
    height: 70vh;
    max-height: 90vh;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
  }
}

/* =========================================================
   FINAL OVERRIDE — Porsche Finder inspired look (2026-02)
   ========================================================= */

.realizations-grid,
.offers-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  max-width: 1240px !important;
  margin: 0 auto 42px !important;
  padding: 0 24px !important;
}

.offer-porsche {
  display: grid !important;
  grid-template-columns: minmax(420px, 1.05fr) minmax(420px, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 0 !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease !important;
  content-visibility: auto;
  contain-intrinsic-size: 900px 540px;
}

.offer-porsche:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 34px rgba(17, 17, 17, 0.1) !important;
}

.offer-porsche-left {
  background: #f3f4f6 !important;
  border-right: 1px solid #e5e7eb !important;
  padding: 12px 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  max-width: none !important;
}

.offer-porsche-img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #e9ebef !important;
  min-height: 0 !important;
}

.offer-porsche-img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

.offer-porsche-gallery {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(64px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

.offer-porsche-gallery img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  background: #dfe2e7 !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.offer-porsche-gallery img:hover {
  border-color: #111 !important;
  transform: translateY(-1px) !important;
}

.offer-porsche-right {
  padding: 24px 30px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  text-align: left !important;
}

.offer-porsche-title-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
}

.offer-porsche-title {
  margin: 0 !important;
  color: #111 !important;
  font-size: clamp(1.9rem, 3vw, 2.6rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  font-family: 'Lato', Arial, sans-serif !important;
}

.offer-porsche-year {
  color: #8d939d !important;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem) !important;
  font-weight: 500 !important;
}

.offer-porsche-meta-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-bottom: 18px !important;
  padding-top: 12px !important;
  border-top: 1px solid #e5e7eb !important;
  color: #666a73 !important;
  font-size: 1.03rem !important;
  line-height: 1.6 !important;
}

.offer-porsche-meta-row .dot {
  color: #bcc1c8 !important;
  font-size: 0.95rem !important;
  margin: 0 2px !important;
}

.offer-porsche-price {
  margin: 4px 0 16px !important;
  color: #111 !important;
  font-family: 'Lato', Arial, sans-serif !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.offer-porsche-actions {
  margin-top: 6px !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.offer-porsche-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 148px !important;
  height: 52px !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-family: 'Lato', Arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.offer-porsche-btn:hover {
  background: #000 !important;
  border-color: #000 !important;
}

.offer-porsche-btn-secondary {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}

.offer-porsche-btn-secondary:hover {
  background: #f4f5f6 !important;
  color: #111 !important;
  border-color: #111 !important;
}

@media (max-width: 1100px) {
  .offer-porsche {
    grid-template-columns: 1fr !important;
  }

  .offer-porsche-left {
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .offer-porsche-right {
    padding: 22px 20px 20px !important;
  }

  .offer-porsche-gallery {
    grid-template-columns: repeat(5, minmax(52px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .realizations-grid,
  .offers-grid {
    padding: 0 10px !important;
    gap: 18px !important;
  }

  .offer-porsche {
    border-radius: 12px !important;
  }

  .offer-porsche-left {
    padding: 10px !important;
  }

  .offer-porsche-img {
    aspect-ratio: 4 / 3 !important;
  }

  .offer-porsche-gallery {
    grid-template-columns: repeat(5, minmax(44px, 1fr)) !important;
    gap: 6px !important;
  }

  .offer-porsche-meta-row {
    font-size: 0.95rem !important;
  }

  .offer-porsche-actions {
    width: 100% !important;
  }

  .offer-porsche-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 48px !important;
    font-size: 1rem !important;
  }

  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .offer-porsche,
  .offer-porsche * {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-porsche,
  .offer-porsche * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px), (hover: none), (pointer: coarse), (any-pointer: coarse) {
  .offer-porsche {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    align-items: stretch !important;
  }

  .offer-porsche-left,
  .offer-porsche-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .offer-porsche-left {
    padding: 10px !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-right: none !important;
  }

  .offer-porsche-right {
    padding: 18px 14px !important;
  }

  .offer-porsche-img {
    aspect-ratio: 4 / 3 !important;
  }

  .offer-porsche-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  .offer-porsche-actions {
    width: 100% !important;
    flex-direction: row !important;
  }

  .offer-porsche-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}
