/* Море Флота — storefront palette and typography on top of the 01-depth layout. */
:root{
  --mf-blue:#0a2f6c;
  --mf-deep:#061a3d;
  --mf-red:#e31c25;
  --mf-grey:#f5f7fa;
  --mf-link:#1e6fa8;
  --mf-sky:#d6e9f8;
  --mf-gold:#c9a227;
  --mf-green:#2e7d32;
  --mf-orange:#ff6f00;
  --mf-line:#dfe7f1;
  --mf-muted:#5b6b82;
}
html{scroll-padding-top:24px}
body{padding-bottom:0;background:#fff;color:var(--mf-deep);font-family:Inter,Arial,sans-serif}
h1,h2,h3{font-family:Montserrat,Arial,sans-serif;color:var(--mf-blue)}
::selection{background:var(--mf-sky);color:var(--mf-deep)}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--mf-gold);outline-offset:4px}

/* Announcement, header and navigation */
body.theme-dvf .announcement{display:flex;background:var(--mf-deep);color:var(--mf-sky);font-size:9px;letter-spacing:.14em;height:30px}
header{background:var(--mf-blue);color:#fff;border-bottom:1px solid #ffffff24}
header button:hover,header a:hover{color:var(--mf-gold)}
.marine-identity header .logo{color:#fff}
.marine-identity .brand-name small{color:var(--mf-sky);font-size:6px;letter-spacing:.16em}
.header-right [data-mf-count]{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--mf-red);color:#fff;font-size:9px;line-height:1;font-weight:600}
.main-nav{background:var(--mf-blue);color:#fff;border-bottom:1px solid #ffffff1f;letter-spacing:.02em}
.main-nav button:hover,.main-nav a:hover{color:var(--mf-gold);text-decoration:none}
.search-bar{background:var(--mf-blue);color:#fff;border-bottom:1px solid #ffffff1f}
.search-bar label{color:var(--mf-sky);font-size:12px;letter-spacing:.04em}
.search-bar input{color:#fff;border-bottom-color:#ffffff80}
.search-bar input::placeholder{color:#ffffffa6}
.search-bar button{color:#fff}

/* Hero: deep sea blue, red call to action, the archive photo kept in place */
.sea-editorial{background:var(--mf-blue);border-bottom:0;color:#fff}
.editorial-rail{border-top-color:#ffffff59;color:var(--mf-sky)}
.editorial-title .eyebrow{color:var(--mf-gold);letter-spacing:.2em}
.marine-identity .sea-editorial h1{font:600 clamp(54px,6.4vw,94px)/.98 Montserrat,Arial;color:#fff;letter-spacing:-.045em;max-width:700px;margin:24px -30px 28px 0}
.editorial-title>p:not(.eyebrow){color:var(--mf-sky);font-size:13px;line-height:1.8;max-width:320px}
.editorial-photo{border:1px solid #ffffff1f}
.editorial-photo>span{font:italic 17px/1.3 Montserrat,Arial;color:#fff}
.editorial-foot{color:var(--mf-sky);border-top:1px solid #ffffff26;margin-top:8px}
.editorial-foot a{color:#fff}
.editorial-foot a:hover{color:var(--mf-gold)}
.cta,.marine-identity .hero .cta,.marine-identity .sea-editorial .cta,.marine-identity .community .cta{background:var(--mf-red);color:#fff;font-weight:600}
.cta:hover,.marine-identity .hero .cta:hover,.marine-identity .community .cta:hover{background:#c4161e;opacity:1}

/* Scene cards */
.sea-edit{background:var(--mf-grey);border-bottom:1px solid var(--mf-line);color:var(--mf-deep)}
.edit-scenes button{border-left:1px solid #0a2f6c2e;color:var(--mf-deep)}
.edit-scenes button:hover h2{color:var(--mf-red)}
.edit-scenes h2{font:600 50px/1.02 Montserrat,Arial;color:var(--mf-blue);letter-spacing:-.03em}
.edit-scenes button>span{color:var(--mf-link);letter-spacing:.12em}
.edit-scenes b{color:var(--mf-red)}

/* Products */
.products{background:#fff}
.section h2{color:var(--mf-blue);font-weight:600;letter-spacing:-.03em}
.demo-note{color:var(--mf-muted)}
[data-mf-products]{gap:18px}
.mf-product{background:#fff;border:1px solid var(--mf-line);padding:14px}
.marine-identity .mf-product-art{background:var(--mf-grey)}
.marine-identity .mf-product:nth-child(2n) .mf-product-art{background:#eaf3fb}
.mf-product-art svg{filter:drop-shadow(0 10px 7px #0a2f6c14)}
.mf-badge{background:var(--mf-gold);color:var(--mf-deep);padding:4px 7px;font-weight:600}
.mf-brand{color:var(--mf-muted)}
.mf-product-title{color:var(--mf-deep);font-weight:500}
.mf-price{color:var(--mf-blue);font-weight:700}
.mf-add{background:var(--mf-red)!important;color:#fff!important;border-color:var(--mf-red)!important}
.mf-add:hover{background:#c4161e!important;border-color:#c4161e!important}
.quick-trigger{border-color:var(--mf-line)!important;color:var(--mf-blue)!important;font-size:9px!important;letter-spacing:.06em!important}
.quick-trigger:hover{background:var(--mf-blue)!important;color:#fff!important;border-color:var(--mf-blue)!important}

/* Directions, story, journal */
.direction-index{color:var(--mf-gold);font-weight:600}
.direction-title{font:600 32px/1.10 Montserrat,Arial;letter-spacing:-.02em}
.direction-title small{color:#eaf3fb}
.story{background:var(--mf-grey)}
.theme-dvf.marine-identity .story-copy{background:var(--mf-sky)}
.story h2{color:var(--mf-blue)}
.story-copy>p:not(.eyebrow){color:#33475f}
.text-link{color:var(--mf-link);border-bottom-color:#1e6fa8}
.text-link:hover{color:var(--mf-red);border-bottom-color:var(--mf-red)}
.journal .eyebrow,.section-head .eyebrow{color:var(--mf-link)}
.journal-card h3{color:var(--mf-blue)}
.journal-card:hover h3{color:var(--mf-red)}

/* Categories and brands */
.all-directions{background:#fff;border-top:1px solid var(--mf-line)}
[data-mf-categories]>button{border-bottom:1px solid #0a2f6c22;color:var(--mf-deep);font-size:11px}
[data-mf-categories]>button:hover{color:var(--mf-red)}
[data-mf-categories]>button span:first-child{color:var(--mf-link);opacity:1}
.brands{background:var(--mf-grey);border-top:1px solid var(--mf-line);padding-top:42px;padding-bottom:42px}
.brands .section-head{margin-bottom:22px}
.brands h2{font-size:26px}
.brand-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:baseline;gap:18px 22px}
.brand-strip span{font:600 17px/1.2 Montserrat,Arial;color:#0a2f6c99;letter-spacing:.02em;white-space:nowrap}
.brands .demo-note{margin:18px 0 0}

/* Community */
.community{background:var(--mf-sky);color:var(--mf-deep)}
.community h2{color:var(--mf-blue)}
.community .eyebrow{color:var(--mf-link)}

/* Footer */
footer{background:var(--mf-deep);color:#fff}
.footer-top p{color:#b0bec5}
.footer-logo{font:700 34px/1 Montserrat,Arial;letter-spacing:.04em;color:#fff}
.footer-links{border-bottom-color:#ffffff26}
.footer-links button{color:var(--mf-sky)}
.footer-links button:hover{color:var(--mf-gold)}
.footer-bottom{color:#b0bec5}
.footer-bottom a{color:var(--mf-sky)}
.footer-bottom a:hover{color:var(--mf-gold)}

/* Dialog and toast: the palette from common.css already fits, tune the shadows only */
#mf-panel{box-shadow:0 24px 100px #061a3d80}
#mf-toast{bottom:24px;border-color:#c9a22766}

@media(max-width:1000px){
  .marine-identity .sea-editorial h1{font-size:72px}
  .edit-scenes h2{font-size:42px}
  .brand-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:700px){
  body.theme-dvf .announcement{font-size:8px;letter-spacing:.04em;padding:0 10px;text-align:center;height:27px}
  .marine-identity .sea-editorial{padding:14px 20px 0}
  .marine-identity .sea-editorial h1{font-size:clamp(42px,12.5vw,58px);line-height:1;letter-spacing:-.04em;margin:16px 0 20px}
  .editorial-title>p:not(.eyebrow){font-size:11px}
  .editorial-photo{height:340px}
  .editorial-foot{font-size:6px;letter-spacing:.06em;margin-top:0}
  .editorial-foot a{font-size:8px}
  .section h2{font-size:32px}
  .edit-scenes h2{font-size:38px}
  .edit-scenes button{border-bottom-color:#0a2f6c22}
  .brand-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 14px}
  .brand-strip span{font-size:13px;white-space:normal}
  .footer-logo{font-size:28px}
  .footer-bottom p{font-size:10px;line-height:1.7}
  .mf-product{padding:11px}
  .mf-product-title{font-size:12px;line-height:1.45}
  .mf-brand{font-size:8px}
  .mf-price{font-size:13px}
  [data-mf-categories]>button{font-size:12px}
  .quick-trigger{font-size:9px!important;padding:11px 4px!important;letter-spacing:.02em!important}
}
@media(max-width:380px){
  .marine-identity .sea-editorial h1{font-size:40px}
  .marine-identity header .logo{font-size:15px}
  .section h2{font-size:28px}
  .edit-scenes h2{font-size:34px}
}
@media(min-width:1600px){
  .marine-identity .sea-editorial h1{font-size:98px}
  .brand-strip{grid-template-columns:repeat(6,minmax(0,1fr))}
}
