/*
 * Awamori Navi — approved four-screen mobile visual system (2026-10-16).
 * Layout & typography tuned from the user-approved revised concept.
 * Synthetic demo images are NEVER treated as brewery/product facts.
 */
:root {
  --awn-deep:#08366e; --awn-navy:#092e61; --awn-blue:#008ccf;
  --awn-ocean:#11a9e5; --awn-sky:#b7e9fb; --awn-light:#effaff;
  --awn-ink:#143d71; --awn-soft:#def5ff; --awn-border:#cfe9f7;
  --awn-white:#fff; --awn-green:#dbf9e8; --awn-gold:#fff0c9;
  --awn-red:#ffe4e7; --awn-shadow:0 4px 14px rgba(13,90,147,.10);
}
html{font-size:16px}
body{background:#fff;color:var(--awn-ink);font-size:17px;line-height:1.7}
button,a,input,select{touch-action:manipulation}
.wn-container{width:min(100% - 30px,1100px)}
.wn-header{
  box-shadow:none;
  border:0;
  background-color:#f8fcff;
  /* The original 2048 x 307 user-provided wave image: do not alter the PNG. */
  background-image:url('./images/header_bg.png');
  background-repeat:repeat-x;
  background-position:center center;
  background-size:auto 100%;
}
/* Header wave is provided by the original header_bg.png. */
.wn-header::after{display:none}
.wn-header-inner{min-height:84px;gap:8px}
.wn-brand-mark,.wn-brand small{display:none}
.wn-brand{flex:none;min-width:0;max-width:58%}
.wn-brand strong{font-size:30px;letter-spacing:-.02em;color:var(--awn-blue);line-height:1.07;white-space:nowrap}
.awn-logo{display:block;width:min(100%,210px);height:auto;object-fit:contain}
.awn-brand-wordmark{display:block}
.awn-brand-wordmark strong{font-family:system-ui,-apple-system,"Yu Gothic",sans-serif;font-weight:950;color:#009dd5;text-shadow:1px 1px 0 #e6f6ff}
.awn-brand-wordmark small{display:block!important;font-size:9px;color:var(--awn-deep);font-weight:800;letter-spacing:.08em}
.awn-header-actions{display:flex;align-items:center;gap:0;margin-left:auto}
.awn-header-search,.wn-menu-toggle{display:flex;align-items:center;justify-content:center;flex-direction:column;width:52px;height:54px;gap:0;border:0;background:none;color:var(--awn-deep);cursor:pointer}
.awn-header-search small,.wn-menu-toggle small{display:block;font-size:12px;line-height:1.2;font-weight:700}
.wn-menu-toggle>span{display:none}
.awn-icon{display:inline-block;width:23px;height:23px;vertical-align:middle;flex:none}
.wn-menu-toggle .awn-icon,.awn-header-search .awn-icon{width:30px;height:30px}
.wn-navigation{position:absolute;top:100%;right:0;left:0;z-index:25;display:none;padding:9px 16px 15px;background:#effbff;border-bottom:2px solid #9ce2fa;box-shadow:var(--awn-shadow)}
.wn-navigation.is-open{display:block}
.wn-navigation a{font-weight:800;padding:12px 14px;color:var(--awn-deep)}
.awn-header-form{display:none;padding:11px 16px;background:var(--awn-light);border-bottom:1px solid var(--awn-border)}
.awn-header-form.is-open{display:block}
.awn-search{display:flex;align-items:center;position:relative;gap:10px;width:100%;min-height:56px;padding:4px 6px 4px 17px;border:1.5px solid #b9e5f8;border-radius:99px;background:#fff;box-shadow:0 3px 12px #087bb51a}
.awn-search>.awn-icon{width:25px;height:25px;color:var(--awn-deep)}
.awn-search input{border:0;outline:0;width:100%;min-width:0;flex:1;background:transparent;font-size:16px;color:var(--awn-deep);line-height:1.4}
.awn-search input::placeholder{color:#6984a0;opacity:1}
.awn-search button{display:grid;place-items:center;border:0;border-radius:99px;width:46px;height:46px;flex:none;background:var(--awn-blue);color:#fff;cursor:pointer}
.awn-search button>.awn-icon{width:24px;height:24px}
.wn-hero{
  min-height:0;
  background-color:#137aa9;
  /* User-supplied beachside.png, locally served as optimized WebP.
     Original PNG retained in assets/images/; text contrast is unchanged. */
  background-image:
    linear-gradient(90deg,rgba(5,46,87,.72) 0%,rgba(5,54,91,.39) 48%,rgba(5,60,92,.11) 100%),
    url('./images/beachside.webp');
  background-position:center,center 54%;
  background-size:cover,cover;
  background-repeat:no-repeat;
}
/* Remove CSS-generated sea shapes inside the big banner only, so the actual
   Okinawa photograph remains visible without changing other page decorations. */
.wn-hero::before,.wn-hero::after{display:none}
.wn-hero::before{background:radial-gradient(ellipse at 50% 100%,#68d9ef 0 45%,transparent 46%) 0 0/85px 75px repeat-x;inset:auto 0 0;height:80px;transform:none;border-radius:0}
.wn-hero::after{bottom:12%;right:-20px;width:45%;height:45%;background:radial-gradient(circle at 80% 25%,#ecfcffbb 0 20%,transparent 22%),radial-gradient(circle at 30% 70%,#54c5e4aa 0 40%,transparent 45%);border-radius:50%}
.wn-hero-content{padding:44px 0 50px;position:relative;z-index:1}
.wn-hero h1{font-family:inherit;font-size:clamp(30px,8.2vw,46px);font-weight:900;line-height:1.43;color:#fff;text-shadow:0 2px 5px #06477496;margin:0 0 13px;max-width:650px}
.wn-hero p{max-width:570px;color:#fff;font-size:18px;line-height:1.5;font-weight:750;text-shadow:0 1px 4px #0647748b}
.wn-kicker{color:#fff;letter-spacing:.14em}
.wn-hero-search{position:relative;z-index:3;margin-top:-22px}
.awn-quicklinks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}
.awn-quicklink{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:106px;padding:10px 2px 8px;text-align:center;border-radius:15px;text-decoration:none;color:#09478c;background:#e1f4ff}
.awn-quicklink:nth-child(2){background:#ffe6e9;color:#8f2347}
.awn-quicklink:nth-child(3){background:#def9e9;color:#087547}
.awn-quicklink:nth-child(4){background:#fff1d8;color:#9a5800}
.awn-quicklink .awn-icon{width:30px;height:30px;margin-bottom:7px}
.awn-quicklink strong{font-size:17px;line-height:1.18;white-space:nowrap}
.awn-quicklink small{display:block;font-size:12px;line-height:1.25;margin-top:4px;font-weight:700}
.wn-section{padding-top:28px}
.wn-section-head{align-items:center;gap:10px;margin-bottom:14px}
.wn-section-head h2,.awn-section-title{font-size:clamp(22px,5.7vw,27px);color:var(--awn-deep);font-weight:900;line-height:1.32;margin:0}
.wn-section-head a{font-size:14px;white-space:nowrap}
.wn-lead{font-size:16px;color:#365b7d}
.awn-section-heading{display:flex;align-items:center;gap:8px}
.awn-section-heading .awn-icon{width:27px;height:27px;color:var(--awn-blue)}
.awn-feature-grid{display:grid;grid-template-columns:1fr;gap:12px}
.awn-feature-card{display:block;min-height:195px;position:relative;overflow:hidden;border-radius:17px;background:linear-gradient(145deg,#209bc7,#8edbee);color:#fff;text-decoration:none;box-shadow:var(--awn-shadow)}
.awn-feature-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.02)}
.awn-feature-card::after{content:"";position:absolute;inset:26% 0 0;background:linear-gradient(transparent,rgba(4,35,62,.86))}
.awn-feature-copy{position:absolute;z-index:1;bottom:16px;left:17px;right:20px}
.awn-feature-copy b{display:inline-block;padding:3px 11px;border:1px solid #fff9;background:#073f6695;border-radius:9px;font-size:13px;line-height:1.4}
.awn-feature-copy strong{display:block;font-size:23px;line-height:1.25;margin-top:7px;color:#fff}
.awn-feature-copy span{display:block;font-size:15px;line-height:1.4;margin-top:5px;color:#fff}
.awn-brewery-mini{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}
.awn-brewery-mini a{display:block;text-decoration:none;font-size:14px;font-weight:800;line-height:1.3;color:var(--awn-deep)}
.awn-brewery-mini img,.awn-brewery-mini .awn-photo-fallback{width:100%;height:86px;display:grid;place-items:center;object-fit:cover;background:#c8e9f6;border-radius:10px}
.awn-brewery-mini strong{display:block;margin-top:6px}
.awn-brewery-mini small{display:block;font-size:12px;color:#4d7193;line-height:1.3}
.awn-news-list{list-style:none;margin:0;padding:0}
.awn-news-list li{border-bottom:1px solid #dcebf2;padding:10px 0}
.awn-news-list a{display:block;text-decoration:none;color:var(--awn-deep);font-size:16px;font-weight:700;line-height:1.5}
.awn-news-list time{display:block;font-size:13px;font-weight:500;color:#53718d}
.wn-empty{font-size:16px}
.wn-footer{background:#fff;color:var(--awn-deep);margin-top:25px;padding:40px 0 35px;position:relative;border-top:1px solid #e3f5fa}
.wn-footer::before{content:"";height:33px;position:absolute;left:0;right:0;top:0;background:radial-gradient(ellipse at 50% 100%,transparent 46%,#a4e3f7 48% 58%,transparent 60%) 0 -7px/57px 35px repeat-x}
.wn-footer a{color:var(--awn-blue)}
.wn-footer small{opacity:1}
.awn-page-banner{position:relative;isolation:isolate;padding:26px 0 24px;background:#c3f0ff;overflow:hidden}
.awn-page-banner::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 94% 7%,#fff 0 5px,transparent 6px),radial-gradient(circle at 91% 60%,#fff9 0 13px,transparent 14px),linear-gradient(150deg,#b9efff,#e3f9ff)}
.awn-page-banner h1{font-size:clamp(28px,7vw,36px);color:var(--awn-deep);line-height:1.25;font-weight:900;margin:0}
.awn-page-banner p{font-size:16px;color:var(--awn-deep);line-height:1.55;margin:9px 0 0;font-weight:600}
.awn-page-banner+.wn-container{position:relative}
.awn-filters{padding:18px 0 6px}
.awn-chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:12px 1px}
.awn-chip{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;min-height:43px;border:1px solid #b5e5f7;border-radius:99px;background:#fff;color:var(--awn-deep);font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap}
.awn-chip.is-active{background:#068fd0;color:#fff;border-color:#068fd0}
.awn-chip .awn-icon{width:19px;height:19px}
.awn-results-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 14px}
.awn-results-bar strong{font-size:18px;font-weight:900}
.awn-sort{font-size:14px;display:block;color:var(--awn-deep);background:#fff;border:1px solid var(--awn-border);border-radius:12px;padding:9px 12px}
.wn-archive-list{display:grid;grid-template-columns:1fr;gap:12px}
.wn-archive-card{border-radius:14px;box-shadow:var(--awn-shadow);border:1px solid #d7eaf5}
.wn-archive-card>a{display:flex;align-items:stretch;min-height:135px}
.wn-archive-card img,.wn-archive-card .awn-card-image{height:auto;min-height:135px;max-height:180px;width:37%;aspect-ratio:1;object-fit:cover;flex:0 0 37%;background:#e1f4fb}
.wn-archive-card-body{padding:12px 12px 12px 14px;min-width:0;flex:1}
.wn-archive-card h2{margin:0 0 5px;font-size:21px;line-height:1.25}
.wn-archive-card p{font-size:15px;line-height:1.48;margin:4px 0 8px;color:#36577c}
.awn-archive-more{font-size:14px;font-weight:800;color:#0089d0}
.awn-card-area{display:block;font-size:13px;font-weight:800;color:var(--awn-blue)}
.wn-pages{font-size:16px}
.wn-content{padding-top:20px;padding-bottom:30px}
.wn-breadcrumb{font-size:14px;line-height:1.5}
.awn-detail-hero{position:relative;overflow:hidden;min-height:210px;margin:0 -15px 18px;background:linear-gradient(120deg,#8cd8f1,#dff9ff)}
.awn-detail-hero img{display:block;width:100%;height:100%;max-height:350px;object-fit:cover}
.awn-detail-hero.no-photo{display:grid;place-items:center;color:var(--awn-deep);font-weight:900}
.awn-detail-badge{display:inline-block;font-size:14px;color:#087ac0;border-radius:7px;background:#ddf6ff;padding:3px 10px;font-weight:800}
.wn-content h1{font-size:clamp(30px,8vw,39px);font-weight:900;line-height:1.25;margin:9px 0}
.awn-subtitle{font-size:19px;font-weight:750;color:var(--awn-blue);line-height:1.45;margin:9px 0 15px}
.awn-detail-intro{font-size:17px;line-height:1.82;margin:16px 0;color:#274f79}
.awn-detail-intro p{margin:0 0 13px}
.wn-content h2{font-size:22px;line-height:1.35;font-weight:900;color:var(--awn-deep);margin:26px 0 13px}
.wn-meta{display:block;border:0;margin:8px 0 12px}
.wn-meta dt{display:inline;color:var(--awn-deep);background:none;border:0;font-size:15px;font-weight:900;padding:0}
.wn-meta dd{display:block;border:0;border-bottom:1px solid var(--awn-border);padding:5px 0 13px;margin:0 0 12px;font-size:16px;overflow-wrap:anywhere}
.awn-info-row{display:flex;gap:12px;border-bottom:1px solid #e4eff8;padding:12px 0;align-items:flex-start}
.awn-info-row>.awn-icon{width:25px;height:25px;color:#008ccc;margin-top:1px}
.awn-info-row strong{display:block;font-size:15px;color:var(--awn-deep);line-height:1.25}
.awn-info-row span,.awn-info-row a{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.awn-primary-link{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;border-radius:14px;background:var(--awn-blue);color:#fff!important;text-decoration:none;font-size:17px;font-weight:900;margin:13px 0}
.awn-primary-link .awn-icon{width:22px;height:22px}
.awn-outline-link{background:#fff;color:var(--awn-blue)!important;border:2px solid var(--awn-blue)}
.awn-product-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.awn-product-mini a{text-decoration:none;color:var(--awn-deep);text-align:center;background:#fff;border-radius:12px;border:1px solid #dbeaf5;overflow:hidden;padding:8px 5px}
.awn-product-mini img,.awn-product-mini .awn-bottle-fallback{width:100%;height:125px;object-fit:contain;background:#f4fbff;border-radius:8px;display:grid;place-items:center;color:var(--awn-blue)}
.awn-product-mini strong{display:block;font-size:14px;line-height:1.35;margin-top:6px}
.awn-product-mini small{display:block;font-size:13px;color:#4b6790;line-height:1.35}
.awn-product-top{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:13px;margin:10px 0 18px}
.awn-product-photo{background:#f1fbff;border-radius:14px;border:1px solid var(--awn-border);display:flex;align-items:center;justify-content:center;min-height:230px;overflow:hidden}
.awn-product-photo img{width:100%;max-height:310px;object-fit:contain}
.awn-product-top h1{font-size:clamp(25px,7.1vw,36px);margin:8px 0 7px;line-height:1.34}
.awn-product-top p{font-size:16px;line-height:1.53;margin:7px 0}
.awn-product-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-radius:12px;background:#e4f6ff;padding:11px 8px;margin:18px 0}
.awn-product-summary>div{text-align:center}
.awn-product-summary b{display:block;font-size:18px;line-height:1.45;color:var(--awn-deep)}
.awn-product-summary small{display:block;color:#416381;font-size:12px;font-weight:750}
.awn-drinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.awn-drinks .awn-drink{padding:14px;border-radius:14px;border:1px solid var(--awn-border);background:#f0fbff;text-align:center;font-size:17px;font-weight:850}
.awn-drinks .awn-drink .awn-icon{width:28px;height:28px;color:var(--awn-blue);display:block;margin:0 auto 7px}
.awn-brewery-related{border:1px solid var(--awn-border);border-radius:14px;overflow:hidden}
.awn-brewery-related a{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--awn-deep);padding:11px}
.awn-brewery-related img{width:98px;height:84px;object-fit:cover;border-radius:8px}
.awn-brewery-related strong{font-size:18px;display:block}
.awn-brewery-related small{display:block;font-size:14px}
.wn-label{color:#086496;font-size:14px}
.wn-news-image,.wn-card-visual{background:#e7f7ff}
@media(min-width:680px){
 .wn-header-inner{min-height:90px}.wn-brand{max-width:300px}.awn-logo{width:230px}
 .wn-navigation{position:static;display:block!important;padding:0;box-shadow:none;background:transparent;border:0}
 .wn-navigation ul{display:flex;gap:6px}
 .wn-navigation a{padding:12px 13px;font-size:16px;color:var(--awn-deep);border:0;border-radius:10px}
 .wn-navigation a{transition:color .18s ease}
.wn-navigation a:hover{background:transparent;color:#2c6288;text-decoration:none}
 .wn-menu-toggle{display:none}
 .awn-header-actions,.awn-header-form,.awn-header-form.is-open{display:none}
 .awn-header-form{max-width:360px;margin-left:auto}
 .wn-hero-content{padding:72px 0 90px}
 .wn-hero h1{font-size:54px}.wn-hero p{font-size:22px}
 .awn-quicklinks{gap:15px;max-width:850px;margin-left:auto;margin-right:auto}
 .awn-quicklink{min-height:120px}
 .awn-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .awn-feature-grid>.awn-feature-card:first-child{grid-column:span 2;min-height:250px}
 .awn-brewery-mini{grid-template-columns:repeat(4,1fr)}
 .awn-brewery-mini img{height:150px}
 .wn-archive-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .awn-detail-hero{margin:0 0 18px;border-radius:18px}
 .awn-detail-hero img{max-height:420px}
 .awn-product-top{grid-template-columns:40% 1fr;gap:30px}
 .awn-product-top h1{font-size:36px}
 .awn-product-mini img,.awn-product-mini .awn-bottle-fallback{height:165px}
}
@media(min-width:1000px){
 .awn-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .awn-feature-grid>.awn-feature-card:first-child{grid-column:span 1;min-height:260px}
 .wn-archive-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .awn-brewery-mini img{height:165px}
}
@media(max-width:360px){
 .awn-quicklink strong{font-size:15px}
 .awn-quicklink small{font-size:11px}
 .awn-product-top{grid-template-columns:40% 1fr;gap:10px}
 .awn-product-top h1{font-size:24px}
 .wn-brand strong{font-size:25px}
}


/* Final legibility refinements from the approved larger-type reference. */
.awn-results-bar form{display:flex;align-items:center;gap:5px}
.awn-results-bar form button{cursor:pointer;font-weight:800;color:var(--awn-blue)}
.awn-detail-kana{font-size:14px;font-weight:700;color:#526e90;line-height:1.4}
.awn-product-brewer{font-size:16px;font-weight:800;margin:10px 0}
.awn-product-brewer a{color:var(--awn-blue)}
.awn-product-top-lead{font-size:16px;line-height:1.65}
.awn-product-photo>.awn-bottle-fallback{display:grid;place-items:center;color:var(--awn-blue);min-height:240px}
.awn-product-photo>.awn-bottle-fallback .awn-icon{width:48px;height:48px}
.awn-brewery-related img{flex:none}
.wn-archive-card>a:focus-visible,.awn-quicklink:focus-visible,.awn-chip:focus-visible{outline:3px solid #f2a52a;outline-offset:3px}
@media(min-width:680px){.awn-product-top-lead{font-size:18px}}


/* Uploaded header_bg.png is used if supplied in assets/images/; the gradient stays as fallback. */
.awn-page-banner {
  background-color: #bcecff;
  background-image:linear-gradient(110deg,rgba(192,238,253,.85),rgba(214,249,255,.76)),url('./images/header_bg.png');
  background-repeat:no-repeat;
  background-position:center,center 42%;
  background-size:cover,cover;
}
.awn-page-banner::after {
  background:radial-gradient(circle at 92% 20%,#fff9 0 5px,transparent 6px),radial-gradient(circle at 95% 62%,#fff7 0 14px,transparent 15px);
}
.awn-search-total{font-size:16px;font-weight:800;color:var(--awn-deep);margin:16px 0}


/* Touch-target audit: keep secondary controls practical on narrow phones. */
.wn-section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
}
.wn-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.awn-chip, .awn-sort {
  min-height: 44px;
}
.wn-breadcrumb a {
  display: inline-block;
  padding-block: 8px;
}


/* Product photo visibility fix: original 600x600 bottle images, all records. */
.awn-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.awn-product-card {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  min-height: 200px;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid var(--awn-border);
  box-shadow: var(--awn-shadow);
  background: #fff;
}
.awn-product-card-image {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  text-decoration: none;
}
.awn-product-card-image img.awn-product-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 216px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}
.awn-product-card-body {
  min-width: 0;
  padding: 16px 14px 16px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
}
.awn-product-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.awn-product-card h3 a { color: var(--awn-deep); text-decoration: none; }
.awn-product-card p { color: #486680; font-size: 15px; line-height: 1.5; margin: 0; }
.awn-product-card .wn-cta { min-height: 44px; display: inline-flex; align-items: center; }
/* The original product photo is a full square image with white margins;
   retain the entire label, bottle cap, and packaging without cropping. */
.awn-product-photo > img.awn-product-main-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.awn-product-photo > .awn-bottle-fallback,
.awn-product-card-image > .awn-bottle-fallback {
  display: grid;
  place-items: center;
  min-height: 180px;
  width: 100%;
  background: #f3fbff;
  border-radius: 10px;
  color: var(--awn-blue);
}
.awn-item-archive-visual {
  flex: 0 0 37%;
  width: 37%;
  min-height: 135px;
  display: grid;
  place-items: center;
  background: #fff;
}
.wn-archive-card .awn-item-archive-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
}
.wn-archive-card .awn-item-archive-visual > .awn-bottle-fallback {
  display: grid;
  place-items: center;
  height: 130px;
  width: 100%;
  background: #f3fbff;
  color: var(--awn-blue);
}
@media (min-width: 680px) {
  .awn-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1000px) {
  .awn-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .awn-product-card { grid-template-columns: 1fr; }
  .awn-product-card-image { height: 224px; }
  .awn-product-card-image img.awn-product-photo { max-height: 212px; }
  .awn-product-card-body { padding: 12px 18px 18px; }
}


/* Header search is omitted on all screen sizes. */
.awn-header-search,.awn-header-form,.awn-header-form.is-open{display:none}


/* Product artwork is square; avoid colored letterboxing in every product view. */
.awn-item-archive-visual,
.awn-product-card-image,
figure.awn-product-photo {
  height:auto;
  min-height:0;
  aspect-ratio:1 / 1;
  align-self:center;
  padding:0;
  background:#fff;
  overflow:hidden;
}
.wn-archive-card .awn-item-archive-visual img.awn-product-photo,
.awn-product-card-image img.awn-product-photo,
figure.awn-product-photo > img.awn-product-main-image,
.awn-product-mini img {
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:1 / 1;
  object-fit:contain;
  background:#fff;
  border:0;
  border-radius:0;
}


/* Restore compact homepage cards: square photo left, product information right. */
@media (min-width:680px) {
  .awn-product-card {
    grid-template-columns:minmax(0,38%) minmax(0,1fr);
    min-height:200px;
    align-items:center;
  }
  .awn-product-card-image {
    width:100%;
    max-width:150px;
    height:auto;
    margin:0;
    justify-self:center;
  }
  .awn-product-card-body {
    padding:16px 14px 16px 5px;
  }
}


/* Homepage breweries match pickup card dimensions; products stay four items. */
.awn-brewery-mini { grid-template-columns:minmax(0,1fr); gap:12px; }
.awn-brewery-mini > a {
  display:flex;
  flex-direction:column;
  height:195px;
  overflow:hidden;
  border-radius:17px;
  background:#fff;
  box-shadow:var(--awn-shadow);
}
.awn-brewery-mini img,.awn-brewery-mini .awn-photo-fallback {
  flex:1 1 0;
  width:100%;
  height:0;
  min-height:0;
  border-radius:0;
  object-fit:cover;
}
.awn-brewery-mini strong { margin:0; padding:8px 12px 0; font-size:16px; line-height:1.4; }
.awn-brewery-mini small { padding:0 12px 10px; line-height:1.4; }
.awn-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:679px) {
  .awn-products-grid { gap:12px; }
  .awn-product-card { grid-template-columns:minmax(0,1fr); min-height:0; }
  .awn-product-card-image {
    width:120px;
    max-width:calc(100% - 24px);
    margin:12px auto 0;
    justify-self:center;
  }
  .awn-product-card-body { padding:10px 12px 12px; gap:6px; justify-content:flex-start; }
  .awn-product-card h3 { font-size:15px; line-height:1.45; }
  .awn-product-card p,.awn-product-card .wn-cta { font-size:13px; }
  .awn-product-card .wn-label { font-size:12px; }
}
@media (min-width:680px) {
  .awn-brewery-mini { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .awn-brewery-mini > a:first-child { grid-column:span 2; height:250px; }
}
@media (min-width:1000px) {
  .awn-brewery-mini { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .awn-brewery-mini > a { height:260px; }
  .awn-brewery-mini > a:first-child { grid-column:span 1; height:260px; }
  .awn-products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .awn-product-card h3 { font-size:16px; }
  .awn-product-card-body { padding:12px 10px 12px 4px; }
}


/* Original brewery photos stay uncropped on phones; rebalance featured products. */
@media (max-width:679px) {
  .awn-brewery-mini > a { height:auto; }
  .awn-brewery-mini img { flex:0 0 auto; height:auto; object-fit:contain; }
  .awn-product-card-image { width:132px; }
  .awn-product-card h3 { font-size:14px; }
}
@media (min-width:680px) {
  .awn-product-card { grid-template-columns:minmax(0,44%) minmax(0,1fr); }
  .awn-product-card h3 { font-size:17px; }
}
@media (min-width:1000px) {
  .awn-product-card h3 { font-size:15px; }
}


/* Featured product names and specifications use distinct readable sizes. */
.awn-product-card-body { font-size:12px; line-height:1.5; }
.awn-product-card h3 { font-size:16px; line-height:1.5; }
.awn-product-card p { font-size:12px; line-height:1.5; }


/* Give recommended brewery captions a pale background and room on phones. */
.awn-brewery-mini strong,
.awn-brewery-mini small { background-color:#edf7fa; }
@media (max-width:679px) {
  .awn-brewery-mini { row-gap:24px; }
  section[aria-labelledby="awn-breweries-heading"] { padding-bottom:16px; }
}


/* Match the featured product card outline on recommended brewery cards. */
.awn-brewery-mini > a { border:1px solid var(--awn-border); }


/* Product archive names use 18px on desktop and mobile. */
.post-type-archive-item .wn-archive-card h2 { font-size:18px; }


/* Shared footer: header artwork and a small right-aligned alcohol notice. */
.wn-footer {
  background-color:#f8fcff;
  background-image:url('./images/header_bg.png');
  background-repeat:repeat-x;
  background-position:center center;
  background-size:auto 100%;
  border-top:0;
}
.wn-footer::before { display:none; }
.awn-footer-inner {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.awn-footer-brand { flex:0 0 auto; }
.wn-footer .awn-footer-notice {
  margin:0;
  min-width:0;
  max-width:720px;
  font-size:11px;
  line-height:1.7;
  text-align:right;
  color:var(--awn-deep);
}
@media (max-width:679px) {
  .awn-footer-inner { flex-direction:column; align-items:stretch; gap:16px; }
  .wn-footer .awn-footer-notice { align-self:flex-end; max-width:100%; }
}


/* Keep a clear gap above the shared footer. */
.wn-footer { margin-top:100px; }


/* NEWS PickUp! card titles share the same size across screen widths. */
.awn-feature-copy strong { font-size:18px; }


/* Extend the sky above the shared header/footer wave by 20px. */
.wn-header,
.wn-footer {
  background-color:#B4E7F9; /* Match the image’s top edge so the extended sky has no seam. */
  background-position:center 20px;
}


/* Reveal 10px more of the header wave. */
.wn-header { background-position:center 10px; }


/* Let the header scroll with the page on desktop and mobile. */
.wn-header,
.admin-bar .wn-header { position:relative; top:auto; }


/* A compact, accessible back-to-top control on every page. */
.awn-back-to-top {
  position:fixed;
  right:24px;
  bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  z-index:1000;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  width:52px;
  height:52px;
  min-width:0;
  box-sizing:border-box;
  padding:6px;
  border:2px solid #fff;
  border-radius:50%;
  background:#1177a1;
  color:#fff;
  font:700 10px/1.1 sans-serif;
  letter-spacing:.04em;
  box-shadow:0 3px 14px rgba(11,62,87,.25);
  cursor:pointer;
  transition:background-color .18s;
}
.awn-back-to-top[hidden] { display:none; }
.awn-back-to-top svg { flex:none; }
.awn-back-to-top { touch-action:manipulation; -webkit-user-select:none; user-select:none; }
.awn-back-to-top > * { pointer-events:none; }
@media (hover:hover) and (pointer:fine) {
  .awn-back-to-top:hover { background:#075878; }
}
.awn-back-to-top:focus-visible { outline:3px solid #075878; outline-offset:3px; }
@media (max-width:679px) {
  .awn-back-to-top { right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); width:48px; height:48px; }
}
@media (prefers-reduced-motion:reduce) {
  .awn-back-to-top { transition:none; }
}


/* Keep NEWS PickUp! titles readable over bright photos. */
.awn-feature-card::after {
  inset:0;
  background:linear-gradient(180deg, rgba(4,35,62,.04) 0%, rgba(4,35,62,.50) 45%, rgba(4,35,62,.94) 100%);
}


/* The entire recommended awamori card is a single accessible link. */
a.awn-product-card { color:inherit; text-decoration:none; touch-action:manipulation; }
a.awn-product-card h3 { color:var(--awn-deep); }
a.awn-product-card:focus-visible { outline:3px solid #1177a1; outline-offset:3px; }
@media (hover:hover) and (pointer:fine) {
  a.awn-product-card:hover h3 { text-decoration:underline; }
}


/* Match each homepage area card to its supplied landscape photograph. */
#areas .wn-region.awn-region-photo {
  background-color:#166e92;
  background-image:linear-gradient(180deg, rgba(4,35,62,.04) 0%, rgba(4,35,62,.18) 38%, rgba(4,35,62,.82) 100%), var(--awn-area-photo);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.65);
}
#areas .wn-region.awn-region-photo::before { display:none; }
#areas .wn-region.awn-region-photo strong,
#areas .wn-region.awn-region-photo span { color:inherit; }



/* Sitewide rounded typography, approved on 2026-10-17. */
:root { --awn-font-family:"M PLUS Rounded 1c",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }
body,button,input,select,textarea,h1,h2,h3,h4,h5,h6,
.wn-brand strong,.awn-brand-wordmark strong,.wn-hero h1,.awn-back-to-top { font-family:var(--awn-font-family); }

/* Lighter rounded headings: keep existing sizes and layout. */
body :is(h1,h2,h3) { font-weight:400 !important; }


/* Homepage navigation cards based on the supplied artwork. */
.home .awn-quicklinks {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  max-width:none;
  margin:22px 0 12px;
}
.home .awn-quicklink {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  justify-content:normal;
  gap:12px;
  aspect-ratio:2.025;
  min-height:0;
  padding:18px;
  border:1px solid color-mix(in srgb,currentColor 9%,transparent);
  border-radius:22px;
  background-image:var(--awn-quicklink-bg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  text-align:left;
  box-shadow:0 6px 18px color-mix(in srgb,currentColor 10%,transparent);
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .18s ease;
}
.home .awn-quicklink:nth-child(1) { color:#104c80; background-color:#def2fd; }
.home .awn-quicklink:nth-child(2) { color:#8f2347; background-color:#fde7ec; }
.home .awn-quicklink:nth-child(3) { color:#087257; background-color:#def7ee; }
.home .awn-quicklink:nth-child(4) { color:#965d14; background-color:#fff2dc; }
.home .awn-quicklink-symbol {
  display:flex;
  align-items:center;
  padding-right:12px;
  border-right:1px solid currentColor;
  min-height:54px;
}
.home .awn-quicklink .awn-quicklink-symbol .awn-icon { width:42px; height:42px; margin:0; }
.home .awn-quicklink-label { display:flex; flex-direction:column; gap:6px; min-width:0; }
.home .awn-quicklink strong { font-size:clamp(20px,2vw,28px); font-weight:700; line-height:1.2; white-space:nowrap; }
.home .awn-quicklink small { margin:0; font-size:16px; font-weight:500; line-height:1.3; white-space:nowrap; }
.home .awn-quicklink-arrow {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 10px color-mix(in srgb,currentColor 18%,transparent);
}
.home .awn-quicklink .awn-quicklink-arrow .awn-icon { width:23px; height:23px; margin:0; stroke-width:3; }
@media (hover:hover) and (pointer:fine) {
  .home .awn-quicklink:hover { opacity:.82; }
}
.home .awn-quicklink:active { opacity:.75; }
@media (max-width:1000px) and (min-width:680px) {
  .home .awn-quicklinks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home .awn-quicklink { padding:12px; gap:8px; }
  .home .awn-quicklink-symbol { padding-right:8px; min-height:46px; }
  .home .awn-quicklink .awn-quicklink-symbol .awn-icon { width:30px; height:30px; }
  .home .awn-quicklink strong { font-size:20px; }
  .home .awn-quicklink small { font-size:13px; }
  .home .awn-quicklink-arrow { width:26px; height:26px; }
  .home .awn-quicklink .awn-quicklink-arrow .awn-icon { width:18px; height:18px; }
}
@media (max-width:679px) {
  .home .awn-quicklinks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
  .home .awn-quicklink { gap:8px; padding:12px; border-radius:17px; }
  .home .awn-quicklink-symbol { padding-right:8px; min-height:42px; }
  .home .awn-quicklink .awn-quicklink-symbol .awn-icon { width:27px; height:27px; }
  .home .awn-quicklink strong { font-size:20px; }
  .home .awn-quicklink small { font-size:12px; }
  .home .awn-quicklink-label { gap:4px; }
  .home .awn-quicklink-arrow { width:24px; height:24px; }
  .home .awn-quicklink .awn-quicklink-arrow .awn-icon { width:17px; height:17px; }
}
@media (max-width:374px) {
  .home .awn-quicklinks { gap:10px; }
  .home .awn-quicklink { padding:10px; gap:6px; }
  .home .awn-quicklink strong { font-size:16px; }
  .home .awn-quicklink small { font-size:11px; }
  .home .awn-quicklink .awn-quicklink-symbol .awn-icon { width:23px; height:23px; }
  .home .awn-quicklink-arrow { width:20px; height:20px; }
  .home .awn-quicklink .awn-quicklink-arrow .awn-icon { width:15px; height:15px; }
}
@media (prefers-reduced-motion:reduce) {
  .home .awn-quicklink,.home .awn-quicklink-arrow { transition:none; }
}

/* Place the brewery introduction beside its page heading. */
:is(.awn-brewery-banner-inner,.awn-item-banner-inner) { display:flex; align-items:center; gap:32px; }
:is(.awn-brewery-banner-inner,.awn-item-banner-inner) h1 { flex:none; margin:0; }
:is(.awn-brewery-banner-inner,.awn-item-banner-inner) p { min-width:0; margin:0; }
@media(max-width:679px) {
  :is(.awn-brewery-banner-inner,.awn-item-banner-inner) { gap:16px; }
  :is(.awn-brewery-banner-inner,.awn-item-banner-inner) h1 { font-size:clamp(20px,6vw,26px); }
  :is(.awn-brewery-banner-inner,.awn-item-banner-inner) p { font-size:12px; line-height:1.6; }
}

/* Remove article-heading top space from brewery card company names. */
.post-type-archive-brewery .wn-archive-card h2,
.tax-area .wn-archive-card h2 { margin-top:0; }

/* Brewery card area labels and right-aligned Font Awesome f138. */
.post-type-archive-brewery .awn-card-area,
.tax-area .awn-card-area { font-weight:600; }
.awn-brewery-card-more { display:flex; justify-content:flex-end; align-items:center; margin-top:8px; line-height:1; }
.awn-brewery-card-more .fa { font-size:24px; line-height:1; }

/* Keep brewery detail icons at the same bottom-right corner on every card. */
.post-type-archive-brewery .wn-archive-card,
.tax-area .wn-archive-card { position:relative; }
.post-type-archive-brewery .wn-archive-card-body,
.tax-area .wn-archive-card-body { padding-bottom:44px; }
.awn-brewery-card-more { position:absolute; right:12px; bottom:12px; margin:0; color:#70accb; }

/* Product archive detail icons follow the brewery card treatment. */
.post-type-archive-item .wn-archive-card { position:relative; }
.post-type-archive-item .wn-archive-card-body { padding-bottom:44px; }
.awn-item-card-more { position:absolute; right:12px; bottom:12px; margin:0; color:#70accb; line-height:1; }
.awn-item-card-more .fa { font-size:24px; line-height:1; }

/* Separate the product name from its registered brewery company. */
.post-type-archive-item .wn-archive-card h2 { margin-bottom:6px; }
.post-type-archive-item .awn-item-card-company { display:block; font-size:12px; font-weight:400; line-height:1.5; color:#53718d; margin:0 0 6px; }

/* Area directory: preserve the supplied map ratio and reuse homepage cards. */
.awn-area-directory-page { padding-top:26px; padding-bottom:50px; }
.awn-area-directory-page .awn-area-map { margin:0; }
.awn-area-directory-page .awn-area-map img { display:block; width:100%; height:auto; }
.awn-area-directory-page #areas { padding-top:28px; }

@media(max-width:679px) {
  .awn-area-directory-page #awn-areas-heading { text-wrap:balance; }
}

/* Use normal weight throughout the archive results bar. */
.awn-results-bar,
.awn-results-bar strong,
.awn-results-bar form button,
.awn-results-bar .awn-sort { font-weight:normal; }

/* Product detail: regular manufacturer text and inline JAN code. */
.single-item .awn-product-brewer,
.single-item .awn-product-brewer a{font-weight:normal}
.single-item .wn-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:20px;align-items:baseline;border-bottom:1px solid var(--awn-border)}
.single-item .wn-meta dt,
.single-item .wn-meta dd{display:block;font-weight:normal;border:0;margin:0;padding:5px 0 13px}


/* Frame the four desktop header links as one group. */
@media (min-width:680px) {
  .wn-header .wn-navigation {
    background:rgba(255,255,255,.5);
    border:1px solid #95cdc9;
    border-radius:16px;
    box-shadow:none;
  }
  .wn-header .wn-navigation a {
    font-weight:600;
    padding:6px 18px;
  }
}

.wn-header-inner {min-height:100px;}

/* Droplet silhouette; keep the button and its contents upright. */
.awn-back-to-top,
.awn-back-to-top:hover {
  background:transparent;
  border-color:transparent;
  box-shadow:none;
  gap:0;
}
.awn-back-to-top::before {
  content:"";
  position:absolute;
  inset:3px;
  z-index:-1;
  border:2px solid #fff;
  border-radius:4px 50% 50% 50%;
  background:#1177a1;
  box-shadow:0 3px 14px rgba(11,62,87,.25);
  transform:rotate(45deg);
  pointer-events:none;
  transition:background-color .18s;
}
.awn-back-to-top svg { display:none; }
@media (hover:hover) and (pointer:fine) {
  .awn-back-to-top:hover::before { background:#075878; }
}
@media (prefers-reduced-motion:reduce) {
  .awn-back-to-top::before { transition:none; }
}

.wn-section {padding-top:40px;}

/* Homepage trial: continue the existing sea photograph behind the 100px header. */
body.home .wn-header { background-image:none; background-color:transparent; }
body.home .wn-hero { margin-top:-100px; }
body.home .wn-hero-content { padding-top:144px; }
@media (min-width:680px) {
  body.home .wn-hero-content { padding-top:172px; }
}
body.home .wn-menu-toggle { color:#fff; text-shadow:0 1px 3px rgba(5,46,87,.8); }

/* Homepage logo: about 1.3x, with room retained for the desktop navigation. */
body.home .wn-brand { width:75.4%; max-width:273px; }
body.home .awn-logo { width:100%; }
@media (min-width:680px) {
  body.home .wn-brand { width:clamp(230px,calc(100vw - 450px),299px); max-width:299px; }
}

/* Add 20px above the homepage logo, keeping the sea behind the taller header. */
body.home .wn-header-inner { min-height:120px; padding-top:20px; }
body.home .wn-hero { margin-top:-120px; }
