
/* Brochure Mode - Full Width Layout */
.lm-brochure-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Override the shop grid layout */
.lm-shop-layout.lm-shop-layout--brochure {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lm-shop-layout.lm-shop-layout--brochure .lm-shop-sidebar {
  display: none !important;
}

.lm-shop-layout.lm-shop-layout--brochure .lm-shop-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure container-fluid works if not defined */
.container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Remove default padding from the item container to allow full bleed */
.lm-brochure-item {
  display: block;
  width: 100%;
  padding: 0; /* Remove padding */
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-sizing: border-box;
  margin: 0;
  background: #fff;
}

.lm-brochure-item:last-child {
  border-bottom: none;
}

/* Inner content wrapper - Stacked Layout */
.lm-brochure-item-inner {
  width: 100%;
  max-width: 100%; /* Full width for the image container */
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Stack vertical */
  gap: 0; /* No gap between image and text container */
  padding: 0; /* No padding on the wrapper itself */
}

/* On Desktop */
@media (min-width: 900px) {
  .lm-brochure-item {
      padding: 0; /* No vertical breathing room outside */
  }

  .lm-brochure-item-inner {
    padding: 0; 
    gap: 0;
  }
}

.lm-brochure-image {
  width: 100%;
  /* Fixed height for panoramic look, preventing it from getting too tall */
  height: 400px;
  max-height: 50vh; /* Never take more than half viewport height */
  overflow: hidden;
  border-radius: 0; /* Full bleed means no radius usually, or keep it if desired */
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* On huge screens, maybe let it grow a bit but cap it */
@media (min-width: 1600px) {
    .lm-brochure-image {
        height: 500px;
    }
}

@media (max-width: 600px) {
    .lm-brochure-image {
        height: 300px; /* Smaller on mobile */
    }
}

.lm-tile-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.lm-tile-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.lm-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.lm-brochure-content {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Add padding to the text block itself */
  padding: 30px 20px 50px; 
}

.lm-brochure-title {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.1;
  margin-top: 0;
}

@media (min-width: 900px) {
  .lm-brochure-title {
    font-size: 36px;
    margin-bottom: 14px;
  }
}

.lm-brochure-excerpt {
  font-family: var(--font-body);
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 600px;
}

.lm-brochure-excerpt p {
    margin-bottom: 0;
}

.lm-brochure-trigger {
  margin-top: 0;
  width: auto;
  display: inline-block;
  padding: 12px 24px;
  font-size: 13px;
}
