/*
 * home.css — the home page's "shippable" card (home.php, operator 2026-10-21): a collage of the store's
 * shippable products, and the words on white below it (phones) or beside it (wider screens) — never
 * over a photo. The store's coral (storefront.css's --ncllc-sf-cta; white on it is 4.9:1).
 * !important only where the theme's `.wpdevart-main-container h2/p/a:not(…)` rules (which outrank any
 * plain class) set colour, case, size or underline — as header.css does.
 */
.ncllc-ship {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  margin: 0; background: #fff; border: 1px solid #efe4e1; border-radius: 16px;
  box-shadow: 0 6px 24px rgba(60, 30, 20, .08); color: #1d1d1f;
}

/* The collage: one large tile and two stacked beside it. */
.ncllc-ship__photos {
  position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px;
  aspect-ratio: 3 / 2; background: #f6efe9; text-decoration: none;
}
.ncllc-ship__tile { display: block; min-width: 0; min-height: 0; overflow: hidden; }
.ncllc-ship__tile--main { grid-row: 1 / 3; }
.ncllc-ship .ncllc-ship__img {
  display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover;
  transition: transform .4s ease;
}
.ncllc-ship__photos:hover .ncllc-ship__img { transform: scale(1.03); }
/* On a solid white pill, so it reads on any photo. */
.ncllc-ship__badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 10px; font-size: 14px; font-weight: 700; line-height: 1.2; color: #8a2f28;
  background: #fff; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.ncllc-ship__icon { flex: 0 0 auto; color: var(--ncllc-sf-cta, #c2493f); }

/* The words: on white, never over a photo. */
.ncllc-ship__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 20px 24px; }
.ncllc-ship .ncllc-ship__title {
  margin: 0; padding: 0; line-height: 1.15; letter-spacing: 0;
  font-size: 28px !important; font-weight: 800 !important; color: #1d1d1f !important; text-transform: none !important;
}
.ncllc-ship .ncllc-ship__text { margin: 0; line-height: 1.45; font-size: 17px !important; color: #3d3533 !important; }
.ncllc-ship .ncllc-ship__names { margin: 0; line-height: 1.4; font-size: 14px !important; color: #6b6260 !important; }
.ncllc-ship .ncllc-ship__cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 6px; padding: 0 28px;
  background: var(--ncllc-sf-cta, #c2493f); border-radius: 24px;
  font-size: 16px !important; font-weight: 700 !important; color: var(--ncllc-sf-cta-text, #fff) !important; text-decoration: none !important;
}
.ncllc-ship .ncllc-ship__cta:hover { color: var(--ncllc-sf-cta-text, #fff) !important; background: var(--ncllc-sf-cta-hover, #a93d34); }
.ncllc-ship .ncllc-ship__cta:focus-visible { outline: 3px solid var(--ncllc-sf-cta, #c2493f); outline-offset: 3px; }

/* Narrow phones: the badge stays within the large photo. */
@media (max-width: 400px) {
  .ncllc-ship__badge { left: 8px; bottom: 8px; padding: 6px 10px 6px 8px; font-size: 12.5px; gap: 5px; }
  .ncllc-ship__icon { width: 15px; height: 15px; }
}

/* Wider screens: the photos and the words side by side. */
@media (min-width: 720px) {
  .ncllc-ship { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; }
  .ncllc-ship__photos { aspect-ratio: auto; min-height: 380px; }
  .ncllc-ship__body { justify-content: center; padding: 32px 40px; }
  .ncllc-ship .ncllc-ship__title { font-size: 34px !important; }
  .ncllc-ship__badge { left: 16px; bottom: 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ncllc-ship .ncllc-ship__img { transition: none; }
  .ncllc-ship__photos:hover .ncllc-ship__img { transform: none; }
}
