/* Accessibility: text contrast fixes (7 Nov 2026). Keep at the top. */
.button.secondary,
.button.secondary span,
.flatsome-cookies__more-btn { color: #2b0136 !important; }
a[href*="instagram.com/saffronoutdoorlivingg"] { background-color: #1a5f9e !important; color: #ffffff !important; }
.absolute-footer,
.absolute-footer a,
.copyright-footer { color: #444444 !important; }

/* Homepage product blurbs: soft purple vertical dividers (hidden on phones for the 2x2 layout) */
.row-divided.seo-cols-4 > .col + .col,
.row-divided.seo-cols-2 > .col + .col { border-left-color: rgba(67, 2, 84, 0.25); }
@media (max-width: 549px) { .row-divided.seo-cols-4 > .col + .col { border-left: 0; } }

.footer-secondary .payment-icon svg { width: 40px; height: 20px; }
/* ================================
   Custom Button Styling
   ================================ */
.custom-button-purple {
  color: #430254 !important;
}

.custom-button-purple:hover {
  color: #5c0673 !important;
}

/* ================================
   Hidden SEO Text for Homepage Boxes
   ================================ */
.seo-awnings::after,
.seo-verandas::after,
.seo-pergolas::after,
.seo-composite-decking::after,
.seo-plantation-shutters::after,
.seo-glass-balustrades::after,
.seo-garden-rooms::after,
.seo-external-blinds::after {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  display: block !important;
  color: transparent !important;
}

/* Individual SEO phrases */
.seo-awnings::after {
  content: "Explore Our Outdoor Living Product Range";
}

.seo-verandas::after {
  content: "Discover Our Glass Veranda Range";
}

.seo-pergolas::after {
  content: "View Modern Pergola Designs";
}

.seo-composite-decking::after {
  content: "Browse Composite Decking Options";
}

.seo-plantation-shutters::after {
  content: "See Our Bespoke Plantation Shutters";
}

.seo-glass-balustrades::after {
  content: "Stylish Glass Balustrade Solutions";
}

.seo-garden-rooms::after {
  content: "Explore Garden Room Designs";
}

.seo-external-blinds::after {
  content: "Explore External Blinds and Shading Options";
}

/* ================================
   Home Product Row Layout
   ================================ */
.home-product-row .col {
  width: 33.333%;
  float: left;
}

@media (max-width: 767px) {
  .home-product-row .col {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .home-product-row .col {
    width: 100%;
  }
}

/* ================================
   PDF Brochure Buttons
   ================================ */
.brochure-buttons .col-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brochure-buttons .col-inner .button {
  margin-top: auto;
  align-self: center;
  background-color: #430254;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  min-width: 180px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.brochure-buttons .col-inner .button:hover {
  background-color: #FFD84C;
  color: #430254;
}

@media (max-width: 1024px) {
  .brochure-buttons .col-inner {
    height: auto;
  }

  .brochure-buttons .col-inner .button {
    margin-top: 1rem;
  }
}

/* ================================
   Bullet Point Styling
   ================================ */
.saffron-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.saffron-bullets li {
  margin-bottom: 0.5em;
  line-height: 1.35em;
  display: flex;
  align-items: flex-start;
}

.saffron-bullets li::before {
  content: "";
}

.saffron-bullets li strong {
  color: #fff;
}

.column-white .saffron-bullets li strong {
  color: #430254;
}

/* ================================
   Feature Highlights Responsive Fix
   ================================ */
@media only screen and (max-width: 768px) {
  .feature-highlight .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-highlight .col {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 25px;
    text-align: center;
  }

  .feature-highlight img {
    width: 100%;
    height: auto;
  }
}

/* ================================
   Home Product Row Responsive Adjustments
   ================================ */
@media (max-width: 768px) {
  .home-product-row .col {
    width: 100% !important;
    margin-bottom: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-product-row .col {
    width: 50% !important;
  }
}

/* ================================
   Icon Font Fix (Flatsome)
   ================================ */
@font-face {
  font-family: 'fl-icons';
  src: url('https://saffronol.com/wp-content/themes/flatsome/assets/css/icons/fl-icons.woff2?v=3.20.3') format('woff2');
  font-display: swap;
}
/* ===== POPUP 5747: FORCE ALL TEXT WHITE ===== */

#pum-5747,
#pum-5747 .pum-container,
#pum-5747 .pum-content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Solid purple background */
#pum-5747 .pum-container {
  background-color: #430254 !important;
  padding: 32px !important;
  border-radius: 16px !important;
}

/* Force white on ALL common elements (incl. spans) */
#pum-5747 .pum-container *,
#pum-5747 .pum-content *,
#pum-5747 .pum-content p *,
#pum-5747 .pum-content span,
#pum-5747 .pum-content small,
#pum-5747 .pum-content li,
#pum-5747 .pum-content div,
#pum-5747 .pum-content em,
#pum-5747 .pum-content strong,
#pum-5747 .pum-content a,
#pum-5747 h1,
#pum-5747 h2,
#pum-5747 h3,
#pum-5747 h4,
#pum-5747 h5,
#pum-574 { }

/* Showroom map: friendly message while cookies are declined */
.wpgmza_map.cmplz-blocked-content-container{
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:300px;
  background:#f6f1f8!important;
  border:1px solid #430254;
  border-radius:6px;
  padding:24px;
  box-sizing:border-box;
  color:#430254;
  font-size:1.05em;
  line-height:1.5;
}
.wpgmza_map.cmplz-blocked-content-container>*{display:none!important}
.wpgmza_map.cmplz-blocked-content-container::before{
  content:"To show our map, please accept cookies using the banner or the cookie settings link. You\2019ll find us at Unit 1a, 20 Rookwood Way, Haverhill, CB9 8PB.";
  max-width:32em;
}/* Body text: one consistent 105% */
#content :is(p, li):not(:has(span[style*="font-size: 130%"])):not(.box-text *):not(.banner *):not(.nav *):not(.sidebar *):not(.accordion-inner *) { font-size: 105%; }
#content .accordion-inner { font-size: 105%; }
#content :is(p, li) span:is([style*="font-size: 100%"],[style*="font-size: 105%"],[style*="font-size: 115%"]):not(:is(h1,h2,h3,h4,h5,h6,.banner) *) { font-size: inherit !important; }
#content :is(.text,.accordion-inner,.col-inner,.icon-box-text) > span:is([style*="font-size: 100%"],[style*="font-size: 105%"],[style*="font-size: 115%"]):not(:is(h1,h2,h3,h4,h5,h6,.banner) *) { font-size: 105% !important; }
/* Stops nested text (lists inside lists, paragraphs inside list items) enlarging twice */
#content :is(li, p) :is(li, p), #content .accordion-inner :is(li, ul, ol, p) { font-size: inherit !important; }
/* Portfolio grid: stop long titles overflowing the tiles on phones and tablets */
@media (max-width: 849px) {
  .portfolio-box .box-text { padding: 8px; }
  .portfolio-box .box-text-inner h6.portfolio-box-title {
    font-size: clamp(0.75rem, 3.4vw, 1rem) !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
  }
  .portfolio-box .portfolio-box-category { display: none; }
}
/* Portfolio grid: close the gaps between rows on phones and tablets */
@media (max-width: 849px) {
  .row-isotope {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
  }
  .row-isotope > .col {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
  }
	/* Portfolio grid: remove the blank line under each tile */
.row-isotope > .col > .col-inner {
  font-size: 0 !important;
  line-height: 0 !important;
}
.row-isotope .portfolio-box {
  font-size: 1rem;
  line-height: 1.3;
}
}	
/* Saffron purple buttons */
a.button.primary:not(.is-outline),
button.button.primary:not(.is-outline),
.button.primary:not(.is-outline) {
  background-color: #430254 !important;
  border-color: #430254 !important;
}
a.button.primary:not(.is-outline):hover,
.button.primary:not(.is-outline):hover {
  background-color: #5f1a74 !important;
}
#content .box-text-inner :is(p, li, span):not(:is(h1,h2,h3,h4,h5,h6) *){font-size:16.8px!important}

:is(.product-short-description,.woocommerce-Tabs-panel,.portfolio-inner) :is(p,li):not(:is(p,li) *):not(.saffron-breadcrumb):not(.price):not(.box-text *):not(.nav *):not(.accordion-inner *){font-size:105%}
	#content .accordion-inner{font-size:105%!important}
#content p[style*="font-size: 15px"]{font-size:105%!important}
#content p[style*="font-size: 17px"],#content p[style*="font-size: 18px"],#content p[style*="font-size: 1.1rem"]{font-size:105%!important}
#content :is(ul,ol).wp-block-list{font-size:inherit!important}