/* =================================================================
   IDG Showrooms — Public Stylesheet v2
   ================================================================= */

/* ── SINGLE PAGE: INFO PANEL ───────────────────────────────────── */

.idg-showroom-info {
  font-family: 'Montserrat', sans-serif;
  color: #2D3748;
}

.idg-showroom-title {
  font-family: 'PT Sans', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: #3a5246;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.idg-showroom-region {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #795431;
  background: rgba(121,84,49,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin: 0 0 1.75rem;
}

.idg-showroom-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #4A5568;
  margin: 0 0 1.5rem;
  padding-left: 0;
  border-left: 3px solid #E2E3DC;
  padding-left: 0.85rem;
}

.idg-contact-line {
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
  color: #2D3748;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.idg-contact-line strong {
  color: #3a5246;
  min-width: 45px;
}

.idg-contact-line a {
  color: #795431;
  text-decoration: none;
}

.idg-contact-line a:hover {
  text-decoration: underline;
}

.idg-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.7rem 1.75rem;
  background: #3a5246;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}

.idg-btn:hover {
  background: #795431;
  transform: translateY(-1px);
}

/* ── GALLERY COLUMN (no padding, fills full height) ────────────── */

.idg-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #E2E3DC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
}

.idg-gallery-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #E2E3DC;
}

.idg-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.idg-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
}

.idg-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 420px;
}

.idg-gallery-prev,
.idg-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(58,82,70,0.8);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}

.idg-gallery-prev { left: 14px; }
.idg-gallery-next { right: 14px; }
.idg-gallery-prev:hover,
.idg-gallery-next:hover { background: rgba(121,84,49,0.9); }

/* ── OPENING HOURS ─────────────────────────────────────────────── */

.idg-section-heading {
  font-family: 'PT Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #3a5246;
  margin: 0 0 1.25rem;
}

.idg-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
}

.idg-hours-table tr:first-child td { padding-top: 0; }

.idg-hours-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid #EDF2F7;
  color: #2D3748;
  vertical-align: middle;
}

.idg-hours-table .idg-day {
  font-weight: 600;
  width: 42%;
  color: #3a5246;
}

.idg-hours-table .idg-time {
  color: #4A5568;
}

.idg-hours-table tr.idg-closed .idg-day,
.idg-hours-table tr.idg-closed .idg-time {
  color: #CBD5E0;
}

.idg-hours-table tr.idg-closed .idg-time::after {
  content: '';
}

/* ── MAP — fills right column, no padding ─────────────────────── */

.idg-single-map-wrap {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.idg-map--single {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

.idg-no-map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  color: #CBD5E0;
  font-style: italic;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  background: #F7FAFC;
}

/* ── LEAFLET CUSTOMISATION ─────────────────────────────────────── */

.leaflet-popup-content-wrapper {
  border-radius: 4px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.leaflet-popup-content strong {
  color: #3a5246;
  font-size: 0.9rem;
}

.idg-popup-link {
  display: inline-block;
  margin-top: 5px;
  color: #795431;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.idg-popup-link:hover { text-decoration: underline; }

/* Custom marker */
.idg-marker {
  width: 28px;
  height: 28px;
  background: #3a5246;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.idg-marker--active {
  background: #795431;
  width: 34px;
  height: 34px;
}

/* ── DIRECTORY PAGE ────────────────────────────────────────────── */

.idg-directory-wrap {
  font-family: 'Montserrat', sans-serif;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
}

.idg-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.idg-search-bar input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 0.7rem 1rem;
  border: 1.5px solid #CBD5E0;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #2D3748;
  outline: none;
  transition: border-color 0.2s;
}

.idg-search-bar input:focus { border-color: #3a5246; }

.idg-search-bar select {
  padding: 0.7rem 1rem;
  border: 1.5px solid #CBD5E0;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #2D3748;
 
  cursor: pointer;
}

.idg-search-btn {
  padding: 0.7rem 1.5rem;
  background: #3a5246;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.idg-search-btn:hover { background: #795431; }

.idg-directory-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .idg-directory-body { grid-template-columns: 1fr; }
}

.idg-showroom-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.idg-showroom-card:hover,
.idg-showroom-card.is-active {
  border-color: #3a5246;
  box-shadow: 0 4px 18px rgba(58,82,70,0.1);
}

.idg-card-region {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #795431;
  margin: 0 0 0.35rem;
}

.idg-card-name {
  font-family: 'PT Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a5246;
  margin: 0 0 0.5rem;
  text-decoration: none;
  display: block;
}

.idg-card-name:hover { color: #795431; }

.idg-card-address {
  font-size: 0.83rem;
  color: #718096;
  line-height: 1.6;
  margin: 0 0 0.6rem;
}

.idg-card-tel {
  font-size: 0.83rem;
  color: #2D3748;
  margin: 0 0 0.9rem;
}

.idg-card-tel a { color: #795431; text-decoration: none; }
.idg-card-tel a:hover { text-decoration: underline; }

.idg-card-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #3a5246;
  color: #fff !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 3px;
  transition: background 0.2s;
}

.idg-card-link:hover { background: #795431; }

.idg-map-panel { position: sticky; top: 90px; }

.idg-map.idg-map--directory {
  width: 100%;
  height: 540px;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}

.idg-no-results {
  text-align: center;
  padding: 4rem 1rem;
  color: #CBD5E0;
  font-size: 0.9rem;
}

.idg-loading {
  text-align: center;
  padding: 2rem;
  color: #795431;
  font-size: 0.88rem;
}

/* ── ELEMENTOR HEIGHT INHERITANCE FIXES ───────────────────────── */
/* Make the Elementor container columns stretch to equal height */
#col-gallery.e-con,
#col-map.e-con {
  align-self: stretch;
}

/* Shortcode widget inside Elementor — allow full height */
#col-gallery .elementor-widget-shortcode,
#col-gallery .elementor-shortcode,
#col-map .elementor-widget-shortcode,
#col-map .elementor-shortcode {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.idg-gallery-carousel,
.idg-gallery-placeholder {
  flex: 1;
}

.idg-single-map-wrap,
.idg-single-map-wrap [id^="idg-map-"] {
  flex: 1;
  min-height: 450px;
}

/* ── SHOWROOM SINGLE — ELEMENTOR CONTAINER BG OVERRIDES ────────── */
/* Target by Elementor data-id since background_color in settings
   requires Elementor to regenerate its CSS file to apply */



[data-id="col-gallery"] {
  min-height: 420px;
}

[data-id="col-hours"] {
  background-color: #ffffff !important;
}

[data-id="col-map"] {
  background-color: #ffffff !important;
  min-height: 400px;
}

/* Row containers: full width, flush edges */
[data-id="row-top"],
[data-id="row-bottom"] {
  max-width: 100% !important;
  padding: 0 !important;
}

[data-id="row-top"] > .e-con-inner,
[data-id="row-bottom"] > .e-con-inner {
  max-width: 100% !important;
  padding: 0 !important;
  gap: 0 !important;
  flex-direction: row !important;
  align-items: stretch !important;
}

/* Col inner wrappers */
[data-id="col-info"] > .e-con-inner,
[data-id="col-gallery"] > .e-con-inner,
[data-id="col-hours"] > .e-con-inner,
[data-id="col-map"] > .e-con-inner {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
}

[data-id="col-info"] > .e-con-inner,
[data-id="col-hours"] > .e-con-inner {
  padding: 65px 55px !important;
}

/* Gallery and map fill height */
[data-id="col-gallery"],
[data-id="col-map"] {
  align-self: stretch;
}

[data-id="col-gallery"] .elementor-shortcode,
[data-id="col-map"] .elementor-shortcode,
[data-id="col-gallery"] .elementor-widget-shortcode,
[data-id="col-map"] .elementor-widget-shortcode {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

/* ── SECTION/COLUMN BACKGROUND OVERRIDES ─────────────────────── */
/* Elementor backgrounds require CSS regeneration to apply from data.
   Force them here via data-id selectors. */

[data-id="sec-top"] { padding: 0 !important; }
[data-id="sec-bottom"] { padding: 0 !important; }

[data-id="sec-top"] > .elementor-container,
[data-id="sec-bottom"] > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
  align-items: stretch !important;
}

[data-id="col-info"] > .elementor-widget-wrap {
  
  padding: 70px 55px !important;
}

[data-id="col-gallery"] > .elementor-widget-wrap {
  padding: 0 !important;
}

[data-id="col-hours"] > .elementor-widget-wrap {
  background-color: #ffffff !important;
  padding: 60px 55px !important;
}

[data-id="col-map"] > .elementor-widget-wrap {
  background-color: #ffffff !important;
  padding: 0 !important;
}

/* Gallery + map widget fill the column height */
[data-id="col-gallery"] > .elementor-widget-wrap,
[data-id="col-map"] > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  min-height: 450px;
}

[data-id="col-gallery"] .elementor-widget-shortcode,
[data-id="col-map"] .elementor-widget-shortcode {
  flex: 1;
  display: flex;
  flex-direction: column;
}

[data-id="col-gallery"] .elementor-shortcode,
[data-id="col-map"] .elementor-shortcode {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Map fills col-map height */
[data-id="col-map"] .idg-single-map-wrap,
[data-id="col-map"] [id^="idg-map-"] {
  flex: 1;
  min-height: 450px;
}

/* Gallery fills col-gallery height */
[data-id="col-gallery"] .idg-gallery-carousel,
[data-id="col-gallery"] .idg-gallery-placeholder {
  flex: 1;
}

[data-id="col-gallery"] .idg-gallery-slide img {
  min-height: 450px;
}

/* ── PREVENT BODY BACKGROUND BLEED ────────────────────────── */
body

/* =================================================================
   FIND A STOCKIST PAGE (page-id-1524)
   ================================================================= */

/* 1. White page body */
.page-id-1524 {
  background-color: #ffffff !important;
}
.page-id-1524 .e-con-boxed,
.page-id-1524 .e-con-boxed > .e-con-inner {
  background-color: transparent !important;
}

/* 2. Hero banner — dog photo, full width */
.page-id-1524 .entry-hero {
  background: url('https://incredibledogshower.co.uk/wp-content/uploads/2025/09/banner-image.jpg') top center / cover no-repeat !important;
  min-height: 55vh !important;
}

/* 3. Strip white from all wrappers inside the hero */
/* Only clear bg on the inner wrappers — NOT on the hero section itself */
.page-id-1524 .entry-hero .entry-header,
.page-id-1524 .entry-hero-container-inner {
  background-color: transparent !important;
}

/* 4. Layout: content at top-centre of the hero */
.page-id-1524 .entry-hero-container-inner {
  min-height: 55vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
  text-align: center !important;
}

/* 5. H1 typography */
.page-id-1524 .entry-hero .entry-title {
  font-family: "Roboto", Sans-serif !important;
  font-size: 3rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  background: transparent !important;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
}

/* 6. Tagline paragraph */
.page-id-1524 .idg-hero-tagline {
  text-align: center !important;
  font-family: "PT Sans", Sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  max-width: 860px;
  margin: 0 auto !important;
  line-height: 1.7;
  padding: 0 24px;
}

/* Hide the redundant Elementor hero container */
[data-id="fas-hero"] {
  display: none !important;
}

/* ── HERO SEARCH BAR ─────────────────────────────────────────────── */
.page-id-1524 .idg-hero-search {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 1.75rem auto 0;
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
  gap: 0;
}

.page-id-1524 .idg-hero-search .idg-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: var(--idg-radius, 6px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.page-id-1524 .idg-hero-search .idg-search-label {
  display: none;
}

.page-id-1524 .idg-hero-search #idg-hero-search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 14px 18px 14px 44px !important;
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23795431' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 14px center !important;
  color: var(--idg-dark, #2D3748);
}

.page-id-1524 .idg-hero-search #idg-hero-search-input::placeholder {
  color: #999;
}

.page-id-1524 .idg-hero-search #idg-hero-search-btn {
  background: var(--idg-green, #3a5246) !important;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-id-1524 .idg-hero-search #idg-hero-search-btn svg {
  fill: #ffffff;
  width: 18px;
  height: 18px;
}

/* ── HERO SEARCH BAR: FIX BUTTON/INPUT JOIN ─────────────────────── */
.page-id-1524 .idg-hero-search #idg-hero-search-input {
  border-radius: 0 !important;
}

.page-id-1524 .idg-hero-search #idg-hero-search-btn {
  border-radius: 0 !important;
}

/* Radius only on the outer container */
.page-id-1524 .idg-hero-search .idg-search-bar {
  border-radius: 6px !important;
  overflow: hidden !important;
}

/* ── HERO SEARCH: FIX BUTTON HEIGHT ─────────────────────────────── */
.page-id-1524 .idg-hero-search #idg-hero-search-btn {
  align-self: stretch !important;
  height: auto !important;
}
/* ── FIND A STOCKIST: REMOVE GAP BETWEEN HERO AND CONTENT ───────── */
.page-id-1524 .content-area {
  margin-top: -220px !important;
  position: relative;
  z-index: 10;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* Give the article a white background and rounded top corners so it sits as a card over the hero */
.page-id-1524 article.entry {
 
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  padding-top: 40px !important;
}
/* =================================================================
   SHOWROOM CARDS — GRID LAYOUT
   ================================================================= */

/* Grid wrapper */
.idg-cards-col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 40px 48px !important;
}

@media (max-width: 1024px) {
  .idg-cards-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .idg-cards-col { grid-template-columns: 1fr; padding: 24px !important; }
}

/* Individual card */
.idg-card {
  border: 1px solid #E2E3DC;
  border-radius: 8px;
  overflow: hidden;
  
  transition: box-shadow 0.2s ease;
}

.idg-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

/* Card body */
.idg-card-body {
  padding: 0 !important;
}

/* Card info */
.idg-card-info {
  padding: 24px 24px 28px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card title */
.idg-card-title {
  font-family: "PT Sans", sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--idg-green, #3a5246) !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.3;
}

/* Address */
.idg-card-info address {
  font-style: normal;
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 0 20px 0 !important;
  flex: 1;
}

/* View Location button */
.idg-card-info .idg-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto !important;
}

/* Search bar — remove bottom margin now cards are in grid */
.idg-search-wrap {
  margin-bottom: 0 !important;
}

/* Remove old left-column layout remnants */
.idg-showrooms-left,
.idg-showrooms-map-col {
  display: none !important;
}

/* =================================================================
   SHOWROOM CARDS — REDESIGNED LAYOUT v2
   ================================================================= */

/* Grid: 2 columns, wider cards */
.idg-cards-col {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  padding: 32px 32px 48px !important;
}

@media (max-width: 900px) {
  .idg-cards-col { grid-template-columns: 1fr !important; }
}

/* Card outer */
.idg-card {
  border: 1px solid #dde3dd !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #f4f7f4 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.idg-card:hover {
  box-shadow: 0 6px 24px rgba(58,82,70,0.13) !important;
  transform: translateY(-2px);
}

/* Card body: info left, image+button right */
.idg-card-body {
  display: flex !important;
  align-items: stretch !important;
  padding: 0 !important;
  min-height: 180px;
}

/* Left: info */
.idg-card-info {
  flex: 1 !important;
  padding: 28px 24px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Title */
.idg-card-title {
  font-family: "PT Sans", sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3a5246 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.3 !important;
}

/* Address */
.idg-card-info address {
  font-style: normal !important;
  font-size: 16px !important;
  color: #3d4d42 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}

/* Right: image + button */
.idg-card-right {
  width: 200px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-left: 1px solid #dde3dd !important;
}

.idg-card-thumb {
  flex: 1 !important;
  overflow: hidden !important;
}

.idg-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Full-width button under image */
.idg-btn-block {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  border-radius: 0 0 10px 0 !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
}

/* Fix image panel height — cap it so card stays compact */
.idg-card-right {
  width: 180px !important;
}

.idg-card-thumb {
  height: 140px !important;
  flex: none !important;
}

.idg-card-body {
  min-height: 0 !important;
}

/* Force row gap between cards */
.idg-cards-col {
  row-gap: 20px !important;
}

#idg-cards-list {
  display: contents !important;
}

/* =================================================================
   SHOWROOM LAYOUT: single card column left, map right
   ================================================================= */

/* Outer grid: cards left (40%), map right (60%) */
.idg-grid {
  display: grid !important;
  grid-template-columns: 420px 1fr !important;
  gap: 0 !important;
  align-items: start !important;
}

/* Cards column — single column list, scrollable */
.idg-cards-col {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  padding: 24px 20px 24px 24px !important;
  max-height: 700px;
  overflow-y: auto;
}

/* Cards list wrapper — normal flow */
#idg-cards-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Map column — restore it */
.idg-showrooms-map-col,
.idg-map-col,
#idg-map {
  display: block !important;
}

/* Map container height */
.idg-showrooms-map-col {
  height: 700px !important;
  position: sticky !important;
  top: 0 !important;
}

#idg-map {
  height: 700px !important;
  width: 100% !important;
}

/* Fix map column height — target correct map div ID */
.idg-map-col {
  height: 700px !important;
  position: sticky !important;
  top: 100px !important;
}

#idg-directory-map {
  height: 700px !important;
  width: 100% !important;
}

/* ── FIND A STOCKIST: SPACING FIXES ─────────────────────────────── */

/* 1. Remove padding-top on post-1524 */
.page-id-1524 #post-1524 {
  padding-top: 0 !important;
}

/* 2. Remove padding on entry-content-wrap */
.page-id-1524 .entry-content-wrap {
  padding: 0 !important;
}

/* 3. 40/60 split: cards left, map right */
.page-id-1524 .idg-grid {
  grid-template-columns: 40% 60% !important;
}

/* ── FIND A STOCKIST: FOOTER BACKGROUND ─────────────────────── */
.page-id-1524 footer .elementor-element.e-con {
  background-color: #EDF2F7 !important;
}

/* ── FIND A STOCKIST: REMOVE BOTTOM GAP + FIX BUTTON CASE ──────── */
.page-id-1524 .content-area { margin-bottom: 0 !important; }
.page-id-1524 .idg-btn-block { text-transform: none !important; }



/* ═══════════════════════════════════════════════════════════════
   SINGLE SHOWROOM PAGE — MATCHING FIND A STOCKIST WIDTH
   ═══════════════════════════════════════════════════════════════ */
.single-showroom .elementor-1517 .elementor-container {
  max-width: 1140px !important;
}


/* ── SINGLE SHOWROOM: ADDRESS / COLUMN FIXES ────────────────── */

/* Remove left border on address */
.single-showroom .idg-showroom-address {
  border-left: none !important;
  padding-left: 0 !important;
}

/* 30 / 70 column split — top section (info | gallery) */
.single-showroom .elementor-element-col-info {
  width: 40% !important;
}
.single-showroom .elementor-element-col-gallery {
  width: 60% !important;
}

/* 40 / 60 column split — bottom section (hours | map) */
.single-showroom .elementor-element-col-hours {
  width: 40% !important;
}
.single-showroom .elementor-element-col-map {
  width: 60% !important;
}


/* ── SINGLE SHOWROOM: PADDING / BG / HOURS / BUTTONS ─────────── */

/* Top padding so content doesn't press against nav */
.single-showroom .elementor-1517 {
  padding-top: 48px;
  background: #ffffff;
}

/* White background on both Elementor sections */


/* Info column padding */
.single-showroom .elementor-element-col-info .elementor-widget-wrap {
  padding: 40px 36px !important;
}

/* Showroom title */
.single-showroom .idg-showroom-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--idg-green, #3a5246);
  margin-bottom: 16px;
}

/* Address */
.single-showroom .idg-showroom-address {
  font-size: 15px;
  line-height: 1.8;
  color: #3d4d42;
  margin-bottom: 12px;
}

/* Tel */
.single-showroom .idg-contact-line {
  font-size: 15px;
  margin-bottom: 20px;
  color: #3d4d42;
}
.single-showroom .idg-contact-line a {
  color: var(--idg-green, #3a5246);
  text-decoration: none;
}

/* Inline opening hours */
.single-showroom .idg-showroom-hours-inline {
  margin-bottom: 28px;
}
.single-showroom .idg-contact-line strong,
.single-showroom .idg-contact-line a,
.single-showroom .idg-contact-line span {
  font-size: 16px !important;
  color: #7a7a7a !important;
  font-weight: 400 !important;
}

.single-showroom .idg-btn {
  text-transform: none !important;
}

.single-showroom .idg-hours-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--idg-green, #3a5246);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.single-showroom .idg-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.single-showroom .idg-hours-table td {
  padding: 4px 0;
  color: #3d4d42;
}
.single-showroom .idg-hours-table .idg-day {
  width: 110px;
  font-weight: 500;
}
.single-showroom .idg-hours-table tr.idg-closed td {
  color: #aaa;
}

/* Buttons */
.single-showroom .idg-showroom-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.single-showroom .idg-btn-directions,
.single-showroom .idg-btn-touch {
  display: inline-block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  font-family: inherit;
}
.single-showroom .idg-btn-directions {
  background: var(--idg-green, #3a5246);
  color: #ffffff;
}
.single-showroom .idg-btn-touch {
  background: transparent;
  color: var(--idg-green, #3a5246);
  border: 2px solid var(--idg-green, #3a5246);
}
.single-showroom .idg-btn-directions:hover,
.single-showroom .idg-btn-touch:hover {
  opacity: 0.85;
}


/* Fix Get in Touch button text colour (overrides Kadence white) */
.single-showroom .idg-btn-touch {
  color: var(--idg-green, #3a5246) !important;
}

/* Sidebar col — visible, 50/50 with map */
.single-showroom .elementor-element-col-hours {
  display: flex !important;
  width: 50% !important;
}

.single-showroom .elementor-element-col-map {
  width: 50% !important;
}

/* Sidebar content styles */
.single-showroom .idg-showroom-sidebar {
  font-family: "PT Sans", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #7a7a7a;
}

.single-showroom .idg-showroom-sidebar p {
  margin: 0 0 1rem;
}

.single-showroom .idg-showroom-sidebar a {
  color: #3a5246;
  text-decoration: underline;
}

.single-showroom .idg-showroom-sidebar h2,
.single-showroom .idg-showroom-sidebar h3 {
  font-family: "PT Sans", sans-serif;
  color: #3a5246;
  margin: 0 0 0.75rem;
}


/* ── SINGLE SHOWROOM — Address & Hours typography ───────────────── */
.single-showroom .idg-showroom-address,
.single-showroom .idg-showroom-address p,
.single-showroom .idg-showroom-address span,
.single-showroom .idg-contact-line,
.single-showroom .idg-contact-line span,
.single-showroom .idg-contact-line a,
.single-showroom .idg-hours-table td,
.single-showroom .idg-hours-table .idg-day,
.single-showroom .idg-hours-table .idg-time,
.single-showroom .idg-showroom-hours-inline td,
.single-showroom .idg-showroom-hours-inline .idg-day,
.single-showroom .idg-showroom-hours-inline .idg-time,
.single-showroom .idg-hours-heading {
  font-family: "PT Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #7a7a7a !important;
}

/* ── GALLERY SWIPER ─────────────────────────────────────────── */
.idg-gallery-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.idg-gallery-swiper {
    width: 100%;
    flex: 1;
    min-height: 0;
}
.idg-gallery-swiper .swiper-wrapper,
.idg-gallery-swiper .swiper-slide {
    height: 100%;
}
.idg-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.idg-gallery-swiper .swiper-button-prev,
.idg-gallery-swiper .swiper-button-next {
    color: #ffffff;
    background: rgba(58,82,70,0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.idg-gallery-swiper .swiper-button-prev::after,
.idg-gallery-swiper .swiper-button-next::after {
    font-size: 16px;
}
.idg-gallery-swiper .swiper-pagination-bullet-active {
    background: #3a5246;
}







/* =============================================
   DIRECTORY PAGE — MOBILE ≤767px
   ============================================= */
@media (max-width: 767px) {

    /* 1. Hero — reduce font & clip tagline */
    .page-id-1524 .entry-title,
    .page-id-1524 h1.entry-title {
        font-size: 30px !important;
        line-height: 38px !important;
    }
    .idg-hero-tagline {
        font-size: 14px !important;
        line-height: 20px !important;
        padding: 0 16px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .entry-hero-container-inner {
        padding: 32px 16px 20px !important;
    }

    /* 2. Search bar — full width pill, row layout, button always visible */
    .page-id-1524 .idg-hero-search {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }
    .page-id-1524 .idg-hero-search .idg-search-bar {
        flex-direction: row !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
    }
    /* Input stretches to fill */
    .page-id-1524 .idg-hero-search #idg-hero-search-input {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    /* Button stays compact on the right */
    .page-id-1524 .idg-hero-search #idg-hero-search-btn {
        width: auto !important;
        flex: 0 0 auto !important;
        padding: 0 16px !important;
    }

    /* 3. Grid — stack cards above map, beat .page-id-1524 specificity */
    .page-id-1524 .idg-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .page-id-1524 .idg-cards-col {
        width: 100% !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: grid !important;
        flex-direction: unset !important;
        grid-template-columns: 1fr !important;
        padding: 16px !important;
        row-gap: 16px !important;
    }
    .page-id-1524 .idg-map-col {
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        position: static !important;
        top: auto !important;
    }
    .idg-directory-wrap { padding: 0 !important; }
    .idg-showroom-card { padding: 16px !important; }

    /* 4. Map height */
    .page-id-1524 #idg-directory-map {
        height: 300px !important;
        min-height: 300px !important;
    }

    /* Fix vertical card name text */
    .idg-card-name {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }

    /* 5 & 6. Contact form */
    .page-id-1524 .elementor-1333 > .e-con,
    .page-id-1524 .elementor-1333 .e-con-boxed { padding-left: 20px !important; padding-right: 20px !important; }
    .page-id-1524 .elementor-1333 .e-con-full { flex-direction: column !important; }
    .page-id-1524 .elementor-1333 .e-con-full > .e-con { width: 100% !important; min-width: 100% !important; }
}
