/* BYAKKO identity and the locally connected shopping surfaces. Theme geometry is retained. */
.byakko-wordmark { object-fit:contain!important; }
.byakko-account-trigger { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
.byakko-account-trigger svg { width:17px; height:17px; }
.byakko-dialog { position:fixed; inset:0 0 0 auto; width:min(520px,100%); max-width:100%; height:100dvh; max-height:100dvh; margin:0 0 0 auto; padding:0; border:0; border-radius:16px 0 0 16px; background:#fff; color:#1c1c1c; font:400 14px/1.5 Inter,Arial,sans-serif; box-shadow:-12px 0 50px #0001; }
.byakko-dialog::backdrop { background:#0005; backdrop-filter:blur(5px); }
.byakko-dialog[open] { display:flex; flex-direction:column; }
.byakko-dialog.byakko-search { width:min(780px,100%); }
.byakko-dialog.byakko-quick { width:min(920px,100%); }
.byakko-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 28px; border-bottom:1px solid #ededed; }
.byakko-dialog h2 { font-size:24px; font-weight:500; letter-spacing:-.7px; margin:0; }
.byakko-close { width:38px; height:38px; border:1px solid #ddd; background:transparent; color:#171717; border-radius:50%; cursor:pointer; font-size:24px; line-height:1; }
.byakko-dialog-body { padding:28px; overflow:auto; overscroll-behavior:contain; flex:1; }
.byakko-empty { display:flex; min-height:60vh; align-items:center; justify-content:center; flex-direction:column; text-align:center; gap:20px; }
.byakko-empty p { max-width:300px; color:#666; }
.byakko-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; border:1px solid #1c1c1c; padding:12px 25px; border-radius:50px; background:#1c1c1c; color:#fff!important; font:500 13px/1.4 Inter,Arial,sans-serif; text-decoration:none; cursor:pointer; }
.byakko-button:hover { background:#444; }
.byakko-button:disabled { opacity:.45; cursor:not-allowed; }
.byakko-button.secondary { color:#1c1c1c!important; background:transparent; border-color:#ccc; }
.byakko-cart-item { display:grid; grid-template-columns:98px 1fr; gap:20px; padding:22px 0; border-bottom:1px solid #ececec; }
.byakko-cart-item img { width:98px; height:126px; object-fit:cover; background:#f5f5f5; border-radius:8px; }
.byakko-cart-item h3 { font:500 15px/1.45 Inter,Arial,sans-serif; margin:0 0 5px; }
.byakko-cart-item p { color:#777; margin:0 0 9px; font-size:12px; }
.byakko-item-price { font-size:13px; }
.byakko-item-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; }
.byakko-quantity { display:flex; align-items:center; border:1px solid #ddd; border-radius:30px; height:34px; }
.byakko-quantity button { width:32px; height:32px; border:0; background:none; cursor:pointer; font-size:16px; }
.byakko-quantity span { min-width:22px; text-align:center; font-size:12px; }
.byakko-remove { border:0; background:none; text-decoration:underline; font-size:11px; color:#777; cursor:pointer; }
.byakko-cart-summary { padding:22px 28px 28px; border-top:1px solid #e9e9e9; background:#fff; }
.byakko-cart-summary > div { display:flex; justify-content:space-between; font-size:18px; margin-bottom:8px; }
.byakko-cart-summary p { color:#777; font-size:11px; margin:8px 0 18px; }
.byakko-cart-summary .byakko-button { width:100%; }
.byakko-shipping-progress { font-size:12px; margin-bottom:8px; }
.byakko-progress-track { height:3px; margin:12px 0 5px; background:#e8e8e8; border-radius:5px; overflow:hidden; }
.byakko-progress-track span { display:block; height:100%; background:#1c1c1c; }
.byakko-search-input { border:0; border-bottom:1px solid #aaa; border-radius:0; background:transparent; padding:16px 0; font:400 24px Inter,Arial,sans-serif; width:100%; outline-offset:5px; }
.byakko-search-meta { margin:22px 0; color:#777; font-size:12px; }
.byakko-search-results { display:grid; grid-template-columns:1fr 1fr; gap:24px 12px; }
.byakko-search-card { color:#222; text-decoration:none; display:block; }
.byakko-search-card img { width:100%; aspect-ratio:4/5; object-fit:cover; background:#f5f5f5; border-radius:9px; }
.byakko-search-card h3 { font-size:13px; font-weight:500; margin:10px 0 4px; }
.byakko-search-card p { font-size:11px; color:#666; margin:0; }
.byakko-toast { position:fixed; z-index:100000; bottom:25px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); padding:14px 22px; background:#1c1c1c; color:#fff; border-radius:10px; font:13px/1.5 Inter,Arial,sans-serif; box-shadow:0 5px 30px #0003; }
.byakko-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.byakko-quick-grid > img { width:100%; border-radius:10px; background:#f5f5f5; }
.byakko-quick-grid h3 { font-size:28px; line-height:1.1; font-weight:500; letter-spacing:-.8px; margin:10px 0 20px; }
.byakko-quick-grid fieldset { border:0; margin:20px 0; padding:0; }
.byakko-quick-grid legend { margin-bottom:10px; font-size:12px; }
.byakko-options { display:flex; flex-wrap:wrap; gap:7px; }
.byakko-options label { cursor:pointer; }
.byakko-options input { position:absolute; opacity:0; width:1px; }
.byakko-options span { display:block; padding:9px 15px; border:1px solid #ddd; border-radius:25px; }
.byakko-options input:checked + span { background:#1c1c1c; color:#fff; border-color:#1c1c1c; }
.byakko-options input:focus-visible + span { outline:2px solid #555; outline-offset:3px; }
.byakko-detail-link { display:block; margin:20px 0; font-size:12px; text-decoration:underline; }
.byakko-info-page { max-width:800px; min-height:65vh; margin:auto; padding:100px 30px; color:#222; }
.byakko-info-page h1 { font-size:clamp(38px,5vw,70px); line-height:1.08; letter-spacing:-2px; margin:25px 0; }
.byakko-info-page p { font-size:15px; line-height:1.7; margin:20px 0; }
.byakko-info-page .byakko-button { margin-top:20px; }
.byakko-page-search { padding:80px 24px; }
.byakko-page-search h1 { text-align:center; font-size:clamp(32px,4vw,60px); margin:0 0 40px; letter-spacing:-1.5px; }
.byakko-page-search .byakko-search-input { display:block; max-width:650px; margin:0 auto 45px; }
.byakko-page-search .byakko-search-results { grid-template-columns:repeat(4,1fr); }
#byakko-cart-page { max-width:850px; margin:auto; padding:80px 24px; min-height:60vh; }
#byakko-cart-page > h1 { font-size:48px; letter-spacing:-1.5px; margin-bottom:30px; }
.byakko-form-notice { display:block; padding:14px; margin-top:15px; border:1px solid currentColor; border-radius:8px; font-size:13px; line-height:1.5; }
.byakko-cart-badge { position:absolute; top:-3px; right:-4px; min-width:15px; height:15px; border:1px solid #fff; border-radius:50%; background:#1c1c1c; }
.byakko-cart-badge span { display:block; color:#fff; font-size:9px; line-height:13px; text-align:center; }
header-cart-icon { position:relative; }
body:has(.byakko-dialog[open]) { overflow:hidden; }
:where(a,button,input,select,summary):focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.byakko-no-results { padding:70px 20px; text-align:center; grid-column:1/-1; }
body .byakko-dialog h2 { font-size:24px; font-weight:500; line-height:1.2; letter-spacing:-.7px; text-transform:none; }
body .byakko-search-card h3 { font-size:13px; font-weight:500; line-height:1.4; letter-spacing:0; text-transform:none; }
body .byakko-cart-item h3 { font-size:15px; font-weight:500; line-height:1.45; letter-spacing:0; text-transform:none; }
body .byakko-quick-grid h3 { font-size:28px; line-height:1.1; letter-spacing:-.8px; text-transform:none; }
body .byakko-info-page h1 { font-size:clamp(38px,5vw,70px); line-height:1.08; letter-spacing:-2px; }
@media(max-width:767px) {
  .byakko-dialog { border-radius:0; }
  .byakko-dialog-head { padding:20px; }
  .byakko-dialog-body { padding:20px; }
  .byakko-quick-grid { grid-template-columns:1fr; }
  .byakko-quick-grid > img { max-height:42vh; object-fit:contain; }
  .byakko-page-search { padding:60px 14px; }
  .byakko-page-search .byakko-search-results { grid-template-columns:1fr 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
