/* Trailer catalogue (range + trailer pages). Matches the Elementor kit:
   Cormorant Garamond headings, DM Sans text, cream #EFE8DA, accent #5A524C, text #1B1B1B. */
.tc {
  --tc-cream: #efe8da;
  --tc-accent: #5a524c;
  --tc-text: #1b1b1b;
  --tc-muted: #5f5852;
  --tc-line: #e5e7eb;
  --tc-band: rgba(239, 232, 218, 0.39);
  font-family: 'DM Sans', sans-serif;
  color: var(--tc-text);
}
.tc *,
.tc *::before,
.tc *::after {
  box-sizing: border-box;
}
.tc-wrap {
  width: min(100% - 40px, 1140px);
  margin-inline: auto;
}
.tc h1,
.tc h2,
.tc h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--tc-text);
  margin: 0;
}
.tc a {
  color: var(--tc-accent);
}
.tc p {
  margin: 0;
}

/* Hero */
.tc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  padding: 200px 0 90px;
  background: #2b2522 var(--tc-hero) center / cover no-repeat;
}
.tc-hero--short {
  min-height: 460px;
  padding-bottom: 60px;
}
.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1b1b1b 45%, rgba(27, 27, 27, 0.25) 100%);
  opacity: 0.72;
}
.tc-hero__inner {
  position: relative;
}
.tc-hero h1 {
  max-width: 760px;
  font-size: 52px;
  line-height: 1.05;
  color: var(--tc-cream);
  text-wrap: balance;
}
.tc-hero__intro {
  max-width: 610px;
  margin-top: 18px !important;
  font-size: 17px;
  line-height: 1.6;
  color: #fcfcfc;
}
.tc-eyebrow {
  margin: 0 0 10px !important;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tc-cream);
}
.tc-eyebrow--dark {
  color: var(--tc-accent);
}
.tc-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(252, 252, 252, 0.85);
}
.tc-crumbs li + li::before {
  content: '/';
  margin: 0 10px;
  opacity: 0.6;
}
.tc-crumbs a {
  color: var(--tc-cream) !important;
  text-decoration: none;
}
.tc-crumbs a:hover {
  text-decoration: underline;
}

/* Buttons (same pill style as the site) */
.tc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.tc-btn:hover {
  transform: translateY(-4px);
}
.tc .tc-btn--light {
  background: var(--tc-cream);
  color: var(--tc-accent);
}
.tc .tc-btn--outline-light {
  border-color: var(--tc-cream);
  color: var(--tc-cream);
}
.tc .tc-btn--dark {
  background: var(--tc-accent);
  color: var(--tc-cream);
}
.tc .tc-btn--outline {
  border-color: var(--tc-accent);
  color: var(--tc-accent);
}
.tc .tc-btn--light:hover,
.tc .tc-btn--outline-light:hover {
  background: var(--tc-accent);
  border-color: var(--tc-accent);
  color: var(--tc-cream);
}
.tc .tc-btn--dark:hover {
  background: var(--tc-text);
  color: #fff;
}
.tc .tc-btn--outline:hover {
  background: var(--tc-accent);
  color: var(--tc-cream);
}

/* Sections */
.tc-band {
  padding: 90px 0;
  background: var(--tc-band);
}
.tc-section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.tc-section-head h2,
.tc-more h2,
.tc-details h2 {
  font-size: 45px;
  line-height: 1;
}
.tc-section-head p:not(.tc-eyebrow) {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
}
.tc-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

/* Cards */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.tc-card {
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.1);
}
.tc-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  color: inherit !important;
  text-decoration: none;
}
.tc-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #e9e7e3;
}
.tc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tc-card:hover .tc-card__media img {
  transform: scale(1.04);
}
.tc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 16px;
}
.tc-card__title {
  font-size: 23px !important;
  line-height: 1.25 !important;
}
.tc-card__sku {
  margin-top: 6px !important;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-muted);
}
.tc-card__price {
  margin-top: 12px !important;
  font-size: 18px;
  font-weight: 500;
}
.tc-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--tc-accent);
}
.tc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 30px;
  background: var(--tc-accent);
  color: var(--tc-cream);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tc-badge--inline {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}

/* Other ranges */
.tc-more {
  padding: 80px 0;
  background: #fff;
}
.tc-ranges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.tc-ranges a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--tc-text) !important;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.tc-ranges a:hover {
  background: var(--tc-cream);
  border-color: var(--tc-cream);
}

/* Trailer page */
.tc-product {
  padding-top: 70px;
}
.tc-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.tc-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #e9e7e3 !important;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.tc-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tc-gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.7);
  color: #fff;
}
.tc-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tc-gallery__thumbs button {
  display: block;
  width: 100%;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #e9e7e3 !important;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}
.tc-gallery__thumbs button:hover,
.tc-gallery__thumbs button[aria-current='true'] {
  opacity: 1;
}
.tc-gallery__thumbs button[aria-current='true'] {
  border-color: var(--tc-accent) !important;
}
.tc-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-buy {
  padding: 34px;
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}
.tc-buy__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}
.tc-buy__price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--tc-muted);
}
.tc-buy__meta {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tc-line);
}
.tc-buy__meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--tc-line);
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.tc-buy__meta span {
  font-weight: 400;
  color: var(--tc-muted);
  text-align: left;
}
.tc-buy__note {
  margin-top: 20px !important;
  font-size: 16px;
  line-height: 1.6;
}
.tc-buy .tc-actions .tc-btn {
  flex: 1 1 100%;
  white-space: nowrap;
}
.tc-extras {
  margin-top: 30px;
}
.tc-extras h2 {
  font-size: 26px;
}
.tc-extras ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tc-extras li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
}
.tc-extras li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--tc-accent);
  border-bottom: 2px solid var(--tc-accent);
  transform: rotate(-45deg);
}

.tc-details {
  padding: 90px 0;
  background: #fff;
}
.tc-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.tc-overview h2,
.tc-specs h2 {
  margin-bottom: 22px;
}
.tc-overview p,
.tc-overview li {
  font-size: 16px;
  line-height: 1.7;
}
.tc-overview p + p,
.tc-overview ul + p,
.tc-overview p + ul {
  margin-top: 16px;
}
.tc-overview h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 26px;
}
.tc-overview ul {
  padding-left: 20px;
}
.tc-overview li + li {
  margin-top: 8px;
}
.tc-overview strong {
  font-weight: 700;
}
.tc-specs table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  border: 0;
}
.tc-specs th,
.tc-specs td {
  padding: 12px 14px;
  border: 0 !important;
  border-bottom: 1px solid var(--tc-line) !important;
  text-align: left;
  vertical-align: top;
  background: transparent !important;
}
.tc-specs tr:nth-child(odd) th,
.tc-specs tr:nth-child(odd) td {
  background: rgba(239, 232, 218, 0.4) !important;
}
.tc-specs th {
  width: 48%;
  font-weight: 400;
  color: var(--tc-muted);
}
.tc-specs td {
  font-weight: 500;
}
.tc-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 500;
}

/* Lightbox (rendered as a direct child of <body>) */
.tc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 70px;
  background: rgba(15, 13, 12, 0.94);
}
.tc-lightbox[hidden] {
  display: none;
}
.tc-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.tc-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(239, 232, 218, 0.5);
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.6);
  color: #efe8da;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.tc-lightbox button:hover,
.tc-lightbox button:focus-visible {
  background: #5a524c;
}
.tc-lightbox__close {
  top: 16px;
  right: 16px;
}
.tc-lightbox__prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.tc-lightbox__next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.tc-lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #efe8da;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .tc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tc-product__grid,
  .tc-details__grid {
    grid-template-columns: 1fr;
  }
  .tc-hero {
    min-height: 560px;
  }
}
@media (max-width: 767px) {
  .tc-hero,
  .tc-hero--short {
    min-height: 0;
    padding: 130px 0 56px;
  }
  .tc-hero h1 {
    font-size: 36px;
  }
  .tc-band,
  .tc-details,
  .tc-more {
    padding: 56px 0;
  }
  .tc-product {
    padding-top: 40px;
  }
  .tc-section-head h2,
  .tc-more h2,
  .tc-details h2 {
    font-size: 34px;
  }
  .tc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tc-buy {
    padding: 24px 20px;
  }
  .tc-buy__price {
    font-size: 34px;
  }
  .tc-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tc-lightbox {
    padding: 70px 10px;
  }
  .tc-lightbox__prev,
  .tc-lightbox__next {
    top: auto;
    bottom: 10px;
    transform: none;
  }
  .tc-lightbox__count {
    bottom: 24px;
  }
}
