﻿/* Base layout */
@font-face {
  font-family: IRANSans;
  src: url(../fonts/IRANSans.woff2);
}
@font-face {
  font-family: IRANSans;
  src: url(../fonts/IRANSans-Bold.woff2);
  font-weight: 700;
}
@font-face {
  font-family: Lato;
  src: url(../fonts/Lato.woff2);
}
:root {
  --ink: #173d43;
  --teal: #075f68;
  --aqua: #70b7b4;
  --line: #dfe8e7;
  --soft: #f6f9f8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: IRANSans, Tahoma;
  color: #294348;
  background: #fff;
  line-height: 1.9;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  height: 78px;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #edf1f0;
  backdrop-filter: blur(12px);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}
.logo {
  font: 24px Lato;
  letter-spacing: 8px;
  color: #0b5863;
}
.nav nav {
  display: flex;
  gap: 34px;
  direction: rtl;
  font-size: 15px;
}
.nav nav a {
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}
.nav nav a:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
}
.hero {
  height: 530px;
  position: relative;
  overflow: hidden;
  background: #eefafa;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.hero-copy > * {
  width: 45%;
}
.hero-logo {
  font: 48px Lato;
  letter-spacing: 14px;
  color: #075762;
}
.hero h1 {
  font-size: 24px;
  color: #075762;
  margin: 4px 0 22px;
}
.hero p {
  font-size: 16px;
  line-height: 2.2;
}
.btn {
  display: inline-flex !important;
  width: auto !important;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.hero .btn {
  align-self: flex-end;
  margin-left: calc(55% - 135px);
  margin-top: 12px;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.trust article {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 18px;
}
.trust article:last-child {
  border: 0;
}
.trust i,
.why-grid i {
  font-style: normal;
  color: var(--teal);
  font-size: 30px;
}
.trust b {
  font-size: 17px;
}
.trust span {
  font-size: 13px;
  color: #708185;
}
.section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid #edf1f0;
}
.title {
  text-align: center;
  margin-bottom: 35px;
}
.title h2 {
  margin: 0;
  color: #0a5b65;
  font-size: 26px;
}
.title p {
  margin: 4px;
  color: #718185;
  font-size: 15px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  direction: ltr;
}
.brand-card {
  direction: rtl;
  border-radius: 12px;
  border: 1px solid #dce7e6;
  padding: 28px 22px 22px;
  text-align: center;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(#eaf5f4, #f7fbfa);
}
.brand-card.blue {
  background: linear-gradient(#eef2fb, #f8f9fd);
}
.brand-card.sand {
  background: linear-gradient(#faf6ef, #fff);
}
.brand-card.green {
  background: linear-gradient(#f0f4e9, #fafbf7);
}
.brand-name {
  font: 18px Lato;
  letter-spacing: 3px;
  color: #12646d;
  min-height: 55px;
  direction: ltr;
}
.brand-card h3 {
  font-size: 16px;
  margin: 0;
}
.brand-card p {
  font-size: 14px;
  min-height: 48px;
}
.mini-products {
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: end;
}
.mini-products img {
  width: 46%;
  height: 150px;
  object-fit: contain;
  margin: -10px;
}
.small {
  font-size: 14px;
  margin-top: auto;
}
.ecosystem {
  background: #fcfdfd;
}
.orbit {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  direction: ltr;
  border-top: 1px solid #cbd9d8;
  padding-top: 28px;
}
.orbit > div:not(.orbit-logo) {
  display: flex;
  flex-direction: column;
}
.orbit b {
  font: 12px Lato;
  color: var(--teal);
}
.orbit span {
  font-size: 14px;
}
.orbit-logo {
  order: 2;
  border: 5px solid white;
  box-shadow: 0 0 0 2px #dfe5e4;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font: 19px Lato;
  letter-spacing: 4px;
  margin: auto;
  background: #fff;
}
.orbit-logo small {
  font: 10px IRANSans;
  letter-spacing: 0;
}
.compact {
  margin-top: 45px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-products a {
  text-align: center;
}
.home-products img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f5f8f7;
  border-radius: 10px;
}
.home-products h3 {
  font-size: 17px;
  margin: 10px 0 0;
}
.home-products p {
  font-size: 14px;
  margin: 0;
  color: #6d7e81;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  direction: ltr;
}
.catalog {
  height: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 25px #2344;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: #1b6e72;
  transform: perspective(500px) rotateY(-5deg);
}
.catalog.blue {
  background: #345b9a;
}
.catalog.sand {
  background: #77a39d;
}
.catalog.green {
  background: #687c4c;
}
.catalog span {
  font: 22px Lato;
  letter-spacing: 5px;
}
.catalog b {
  font-size: 13px;
}
.catalog i {
  font-style: normal;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 1px 12px;
  font-size: 26px;
  margin-top: 35px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 15px;
}
.about-image img {
  display: block;
  width: 100%;
  height: auto;
}
.about h2 {
  color: var(--ink);
}
.about p {
  font-size: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 35px;
}
.stats b {
  text-align: center;
  color: #08717a;
  font-size: 20px;
}
.stats small {
  display: block;
  color: #617477;
  font-weight: 400;
  font-size: 12px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.why-grid article {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 12px;
}
.why-grid h3 {
  font-size: 16px;
}
.why-grid p {
  font-size: 13px;
}
.contact-band {
  background: #fbfcfc;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.contact-box form {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  display: grid;
  gap: 8px;
}
.contact-box input,
.contact-box textarea {
  font: 12px IRANSans;
  padding: 10px;
  border: 1px solid #d8e2e1;
  border-radius: 5px;
}
.contact-box textarea {
  height: 90px;
  resize: vertical;
}
.contact-card {
  border-radius: 10px;
  padding: 30px 40px;
  background: linear-gradient(90deg, #f7faf9, #edf7f6);
  border: 1px solid #edf3f2;
}
.contact-card h3 {
  color: var(--teal);
  font-size: 16px;
  margin: 8px 0 0;
}
.contact-card p {
  font-size: 14px;
  margin: 0;
}
footer {
  background: linear-gradient(120deg, #0e262b, #193e45);
  color: #d9e4e4;
  padding-top: 45px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 50px;
}
.light {
  color: white;
}
.footer-grid h4 {
  margin-top: 0;
  color: white;
}
.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 13px;
  color: #bed0d2;
  margin: 6px 0;
}
.copyright {
  text-align: center;
  border-top: 1px solid #ffffff1a;
  padding: 18px;
  margin-top: 30px;
  font-size: 12px;
}
.page-hero {
  background: linear-gradient(100deg, #eaf7f6, #fff);
  text-align: center;
  padding: 70px 0;
}
.page-hero span {
  font: 13px Lato;
  letter-spacing: 5px;
  color: #6a9c9f;
}
.page-hero h1 {
  font-size: 36px;
  margin: 4px;
  color: var(--teal);
}
.page-hero p {
  margin: 0;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filters a {
  border: 1px solid var(--line);
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 14px;
}
.filters .active,
.filters a:hover {
  background: var(--teal);
  color: #fff;
}
.listing a {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
}
.listing .image {
  height: 260px;
  background: var(--soft);
  border-radius: 8px;
}
.listing img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.listing small {
  font: 10px Lato;
  letter-spacing: 1px;
  color: #6d9295;
}
.listing h3 {
  font-size: 17px;
  margin: 4px 0;
}
.listing p {
  font-size: 13px;
  color: #718084;
  min-height: 28px;
}
.listing span {
  font-size: 13px;
  color: var(--teal);
}
.empty {
  text-align: center;
  padding: 50px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.detail-image {
  height: 580px;
  background: var(--soft);
  border-radius: 16px;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail small {
  display: block;
  font: 13px Lato;
  letter-spacing: 2px;
  color: #7b9a9c;
  margin-top: 30px;
}
.product-detail h1 {
  font-size: 34px;
  color: var(--ink);
  margin: 5px 0;
}
.product-detail h2 {
  font-size: 18px;
  color: #6a8184;
}
.content {
  font-size: 16px;
}
.detail-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.detail-features span {
  background: #edf7f6;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
}
@media (max-width: 800px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }
  .site-header {
    height: 64px;
  }
  .menu-btn {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 25px;
    box-shadow: 0 10px 20px #1232;
    flex-direction: column;
    gap: 0;
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    padding: 10px;
  }
  .hero {
    height: 620px;
  }
  .hero > img {
    object-position: 62%;
    opacity: 0.45;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero-copy > * {
    width: 90%;
  }
  .hero-logo {
    font-size: 39px;
    letter-spacing: 10px;
  }
  .hero .btn {
    align-self: center;
    margin: 10px 0;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trust article {
    border: 0;
  }
  .brand-grid,
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .orbit {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .orbit-logo {
    grid-column: 1/-1;
    order: -1;
  }
  .about,
  .contact-box,
  .product-detail {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid article:last-child {
    grid-column: 1/-1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-image {
    height: 400px;
  }
}
@media (max-width: 480px) {
  .brand-grid,
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    font-size: 32px;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-card {
    min-height: 390px;
  }
}

/* Hosting responsive fix: show the whole homepage banner on tablets and phones. */
@media (max-width: 1024px) {
  .hero {
    background: #eefafa;
  }
  .hero > img {
    object-fit: contain;
    object-position: center top;
  }
}
@media (max-width: 640px) {
  .hero {
    height: clamp(540px, 82svh, 620px);
  }
  .hero > img {
    object-position: center top;
  }
}


/* API content */
.filter-group{text-align:center;margin-bottom:22px}.filter-group>b{display:block;color:var(--ink);margin-bottom:10px}.filter-group .filters{margin-bottom:0}.api-catalogs{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.api-catalogs .catalog{height:300px;padding:18px;background:#f4f8f7;color:var(--ink);transform:none;box-shadow:none;border:1px solid var(--line);position:relative}.api-catalogs .catalog img{width:100%;height:205px;object-fit:contain;border-radius:7px}.api-catalogs .catalog strong{font-size:14px;margin-top:8px}.api-catalogs .catalog small{font-size:12px;color:#718185}.api-catalogs .catalog i{position:absolute;left:25px;bottom:62px;color:#fff;background:var(--teal);margin:0;border:2px solid #fff;width:38px;height:38px;text-align:center;padding:0}
.site-header .nav{gap:36px}.site-header .nav>nav{height:100%;align-items:center;gap:26px;flex:1;justify-content:flex-start}.site-header .nav>nav>a,.site-header .nav-item>a{height:auto;display:flex;align-items:center;white-space:nowrap;padding:8px 0;border-bottom:2px solid transparent;line-height:1.5}.site-header .nav>nav>a:hover,.site-header .nav-item>a:hover{border-color:var(--teal)}.nav-item{height:100%;display:flex;align-items:center}.has-mega>a span{font-size:13px;margin-right:4px}.mega{display:none;position:absolute;top:77px;right:0;left:0;margin:auto;width:min(950px,calc(100% - 40px));grid-template-columns:1.1fr 1fr 1fr;gap:35px;background:#fff;padding:28px;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 18px 35px #173d4325}.has-mega:hover .mega{display:grid}.mega h4{margin:0 0 8px;color:var(--teal)}.mega>div>a{display:flex!important;justify-content:space-between;padding:7px 0!important;border:0!important;font-size:14px}.mega small{font:9px Lato;color:#829497;direction:ltr}.mega-intro{background:linear-gradient(135deg,#eaf7f6,#f8fbfa);border-radius:10px;padding:22px}.mega-intro b{font:24px Lato;letter-spacing:5px;color:var(--teal)}.mega-intro p{font-size:14px}.mega-intro a{color:var(--teal)}
.site-header .nav>nav>.club-btn{height:40px;align-self:center;margin-right:auto;background:var(--teal);color:#fff!important;border-radius:7px;padding:0 18px!important;border:1px solid var(--teal)!important;line-height:40px;box-shadow:0 5px 14px #075f6824;transition:.2s}.site-header .nav>nav>.club-btn:hover{background:#064d55;border-color:#064d55!important;transform:translateY(-1px)}
.auth-page{min-height:650px;background:linear-gradient(120deg,#e9f7f5,#fff);padding:70px 0}.auth-card{width:min(520px,100%);margin:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:0 18px 50px #18464b18}.auth-head{text-align:center}.auth-head .logo{display:block;margin-bottom:8px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eef5f4;border-radius:8px;padding:4px;margin:25px 0}.auth-tabs button{font-family:inherit;border:0;background:none;padding:10px;border-radius:6px}.auth-tabs button.active{background:#fff;color:var(--teal);box-shadow:0 2px 8px #1232}.auth-form{display:none;gap:10px}.auth-form.active{display:grid}.auth-form input{font:12px IRANSans;padding:12px;border:1px solid var(--line);border-radius:6px}.content-page{max-width:900px}.content-page h2{color:var(--teal)}.feature-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-cards article{border:1px solid var(--line);padding:25px;border-radius:12px;background:#fff}.brand-page-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:800px){.site-header .nav{gap:10px}.site-header .nav>nav{height:auto;align-items:stretch;gap:0;justify-content:initial}.site-header .nav>nav>a,.site-header .nav-item>a{padding:11px 4px;height:auto}.nav-item{height:auto;display:block}.has-mega:hover .mega{display:none}.has-mega.mega-open .mega{display:grid}.mega{position:static;width:100%;grid-template-columns:1fr;box-shadow:none;border-radius:8px;padding:15px;gap:12px}.site-header .nav>nav>.club-btn{height:42px;margin:10px 0 4px;justify-content:center;line-height:42px}.api-catalogs,.feature-cards,.brand-page-grid{grid-template-columns:1fr}.nav nav{max-height:calc(100vh - 64px);overflow:auto}}@media(max-width:480px){.api-catalogs{grid-template-columns:1fr}}


/* Shared components */
:root {
  --ink: #123347;
  --teal: #0c3e47;
  --soft: #f7f7f5;
}

body {
  color: var(--ink);
  background: #fefefe;
}

.wrap {
  width: min(1280px, calc(100% - 112px));
}

.btn {
  border-radius: 28px;
  padding: 10px 25px;
  gap: 16px;
  font-size: 14px;
}

.btn:hover {
  background: #185a63;
}

.btn.outline {
  border: 1px solid #527783;
  color: var(--teal);
  background: transparent;
}

a,
button {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid #277886;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -60px;
  right: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  height: 72px;
  background: #ffffffef;
  position: relative;
}

.site-header .nav {
  gap: 30px;
}

.site-header .nav>nav {
  justify-content: center;
  gap: 30px;
  font-size: 14px;
}

.logo {
  font:
    27px Lato,
    Arial;
  letter-spacing: 10px;
  color: #123347;
  white-space: nowrap;
  display: block;
  direction: ltr;
}

.logo small {
  display: block;
  font:
    6px Lato,
    Arial;
  letter-spacing: 2.2px;
  text-align: center;
  margin-top: 7px;
}

.header-tools {
  display: flex;
  gap: 26px;
  align-items: center;
}

.header-tools svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  display: block;
}

.header-tools button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.language {
  font: 12px Lato;
  margin-left: 32px;
}

.header-search:not([hidden]) {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: flex;
  gap: 15px;
  align-items: center;
  background: #fff;
  box-shadow: 0 10px 25px #1232;
  padding: 20px;
  direction: rtl;
  z-index: 30;
}

.header-search label {
  font-size: 14px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d9e2e2;
  border-radius: 8px;
  padding: 12px;
  font: 12px IRANSans;
}

.coastal-hero {
  height: clamp(410px, 34vw, 540px);
  position: relative;
  overflow: hidden;
  background: #dce9ed;
}

.coastal-hero>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}

.coastal-copy {
  direction: rtl;
  text-align: right;
  width: 35%;
  padding: 20px 0;
  color: #0b3d47;
}

.coastal-copy h1 {
  font-size: clamp(31px, 3.2vw, 49px);
  line-height: 1.55;
  margin: 16px 0;
}

.coastal-copy p {
  font-size: 16px;
  margin: 0 0 20px;
}

.coastal-copy .eyebrow {
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  direction: ltr;
  justify-content: flex-end;
}

.hero-actions a {
  direction: rtl;
  padding: 9px 22px;
  font-size: 12px;
}

.hero-motto {
  font: 15px/1.8 Lato;
  letter-spacing: 7px;
  align-self: center;
  margin-right: 5px;
  color: #234858;
}

.hero-motto span {
  display: block;
  margin-top: 24px;
  text-align: right;
}

.section-heading {
  text-align: center;
  margin: 0 0 24px;
}

.section-heading h2 {
  font-size: 27px;
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.section-heading p {
  font-size: 14px;
  color: #637485;
  margin: 3px 0 0;
}

.world-section {
  padding-top: 24px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  direction: ltr;
}

.world-card {
  border-radius: 42% 45% 28px 28px / 26% 22% 28px 28px;
  overflow: hidden;
  text-align: center;
  direction: rtl;
  background: #fbefed;
  transition: transform 0.25s;
}

.world-card:hover {
  transform: translateY(-5px);
}

.world-card.ocean {
  background: #edf5f9;
}

.world-card.ivory {
  background: #f2f0e9;
}

.world-card.sage {
  background: #eaf0e9;
}

.world-scene {
  height: 245px;
  position: relative;
  padding-top: 35px;
  background:
    radial-gradient(ellipse at 75% 15%, #fff9, transparent 60%),
    linear-gradient(145deg, #deb9ac66, #fff6);
}

.ocean .world-scene {
  background: linear-gradient(#c5e5f0, #eff9fc 65%, #bbd9df);
}

.ivory .world-scene {
  background: linear-gradient(135deg, #e9e5da, #faf9f4 60%, #dcd8cd);
}

.sage .world-scene {
  background:
    radial-gradient(ellipse at 5% 90%, #4d704a88, transparent 50%),
    linear-gradient(130deg, #e8efe4, #b6c9b6);
}

/* .world-scene:after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 9%;
  width: 82%;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(#fff, #dedbd0);
  box-shadow: 0 -2px 8px #ffffff80;
} */
.world-wordmark {
  position: relative;
  z-index: 2;
  font: 23px Lato;
  letter-spacing: 6px;
  color: #b86d5d;
}

.world-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 72%;
  max-width: 170px;
  height: 170px;
  top: -60px;
  object-fit: contain;
  margin: 0 auto
}

.brand-card-logo {
  display: block;
  width: min(80%, 190px);
  height: 80px;
  object-fit: contain;
  margin: 0 auto 14px
}

.site-header .logo img[src$="professional.webp"],
.laguna-footer .logo img[src$="professional.webp"] {
  width: 150px;
  height: 64px;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important
}

.world-wordmark small {
  font-size: 15px;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.ocean .world-wordmark {
  color: #173d81;
}

.ivory .world-wordmark {
  color: #8b7146;
}

.sage .world-wordmark {
  color: #246140;
}

.world-bottles {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 168px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.world-bottles img {
  width: 53%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(4px 8px 5px #22332218);
}

.world-bottles img+img {
  margin-left: -20px;
  height: 83%;
}

.world-caption {
  position: relative;
  padding: 14px 7px 17px;
  z-index: 3;
}

.world-caption h3 {
  font-size: 19px;
  margin: 0;
}

.rose .world-caption {
  color: #98382e;
}

.ocean .world-caption {
  color: #183b79;
}

.ivory .world-caption {
  color: #765328;
}

.world-caption p,
.world-caption span {
  font-size: 13px;
  margin: 0;
}

.category-section {
  padding: 22px 0;
}

.inline-heading {
  position: relative;
  margin-bottom: 12px;
}

.inline-heading>a {
  position: absolute;
  right: 0;
  font-size: 13px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.category-image {
  width: 150px;
  height: 150px;
  display: flex;
  margin: 0 auto 3px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7f7f5, #f0f0ed);
  border: 1px solid #fff;
}

.category-image img {
  height: 83%;
  width: 74%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.2s;
}

.category-row a:hover img {
  transform: scale(1.07);
}

.category-row b {
  font-size: 15px;
  font-weight: 400;
}

.category-symbol {
  font-size: 47px;
  color: #42787b;
}

.routine-banner {
  min-height: 280px;
  display: grid;
  grid-template-columns: 42% 32% 26%;
  direction: ltr;
  align-items: center;
  background:
    linear-gradient(110deg, #e4eff0aa, #ecf7f8e8),
    url("../img/laguna-hero.png") center bottom/cover;
}

.routine-portrait {
  align-self: stretch;
  border-radius: 0 90px 90px 0;
  background: url("../img/coastal-hero.png") 51% 47% / auto 155%;
  position: relative;
  overflow: hidden;
}

.routine-portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #173d4366, transparent 70%);
}

.routine-portrait span {
  position: absolute;
  left: 10%;
  top: 28%;
  font: 23px/1.3 Lato;
  letter-spacing: 3px;
  color: white;
  z-index: 1;
}

.routine-copy {
  direction: rtl;
  padding: 26px 28px;
}

.routine-copy h2,
.club-copy h2 {
  font-size: 26px;
  line-height: 1.7;
  margin: 0 0 7px;
}

.routine-copy p,
.club-copy p {
  font-size: 13px;
  line-height: 2;
  margin: 0 0 18px;
}

.routine-steps,
.club-perks {
  display: flex;
  justify-content: space-evenly;
  gap: 12px;
  direction: rtl;
  padding: 15px 25px;
  text-align: center;
}

.routine-steps i,
.club-perks i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffffb0;
  font: 36px Georgia;
  font-style: normal;
  margin: 0 auto 10px;
  border: 1px solid #e3e8e6;
  color: #164450;
}

.routine-steps span,
.club-perks span {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}

.club-banner {
  display: grid;
  grid-template-columns: 34% 40% 26%;
  direction: ltr;
  background: linear-gradient(110deg, #f0f0ed, #fff);
  min-height: 190px;
  overflow: hidden;
}

.club-copy {
  direction: rtl;
  padding: 26px 20px 22px 16%;
}

.club-perks {
  align-self: center;
  direction: ltr;
  padding: 12px;
}

.club-perks>div {
  direction: rtl;
}

.club-perks i {
  width: 53px;
  height: 53px;
  background: transparent;
  font-size: 31px;
}

.club-art {
  position: relative;
  background:
    linear-gradient(100deg, #164b55bb, #164b5520),
    url("../img/coastal-hero.png") 96% 60% / auto 180%;
  padding: 27px 30px;
  color: white;
  clip-path: polygon(8% 8%, 100% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.club-art>span {
  font: 23px Lato;
  letter-spacing: 8px;
}

.club-art small {
  display: block;
  font-size: 16px;
  letter-spacing: 3px;
  margin-top: 7px;
}

.club-art p {
  font: 9px/1.6 Lato;
  letter-spacing: 4px;
  border-left: 1px solid white;
  padding-left: 16px;
  margin-left: 50px;
}

.featured-section {
  padding: 20px 0 10px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  direction: ltr;
}

.featured-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(120deg, #f8f8f7, #f3f3f1);
  padding: 14px 12px;
}

.featured-card>a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-card img {
  height: 132px;
  width: 43%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.featured-card h3 {
  font-size: 14px;
  line-height: 1.9;
  margin: 15px 0;
}

.featured-card a>div {
  direction: rtl;
  flex: 1;
}

.featured-card a span {
  font-size: 12px;
  color: #5c7276;
}

.favorite-btn {
  position: absolute;
  top: 7px;
  right: 12px;
  border: 0;
  background: none;
  color: #87969c;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.favorite-btn[aria-pressed="true"] {
  color: #b95461;
}

.favorite-status {
  font-size: 13px;
  margin: 4px 0;
  min-height: 18px;
}

.journal-section {
  padding: 0 0 24px;
}

.journal-section .section-heading {
  margin-bottom: 14px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  direction: ltr;
}

.journal-card {
  background: #f7f7f5;
  border-radius: 12px;
  overflow: hidden;
}

.journal-card .journal-card-link {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
}

.journal-card .journal-card-link::-webkit-details-marker {
  display: none;
}

.journal-card .journal-card-link>span+span {
  direction: rtl;
  flex: 1;
  padding: 12px 18px 12px 0;
}

.journal-card b {
  font-size: 15px;
  font-weight: 400;
  display: block;
}

.journal-card small {
  display: block;
  font-size: 12px;
  margin-top: 15px;
}

.journal-image {
  display: block;
  width: 40%;
  height: 135px;
  flex-shrink: 0;
  border-radius: 12px;
  background: url("../img/coastal-hero.png") 96% 70% / auto 180%;
}

.journal-image.sun {
  background-position: 52% 40%;
  background-size: auto 180%;
}

.journal-image.care {
  background-image: url("../img/laguna-hero.png");
  background-position: 95% 70%;
}

.journal-card>p {
  font-size: 14px;
  direction: rtl;
  padding: 0 18px 15px;
}

.laguna-footer {
  background: #f4f4f2;
  color: var(--ink);
  padding-top: 25px;
}

.laguna-footer .footer-grid.footer-grid-clean {
  direction: rtl;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
}

.laguna-footer .footer-grid-clean .footer-brand {
  text-align: right;
}

@media(max-width:800px) {
  .laguna-footer .footer-grid.footer-grid-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:480px) {
  .laguna-footer .footer-grid.footer-grid-clean {
    grid-template-columns: 1fr
  }
}

.laguna-footer .footer-grid {
  grid-template-columns: 1.2fr 0.9fr 0.85fr 0.85fr 1.4fr;
  direction: ltr;
  gap: 35px;
}

.laguna-footer .footer-grid>div {
  direction: rtl;
}

.laguna-footer .footer-brand {
  text-align: left;
}

.laguna-footer h4 {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.laguna-footer .footer-grid a,
.laguna-footer .footer-grid p {
  color: #627080;
  font-size: 13px;
}

.laguna-footer .footer-grid .logo {
  font-size: 28px;
  color: var(--ink);
}

.laguna-footer .footer-grid .btn {
  color: white;
  margin-top: 10px;
  font-size: 13px;
}

.laguna-footer .copyright {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #e5e5e1;
  margin-top: 22px;
  font-size: 11px;
  padding: 12px 0;
}

.copyright span {
  margin-left: auto;
}

.footer-brand .logo small {
  text-align: right;
}

@media (min-width: 1600px) {
  .coastal-copy {
    padding-left: 0;
  }

  .coastal-hero {
    height: 540px;
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 60px);
  }

  .site-header .nav {
    gap: 20px;
  }

  .site-header .nav>nav {
    gap: 20px;
    font-size: 13px;
  }

  .language {
    margin-left: 0;
  }

  .header-tools {
    gap: 18px;
  }

  .world-scene {
    height: 205px;
  }

  .world-bottles {
    height: 140px;
  }

  .world-wordmark {
    font-size: 22px;
  }

  .world-caption h3 {
    font-size: 16px;
  }

  .routine-copy {
    padding: 20px;
  }

  .routine-copy h2,
  .club-copy h2 {
    font-size: 22px;
  }

  .routine-steps {
    padding: 10px;
    gap: 7px;
  }

  .routine-steps i {
    width: 53px;
    height: 53px;
  }

  .club-copy {
    padding-left: 25px;
  }

  .club-perks {
    gap: 6px;
  }

  .club-perks span {
    font-size: 11px;
  }

  .featured-grid {
    gap: 12px;
  }

  .featured-card img {
    height: 116px;
  }

  .laguna-footer .footer-grid {
    gap: 20px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions a {
    padding: 9px 14px;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 66px;
  }

  .site-header .nav {
    gap: 16px;
  }

  .site-header .nav>nav {
    display: none;
    top: 66px;
    height: auto;
    padding: 18px;
    align-items: stretch;
  }

  .site-header .nav>nav.open {
    display: flex;
  }

  .site-header .nav>nav a {
    padding: 10px;
  }

  .site-header .logo {
    margin-left: auto;
    font-size: 26px;
  }

  .logo small {
    font-size: 7px;
  }

  .header-tools {
    gap: 17px;
  }

  .menu-btn {
    order: -1;
    color: var(--ink);
  }

  .language {
    display: none;
  }

  .header-search:not([hidden]) {
    top: 66px;
    flex-wrap: wrap;
  }

  .header-search label {
    width: 100%;
  }

  .coastal-hero {
    height: 410px;
  }

  .coastal-hero>img {
    object-position: 55%;
  }

  .coastal-copy {
    width: 47%;
    background: #f7faf987;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(3px);
  }

  .coastal-copy h1 {
    font-size: 31px;
  }

  .coastal-copy p {
    font-size: 14px;
  }

  .hero-motto {
    display: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .world-scene {
    height: 245px;
  }

  .world-bottles {
    height: 170px;
  }

  .world-caption h3 {
    font-size: 19px;
  }

  .category-row {
    gap: 10px;
  }

  .category-image {
    width: 85px;
    height: 85px;
  }

  .category-row b {
    font-size: 13px;
  }

  .routine-banner {
    grid-template-columns: 40% 60%;
  }

  .routine-steps {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 20px;
  }

  .routine-portrait {
    grid-row: 1/3;
  }

  .routine-copy {
    padding: 24px;
  }

  .club-banner {
    grid-template-columns: 60% 40%;
  }

  .club-copy {
    padding: 24px;
  }

  .club-perks {
    grid-column: 1;
    grid-row: 2;
    padding: 10px 15px 25px;
  }

  .club-art {
    grid-column: 2;
    grid-row: 1/3;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid {
    gap: 12px;
  }

  .journal-card .journal-card-link {
    flex-direction: column;
    gap: 0;
  }

  .journal-image {
    width: 100%;
    height: 125px;
  }

  .journal-card .journal-card-link>span+span {
    padding: 15px;
    width: 100%;
  }

  .laguna-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-membership {
    grid-column: 2/4;
  }

  .section-heading h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .header-tools {
    gap: 14px;
  }

  .header-tools svg {
    width: 18px;
  }

  .site-header .nav {
    gap: 12px;
  }

  .site-header .logo {
    font-size: 23px;
    letter-spacing: 6px;
  }

  .coastal-hero {
    height: 560px;
  }

  .coastal-hero>img {
    height: 310px;
    object-position: 61% top;
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 20px;
  }

  .coastal-copy {
    width: 100%;
    background: linear-gradient(120deg, #f5f8f6, #e1edf0);
    backdrop-filter: none;
    padding: 20px;
  }

  .coastal-copy h1 {
    font-size: 31px;
    line-height: 1.5;
    margin: 6px 0;
  }

  .coastal-copy h1 br {
    display: none;
  }

  .coastal-copy .eyebrow {
    font-size: 12px;
    margin: 0;
  }

  .coastal-copy p {
    margin: 8px 0 14px;
  }

  .hero-actions {
    justify-content: flex-start;
    direction: rtl;
  }

  .world-section {
    padding-top: 22px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .section-heading p {
    font-size: 12px;
  }

  .world-grid {
    gap: 12px;
  }

  .world-scene {
    height: 195px;
    padding-top: 30px;
  }

  .world-wordmark {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .world-wordmark small {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .world-bottles {
    height: 125px;
    left: 3%;
    right: 3%;
  }

  .world-caption {
    padding: 10px 5px 13px;
  }

  .world-caption h3 {
    font-size: 14px;
  }

  .world-caption p,
  .world-caption span {
    font-size: 11px;
  }

  .category-row {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 15px;
  }

  .category-image {
    width: 83px;
    height: 83px;
  }

  .inline-heading {
    text-align: right;
    padding-bottom: 6px;
  }

  .inline-heading h2 {
    font-size: 21px;
  }

  .inline-heading>a {
    font-size: 11px;
  }

  .inline-heading h2 {
    padding-left: 75px;
  }

  .routine-banner {
    grid-template-columns: 1fr;
  }

  .routine-portrait {
    height: 210px;
    grid-row: auto;
    border-radius: 0 0 65px 0;
    background-size: auto 190%;
  }

  .routine-portrait span {
    top: 20%;
    font-size: 23px;
  }

  .routine-copy {
    padding: 22px 24px 8px;
  }

  .routine-steps {
    grid-column: 1;
    grid-row: auto;
    justify-content: space-evenly;
  }

  .club-banner {
    grid-template-columns: 1fr;
  }

  .club-copy {
    padding: 23px;
  }

  .club-perks {
    grid-column: 1;
    grid-row: auto;
  }

  .club-art {
    grid-column: 1;
    grid-row: auto;
    min-height: 160px;
    clip-path: none;
    background-size: cover;
    flex-direction: row;
    align-items: center;
  }

  .featured-grid {
    gap: 10px;
  }

  .featured-card {
    padding: 18px 9px 12px;
  }

  .featured-card>a {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .featured-card img {
    width: 100%;
    height: 120px;
  }

  .featured-card h3 {
    font-size: 13px;
    margin: 10px 0;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-card .journal-card-link {
    flex-direction: row;
  }

  .journal-image {
    width: 36%;
    height: 120px;
  }

  .journal-card .journal-card-link>span+span {
    padding: 14px;
  }

  .laguna-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-membership {
    grid-column: auto;
  }

  .laguna-footer .copyright {
    flex-wrap: wrap;
    gap: 15px;
  }

  .copyright span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.world-bottles {
  mix-blend-mode: multiply;
}

.world-bottles img {
  filter: none;
}

.club-art {
  background-size: auto 250%;
  background-position: 100% 65%;
}

/* Product gallery: compact two-row catalogue matching the supplied reference. */
.gallery-section {
  padding: 25px 0 20px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}

.gallery-header h2 {
  font-size: 27px;
  line-height: 1.5;
  margin: 0;
}

.gallery-header p {
  font-size: 14px;
  color: #718092;
  margin: 3px 0 0;
}

.gallery-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-filters button {
  font: 11px IRANSans;
  color: #40546b;
  border: 0;
  border-radius: 8px;
  background: #f2f3f4;
  min-width: 124px;
  padding: 10px 15px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.gallery-filters button:hover {
  background: #e8edef;
}

.gallery-filters button[aria-pressed="true"] {
  background: #fbe1db;
  color: #a15143;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.gallery-card {
  min-width: 0;
  text-align: center;
  border: 1px solid #eceeef;
  border-radius: 10px;
  background: linear-gradient(145deg, #f3f3f3 0%, #fafafa 50%, #fff 100%);
  padding: 5px 16px 9px;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-product {
  display: block;
}

.gallery-product img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.2s;
}

.gallery-product:hover img {
  transform: scale(1.04);
}

.gallery-product h3 {
  font-size: 15px;
  line-height: 2.5;
  margin: 0;
  min-height: 24px;
  color: #425d76;
  font-weight: 400;
}

.gallery-buy {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 148px;
  background: #edf1f2;
  color: #346571;
  border-radius: 7px;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 1.8;
}

.gallery-buy:hover {
  background: #dfe9eb;
}

.gallery-buy svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.gallery-status {
  font-size: 13px;
  color: #667c86;
  margin: 0;
}

.gallery-status:empty {
  display: none;
}

.gallery-status:not(:empty) {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .gallery-filters {
    gap: 8px;
  }

  .gallery-filters button {
    min-width: 105px;
    padding: 9px 10px;
  }

  .gallery-header {
    gap: 15px;
  }

  .gallery-header h2 {
    font-size: 25px;
  }

  .gallery-header p {
    font-size: 13px;
  }

  .gallery-product img {
    height: 108px;
  }

  .gallery-product h3 {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .gallery-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gallery-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-filters button {
    min-width: 0;
    font-size: 12px;
    padding: 10px 4px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .gallery-product img {
    height: 135px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding-top: 22px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }

  .gallery-filters {
    gap: 5px;
  }

  .gallery-filters button {
    font-size: 11px;
    padding: 9px 3px;
  }

  .gallery-card {
    padding: 6px 8px 9px;
  }

  .gallery-product img {
    height: 112px;
  }

  .gallery-product h3 {
    font-size: 13px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-buy {
    min-width: 0;
    width: 100%;
    max-width: 148px;
    font-size: 11px;
  }
}

/* Consistent spacing between homepage sections. */
.laguna-home {
  --section-gap: 64px;
  --heading-gap: 28px;
  display: flow-root;
  padding-bottom: var(--section-gap);
}

.laguna-home>section+section {
  margin-top: var(--section-gap);
}

.laguna-home>.world-section,
.laguna-home>.category-section,
.laguna-home>.gallery-section,
.laguna-home>.journal-section {
  padding-top: 0;
  padding-bottom: 0;
}

.laguna-home .section-heading,
.laguna-home .gallery-header {
  margin-bottom: var(--heading-gap);
}

@media (max-width: 800px) {
  .laguna-home {
    --section-gap: 48px;
    --heading-gap: 24px;
  }
}

@media (max-width: 480px) {
  .laguna-home {
    --section-gap: 36px;
    --heading-gap: 20px;
  }
}

/* The routine and club banners form one connected composition. */
.laguna-home>.routine-banner+.club-banner {
  margin-top: 0;
}

.routine-banner {
  position: relative;
  min-height: 300px;
  grid-template-columns: 42% 32% 26%;
  background:
    linear-gradient(110deg, #e6f2f3e8, #e9f5f6dc),
    url("../img/laguna-hero.png") left bottom/cover;
}

.routine-portrait {
  border-radius: 0;
  clip-path: ellipse(100% 110% at 0% 34%);
  background-position: 52% 42%;
  background-size: auto 180%;
  min-height: 300px;
}

.routine-copy {
  padding: 30px 26px 42px;
  position: relative;
  z-index: 1;
}

.routine-steps {
  padding: 20px 30px 48px;
  position: relative;
  z-index: 1;
}

.routine-steps i {
  width: 78px;
  height: 78px;
}

.routine-steps svg,
.club-perks svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.club-banner {
  position: relative;
  isolation: isolate;
  overflow: visible;
  grid-template-columns: 34% 35% 31%;
  min-height: 205px;
  background: linear-gradient(105deg, #f4f4f2, #fdfdfc 68%, #edf2f0);
}

.club-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 135px 245px at -65px 110%,
      #dddeda 0 73%,
      transparent 74%),
    radial-gradient(ellipse 180px 270px at -85px 115%,
      #e9eae7 0 77%,
      transparent 78%);
  pointer-events: none;
}

.club-copy {
  padding: 28px 30px 25px max(30px, 7vw);
  text-align: right;
  align-self: center;
}

.club-perks {
  position: relative;
  z-index: 1;
  gap: 10px;
  padding: 22px 12px;
}

.club-perks i {
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
}

.club-perks span {
  font-size: 13px;
}

.club-art {
  position: relative;
  align-self: stretch;
  min-height: 265px;
  margin-top: -60px;
  padding: 77px 38px 22px 60px;
  clip-path: polygon(13% 18%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, #dbe3df40, #ffffff10),
    url("../img/coastal-hero.png") right center/auto 280%;
  overflow: hidden;
  justify-content: space-between;
}

.club-art:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  top: 22px;
  bottom: -24px;
  width: 57%;
  border-radius: 28px 10px 0 0;
  background: linear-gradient(115deg, #417982, #174b56 65%, #83a8ac);
  box-shadow: 10px 0 0 #ecf0e9aa;
  transform: rotate(-5deg);
}

.club-art>span {
  font-size: 28px;
  letter-spacing: 7px;
  text-shadow: 0 1px 2px #1235;
}

.club-art p {
  margin: 20px 0 0 40px;
  font-size: 11px;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .routine-steps {
    padding-inline: 12px;
  }

  .routine-steps i {
    width: 60px;
    height: 60px;
  }

  .club-copy {
    padding-left: 40px;
    padding-right: 15px;
  }

  .club-perks span {
    font-size: 12px;
  }

  .club-perks i {
    width: 50px;
    height: 50px;
  }

  .club-art {
    padding-left: 42px;
    padding-right: 15px;
  }

  .club-art>span {
    font-size: 24px;
    letter-spacing: 5px;
  }
}

@media (max-width: 800px) {
  .routine-banner {
    grid-template-columns: 40% 60%;
  }

  .routine-portrait {
    grid-row: 1/3;
    min-height: 330px;
    clip-path: ellipse(100% 100% at 0% 35%);
  }

  .routine-copy {
    padding: 25px 24px 10px;
  }

  .routine-steps {
    grid-column: 2;
    grid-row: 2;
    padding: 10px 20px 30px;
  }

  .routine-steps i {
    width: 58px;
    height: 58px;
  }

  .club-banner {
    grid-template-columns: 62% 38%;
  }

  .club-copy {
    padding: 24px 28px 12px;
  }

  .club-perks {
    grid-column: 1;
    grid-row: 2;
    padding: 12px 20px 24px;
  }

  .club-perks i {
    width: 46px;
    height: 46px;
  }

  .club-perks span {
    font-size: 11px;
  }

  .club-art {
    grid-column: 2;
    grid-row: 1/3;
    margin-top: -25px;
    min-height: 280px;
    padding: 68px 15px 30px 35px;
    clip-path: polygon(10% 12%, 100% 0, 100% 100%, 0 100%);
  }

  .club-art>span {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .club-art p {
    margin-left: 10px;
  }

  .club-art:before {
    width: 72%;
    left: 9%;
  }
}

@media (max-width: 480px) {
  .routine-banner {
    grid-template-columns: 1fr;
  }

  .routine-portrait {
    grid-row: auto;
    height: 220px;
    min-height: 220px;
    clip-path: ellipse(100% 115% at 0% 0%);
    background-size: auto 190%;
  }

  .routine-copy {
    padding: 22px 24px 10px;
  }

  .routine-steps {
    grid-column: 1;
    grid-row: auto;
    padding-bottom: 28px;
  }

  .club-banner {
    grid-template-columns: 1fr;
  }

  .club-copy {
    padding: 28px 24px 12px;
  }

  .club-perks {
    grid-column: 1;
    grid-row: auto;
    padding: 12px 18px 24px;
  }

  .club-art {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
    min-height: 190px;
    padding: 52px 30px 25px 50px;
    clip-path: polygon(0 17%, 100% 0, 100% 100%, 0 100%);
    flex-direction: row;
    align-items: center;
  }

  .club-art:before {
    left: 7%;
    width: 52%;
    top: 20px;
  }

  .club-art>span {
    font-size: 26px;
    letter-spacing: 6px;
  }

  .club-art p {
    margin: 20px 0 0 0;
  }

  .club-banner:before {
    background: radial-gradient(ellipse 135px 245px at -95px 25%,
        #e5e6e2 0 73%,
        transparent 74%);
  }
}

.world-section .world-bottles {
  mix-blend-mode: normal;
}

.world-section .world-bottles img {
  width: 100%;
  mix-blend-mode: normal;
}

.laguna-home .world-section {
  margin-top: 48px;
}

@media (max-width: 480px) {
  .laguna-home .world-section {
    margin-top: 32px;
  }
}

.journal-article {
  max-width: 760px;
  margin-inline: auto;
}

.journal-article .journal-image {
  width: 100%;
  height: clamp(200px, 35vw, 380px);
  margin-block: 24px;
}

.journal-article p {
  line-height: 2.2;
}

/* Justify long-form copy; headings and interface text retain their layout alignment. */
.about-brand-copy>p,
.journal-article-body p:not(:has(> strong:only-child)),
.journal-article-body li,
.product-detail .content>p,
.product-detail .content li {
  text-align: justify;
  text-align-last: auto;
}

/* Products menu */
.site-header .nav {
  position: static;
}
.products-mega {
  position: static;
}
.products-mega > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font: inherit;
  color: inherit;
}
.products-mega > summary::-webkit-details-marker {
  display: none;
}
.products-mega > summary svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.2s;
}
.products-mega[open] > summary svg {
  transform: rotate(180deg);
}
.products-mega__panel {
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  width: min(1160px, calc(100vw - 48px));
  max-height: none;
  overflow: visible;
  background: #fff;
  border: 1px solid #e2e9e6;
  border-top: 3px solid #204c50;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 24px 50px #153c4526;
  padding: 26px 30px 30px;
  z-index: 110;
}
.products-mega__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e7eeeb;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.products-mega__heading > div > span {
  display: block;
  font-size: 11px;
  letter-spacing: 2.4px;
  color: #718c86;
}
.products-mega__heading h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 5px 0 0;
  color: #183f45;
}
.site-header .products-mega__heading > a {
  font-size: 14px;
  color: #315f61;
  display: flex;
  gap: 15px;
}
.products-mega__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr;
  gap: 30px;
}
.products-mega__grid h3 {
  font-size: 14px;
  margin: 0 0 15px;
  color: #70827e;
  font-weight: 400;
}
.products-mega__category-grid {
  display: grid;
  gap: 9px;
}
.site-header .products-mega__category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header .products-mega__category:hover {
  background: transparent;
  color: inherit;
  border-bottom-color: #244750;
}
.products-mega__thumb {
  display: grid;
  place-items: center;
  background: #f3f6f3;
  border-radius: 50%;
  width: 51px;
  height: 51px;
  flex-shrink: 0;
}
.products-mega__thumb img {
  width: 38px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.products-mega__category b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.products-mega__category small {
  display: block;
  font-size: 12px;
  color: #82918a;
  margin-top: 4px;
}
.products-mega__arrow {
  margin-right: auto;
  color: #77958c;
}
.products-mega__brands {
  border-right: 1px solid #e8eeeb;
  padding-right: 25px;
}
.site-header .products-mega__brands > a {
  display: block;
  padding: 10px 0;
  color: #23484a;
  font-size: 14px;
}
.products-mega__brands small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #82918a;
  margin-top: 5px;
  text-align: right;
}
.site-header .products-mega__feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  border-radius: 15px;
  background: linear-gradient(155deg, #e3ede5, #bacec9);
  color: #224e4c;
  padding: 26px 20px;
  white-space: normal;
}
.products-mega__feature > span:first-child {
  font-size: 10px;
  letter-spacing: 2px;
}
.products-mega__feature b {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.8;
}
.products-mega__feature > span:last-child {
  font-size: 12px;
}
.products-mega__feature i {
  font-style: normal;
  margin-right: 10px;
}
.products-mega :focus-visible {
  outline: 2px solid #377f7b;
  outline-offset: 4px;
  border-radius: 4px;
}
@media (max-width: 800px) {
  .site-header .nav > nav.open {
    max-height: none;
    overflow: visible;
  }
  .products-mega {
    width: 100%;
  }
  .products-mega > summary {
    padding: 10px;
    justify-content: space-between;
  }
  .products-mega__panel {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 14px;
    background: #f8faf8;
    box-shadow: none;
    border: 1px solid #e2e9e6;
    border-radius: 12px;
    margin: 3px 0 10px;
  }
  .products-mega__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    margin-bottom: 16px;
  }
  .products-mega__heading h2 {
    font-size: 19px;
  }
  .products-mega__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .products-mega__brands {
    padding-right: 0;
    border: 0;
    border-top: 1px solid #e2e9e6;
    padding-top: 16px;
  }
  .site-header .products-mega__feature {
    min-height: 160px;
    padding: 20px;
  }
  .products-mega__feature b {
    font-size: 23px;
  }
  .products-mega__category-grid {
    grid-template-columns: 1fr;
  }
  .products-mega__grid h3 {
    margin-bottom: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .products-mega * {
    transition: none !important;
  }
}
@media (max-width: 800px) {
  .site-header .nav > nav.open {
    justify-content: flex-start;
  }
  .site-header .nav > nav.open > * {
    flex-shrink: 0;
  }
}


/* Responsive rules */
/* Shared viewport and touch refinements; loaded after page styles. */
.products-mega__panel {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.products-mega__grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr);
}
.products-mega__grid > * {
  min-width: 0;
}
.products-mega__heading > a {
  white-space: normal;
}
.site-header .header-tools button,
.menu-btn {
  min-width: 44px;
  min-height: 44px;
}
.header-search input {
  min-width: 0;
}
.world-caption h3 {
  overflow-wrap: anywhere;
}
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header .nav {
    gap: 14px;
  }
  .site-header .nav > nav {
    gap: 16px;
    font-size: 13px;
  }
  .products-mega__panel {
    padding: 20px;
  }
  .products-mega__grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .site-header .products-mega__feature {
    grid-column: 1/-1;
    min-height: 120px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .products-mega__brands {
    padding-right: 18px;
  }
  .journal-hero-copy {
    width: 55%;
  }
  .journal-hero-copy h1 {
    font-size: 40px;
  }
  .journal-hero-copy p {
    font-size: 17px;
  }
}
@media (max-width: 800px) {
  .site-header .nav > nav.open {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    max-width: 100vw;
  }
  .products-mega__panel {
    max-width: 100%;
    max-height: none;
    overflow: visible;
  }
  .products-mega__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-header .nav > nav > a,
  .products-mega > summary {
    min-height: 44px;
  }
  .shop-search input,
  .header-search input {
    font-size: 18px;
  }
  .filter-sidebar {
    max-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .filter-options label {
    min-height: 40px;
  }
  .filter-title button {
    min-width: 44px;
    min-height: 44px;
  }
  .gallery-filters button {
    min-height: 44px;
  }
  .gallery-buy {
    min-height: 38px;
  }
  .shop-card h2 {
    height: auto;
    min-height: 42px;
    overflow: visible;
    font-size: 15px;
  }
  .shop-card .card-brand {
    font-size: 12px;
  }
  .card-bottom {
    font-size: 13px;
    min-height: 38px;
    align-items: center;
  }
  .world-caption h3 {
    font-size: 18px;
  }
  .world-caption p {
    font-size: 14px;
  }
  .laguna-footer .footer-grid a {
    line-height: 2;
    min-height: 36px;
    display: block;
  }
  .journal-topics button {
    min-height: 40px;
  }
}
@media (max-width: 380px) {
  .journal-hero-copy h1 {
    font-size: 30px;
  }
  .journal-hero-copy p {
    font-size: 14px;
  }
  .journal-hero-copy small {
    letter-spacing: 1px;
  }
  .world-caption h3 {
    font-size: 16px;
  }
  .world-caption {
    padding-inline: 12px;
  }
  .header-search:not([hidden]) {
    width: calc(100% - 24px);
    gap: 8px;
  }
  .header-search .btn {
    padding-inline: 15px;
  }
}

/* Phone galleries wrap within the viewport instead of requiring sideways swipes. */
@media (max-width: 1100px) {
  .gallery-grid {
    gap: 12px;
  }
  .gallery-card {
    padding-inline: 8px;
  }
  .gallery-buy {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}
@media (max-width: 600px) {
  .category-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .category-row > a {
    min-width: 0;
  }
  .category-row .category-image {
    width: min(112px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  .gallery-header,
  .gallery-grid,
  .gallery-filters {
    min-width: 0;
    max-width: 100%;
  }
  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 2px 0 7px;
  }
  .gallery-filters button {
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 10px;
    padding: 2px 0 10px;
  }
  .gallery-card {
    min-width: 0;
  }
  .gallery-buy {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}


/* Category icons */
.category-row .category-image:has(img[src*="category-"]),
.products-mega__thumb:has(img[src*="category-"]){background:transparent;border:0}
.category-row .category-image img[src*="category-"],
.products-mega__thumb img[src*="category-"]{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;border-radius: 50%}

