.horse-filter-empty {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-weight: 600;
  text-align: center;
}

#horses-list.is-empty {
  padding-top: 0;
}

#horses-list.is-empty .horse-thumbnails-grid {
  display: none;
}

#horses-list.is-empty .horse-filter-empty {
  margin-top: 0;
}

#horses .stallion-filters.is-followed-by-empty {
  margin-bottom: 18px;
}

.horse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.horse-tag {
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.35);
  color: #0F172A;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  line-height: 1.1;
}

.horse-thumbnail-card {
  position: relative;
}

.horse-thumbnail-info,
.stallion-card-body {
  gap: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.horse-thumbnail-line1,
.horse-thumbnail-line2,
.stallion-card-body .horse-thumbnail-line1,
.stallion-card-body .horse-thumbnail-line2 {
  margin: 0;
}

.stallion-card-body .horse-thumbnail-line2 {
  margin-bottom: 0;
}

.horse-thumbnail-info .stallion-meta,
.horse-thumbnail-info .stallion-price-inline,
.stallion-card-body .stallion-meta,
.stallion-card-body .stallion-price-inline {
  margin: 0;
  line-height: 1.5;
}

.horse-thumbnail-card .card-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.horse-thumbnail-card .card-extra .stallion-tagline {
  margin: 0;
  line-height: 1.5;
}

.horse-thumbnail-card .card-toggle {
  align-self: center;
  background: transparent;
  border: none;
  color: #1E3A8A;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}

.horse-thumbnail-card .card-extra {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.horse-thumbnail-card.expanded .card-extra {
  display: flex;
}

.horse-thumbnail-card .stallion-card-footer {
  flex-direction: row;
  gap: 10px;
  width: 100%;
}

@font-face {
  font-family: 'Sakkal Majalla';
  src: url('../fonts/majalla.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.pasza-hero .hero-subtitle {
  font-family: 'Sakkal Majalla', 'Times New Roman', serif;
  font-style: normal;
  font-size: 26px;
}

.horse-thumbnail-card .stallion-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: nowrap;
}

.horse-thumbnail-card .stallion-actions .btn {
  flex: 1 1 0;
  padding: 8px 12px;
  font-size: 12.5px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .horse-thumbnail-card .stallion-card-footer {
    flex-direction: column;
  }

  .horse-thumbnail-card .stallion-actions {
    flex-direction: column;
  }
}

.horse-cta-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}

.horse-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  justify-content: center;
  padding: 10px 22px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  margin-top: 0;
}

.static-page .lightbox-wrapper {
  position: relative;
  background: #E2E8F0;
  height: auto;
  max-height: none;
  min-height: 100vh;
  overflow: visible;
}

.static-page .lightbox-content {
  margin: 40px 0 80px;
}

.static-page {
  background: #E2E8F0;
}

.policy-page {
  background: #E2E8F0;
  padding: 0;
  min-height: 100vh;
}

.policy-page #privacy-details {
  scroll-margin-top: 180px;
}

.policy-wrapper.lightbox-wrapper {
  position: static !important;
  height: auto !important;
  max-height: none !important;
  min-height: auto !important;
  background: #E2E8F0;
  overflow: visible !important;
}

.policy-wrapper .lightbox-content {
  margin: 70px 0 30px;
  padding-bottom: 30px;
  min-height: auto !important;
}

.policy-container {
  max-width: 1220px;
}

.policy-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #2563EB 100%);
  border-radius: 28px;
  padding: 48px 52px;
  box-shadow: 0 50px 120px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.policy-hero-text p {
  color: rgba(241, 245, 249, 0.9);
  margin-bottom: 18px;
}

.policy-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.policy-hero-title {
  color: #FFFFFF;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}

.policy-hero-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  color: #FFFFFF;
}

.policy-hero-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}

.policy-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.policy-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.policy-hero-cta .button-main {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.policy-hero-cta .button-main.button-scheme {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  box-shadow: none;
}

.policy-hero-cta .button-main.button-scheme:hover,
.policy-hero-cta .button-main.button-scheme:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.policy-hero-visual {
  text-align: right;
}

.policy-hero-visual img {
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.45);
  max-width: 440px;
  width: 100%;
}

/* Pasze */
.pasza-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 44px 36px;
  margin-bottom: 40px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFFFFF;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35);
}

.pasza-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(30, 58, 138, 0.72));
  z-index: 1;
}

.pasza-hero .container {
  position: relative;
  z-index: 2;
}

.pasza-hero-content {
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.pasza-hero .hero-subtitle {
  color: rgba(226, 232, 240, 0.92);
}

.pasza-lead p {
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 12px;
}

.pasza-note {
  color: #E2E8F0;
  font-size: 13px;
  margin: 8px 0 0;
  opacity: 0.9;
}

.pasza-video-card {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.28);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.3);
}

.pasza-video {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.pasza-panels .pasze-accordion,
.pasza-composition .pasze-accordion {
  height: 100%;
}

.pasza-description {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.pasza-product-visual img {
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.pasza-product-copy h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.pasza-product-copy p {
  margin-bottom: 8px;
  color: #0F172A;
}

.pasza-composition {
  margin-top: 12px;
}

.pasza-list {
  margin: 0;
}

.pasza-list ul {
  padding-left: 18px;
  margin: 6px 0 14px;
}

.pasza-list p {
  margin: 12px 0 6px;
  font-weight: 700;
  color: #0F172A;
}

.pasza-why {
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  color: #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.32);
}

.pasza-why .section-lead {
  color: #E2E8F0;
}

.pasza-why-copy p {
  color: rgba(226, 232, 240, 0.92);
  margin-bottom: 12px;
}


.pasza-order {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.pasza-order .form-control,
.pasza-order textarea {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.pasza-order .form-control:focus,
.pasza-order textarea:focus {
  border-color: #1E3A8A;
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.2);
}

.pasza-order .form-submit {
  margin-top: 6px;
}

.pasza-hero .button-main.button-scheme {
  color: #E2E8F0;
  border-color: rgba(226, 232, 240, 0.8);
}

.pasza-hero .button-main.button-scheme:hover {
  color: #0F172A;
  background-color: #E2E8F0;
  border-color: #E2E8F0;
}

.pasza-counter {
  margin-top: 22px;
}

.pasza-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.counter-box {
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

@media (max-width: 991.98px) {
  .pasza-hero {
    padding: 32px 22px;
  }

  .pasza-video-card {
    margin-top: 18px;
  }
}

@media (max-width: 575.98px) {
  .pasza-description,
  .pasza-order,
  .pasza-why {
    padding: 18px;
  }
}

/* Feed detail page video thumbnail */
.horse-thumb.horse-thumb-video {
  position: relative;
  display: block;
  overflow: hidden;
}

.horse-thumb.horse-thumb-video .video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.horse-thumb.horse-thumb-video:hover .video-play-icon {
  background: rgba(30, 58, 138, 0.95);
  transform: translate(-50%, -50%) scale(1.1);
}

.horse-thumb.horse-thumb-video img {
  transition: transform 0.3s ease;
}

.horse-thumb.horse-thumb-video:hover img {
  transform: scale(1.05);
}

.privacy-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 34px;
  margin-bottom: 56px;
}

.privacy-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid #E2E8F0;
  height: 100%;
}

.privacy-card-header {
  background: linear-gradient(135deg, #11203c 0%, #1E3A8A 60%, #2563EB 100%);
  border-radius: 16px;
  padding: 14px 18px;
  margin: -6px -4px 14px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.privacy-card-header h4 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #FFFFFF;
}

.privacy-card-header i {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.privacy-card-content {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.privacy-card-featured {
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.18);
}

.privacy-contact {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid #E2E8F0;
  margin-top: 10px;
  margin-bottom: 12px;
}

.privacy-contact .contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.privacy-contact .contact-item i {
  color: #1E3A8A;
  font-size: 22px;
}

.contact-item-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #0F172A;
  font-weight: 600;
}

.contact-label {
  color: #64748B;
  font-weight: 600;
}

.contact-item-body a {
  font-weight: 600;
  color: #1E3A8A;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .policy-hero {
    padding: 36px;
  }

  .policy-hero-title {
    font-size: 32px;
  }

  .policy-hero-visual {
    margin-top: 24px;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .policy-wrapper .lightbox-content {
    margin: 28px 0 24px;
    padding-bottom: 24px;
  }

  .policy-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .policy-hero {
    padding: 32px 24px;
  }

  .policy-hero-title {
    font-size: 28px;
  }

  .privacy-contact {
    padding: 20px 22px;
  }
}
.back-to-top i {
  color: #FFFFFF;
}

@media (max-width: 575.98px) {
  .horse-cta-row {
    gap: 8px;
  }

  .horse-cta-row .btn {
    padding: 10px 14px;
    font-size: 12.5px;
  }
}

.horse-cta-row .ask-question-btn {
  background: #ffffff;
  color: #1E3A8A;
  border: 1px solid #1E3A8A;
}

.horse-cta-row .ask-question-btn:hover,
.horse-cta-row .ask-question-btn:focus {
  background: #1E3A8A;
  color: #ffffff;
  border-color: #1E3A8A;
}

.lity-content {
  position: relative;
  overflow: visible;
}

.lity-image-wrapper {
  position: relative;
  display: inline-block;
}

.lity-image-wrapper::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 90px;
  height: 90px;
  background-image: url("../img/blue_ribbon_logo_black.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 10;
  pointer-events: none;
}

.lity-iframe-container {
  position: relative;
}

.lity-video-watermark {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 90px;
  height: 90px;
  background-image: url("../img/blue_ribbon_logo_white.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 9999;
  pointer-events: none;
}

/* Disable lightbox logo overlay only on feed detail pages */
body.feed-detail-page .lity-image-wrapper::before,
body.feed-detail-page .lity-video-watermark {
  display: none;
}

@media (max-width: 575px) {
  .lity-image-wrapper::before,
  .lity-video-watermark {
    top: 10px;
    left: 10px;
    width: 56px;
    height: 56px;
  }
}

/* Privacy Policy Page Styles */
.privacy-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.privacy-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid #E2E8F0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.privacy-card-header {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: #FFFFFF;
  padding: 20px;
  border-bottom: 1px solid #E2E8F0;
}

.privacy-card-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-card-header .icon {
  font-size: 24px;
  opacity: 0.9;
}

.privacy-card-content {
  padding: 25px;
  color: #334155;
  line-height: 1.7;
}

.privacy-card-content p {
  margin: 0;
  font-size: 15px;
}

.privacy-card-content a {
  color: #1E3A8A;
  text-decoration: underline;
  font-weight: 500;
}

.privacy-card-content a:hover {
  text-decoration: none;
}

.privacy-card-featured {
  box-shadow: 0 4px 6px rgba(30, 58, 138, 0.1);
}

.privacy-card-featured .privacy-card-header {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  margin-bottom: 15px;
}

.contact-item .icon {
  color: #1E3A8A;
  font-size: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item strong {
  color: #0F172A;
  display: block;
  margin-bottom: 5px;
}

.contact-item a {
  color: #1E3A8A;
  text-decoration: underline;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .privacy-sections-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-card-header {
    padding: 15px;
  }

  .privacy-card-header h4 {
    font-size: 16px;
  }

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

  .contact-item {
    padding: 15px;
  }
}

@media (max-width: 575px) {
  .privacy-sections-grid {
    margin-top: 30px;
  }

  .privacy-card-content {
    padding: 15px;
  }

  .privacy-card-content p {
    font-size: 14px;
  }
}
@media (max-width: 767.98px) {
  .home-area .home-content {
    margin-top: 50vh;
  }
}

/* Info icon tooltip */
.info-icon-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  margin-left: 6px;
  cursor: help;
}

/* Pasze: zmniejszenie odstępu po panelach akordeonu */
#pasze .lightbox-content .pasza-panels.single-section {
  margin-bottom: 40px;
}

/* Pasze: ujednolicone odstępy przed formularzem */
#pasze .lightbox-content .pasza-why.single-section {
  margin-bottom: 40px;
}

/* Pasze: wyrównanie video w hero na mobile do prawej strony */
@media (max-width: 767.98px) {
  .pasza-hero-video {
    object-position: calc(100% + 125px) 50%;
  }
}

@keyframes pasza-dots {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

/* Home hero loader */
.home-hero-loading {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #E2E8F0;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.6px;
  display: inline-flex;
  gap: 2px;
  align-items: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.home-hero-loading .dot {
  display: inline-block;
  animation: pasza-dots 1.1s infinite ease-in-out;
}

.home-hero-loading .dot-2 {
  animation-delay: 0.15s;
}

.home-hero-loading .dot-3 {
  animation-delay: 0.3s;
}

.home-hero-loading.hidden {
  display: none;
}

.info-icon-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 110%;
  transform: translateX(-50%);
  white-space: normal;
  min-width: 180px;
  max-width: 280px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 5;
}

.info-icon-tip:hover::after,
.info-icon-tip:focus::after {
  opacity: 1;
}
