/*
Theme Name: OSEA Malibu Child
Theme URI: https://oseamalibu.com/
Description: A lightweight OSEA Malibu storefront child theme for GeneratePress and WooCommerce.
Author: OSEA Malibu
Template: generatepress
Version: 1.0.0
Text Domain: osea-malibu-child
*/

:root {
  --osea-seaweed: #1d4d41;
  --osea-seaweed-dark: #173d35;
  --osea-seafoam: #dcece5;
  --osea-wave: #eaf4f1;
  --osea-coral: #e97b6b;
  --osea-cream: #faf8f2;
  --osea-ink: #233b35;
  --osea-line: rgba(29, 77, 65, .2);
  --osea-radius: 3px;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--osea-ink); background: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--osea-coral); }
button, input, select, textarea { font: inherit; }
.osea-shell { overflow: hidden; }
.osea-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.osea-announcement { background: var(--osea-seaweed); color: #fff; font-size: 12px; letter-spacing: .08em; text-align: center; }
.osea-announcement a { display: block; padding: 7px 16px; }
.osea-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--osea-line); backdrop-filter: blur(8px); }
.osea-header-row { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.osea-brand { color: var(--osea-seaweed); display: inline-flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 28px; font-weight: 700; letter-spacing: .17em; line-height: 1; }
.osea-brand small { display: block; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .38em; margin: 7px 0 0 5px; }
.osea-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.osea-icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--osea-seaweed); cursor: pointer; }
.osea-icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.osea-menu-toggle { display: none; }
.osea-nav { border-top: 1px solid rgba(29,77,65,.08); }
.osea-nav ul { margin: 0; padding: 0; list-style: none; }
.osea-nav > .osea-container > ul, .osea-nav > .osea-container > .menu { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.osea-nav li { position: relative; }
.osea-nav a { display: block; padding: 13px 16px 14px; color: var(--osea-seaweed); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.osea-nav a:hover { background: var(--osea-wave); color: var(--osea-seaweed-dark); }
.osea-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; padding: 9px 0; background: #fff; box-shadow: 0 12px 30px rgba(29,77,65,.15); list-style: none; }
.osea-nav li:hover > .sub-menu, .osea-nav li:focus-within > .sub-menu { display: block; }
.osea-nav .sub-menu a { padding: 9px 16px; font-size: 11px; text-transform: none; letter-spacing: .02em; }
.osea-hero { position: relative; width: min(1490px, calc(100% - 90px)); aspect-ratio: 1490 / 848; min-height: 0; margin: 0 auto; background: var(--osea-seaweed); }
.osea-hero-slider, .osea-hero-slide { position: absolute; inset: 0; }
.osea-hero-slide { opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.osea-hero-slide.is-active { opacity: 1; visibility: visible; }
.osea-hero-slide img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; object-position: center; }
.osea-hero-hotspot { position: absolute; z-index: 5; top: 53.3%; left: 3.9%; width: 13.2%; height: 8.5%; display: block; border-radius: 5px; }
.osea-hero-hotspot:focus-visible { outline: 3px solid #f06b5e; outline-offset: 4px; }
.osea-hero::after { display: none; }
.osea-hero-copy { position: absolute; z-index: 1; inset: 0 auto 0 max(24px, calc((100% - 1240px)/2)); width: min(460px, 50%); display: flex; flex-direction: column; justify-content: center; color: #fff; }
.osea-hero-copy { display: none; }
.osea-eyebrow { margin: 0 0 13px; font-size: 12px; letter-spacing: .19em; text-transform: uppercase; }
.osea-hero h1 { max-width: 450px; margin: 0 0 19px; font-family: Georgia, serif; font-weight: 400; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.02em; }
.osea-hero p { max-width: 390px; margin: 0 0 26px; font-size: 17px; }
.osea-hero-controls { position: absolute; z-index: 4; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 8px; }
.osea-hero-control { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.12); color: #fff; cursor: pointer; }
.osea-hero-dots { display: flex; gap: 6px; margin: 0 4px; }
.osea-hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.osea-hero-dot.is-active { background: #fff; transform: scale(1.25); }
.osea-button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; padding: 0 24px; border: 1px solid var(--osea-seaweed); border-radius: var(--osea-radius); background: var(--osea-seaweed); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transition: .2s ease; }
.osea-button:hover { border-color: var(--osea-seaweed-dark); background: var(--osea-seaweed-dark); color: #fff; transform: translateY(-1px); }
.osea-button-light { border-color: #fff; background: transparent; }
.osea-button-light:hover { background: #fff; color: var(--osea-seaweed); }
.osea-section { padding: 76px 0; }
.osea-section-tight { padding: 48px 0; }
.osea-video-section { padding: 54px 0 30px; }
.osea-video-frame { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; background: #0c1815; }
.osea-video-cta { margin: 10px auto 0; display: flex; justify-content: center; }
.osea-video-cta .osea-button { min-height: 36px; padding: 0 20px; font-size: 11px; }
.osea-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.osea-quick-card { position: relative; min-height: 480px; overflow: hidden; border-radius: var(--osea-radius); }
.osea-quick-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.osea-quick-card-copy { position: absolute; z-index: 1; inset: 0 24px auto; text-align: center; color: #fff; }
.osea-quick-card-copy.is-left { color: #fff; }
.osea-quick-card-copy.is-right { color: var(--osea-seaweed); text-align: left; left: 28px; right: auto; }
.osea-quick-card-copy h3 { margin: 26px 0 12px; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 48px); font-weight: 400; line-height: 1; }
.osea-quick-card-copy p { margin: 0 auto 18px; max-width: 400px; font-size: 16px; line-height: 1.25; }
.osea-quick-card-copy.is-right p { margin-left: 0; }
.osea-quick-card-copy .osea-button { background: #fff; color: var(--osea-seaweed); border-color: #fff; }
.osea-quick-card-copy.is-right .osea-button { background: var(--osea-seaweed); color: #fff; border-color: var(--osea-seaweed); }
.osea-story-band { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding: 10px 0 70px; }
.osea-story-band img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; border-radius: var(--osea-radius); }
.osea-story-copy h2 { margin: 0 0 12px; color: var(--osea-seaweed); font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.03; }
.osea-story-copy p { max-width: 580px; margin: 0 0 22px; font-size: 17px; line-height: 1.35; }
.osea-quiz-strip { margin-bottom: 60px; padding: 32px 20px; background: var(--osea-cream); text-align: center; }
.osea-quiz-strip h2 { margin: 0 0 4px; font-size: clamp(28px, 4vw, 42px); }
.osea-quiz-strip p { margin: 0 0 14px; }
.osea-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.osea-section h2 { margin: 0; color: var(--osea-seaweed); font-family: Georgia, serif; font-weight: 400; font-size: clamp(31px, 4vw, 48px); line-height: 1.05; }
.osea-section-intro { max-width: 540px; margin: 15px 0 0; font-size: 16px; }
.osea-promo { background: var(--osea-wave); text-align: center; }
.osea-promo h2 { font-size: clamp(28px, 4vw, 43px); }
.osea-promo p { max-width: 620px; margin: 14px auto 23px; }
.osea-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.osea-product-card { min-width: 0; }
.osea-product-image { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; border-radius: var(--osea-radius); background: var(--osea-wave); }
.osea-product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.osea-product-card:hover .osea-product-image img { transform: scale(1.035); }
.osea-product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.osea-product-card h3 { margin: 0 0 7px; color: var(--osea-seaweed); font-size: 16px; font-weight: 500; line-height: 1.2; }
.osea-product-card p { margin: 0 0 11px; color: #547168; font-size: 13px; }
.osea-stars { color: var(--osea-coral); font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.osea-price { color: var(--osea-seaweed); font-size: 14px; }
.osea-card-link { display: inline-block; border-bottom: 1px solid currentColor; color: var(--osea-seaweed); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.osea-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 540px; background: var(--osea-seafoam); }
.osea-split-media { min-height: 440px; }
.osea-split-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.osea-split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 100px); }
.osea-split-copy h2 { max-width: 500px; }
.osea-split-copy p { max-width: 500px; margin: 18px 0 25px; font-size: 16px; }
.osea-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.osea-tile { position: relative; min-height: 300px; overflow: hidden; border-radius: var(--osea-radius); background: var(--osea-wave); }
.osea-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.osea-tile:hover img { transform: scale(1.04); }
.osea-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(16,52,44,.75)); }
.osea-tile-copy { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; color: #fff; }
.osea-tile-copy h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.osea-tile-copy a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.osea-quote { padding: 80px 24px; background: var(--osea-cream); text-align: center; }
.osea-quote blockquote { max-width: 800px; margin: 0 auto 20px; color: var(--osea-seaweed); font-family: Georgia, serif; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; }
.osea-quote cite { color: #55766b; font-size: 12px; letter-spacing: .12em; font-style: normal; text-transform: uppercase; }
.osea-newsletter { background: var(--osea-seaweed); color: #fff; }
.osea-newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.osea-newsletter h2 { color: #fff; }
.osea-newsletter p { max-width: 480px; margin: 14px 0 0; }
.osea-form { display: flex; gap: 10px; }
.osea-form input { min-width: 0; flex: 1; height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.6); border-radius: var(--osea-radius); background: transparent; color: #fff; }
.osea-form input::placeholder { color: rgba(255,255,255,.75); }
.osea-form .osea-button { flex: none; border-color: #fff; background: #fff; color: var(--osea-seaweed); }
.osea-form .osea-button:hover { background: var(--osea-seafoam); }
.osea-footer { padding: 54px 0 24px; background: var(--osea-wave); color: var(--osea-seaweed); }
.osea-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.osea-footer h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.osea-footer ul { margin: 0; padding: 0; list-style: none; }
.osea-footer li { margin: 0 0 8px; font-size: 13px; }
.osea-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--osea-line); color: #597a70; font-size: 11px; }
.osea-mobile-panel { display: none; }
.woocommerce .site-main, .woocommerce-page .site-main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--osea-seaweed); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: var(--osea-radius); background: var(--osea-seaweed); color: #fff; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--osea-seaweed-dark); color: #fff; }

@media (max-width: 960px) {
  .osea-container { width: min(100% - 32px, 720px); }
  .osea-header-row { min-height: 64px; grid-template-columns: 1fr auto 1fr; }
  .osea-menu-toggle { display: inline-grid; }
  .osea-nav { display: none; }
  .osea-nav.is-open { display: block; position: absolute; top: 64px; right: 0; left: 0; background: #fff; box-shadow: 0 12px 24px rgba(29,77,65,.12); }
  .osea-nav.is-open > .osea-container > ul, .osea-nav.is-open > .osea-container > .menu { display: block; max-height: calc(100vh - 64px); overflow-y: auto; padding: 8px 0 20px; }
  .osea-nav.is-open a { padding: 13px 24px; }
  .osea-nav .sub-menu { position: static; display: block; padding: 0 0 7px 17px; box-shadow: none; }
  .osea-nav .sub-menu a { padding: 8px 24px; text-transform: none; }
  .osea-hero { width: 100%; aspect-ratio: 1.76 / 1; }
  .osea-hero-controls { display: none; }
  .osea-hero-hotspot { display: none; }
  .osea-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .osea-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .osea-container { width: calc(100% - 32px); }
  .osea-header-row { gap: 4px; }
  .osea-brand { font-size: 22px; }
  .osea-brand small { font-size: 6px; }
  .osea-header-actions { gap: 0; }
  .osea-icon-button { width: 34px; height: 34px; }
  .osea-hero { width: 100%; aspect-ratio: 800 / 1014; }
  .osea-hero-copy { display: flex !important; right: 24px; bottom: 36px; left: 24px; top: auto; width: auto; }
  .osea-hero-copy h1 { font-size: 44px; }
  .osea-hero-copy p { font-size: 15px; }
  .osea-section { padding: 55px 0; }
  .osea-section-head { display: block; }
  .osea-section-head .osea-card-link { margin-top: 14px; }
  .osea-product-grid { gap: 13px; }
  .osea-product-card h3 { font-size: 14px; }
  .osea-product-card p { font-size: 12px; }
  .osea-split { display: flex; flex-direction: column; }
  .osea-split-media { min-height: 310px; }
  .osea-split-copy { padding: 45px 24px 55px; }
  .osea-tiles { grid-template-columns: 1fr; }
  .osea-tile { min-height: 260px; }
  .osea-video-section { padding-top: 30px; }
  .osea-quick-grid, .osea-story-band { grid-template-columns: 1fr; }
  .osea-quick-card { min-height: 390px; }
  .osea-story-band { gap: 26px; padding-bottom: 48px; }
  .osea-story-copy p { font-size: 15px; }
  .osea-newsletter-inner { display: block; }
  .osea-form { display: block; margin-top: 24px; }
  .osea-form input, .osea-form .osea-button { width: 100%; }
  .osea-form .osea-button { margin-top: 10px; }
  .osea-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .osea-footer-grid > :first-child { grid-column: 1 / -1; }
  .osea-footer-bottom { display: block; }
  .osea-footer-bottom span { display: block; margin-top: 8px; }
}
