/* Island Plates brand layer - loaded after style.css + seo-css.css.
   Colours and layout follow legacy www.islandplates.com (captured 12 Nov 2026):
   header #c4e8f5, USP bar #1b93c0, nav #10779e, green buttons #26b00a, navy #2a4c99, footer #1b93c0. */
:root {
  --ip-sky: #c4e8f5;
  --ip-blue: #1b93c0;
  --ip-nav: #10779e;
  --ip-navy: #0a3f70;
  --ip-royal: #2a4c99;
  --ip-green: #26b00a;
  --ip-green-dark: #1f9208;
}

/* ── Header ─────────────────────────────────────────────── */
.header.ip-header {
  background-color: var(--ip-sky);
  padding: 10px 0;
}
.ip-header .header-inner { align-items: center; }
.ip-header #logo { width: 236px; height: auto; display: block; }
.ip-header .countdown-bar { color: var(--ip-navy); left: 0; padding: 0 20px; }
.ip-header .countdown-bar strong { color: var(--ip-navy); font-size: 20px; }
.ip-header .countdown-bar span { color: #000; font-size: 28px; }
.ip-header .headright { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ip-header .ip-whatsapp { width: auto; height: auto; float: none; margin-top: 0; line-height: 1; }
.ip-header .ip-whatsapp img { width: 160px; height: auto; display: block; }
.ip-header .headright .buttonLabel,
.ip-header .basket-label { color: var(--ip-royal); font-weight: 700; }

/* ── USP bar + nav ──────────────────────────────────────── */
.ip-uspbar { background: var(--ip-blue); color: #fff; }
.ip-uspbar .ip-usps {
  display: flex; justify-content: space-between; gap: 10px;
  margin: 0; padding: 10px 0; font-size: 16px; font-weight: 800;
}
.ip-uspbar .mobile-countdown-bar { color: #fff; padding: 8px 0; text-align: center; }
.ip-uspbar .mobile-countdown-bar span { color: #fff; font-weight: 800; margin-left: 6px; }

.ip-nav { background: var(--ip-nav); }
.ip-nav ul { display: flex; flex-wrap: wrap; gap: 0 30px; margin: 0; padding: 8px 0; }
.ip-nav a { color: #fff; font-size: 17px; text-decoration: none; }
.ip-nav a:hover, .ip-nav li.is-active a { text-decoration: underline; }
.ip-nav-toggle { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }

/* ── Builder accents (legacy green ENTER REG + ADD TO BASKET, navy selected style) ── */
#maincontent #builder-menu #builder-menu-internal #builder-reg .entries { border-color: var(--ip-green) !important; }
.mmpb-btn-primary, .add-to-basket, #addToBasket, .addtobasket, .btn-add-basket {
  background-color: var(--ip-green) !important;
  border-color: var(--ip-green) !important;
  color: #fff !important;
}
.mmpb-btn-primary:hover, .add-to-basket:hover, #addToBasket:hover, .addtobasket:hover, .btn-add-basket:hover {
  background-color: var(--ip-green-dark) !important;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer.ip-footer { background-color: var(--ip-blue); color: #fff; }
.ip-footer .footer-logo { width: 236px; height: auto; }   /* light logo version, made for the blue footer */
.ip-foot-usps li { font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.ip-footer .footer-right img { width: 160px; height: auto; margin-top: 8px; }
.ip-footer .footer-copy a { color: #fff; }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ip-header #logo { width: 150px; }
  .ip-header .countdown-bar { display: none !important; }
  .ip-header .ip-whatsapp img { width: 110px; }
  .ip-uspbar .ip-usps { display: none; }
  .ip-nav-toggle { display: block; }
  .ip-nav ul { display: none; flex-direction: column; gap: 0; padding: 0 0 10px; }
  .ip-nav ul.is-open { display: flex; }
  .ip-nav li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.2); }
}
@media (min-width: 769px) {
  .ip-uspbar .mobile-countdown-bar { display: none !important; }
}

/* Mobile fixes after first preview (12 Nov 2026): CPD's mobile.css gives the countdown a grey box,
   which clashed with our white text; and legacy shows WhatsApp on phones, so keep it visible. */
@media (max-width: 768px) {
  .ip-uspbar .mobile-countdown-bar { background: transparent !important; color: #fff !important; font-family: inherit; font-size: 15px; }
  .ip-uspbar .mobile-countdown-bar span { color: #fff !important; font-size: 20px; }
  .ip-header .headright { display: flex !important; flex-direction: row; align-items: center; gap: 10px; }
  .ip-header .ip-whatsapp { display: block !important; }
  .ip-header .basket-label { display: none; }
}
/* theme.css forces the mobile ADD TO BASKET red (#e14023 !important); legacy is green */
html body #builder .your-price-mobile-wrap .add_cart_btn.crt-btn { background: #26b00a !important; }   /* extra specificity: theme.css loads after this file */

/* Info pages (FAQs, Contact, Privacy, T&Cs) - legacy copy, readable layout */
.ip-info-page { padding: 10px 0 50px; }
.ip-info-page .wrap { max-width: 1000px; }
.ip-info-page h1.entry-title { color: var(--ip-royal); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; margin: 10px 0 24px; }
.ip-info-page .entry-content { font-size: 16px; line-height: 1.7; color: #333; }
.ip-info-page .entry-content p { margin: 0 0 14px; }
.ip-info-page .entry-content p > strong:only-child { display: block; margin-top: 22px; color: var(--ip-navy); font-size: 17px; }
.ip-info-page .entry-content ol, .ip-info-page .entry-content ul { margin: 0 0 14px 22px; }
.ip-info-page .entry-content li { margin-bottom: 6px; }
.ip-info-page .entry-content a { color: var(--ip-blue); text-decoration: underline; }
.ip-page-text { max-width: 1000px; margin: 20px auto 0; font-size: 17px; line-height: 1.7; text-align: center; }

/* Island Plates builder (Matt, 12 Nov 2026): the only badge is the Jersey flag artwork, always clear (16 Nov 2026) -
   no badge colour choice. Badge type takes the full row. */
#builder #n1-badge-colour-row { display: none !important; }
#builder #n1-flag-panel { flex: 1 1 100% !important; width: 100% !important; max-width: none !important; }
