/* The Interior Park — targeted enhancements (responsive, popups, SEO-safe UI fixes) */
:root {
  --tip-bg: #f4f3ee;
  --tip-cream: #f2f3ed;
  --tip-wine: #6b0617;
  --tip-wine-2: #7b0c1f;
  --tip-ink: #1c1718;
  --tip-text: #64615e;
  --tip-line: #d9d5cf;
  --tip-shadow: 0 28px 80px rgba(0, 0, 0, .18);
  --tip-radius: 34px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden
}

img {
  max-width: 100%;
  height: auto
}

body {
  overflow-wrap: anywhere
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation
}

/* ---------- Global responsive polish ---------- */
.container-luxe {
  width: min(100%, 1340px);
  margin-inline: auto
}

.section-luxe {
  overflow: hidden
}

main section,
footer,
header {
  max-width: 100vw
}

main .grid,
main .flex {
  min-width: 0
}

main [class*="grid"],
main [class*="flex"]>* {
  min-width: 0
}

/* ---------- Header ---------- */
header.sticky {
  position: sticky;
  top: 0;
  z-index: 40;
}

header.sticky>.container-luxe {
  min-height: 78px !important;
  gap: 12px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

header.sticky a[aria-label="The Interior Park Home"] {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

header.sticky a[aria-label="The Interior Park Home"] img {
  display: block !important;
  width: 280px !important;
  height: 70px !important;
  max-width: 100% !important;
  max-height: 70px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
  filter: none !important;
}

header.sticky .tip-menu-btn,
header.sticky .tip-search-btn,
header.sticky button[aria-label*="Search" i],
header.sticky a[aria-label*="Search" i],
header.sticky .search-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--tip-ink)
}

header.sticky .tip-search-btn {
  font-size: 22px;
  line-height: 1
}

header.sticky .tip-menu-btn {
  font-size: 22px;
  line-height: 1
}

header.sticky button:not(.tip-menu-btn):not(.tip-search-btn),
header.sticky a[aria-label="Find The Interior Park Store"] {
  min-height: 44px !important;
}

/* ---------- Footer ---------- */
footer {
  overflow: hidden
}

footer .container-luxe>.grid {
  display: grid !important;
  grid-template-columns: 1.2fr .75fr .95fr 1.4fr !important;
  gap: 30px !important;
  align-items: start !important;
}

footer .container-luxe {
  padding-top: 32px !important;
  padding-bottom: 24px !important
}

footer a[aria-label="The Interior Park Home"] img {
  display: block !important;
  width: 190px !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}

footer ul {
  margin-top: 14px !important
}

footer ul li {
  margin-bottom: 6px !important
}

footer .border-t .container-luxe {
  padding-top: 16px !important;
  padding-bottom: 16px !important
}

footer .border-t .container-luxe>div {
  gap: 14px !important
}

footer p,
footer li,
footer a {
  overflow-wrap: anywhere
}

/* ---------- Collaboration section ---------- */
#collaborations-section {
  padding-top: 50px !important;
  padding-bottom: 46px !important
}

#collaborations-section .collaboration-main {
  align-items: center !important;
  gap: 42px !important
}

#collaborations-section .collaboration-photo {
  width: 100%;
  border-radius: 36px !important;
  object-fit: cover !important;
  aspect-ratio: 16/10;
  max-height: 540px !important;
}

#collaborations-section .collaboration-info {
  opacity: 1 !important;
  transform: none !important
}

#collaborations-section .collaboration-heading {
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.04em !important;
  max-width: 14ch !important;
}

#collaborations-section .collaboration-description {
  max-width: 37rem !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

#collaborations-section .collaboration-logos {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 20px !important;
  max-width: 720px !important;
}

#collaborations-section .collaboration-logo-box {
  background: transparent !important;
  height: 82px !important;
  padding: 8px 0 !important;
}

#collaborations-section .collaboration-logo {
  width: auto !important;
  height: auto !important;
  max-width: 170px !important;
  max-height: 70px !important;
  object-fit: contain !important;
  margin-inline: auto !important;
}

#collaborations-section .collaboration-stats {
  margin-top: 26px !important
}

#collaborations-section .collaboration-stats>* {
  min-width: 0
}

/* ---------- General forms ---------- */
main form input,
main form select,
main form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

main form textarea {
  resize: vertical
}

/* Homepage/contact enquiry section */
section:has(#contact-name) form,
section:has(input[name="fullName"]) form {
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

section:has(#contact-name) form>div:first-child,
section:has(input[name="fullName"]) form>div:first-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

section:has(#contact-name) form label,
section:has(input[name="fullName"]) form label {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #494644 !important
}

section:has(#contact-name) form input,
section:has(#contact-name) form select,
section:has(#contact-name) form textarea,
section:has(input[name="fullName"]) form input,
section:has(input[name="fullName"]) form select,
section:has(input[name="fullName"]) form textarea {
  border: 1px solid #ddd8d1 !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
}

section:has(#contact-name) form textarea,
section:has(input[name="fullName"]) form textarea {
  min-height: 110px !important
}

section:has(#contact-name) form>div:first-child>div:last-child,
section:has(input[name="fullName"]) form>div:first-child>div:last-child {
  grid-column: 1/-1 !important
}

section:has(#contact-name) form button[type="submit"],
section:has(input[name="fullName"]) form button[type="submit"] {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 12px !important;
  margin-top: 22px !important;
  font-size: 18px !important;
}

/* ---------- Product / category / shop ---------- */
main h1 {
  overflow-wrap: anywhere
}

main .product-prose {
  overflow-wrap: anywhere
}

main .aspect-square img {
  object-position: center
}

/* ---------- Overlay / popups ---------- */
.tip-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.tip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 14, .56);
  backdrop-filter: blur(6px);
}

.tip-dialog {
  position: relative;
  width: min(96vw, 1080px);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--tip-cream);
  color: var(--tip-ink);
  border-radius: 36px;
  padding: 28px 40px 36px;
  box-shadow: var(--tip-shadow);
}

.tip-dialog:focus {
  outline: none
}

.tip-x {
  position: absolute;
  right: 24px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #4a1422;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.tip-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  color: #8f3345;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}

.tip-eyebrow {
  margin: 0 0 12px;
  color: #8f3345;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.tip-title {
  margin: 0 48px 18px 0;
  color: var(--tip-ink);
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 600;
}

.tip-copy {
  max-width: 760px;
  margin: 0 0 28px;
  color: #6d6b67;
  font-size: 18px;
  line-height: 1.65;
}

.tip-form {
  display: grid;
  gap: 22px
}

.tip-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px
}

.tip-field {
  min-width: 0
}

.tip-field--full {
  grid-column: 1/-1
}

.tip-label {
  display: block;
  margin-bottom: 10px;
  color: #5e5b57;
  font-size: 16px;
  font-weight: 600
}

.tip-required::after {
  content: ' *';
  color: #5e5b57
}

.tip-form input,
.tip-form textarea,
.tip-form select,
#tip-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7d2cb;
  border-radius: 12px;
  padding: 18px 22px;
  outline: none;
  background: #fff;
  color: #272223;
  font-size: 18px;
  min-height: 72px;
}

.tip-form textarea {
  min-height: 156px;
  resize: vertical
}

.tip-form input::placeholder,
.tip-form textarea::placeholder {
  color: #b0ada9
}

.tip-form select {
  appearance: auto
}

.tip-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 12px
}

.tip-step {
  font-size: 14px;
  color: #9b9995
}

.tip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 18px 28px;
  min-width: 188px;
  min-height: 68px;
  background: var(--tip-wine);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.tip-cta:hover {
  background: var(--tip-wine-2)
}

.tip-cta--wide {
  min-width: 330px
}

.tip-cta .tip-arrow {
  font-size: 22px;
  line-height: 1
}

.tip-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center
}

.tip-quick img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #f8f4ef;
  border-radius: 16px
}

.tip-search-result {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e8e5df;
  color: inherit;
  text-decoration: none
}

.tip-search-result img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px
}

.tip-mobile-nav {
  display: grid;
  gap: 10px
}

.tip-mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid #e7e4de;
  color: inherit;
  text-decoration: none;
  font-size: 18px
}

.tip-page {
  min-width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 4px;
  background: #fff
}

.tip-page.active {
  background: var(--tip-wine);
  color: #fff;
  border-color: var(--tip-wine)
}

.tip-overlay a:focus,
.tip-overlay button:focus,
.tip-overlay input:focus,
.tip-overlay select:focus,
.tip-overlay textarea:focus {
  outline: 2px solid #bb9877;
  outline-offset: 2px
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  header.sticky>.container-luxe {
    min-height: 74px !important
  }

  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 210px !important;
    height: 58px !important;
    max-height: 58px !important
  }

  #collaborations-section .collaboration-main {
    gap: 28px !important
  }

  #collaborations-section .collaboration-photo {
    max-height: 430px !important
  }

  #collaborations-section .collaboration-logo {
    max-width: 145px !important;
    max-height: 58px !important
  }

  footer .container-luxe>.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important
  }

  .tip-dialog {
    width: min(96vw, 980px);
    padding: 24px 28px 30px
  }

  .tip-title {
    font-size: clamp(32px, 4vw, 48px)
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .section-luxe {
    padding-top: 36px !important;
    padding-bottom: 36px !important
  }

  header.sticky>.container-luxe {
    min-height: 68px !important;
    gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important
  }

  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 138px !important;
    height: 44px !important;
    max-height: 44px !important
  }

  header.sticky button:not(.tip-menu-btn):not(.tip-search-btn),
  header.sticky a[aria-label="Find The Interior Park Store"] {
    min-height: 38px !important;
    padding-inline: 12px !important;
    font-size: 11px !important
  }

  header.sticky .tip-menu-btn,
  header.sticky .tip-search-btn {
    width: 36px;
    height: 36px
  }

  main h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
    line-height: 1.08 !important
  }

  #collaborations-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important
  }

  #collaborations-section .collaboration-main {
    grid-template-columns: 1fr !important;
    gap: 20px !important
  }

  #collaborations-section .collaboration-photo {
    aspect-ratio: 4/3;
    max-height: 320px !important;
    border-radius: 26px !important
  }

  #collaborations-section .collaboration-heading {
    font-size: clamp(28px, 8vw, 38px) !important;
    max-width: 100% !important
  }

  #collaborations-section .collaboration-description {
    font-size: 15px !important;
    line-height: 1.7 !important
  }

  #collaborations-section .collaboration-logos {
    gap: 10px !important
  }

  #collaborations-section .collaboration-logo-box {
    height: 62px !important
  }

  #collaborations-section .collaboration-logo {
    max-width: 96px !important;
    max-height: 42px !important
  }

  section:has(#contact-name) form>div:first-child,
  section:has(input[name="fullName"]) form>div:first-child {
    grid-template-columns: 1fr !important;
    gap: 14px !important
  }

  section:has(#contact-name) form button[type="submit"],
  section:has(input[name="fullName"]) form button[type="submit"] {
    min-height: 52px !important;
    font-size: 16px !important
  }

  footer .container-luxe>.grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important
  }

  footer .container-luxe>.grid>div {
    grid-column: auto !important
  }

  footer a[aria-label="The Interior Park Home"] img {
    width: 160px !important;
    max-height: 60px !important
  }

  footer .border-t .container-luxe {
    flex-direction: column !important;
    align-items: flex-start !important
  }

  .tip-overlay {
    padding: 10px
  }

  .tip-dialog {
    width: 100%;
    border-radius: 26px;
    padding: 20px 16px 22px;
    max-height: 94vh
  }

  .tip-x {
    right: 14px;
    top: 12px;
    width: 34px;
    height: 34px;
    font-size: 30px
  }

  .tip-back {
    font-size: 12px;
    letter-spacing: .16em;
    margin-bottom: 16px
  }

  .tip-eyebrow {
    font-size: 12px;
    letter-spacing: .22em
  }

  .tip-title {
    font-size: clamp(26px, 8vw, 36px);
    margin-right: 36px;
    margin-bottom: 14px
  }

  .tip-copy {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px
  }

  .tip-form {
    gap: 16px
  }

  .tip-form-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .tip-label {
    font-size: 15px;
    margin-bottom: 8px
  }

  .tip-form input,
  .tip-form textarea,
  .tip-form select,
  #tip-search {
    min-height: 58px;
    padding: 14px 16px;
    font-size: 16px
  }

  .tip-form textarea {
    min-height: 120px
  }

  .tip-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px
  }

  .tip-step {
    order: 2
  }

  .tip-cta,
  .tip-cta--wide {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 17px;
    padding: 14px 18px
  }

  .tip-quick {
    grid-template-columns: 1fr
  }

  .tip-quick img {
    height: 220px
  }

  .tip-mobile-nav a {
    font-size: 17px
  }
}

@media (min-width: 1025px) {
  .tip-menu-btn {
    display: none !important
  }
}

/* Logo & CTA positioning — override earlier styles without shifting the header */
header.sticky>.container-luxe {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

header.sticky>.container-luxe>a[aria-label="The Interior Park Home"] {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: min(380px, 40vw) !important;
  margin-right: auto !important;
  order: 0 !important
}

header.sticky>.container-luxe>div {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  order: 1 !important
}

header.sticky a[aria-label="The Interior Park Home"] img {
  width: 340px !important;
  height: 76px !important;
  max-height: 76px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important
}

header.sticky .tip-menu-btn {
  order: 2 !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important
}

header.sticky .tip-search-btn {
  display: none !important
}

footer a[aria-label="The Interior Park Home"] img {
  width: 235px !important;
  max-height: 78px !important;
  filter: brightness(0) invert(1) !important
}

@media(min-width:1025px) {
  header.sticky>.container-luxe {
    min-height: 96px !important
  }
}

@media(min-width:768px) and (max-width:1024px) {
  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 245px !important;
    height: 62px !important;
    max-height: 62px !important
  }

  header.sticky>.container-luxe>div {
    gap: 10px !important
  }
}

@media(max-width:767px) {
  header.sticky>.container-luxe {
    min-height: 70px !important;
    gap: 6px !important
  }

  header.sticky>.container-luxe>a[aria-label="The Interior Park Home"] {
    max-width: 34vw !important
  }

  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 155px !important;
    height: 49px !important;
    max-height: 49px !important
  }

  header.sticky>.container-luxe>div {
    gap: 6px !important
  }

  header.sticky>.container-luxe>div>button,
  header.sticky>.container-luxe>div>a {
    padding-inline: 9px !important;
    min-height: 36px !important
  }

  header.sticky .tip-menu-btn {
    margin-left: 2px !important;
    width: 32px !important;
    height: 34px !important
  }

  footer a[aria-label="The Interior Park Home"] img {
    width: 180px !important;
    max-height: 64px !important
  }
}

@media(max-width:390px) {
  header.sticky>.container-luxe>a[aria-label="The Interior Park Home"] {
    max-width: 30vw !important
  }

  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 130px !important;
    height: 44px !important
  }

  header.sticky>.container-luxe>div>button,
  header.sticky>.container-luxe>div>a {
    font-size: 10px !important;
    padding-inline: 6px !important
  }
}

/* Visible logo enlargement only: preserve position, controls and page layout */
@media(min-width:1025px) {
  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 390px !important;
    height: 88px !important;
    max-height: 88px !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
  }

  header.sticky>.container-luxe>a[aria-label="The Interior Park Home"] {
    max-width: min(390px, 42vw) !important;
  }
}

@media(min-width:768px) and (max-width:1024px) {
  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 265px !important;
    height: 68px !important;
    max-height: 68px !important;
  }
}

@media(max-width:767px) {
  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 170px !important;
    height: 52px !important;
    max-height: 52px !important;
  }
}

footer a[aria-label="The Interior Park Home"] img {
  width: 270px !important;
  max-height: 92px !important;
}

/* ======================================================
   FINAL CLEAN RESPONSIVE FIXES
   Collaboration image centered / Compact 2-step popups
   Replaces the older duplicate overrides below this point.
====================================================== */

/* Enquiry popups: compact on desktop and tablet */
#tip-overlay {
  padding: 14px !important;
  box-sizing: border-box !important;
}
#tip-overlay .tip-dialog {
  box-sizing: border-box !important;
  width: min(92vw, 470px) !important;
  max-width: 470px !important;
  max-height: 78dvh !important;
  padding: 18px 20px !important;
  border-radius: 16px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
#tip-overlay .tip-title {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin: 0 28px 9px 0 !important;
}
#tip-overlay .tip-eyebrow {
  font-size: 10px !important;
  margin-bottom: 7px !important;
  letter-spacing: .16em !important;
}
#tip-overlay .tip-copy {
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin-bottom: 14px !important;
}
#tip-overlay .tip-back {
  margin-bottom: 12px !important;
  font-size: 11px !important;
}
#tip-overlay .tip-form {
  gap: 10px !important;
}
#tip-overlay .tip-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 11px 12px !important;
}
#tip-overlay .tip-field {
  min-width: 0 !important;
}
#tip-overlay .tip-field--full {
  grid-column: 1 / -1 !important;
}
#tip-overlay .tip-label {
  font-size: 11px !important;
  line-height: 1.35 !important;
  margin-bottom: 5px !important;
}
#tip-overlay .tip-form input,
#tip-overlay .tip-form select {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 9px 10px !important;
  font-size: 14px !important;
}
#tip-overlay .tip-form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 65px !important;
  padding: 9px 10px !important;
  font-size: 14px !important;
}
#tip-overlay .tip-actions {
  gap: 10px !important;
  padding-top: 4px !important;
}
#tip-overlay .tip-step {
  font-size: 11px !important;
}
#tip-overlay .tip-cta,
#tip-overlay .tip-cta--wide {
  min-height: 42px !important;
  min-width: 130px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}
#tip-overlay .tip-cta--wide {
  min-width: 200px !important;
}
#tip-overlay .tip-x {
  right: 12px !important;
  top: 10px !important;
  font-size: 26px !important;
}

/* Mobile only: center image relative to entire viewport / section */
@media (max-width: 767px) {
  #collaborations-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 0 !important;
    overflow-x: clip !important;
  }
  #collaborations-section > .container-luxe {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  #collaborations-section .collaboration-main {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
  }
  #collaborations-section .collaboration-main > div:first-child {
    box-sizing: border-box !important;
    flex: none !important;
    align-self: center !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  #collaborations-section .collaboration-photo {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 195px !important;
    max-height: 195px !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  #collaborations-section .collaboration-info {
    box-sizing: border-box !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }
  #collaborations-section h2.collaboration-heading {
    font-size: 22px !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
  #collaborations-section .collaboration-description {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }
  #collaborations-section .collaboration-logos {
    gap: 8px !important;
  }
  #collaborations-section .collaboration-logo-box {
    height: 50px !important;
  }
  #collaborations-section .collaboration-logo {
    max-width: 88px !important;
    max-height: 38px !important;
  }
}

/* Small phone popup: narrow but usable, single column, scrolls if required */
@media (max-width: 640px) {
  #tip-overlay {
    padding: 8px !important;
  }
  #tip-overlay .tip-dialog {
    width: min(calc(100vw - 24px), 330px) !important;
    max-width: 330px !important;
    max-height: 77dvh !important;
    padding: 14px 13px !important;
    border-radius: 14px !important;
  }
  #tip-overlay .tip-title {
    font-size: 19px !important;
    line-height: 1.2 !important;
  }
  #tip-overlay .tip-copy {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }
  #tip-overlay .tip-eyebrow {
    font-size: 9px !important;
  }
  #tip-overlay .tip-form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  #tip-overlay .tip-field {
    grid-column: 1 / -1 !important;
  }
  #tip-overlay .tip-label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  #tip-overlay .tip-form input,
  #tip-overlay .tip-form select {
    height: 41px !important;
    min-height: 41px !important;
    font-size: 16px !important;
  }
  #tip-overlay .tip-form textarea {
    min-height: 58px !important;
    font-size: 16px !important;
  }
  #tip-overlay .tip-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  #tip-overlay .tip-cta,
  #tip-overlay .tip-cta--wide {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
}


/* ===================================================
   FINAL COLLABORATIONS ALIGNMENT FIX
   Corrects inline translateX(-50px) on image wrapper.
   Center image on mobile; keep paired column centered
   on desktop without shifting other site sections.
=================================================== */
#collaborations-section .collaboration-main > div:first-child {
  transform: none !important;
  translate: none !important;
  opacity: 1 !important;
}
#collaborations-section .collaboration-info {
  transform: none !important;
  opacity: 1 !important;
}
#collaborations-section > .container-luxe {
  box-sizing: border-box !important;
  width: min(100% - 40px, 1260px) !important;
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#collaborations-section .collaboration-main {
  min-width: 0 !important;
}
@media (max-width: 767px) {
  #collaborations-section > .container-luxe {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #collaborations-section .collaboration-main {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
  }
  #collaborations-section .collaboration-main > div:first-child {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    margin-inline: auto !important;
    align-self: center !important;
    transform: none !important;
  }
  #collaborations-section .collaboration-photo {
    display: block !important;
    width: 100% !important;
    height: 195px !important;
    max-height: 195px !important;
    margin-inline: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  #collaborations-section .collaboration-info {
    width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    margin-inline: auto !important;
  }
}

/* =====================================
   COMPACT MOBILE FOOTER
   THE INTERIOR PARK
===================================== */

@media (max-width: 767px) {

  /* Reduce overall footer spacing */
  footer .container-luxe {
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }

  /* Arrange footer in two columns */
  footer .container-luxe > .grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
    align-items: start !important;
  }

  /* Brand section: full width */
  footer .container-luxe > .grid > div:first-child {
    grid-column: 1 / -1 !important;
  }

  /* Contact details: full width */
  footer .container-luxe > .grid > div:last-child {
    grid-column: 1 / -1 !important;
  }

  /* Footer logo */
  footer a[aria-label="The Interior Park Home"] img {
    width: 150px !important;
    max-height: 55px !important;
    object-fit: contain !important;
  }

  /* Footer description */
  footer p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* Footer section headings */
  footer p.uppercase {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
  }

  /* Reduce list spacing */
  footer ul {
    margin-top: 10px !important;
  }

  footer ul li {
    margin-bottom: 5px !important;
  }

  footer ul li a {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* Reduce social icon spacing */
  footer .flex.gap-3 {
    gap: 10px !important;
  }

  /* Bottom copyright section */
  footer .border-t .container-luxe {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  footer .border-t p,
  footer .border-t a {
    font-size: 10px !important;
    line-height: 1.5 !important;
  }
}

/* ======================================
   EXCLUSIVE COLLECTION MOBILE BANNER FIX
====================================== */

@media (max-width: 640px) {

  /* Banner container */
  section:has(img[alt="Made for your home."]) {
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Mobile banner layout */
  section:has(img[alt="Made for your home."])
  .sm\:hidden {
    height: auto !important;
    min-height: 0 !important;
  }

  /* Mobile text content */
  section:has(img[alt="Made for your home."])
  .sm\:hidden > div[class*="flex-col"] {
    width: 55% !important;
    padding: 12px !important;
    transform: none !important;
  }

  /* Heading */
  section:has(img[alt="Made for your home."])
  .sm\:hidden h2 {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin: 6px 0 !important;
  }

  /* Small labels */
  section:has(img[alt="Made for your home."])
  .sm\:hidden p.uppercase {
    font-size: 8px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
  }

  /* Description */
  section:has(img[alt="Made for your home."])
  .sm\:hidden p:not(.uppercase) {
    font-size: 9px !important;
    line-height: 1.4 !important;
  }

  /* Mobile banner image */
  section:has(img[alt="Made for your home."])
  .sm\:hidden img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* ======================================
   EXCLUSIVE COLLECTION MOBILE BANNER FIX
====================================== */

@media (max-width: 640px) {

  /* Banner container */
  section:has(img[alt="Made for your home."]) {
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Mobile banner layout */
  section:has(img[alt="Made for your home."])
  .sm\:hidden {
    height: auto !important;
    min-height: 0 !important;
  }

  /* Mobile text content */
  section:has(img[alt="Made for your home."])
  .sm\:hidden > div[class*="flex-col"] {
    width: 55% !important;
    padding: 12px !important;
    transform: none !important;
  }

  /* Heading */
  section:has(img[alt="Made for your home."])
  .sm\:hidden h2 {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin: 6px 0 !important;
  }

  /* Small labels */
  section:has(img[alt="Made for your home."])
  .sm\:hidden p.uppercase {
    font-size: 8px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
  }

  /* Description */
  section:has(img[alt="Made for your home."])
  .sm\:hidden p:not(.uppercase) {
    font-size: 9px !important;
    line-height: 1.4 !important;
  }

  /* Mobile banner image */
  section:has(img[alt="Made for your home."])
  .sm\:hidden img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* HomesToLife - Sofa Matching Background */

section:has(button[aria-label^="Next HomesToLife"]) {
    background-color: #554A47 !important;
}

/* Text remains readable */
section:has(button[aria-label^="Next HomesToLife"]) h2,
section:has(button[aria-label^="Next HomesToLife"]) p {
    color: #FFFFFF !important;
}

/* Mobile */
@media (max-width: 767px) {
    section:has(button[aria-label^="Next HomesToLife"]) {
        background-color: #554A47 !important;
    }
}

/* HomesToLife - Sofa Matching Background */

section:has(button[aria-label^="Next HomesToLife"]) {
    background-color: #ffff !important;
}

/* Text remains readable */
section:has(button[aria-label^="Next HomesToLife"]) h2,
section:has(button[aria-label^="Next HomesToLife"]) p {
    color: #FFFFFF !important;
}

/* HOMESTOLIFE SOFA SLIDER */

section:has(
  button[aria-label="Next HomesToLife banner"]
) > .container-luxe > .grid {
  background: #615d57 !important;
  transform: none !important;
  align-items: stretch !important;
}

/* Full sofa image without cropping */
section:has(
  button[aria-label="Next HomesToLife banner"]
) img[alt^="HomesToLife banner"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Image area matches sofa colour */
section:has(
  button[aria-label="Next HomesToLife banner"]
) .relative.overflow-hidden {
  background: #615d57 !important;
}

/* Remove maroon gradient */
section:has(
  button[aria-label="Next HomesToLife banner"]
) .pointer-events-none.bg-gradient-to-t {
  display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  section:has(
    button[aria-label="Next HomesToLife banner"]
  ) img[alt^="HomesToLife banner"] {
    object-fit: contain !important;
  }

  section:has(
    button[aria-label="Next HomesToLife banner"]
  ) .relative.overflow-hidden {
    height: 260px !important;
    min-height: 260px !important;
  }
}

/* HOMESTOLIFE SLIDER - REMOVE IMAGE GAPS */

section:has(
  button[aria-label="Next HomesToLife banner"]
) img[alt^="HomesToLife banner"] {
  width: 100% !important;
  height: 100% !important;

  /* Fill the entire image area */
  object-fit: cover !important;
  object-position: center center !important;
}

/* Remove extra padding around images */
section:has(
  button[aria-label="Next HomesToLife banner"]
) .relative.overflow-hidden {
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
}

/* Restore original maroon background */
section:has(
  button[aria-label="Next HomesToLife banner"]
) > .container-luxe > .grid {
  background: #300710 !important;
}

/* Mobile */
@media (max-width: 767px) {
  section:has(
    button[aria-label="Next HomesToLife banner"]
  ) .relative.overflow-hidden {
    height: 280px !important;
  }

  section:has(
    button[aria-label="Next HomesToLife banner"]
  ) img[alt^="HomesToLife banner"] {
    object-fit: cover !important;
  }
}

/* CONTACT PAGE - HIDE DEVELOPER MESSAGE */

/* Hide the paragraph beneath the Send Message button */
main form p:has(code),
main form p:has([class*="VITE_FORM_ENDPOINT"]) {
    display: none !important;
}

/* Reduce header logo size on desktop only */
@media (min-width: 1024px) {
  header.sticky a[aria-label="The Interior Park Home"] img {
    width: 240px !important;
    max-width: 240px !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
