:root {
  --navy: #052D58;
  --blue: #0076CC;
  --blue-dark: #005fa3;
  --ink: #141a20;
  --muted: #455a6d;
  --pale: #edf6fa;
  --line: #e3ebf1;
  --header-top: #004680;
  --footer: #001C38;
  --footer-bottom: #012B4F;
  --heading-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --body-font: "Inter", system-ui, sans-serif;
  --section-heading-size: 42px;
  --text-size: 16px;
  --site-width: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  background: #fff; 
  color: var(--ink); 
  font: var(--text-size)/1.6 var(--body-font); 
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { color: var(--navy); font-family: var(--heading-font); font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(38px, 3.45vw, 52px); letter-spacing: -.025em; }
h2, .section-heading h2, main h2, .section h2, .definition-copy h2, .quality-grid h2, .reviews-heading h2, .faq-grid h2, .quote h2 { 
  font-size: var(--section-heading-size); 
  letter-spacing: -.025em; 
  line-height: 1.18;
}
h3 { color: var(--navy); font-family: var(--heading-font); font-size: 16px; font-weight: 700; line-height: 1.3; }
p { font-family: var(--body-font); font-size: var(--text-size); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, summary { cursor: pointer; }
button { font-family: var(--body-font); }
:focus-visible { outline: 2px solid #008cde; outline-offset: 4px; }

/* 1440px Max Content Width Throughout the Site */
.container, .site-container { 
  width: min(100% - 48px, 1440px); 
  max-width: 1440px !important; 
  margin-inline: auto; 
}

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: 1rem; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 19px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--body-font) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.button--outline, .button--white { background: #fff; color: var(--blue); }
.button--outline { border-color: #67b1df; }
.button--outline:hover, .button--white:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.button--white { border-color: #fff; }

/* Header Top Bar */
.topbar { background: var(--header-top); color: #fff; font-size: 10px; font-weight: 700; font-family: var(--body-font); }
.topbar-inner, .topbar ul, .topbar li, .topbar a { display: flex; align-items: center; }
.topbar-inner { min-height: 32px; justify-content: space-between; gap: 12px; }
.topbar ul { gap: 20px; }
.topbar li, .topbar a { gap: 5px; }
.topbar a { white-space: nowrap; color: #fff; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 26px; }
.brand { flex: none; }
.brand img { width: 247px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 2.05vw, 32px); color: var(--navy); font-size: 11px; font-weight: 700; font-family: var(--body-font); }
.main-nav > a:not(.button):hover, .nav-dropdown a:hover { color: var(--blue); }
.main-nav .button { min-width: 96px; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 8px; list-style: none; font-family: var(--body-font); }
.nav-dropdown summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.nav-dropdown summary .icon { transform: rotate(90deg); }
.nav-dropdown[open] summary .icon { transform: rotate(-90deg); }
.nav-dropdown > div { position: absolute; z-index: 3; min-width: 175px; top: calc(100% + 12px); left: 0; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 25px #062d551c; }
.nav-dropdown a { display: block; padding: 9px; }
.cart-link { position: relative; display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--body-font); }
.cart-link em { font-style: normal; }
.cart-icon { position: relative; display: inline-flex; align-items: center; font-size: 17px; }
.cart-count { position: absolute; top: -8px; right: -10px; min-width: 16px; padding: 1px 4px; border-radius: 12px; background: #e95055; color: #fff; font-size: 9px; line-height: 1.3; text-align: center; font-weight: 700; }
.menu-toggle { display: none; }

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 490px;
  padding: 43px 0 39px;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 33%, rgba(255,255,255,.55) 58%, rgba(255,255,255,.30) 100%), url("../images/hero.webp") right center / cover no-repeat;
}
.hero-copy { width: 42%; max-width: 480px; }
.hero .eyebrow { margin-bottom: 24px; color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; font-family: var(--heading-font); }
.hero h1 { margin-bottom: 11px; font-family: var(--heading-font); }
.hero h1 span { display: block; color: var(--blue); }
.hero p { font-family: var(--body-font); }
.hero p + p { margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-actions .button--outline { background: #ffffffca; color: var(--navy); border-color: #bcd9ec; }
.hero-actions .button--outline:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.hero-features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 15px; color: var(--navy); text-align: center; font-family: var(--body-font); }
.hero-features li { padding: 0 4px; border-right: 1px solid #d8e8f0; font-size: 10px; font-weight: 700; line-height: 1.15; }
.hero-features li:last-child { border-right: 0; }
.hero-features .icon { display: block; margin: 0 auto 8px; color: var(--blue); font-size: 30px; }

/* Trust Strip */
.trust-strip, .reviews, .definition-points { background: var(--pale); }
.trust-inner { display: grid; align-items: center; grid-template-columns: 2.75fr 1.05fr 1.28fr .96fr 1fr; gap: 20px; min-height: 86px; color: var(--navy); font-family: var(--body-font); }
.trust-intro { font-size: 13px; font-weight: 700; }
.trust-point { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.12; }
.trust-point > .icon { font-size: 23px; color: var(--blue); }
.trust-point img { width: 27px; height: 27px; }
.trust-point strong, .trust-point div > span { display: block; }
.trust-point strong { margin-bottom: 3px; font-weight: 700; }
.trust-point div > span:not(.stars) { color: var(--muted); }
.stars { color: #ffaf00; white-space: nowrap; letter-spacing: -.02em; }
.trust-point .stars { font-size: 16px; line-height: 1; }

/* Section General */
.section { padding-block: 48px; }
.intro, #what-is, #pricing, #applications, #benefits { border-bottom: 1px solid #e5f0f5; }
.intro-grid { display: grid; grid-template-columns: 60% 40%; align-items: center; }
.intro-grid img { justify-self: center; width: min(72%, 265px); height: auto; }
.intro p, .definition-copy p { font-size: var(--text-size); line-height: 1.6; }
.intro p + p, .definition-copy p + p { margin-top: 10px; }
.intro .button, .definition-copy .button { margin-top: 22px; }
.intro-note { margin-top: 15px; font-size: 14px; font-style: italic; color: var(--muted); }

/* Definition / What is */
.definition-grid { display: grid; grid-template-columns: 29fr 44fr 25fr; gap: 16px; align-items: stretch; }
.definition-photo { width: 100%; height: 100%; min-height: 244px; object-fit: cover; border-radius: 8px; }
.definition-copy { align-self: center; }
.definition-copy h2 { margin-bottom: 12px; font-size: var(--section-heading-size); }
.definition-points { display: grid; align-content: space-between; gap: 16px; border-radius: 7px; padding: 18px 14px; color: var(--navy); font-weight: 700; font-size: 13px; font-family: var(--body-font); }
.definition-points li, .quality-points li, .quote-points li { display: flex; align-items: center; gap: 10px; }
.definition-points .icon { color: var(--blue); font-size: 21px; }

/* Products / Pricing */
.section-heading { margin-bottom: 24px; text-align: center; }
.section-heading h2 { font-size: var(--section-heading-size); }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: var(--text-size); font-family: var(--body-font); line-height: 1.5; }
.product-grid, .benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.product-card, .benefit-card, .application-card { border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 254px; padding: 13px; }
.product-body { display: grid; grid-template-columns: 38fr 57fr; align-items: start; gap: 13px; }
.product-body img { width: 100%; height: auto; }
.product-body h3 { font-size: 15px; }
.product-body p:not(.price) { color: var(--muted); font-size: 11px; line-height: 1.35; margin-top: 4px; }
.price { margin: 5px 0 3px; color: var(--blue); font: 800 20px/1.15 var(--heading-font); }
.product-actions { display: grid; grid-template-columns: .83fr 1.17fr; gap: 10px; }
.product-actions .button { min-width: 0; padding-inline: 5px; font-size: 10px; }

/* Applications Grid */
.application-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.application-card { overflow: hidden; color: var(--navy); box-shadow: 0 2px 6px #0d345807; transition: border-color .15s, transform .15s; background: #fff; }
.application-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.application-card img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.application-card > span { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 49px; padding: 8px 10px 8px 13px; font-size: 11px; font-weight: 700; line-height: 1.15; font-family: var(--body-font); }
.application-card .icon { font-size: 14px; color: var(--blue); }

/* Benefits / Why Choose */
.benefit-card { display: grid; grid-template-columns: 35px 1fr; gap: 16px; align-items: start; min-height: 104px; padding: 17px 15px; background: #fff; }
.benefit-card > .icon { color: var(--blue); font-size: 34px; margin-top: 6px; }
.benefit-card h3 { font-size: 13px; margin-bottom: 6px; }
.benefit-card p { color: var(--muted); font-size: 11px; line-height: 1.35; }

/* Quality Section */
.quality-grid { display: grid; grid-template-columns: 58fr 39fr; align-items: center; gap: 24px; }
.quality-grid > img { width: 100%; height: 134px; object-fit: cover; border-radius: 5px; }
.quality-grid p { max-width: 480px; margin-top: 8px; color: var(--muted); font-size: var(--text-size); line-height: 1.6; }
.quality-points { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 15px; color: var(--navy); font-size: 10px; font-weight: 700; font-family: var(--body-font); }
.quality-points .icon { color: var(--blue); font-size: 26px; }
.quality-points li { gap: 7px; }

/* Reviews / Testimonials */
.reviews { min-height: 354px; }
.reviews-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.reviews-heading h2 { font-size: var(--section-heading-size); }
.reviews-heading p, .faq-grid > div:first-child p { margin-top: 8px; color: var(--muted); font-size: var(--text-size); line-height: 1.5; }
.reviews-heading .button { background: transparent; color: var(--blue); }
.reviews-heading .button:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.review-layout { display: grid; grid-template-columns: 19fr 81fr; align-items: start; gap: 14px; }
.review-summary { display: grid; justify-items: center; align-self: start; padding-top: 36px; line-height: 1.08; font-size: 10px; font-family: var(--body-font); }
.review-summary strong { font-size: 15px; font-family: var(--heading-font); }
.review-summary .stars { font-size: 25px; margin-top: 2px; }
.google-word { margin-top: 5px; font-size: 23px; font-weight: 700; letter-spacing: -.06em; font-family: var(--body-font); }
.google-word span:nth-child(1), .google-word span:nth-child(4) { color: #4285f4; }
.google-word span:nth-child(2), .google-word span:nth-child(6) { color: #ea4335; }
.google-word span:nth-child(3) { color: #f9ab00; }
.google-word span:nth-child(5) { color: #34a853; }
.review-window { position: relative; min-width: 0; padding-right: 10px; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.review-card { min-width: 0; min-height: 156px; padding: 12px; border-radius: 8px; background: #f3f3f3; font-size: 11px; scroll-snap-align: start; font-family: var(--body-font); }
.review-author { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.review-author > div { min-width: 0; flex: 1; }
.review-author img { flex: none; }
.review-card h3 { overflow: hidden; color: #171717; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; font-family: var(--heading-font); }
.review-card small { color: #636363; font-size: 9px; }
.review-card .stars { font-size: 14px; }
.review-card p { margin: 3px 0; font-family: var(--body-font); line-height: 1.35; }
.review-card a { color: #555; font-size: 10px; }
.review-card a:hover { text-decoration: underline; }
.avatar { display: grid; flex: none; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #35515e; color: white; font-size: 13px; font-weight: 700; }
.avatar--s { background: #b21812; }
.avatar--a { background: #28397f; }
.avatar--v { background: #966230; }
.review-next { position: absolute; right: 0; top: 40%; display: grid; place-items: center; width: 23px; height: 23px; padding: 0; border: 1px solid #eee; border-radius: 50%; background: white; color: #404040; box-shadow: 0 2px 5px rgba(0,0,0,.15); }
.review-badge { float: right; margin: 8px 8px 0 0; padding: 3px 7px; border-radius: 2px; background: #117151; color: #fff; font-size: 8px; font-weight: 700; font-family: var(--body-font); }

/* FAQ Accordion */
.faq-grid { display: grid; grid-template-columns: 29fr 69fr; align-items: start; gap: 16px; }
.faq-grid h2 { font-size: var(--section-heading-size); }
.faq-grid > div:first-child p { max-width: 320px; font-size: var(--text-size); }
.faq-grid .button { margin-top: 13px; }
.faq-list { display: grid; gap: 6px; }
.faq-list details { border: 1px solid #dfe5e9; border-radius: 8px; background: #fff; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 39px; padding: 9px 12px; list-style: none; color: var(--navy); font-size: 14px; font-weight: 700; font-family: var(--body-font); }
.faq-list summary::after { content: "+"; font-size: 18px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 8px 14px 12px; border-top: 1px solid #e9edf0; color: var(--muted); font-family: var(--body-font); font-size: var(--text-size); line-height: 1.55; }

/* Pre-Footer Quote Banner */
.quote {
  min-height: 218px;
  padding-block: 40px;
  background: linear-gradient(105deg, var(--navy) 0%, #07578c 50%, #058bc3a1 100%), url("../images/water-texture.webp") right bottom / auto 100% no-repeat, #056296;
  color: #fff;
}
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 23.5%; gap: 30px; align-items: center; }
.quote h2 { color: #fff; font-family: var(--heading-font); font-size: var(--section-heading-size); }
.quote p { margin-top: 14px; font-size: var(--text-size); font-weight: 600; font-family: var(--body-font); line-height: 1.5; }
.quote-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 15px; font-size: 11px; font-weight: 700; font-family: var(--body-font); }
.quote-points .icon { font-size: 21px; color: #fff; }
.quote-actions { display: grid; gap: 11px; }

/* Site Footer */
.site-footer { color: #d4e1ef; background: var(--footer); font-size: 10px; font-family: var(--body-font); }
.footer-grid { display: grid; grid-template-columns: 1.9fr repeat(4, 1fr); gap: 22px; padding-block: 47px 27px; }
.footer-brand img { height: auto; }
.footer-brand p { margin-top: 12px; max-width: 270px; line-height: 1.55; font-family: var(--body-font); color: #cbd5e1; }
.social { display: grid; place-items: center; width: 23px; height: 23px; margin-top: 23px; background: #fff; border-radius: 50%; color: var(--footer); font: 700 17px/1 var(--body-font); }
.site-footer h2 { margin: 4px 0 14px; color: white; font: 700 11px/1.1 var(--heading-font); letter-spacing: normal; }
.site-footer li { margin-bottom: 10px; font-family: var(--body-font); }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-contact li .icon { margin-right: 3px; color: white; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact .button { margin-top: 3px; white-space: nowrap; }
.footer-bottom { background: var(--footer-bottom); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 54px; font-family: var(--body-font); }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-credit { color: #5ab4e6; }

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .container { width: min(100% - 48px, 1440px); }
  .main-nav { gap: 16px; }
  .hero-copy { width: 47%; }
  .trust-inner { gap: 12px; }
  .application-grid { gap: 9px; }
  .application-card > span { padding-inline: 7px; }
  .footer-grid { gap: 16px; }
}

@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .topbar li:last-child { display: none; }
  .header-inner { min-height: 71px; }
  .brand img { width: 207px; }
  .menu-toggle[aria-expanded="false"] + .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); font-weight: 700; font-family: var(--body-font); }
  .main-nav { position: absolute; z-index: 4; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 15px 15px; border: 1px solid var(--line); border-radius: 0 0 9px 9px; background: white; box-shadow: 0 8px 25px #062d551c; }
  .main-nav > a:not(.button), .nav-dropdown summary { padding-block: 11px; }
  .main-nav .button { align-self: flex-start; margin-top: 6px; }
  .cart-link { align-self: flex-start; }
  .nav-dropdown > div { position: static; margin: 0 0 8px; box-shadow: none; }
  .hero { min-height: 420px; background-position: 68% center; }
  .hero-copy { width: 60%; }
  .trust-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 14px; }
  .trust-intro { grid-column: 1 / -1; }
  .definition-grid { grid-template-columns: 38fr 62fr; }
  .definition-photo { min-height: 215px; }
  .definition-points { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
  .application-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .application-card > span { padding-inline: 12px; }
  .benefit-card { grid-template-columns: 26px 1fr; gap: 9px; }
  .benefit-card > .icon { font-size: 26px; }
  .product-body { grid-template-columns: 1fr; gap: 8px; }
  .product-body img { width: 100%; height: 104px; object-fit: contain; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 3); }
  .quote-grid { grid-template-columns: minmax(0, 1fr) 30%; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  h2, .section-heading h2, main h2, .section h2, .definition-copy h2, .quality-grid h2, .reviews-heading h2, .faq-grid h2, .quote h2 { font-size: clamp(28px, 7vw, 42px); }
  p { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .topbar ul { gap: 0; }
  .topbar li:nth-child(2) { display: none; }
  .section { padding-block: 32px; }
  .hero { align-items: flex-end; padding: 158px 0 28px; min-height: 0; background: linear-gradient(180deg, #ffffff0d, #ffffffe0 140px, #fff 225px), url("../images/hero.webp") right top / auto 240px no-repeat, #fff; }
  .hero-copy { width: 100%; max-width: none; }
  .hero .eyebrow { margin-bottom: 11px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .hero-actions .button { padding-inline: 10px; }
  .hero-features { margin-top: 19px; }
  .hero-features .icon { font-size: 25px; }
  .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .intro-grid, .definition-grid, .quality-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-grid img { width: min(63%, 230px); }
  .definition-photo { height: 190px; min-height: 0; }
  .definition-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .benefit-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-body { grid-template-columns: 35% 1fr; gap: 12px; }
  .product-body p:not(.price), .benefit-card p { font-size: 12px; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card { min-height: 0; }
  .quality-grid > img { height: 160px; }
  .quality-points { display: grid; grid-template-columns: 1fr 1fr; }
  .reviews-heading { align-items: flex-start; flex-direction: column; }
  .review-layout { grid-template-columns: minmax(0, 1fr); }
  .review-summary { padding: 0 0 6px; }
  .review-track { grid-auto-columns: calc((100% - 10px) / 2); }
  .review-window { padding-right: 8px; }
  .faq-grid > div:first-child p { max-width: none; }
  .quote { background-position: center, right bottom; }
  .quote-actions { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px 24px; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }
}

@media (max-width: 355px) {
  .review-track { grid-auto-columns: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Body copy, lists and menus: Inter 16px on every storefront page */
body { font-size: 16px; }
p, li, ol, ul, dl, dt, dd,
.main-nav > a:not(.button), .nav-dropdown summary, .nav-dropdown a, .cart-link {
  font-family: var(--body-font) !important;
  font-size: 16px !important;
  line-height: 1.6;
}

/* Footer text: 14px (more specific than the 16px body rule above) */
.footer-grid li, .footer-grid li a, .footer-grid p, .footer-bottom, .footer-bottom a {
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  line-height: 1.6;
}

/* Footer column headings */
.site-footer h2, .footer-grid h2 {
  font-size: 16px !important;
  line-height: 1.3;
}

/* Top bar: 2px smaller than body copy */
.topbar, .topbar li, .topbar a, .topbar span {
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  line-height: 1.6;
}

/* Keep the header/footer container gutters when the Tailwind CDN .container (width:100%) is also loaded */
.container, .site-container { width: min(100% - 48px, 1440px) !important; }
@media (max-width: 560px) { .container, .site-container { width: calc(100% - 32px) !important; } }

/* Mini basket drawer */
.mini-cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(6, 29, 51, .55); opacity: 0; transition: opacity .28s ease; }
.mini-cart-open .mini-cart-overlay { opacity: 1; }
.mini-cart { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; color: var(--navy); font-family: var(--body-font); box-shadow: -12px 0 40px rgba(6, 45, 85, .22); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; outline: none; }
.mini-cart-open .mini-cart { transform: none; visibility: visible; transition: transform .28s ease; }
.mini-cart-open body { overflow: hidden; }
.mini-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mini-cart-head h2 { font-size: 18px; font-weight: 800; margin: 0; }
.mini-cart-head h2 span { font-weight: 600; color: #64748b; }
.mini-cart-close { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--navy); padding: 0 4px; }
.mini-cart-items { flex: 1; margin: 0; padding: 6px 22px; list-style: none; overflow-y: auto; }
.mini-cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-cart-item img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mini-cart-name { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.mini-cart-name:hover { color: var(--blue); }
.mini-cart-unit { margin: 3px 0 8px; font-size: 12px; color: #64748b; }
.mini-cart-controls { display: flex; align-items: center; gap: 14px; }
.mini-cart-controls form:first-child { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mini-cart-controls form:first-child button { width: 30px; height: 30px; border: 0; background: #f1f7fb; cursor: pointer; font-size: 16px; color: var(--navy); }
.mini-cart-controls form:first-child span { min-width: 30px; text-align: center; font-size: 14px; font-weight: 700; }
.mini-cart-remove { border: 0; background: none; padding: 0; font-size: 12px; color: #b42318; text-decoration: underline; cursor: pointer; }
.mini-cart-line { font-size: 14px; white-space: nowrap; }
.mini-cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #f8fbfd; }
.mini-cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; }
.mini-cart-subtotal strong { font-size: 20px; }
.mini-cart-note { margin: 4px 0 14px; font-size: 12px; color: #64748b; }
.mini-cart-foot .button { display: flex; justify-content: center; width: 100%; }
.mini-cart-secondary { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--blue); }
.mini-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; color: #64748b; }
.mini-cart-empty .icon { font-size: 44px; color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .mini-cart, .mini-cart-overlay { transition: none; } }

/* Top bar centred, phone moved into the header */
.topbar-inner, .topbar ul { justify-content: center; }
.main-nav .header-phone-btn { display: inline-flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 20px; white-space: nowrap; font-size: 16px !important; font-weight: 700; line-height: 1.2; }
.header-phone-btn .icon { width: 18px; height: 18px; }

/* Footer contact: icon and text on one line */
.footer-contact li, .footer-contact li a { display: flex; align-items: center; gap: 8px; }
.footer-contact li .icon { display: inline-block; flex: none; width: 1em; height: 1em; margin-right: 0; }

/* About dropdown: wider so longer page names stay on one line */
.nav-dropdown > div { min-width: 270px; }
.nav-dropdown > div a { white-space: nowrap; }

/* Header stacking: keep the About dropdown above page content so its links are clickable */
.site-header { position: relative; z-index: 80; }
.site-header .header-inner { position: relative; z-index: 81; }
@media (min-width: 851px) { .site-header .main-nav { position: relative; z-index: 81; } }
@media (max-width: 850px) { .site-header .main-nav { position: absolute; z-index: 81; top: 100%; left: 0; right: 0; } }
.nav-dropdown > div { z-index: 90; pointer-events: auto; }
.nav-dropdown > div a { position: relative; cursor: pointer; pointer-events: auto; }

/* ===== Mobile polish (phones): readable heroes, clear type, tighter spacing ===== */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

@media (max-width: 700px) {
  /* Banner heroes: the picture becomes a strip above the text so nothing sits on top of the bottle */
  body .about-page .ap-hero--banner { display: block; padding: 0 0 28px; min-height: 0; background: #fff; }
  body .about-page .ap-hero--banner .ap-hero-bg { position: relative; display: block; width: 100%; height: 170px; object-fit: cover; object-position: 80% center; opacity: 1; }
  body .about-page .ap-hero--banner .ap-hero-grid { padding-top: 20px; }
  body .about-page .ap-hero--banner .ap-hero-grid > div { max-width: none; }
  body .about-page .ap-hero--banner .ap-hero-actions { margin-top: 20px; }
  body .about-page .ap-hero--banner .ap-hero-actions > * { flex: 1 1 100%; justify-content: center; text-align: center; }
  body .about-page .ap-hero { padding: 24px 0 32px; }
  body .about-page .ap-hero--center { padding: 32px 0; }

  /* Headings: normal letter spacing, sensible sizes, solid contrast */
  body main h1, body .about-page .ap-hero h1, body .home-page h1 { font-size: 30px !important; line-height: 1.18 !important; letter-spacing: -0.015em !important; }
  body main h2, body .home-page h2[class*="hp-heading"], body .about-page h2 { font-size: 25px !important; line-height: 1.22 !important; letter-spacing: -0.01em !important; }
  body main h3 { letter-spacing: -0.005em; line-height: 1.3; }
  body .about-page .ap-hero-lead, .about-page .ap-hero--banner .ap-hero-lead { color: #1f3a52; }
  body .about-page .ap-breadcrumb { margin-bottom: 10px; }

  /* Section spacing: far less empty space between blocks */
  body .about-page .ap-block, .about-page .ap-intro, .about-page .ap-products, .about-page .ap-local { padding: 32px 0; }
  body .home-page .hp-apps, .home-page .hp-why-section, .home-page .hp-quality-section, .home-page .hp-reviews-section, .home-page .hp-faq-section { padding: 32px 0 36px; }
  body .home-page .hp-cta { padding: 36px 0; }
  body .home-page .hp-trust-inner { gap: 14px; }
  body .shop-section { padding-top: 32px; padding-bottom: 40px; }
  body .blog-related { padding-top: 28px; padding-bottom: 36px; }
  body .about-page .ap-top-gap { margin-top: 16px; }
  body .home-page .hp-faq summary { padding: 14px 16px; }

  /* Tap targets and body text */
  body .blog-toc a, .ap-locations a, .blog-related a, .shop-section a.ck-link, .shop-section a.read-more { display: inline-block; padding-top: 6px; padding-bottom: 6px; }
  main p, main li { line-height: 1.65; }
}

@media (max-width: 700px) {
  /* Product: compact trust badges so price and Add to basket come sooner */
  body .product-page .pd-badges { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  body .product-page .pd-badges li { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 10px 14px; }
  body .product-page .pd-badges strong, body .product-page .pd-badges span { display: inline; font-size: 14px; }
  /* Blog: compact contents list */
  body .blog-single .blog-toc { padding: 16px 16px; }
  body .blog-single .blog-toc li { margin: 0; }
  body .blog-single .blog-toc a { padding: 5px 0; line-height: 1.4; font-size: 15px; }
}
@media (max-width: 700px) {
  /* Forms: 16px text stops phones zooming in, comfortable touch height */
  body input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
  body select, body textarea { font-size: 16px !important; min-height: 44px; }
  body textarea { min-height: 96px; }
  /* Basket quantity buttons */
  body .ck-qty button, body .cart-qty button, body [class*="qty"] button { min-width: 40px; min-height: 40px; }
  body .ap-breadcrumb, body .ck-breadcrumb { gap: 6px; }
}
@media (max-width: 900px) {
  /* Contact page: details and form stack instead of sitting side by side */
  body .ck-layout[style] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (min-width: 701px) and (max-width: 900px) {
  /* Tablets: same picture-strip hero so the heading never sits on the bottle */
  body .about-page .ap-hero--banner { display: block; padding: 0 0 36px; min-height: 0; background: #fff; }
  body .about-page .ap-hero--banner .ap-hero-bg { position: relative; display: block; width: 100%; height: 240px; object-fit: cover; object-position: 75% center; opacity: 1; }
  body .about-page .ap-hero--banner .ap-hero-grid { padding-top: 24px; }
  body .about-page .ap-hero--banner .ap-hero-grid > div { max-width: none; }
  body .about-page .ap-hero--banner h1 { letter-spacing: -0.015em !important; }
}

/* Hero, home-page style: text first, picture underneath (About page first; roll out to others once approved) */
@media (max-width: 900px) {
  body .about-page .ap-hero--banner { display: flex; flex-direction: column; padding: 0; min-height: 0; background: radial-gradient(circle at 52% 40%, #daf4ff 0%, transparent 55%), linear-gradient(110deg, #eaf8ff 0%, #fff 50%, #cfeefa 100%); }
  body .about-page .ap-hero--banner .ap-hero-grid { order: 1; padding: 22px 0 26px; }
  body .about-page .ap-hero--banner .ap-hero-bg { order: 2; height: 240px; object-position: 75% center; }
}
@media (min-width: 701px) and (max-width: 900px) {
  body .about-page .ap-hero--banner .ap-hero-bg { height: 300px; }
}
@media (max-width: 900px) {
  body .about-page .ap-hero--banner .ap-hero-grid { width: calc(100% - 48px); margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  body .about-page .ap-hero--banner .ap-hero-grid { width: calc(100% - 32px); }
}
/* CTA band: full-width photo with a readable overlay, no overflow */
@media (max-width: 900px) {
  body .home-page .hp-cta > img { width: 100%; object-position: center; }
  body .home-page .hp-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(4,64,122,.86), rgba(0,84,160,.82)); }
  body .home-page .hp-cta-inner { flex-direction: column; align-items: stretch; gap: 22px; }
  body .about-page .hp-cta-inner > div:first-child { flex: 0 0 auto; max-width: 100%; min-width: 0; }
  body .home-page .hp-cta-actions { width: 100%; }
  body .home-page .hp-cta-points { gap: 12px 22px; }
}
body .home-page .hp-cta-points li, body .home-page .hp-cta-points li * { color: #fff !important; }
body .home-page .hp-cta-points .icon { color: #fff; stroke: currentColor; flex: 0 0 auto; }
/* Footer spacing on phones: compact rows, text sizes unchanged */
@media (max-width: 700px) {
  body .site-footer .footer-grid { row-gap: 22px; padding-block: 28px 18px; }
  body .site-footer .footer-grid nav li a { min-height: 0; padding: 7px 0; display: inline-block; }
  body .site-footer .footer-grid li { margin-bottom: 0; }
  body .site-footer .footer-grid h2 { margin: 0 0 6px; }
  body .site-footer .footer-contact li, body .site-footer .footer-contact li a { min-height: 0; padding-block: 0; }
  body .site-footer .footer-contact li { margin-bottom: 10px; }
}
@media (max-width: 700px) {
  body .site-footer .footer-contact { grid-column: 1 / -1; }
  body .site-footer .footer-contact a { overflow-wrap: normal; word-break: normal; }
}
