/*
Theme Name: Moonphase Watch
Description: 日文 WooCommerce 商城。配合 Moonphase Commerce 使用。
Version: 0.3.0
Requires PHP: 8.0
Text Domain: moonphase-watch
*/
:root{--ink:#2a2a2b;--gold:#a98542;--line:#ddd7ce;--paper:#fff;--muted:#6b6862}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Sawarabi Mincho','Yu Mincho','Hiragino Mincho ProN',serif;font-size:16px;line-height:1.8}a{color:inherit;text-decoration:none}a:hover{color:#956b23}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,.button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #906c32;outline-offset:4px}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.mp-topbar{font-size:13px;text-align:right;padding:8px 0;border-bottom:1px solid #eee}.mp-header{padding:30px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:24px}.mp-logo{display:block;max-width:260px;font-family:Georgia,serif;font-size:30px;letter-spacing:.09em}.mp-header form{display:flex;flex:1;max-width:510px}.mp-header input{width:100%;border:1px solid #ccc;padding:8px 12px;font-size:14px}.mp-header button{background:#fff;border:1px solid #ccc;padding:8px 16px}.mp-tools{display:flex;gap:16px;align-items:center}.mp-tools button{border:0;padding:8px}.mp-nav{border-bottom:1px solid var(--line)}.mp-nav ul{display:flex;list-style:none;gap:44px;margin:0;padding:10px 0 20px;justify-content:center}.mp-nav a{font-size:17px}.mp-nav small{display:block;font-size:12px;color:var(--muted);line-height:1.2}.mp-hero{margin:20px 15px 0}.mp-hero img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover}.mp-links{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:34px 0}.mp-links a{border:1px solid #c8b790;padding:23px 12px;text-align:center}.mp-links a:hover{background:#171512;color:#f4efe4}.mp-links small{display:block;color:#94733a;letter-spacing:.08em}.mp-section{margin:64px 0}.mp-section-title{font-size:30px;font-weight:400;letter-spacing:.06em;text-align:center;margin-bottom:30px}.mp-section-title small{display:block;font-size:14px;color:var(--muted)}.mp-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.mp-post-grid h3{font-size:17px;font-weight:400}.mp-post-grid img{aspect-ratio:1.6;object-fit:cover}.mp-post-grid time{font-size:13px;color:var(--muted)}.mp-content{min-height:45vh;padding:44px 0 70px}.mp-content>h1,.entry-title{font-size:30px;font-weight:400;border-bottom:1px solid var(--line);padding-bottom:20px}.mp-prose{max-width:900px;margin:auto}.mp-prose img,.mp-prose iframe{max-width:100%}.mp-prose table{width:100%;border-collapse:collapse}.mp-prose td,.mp-prose th{padding:14px;border-bottom:1px solid var(--line)}.mp-footer{background:#f5f4f1;padding:50px 0 24px;margin-top:50px;border-top:1px solid var(--line)}.mp-footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.mp-footer ul{list-style:none;margin:0;padding:0}.mp-footer h2{font-size:18px;font-weight:400}.mp-footer small{display:block;text-align:center;margin-top:40px;color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin:30px 0}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:100%;margin:0}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#fff}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.7;font-weight:400}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:#2a2a2b}.woocommerce ul.products li.product .button{font-size:13px;font-weight:400;background:#f5f4f1;color:#333;border:1px solid var(--line);border-radius:0}.woocommerce div.product .product_title{font-size:27px;font-weight:400;line-height:1.6}.woocommerce div.product form.cart .button,.woocommerce #payment #place_order,.woocommerce a.button.alt,.woocommerce button.button.alt{background:#24211c;color:#fff;border-radius:0;font-weight:400;padding:16px 24px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:#f5f4f1}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px;border:1px solid #ccc;border-radius:0}.woocommerce form .form-row label{font-size:14px}.woocommerce table.shop_table{border-radius:0;border-color:var(--line)}.woocommerce table.shop_table th{font-weight:400}.woocommerce #payment{background:#f5f4f1;border-radius:0}.mp-reference{font-size:14px;color:var(--muted)}.mp-reference span{display:block;font-size:12px}.mp-payment-help{padding:24px;border:1px solid var(--line);margin:30px 0}.mp-payment-help h2{font-size:19px;font-weight:400}.mp-payment-help a{text-decoration:underline}.mp-dialog{border:0;padding:32px;max-height:100dvh;color:var(--ink)}.mp-dialog::backdrop{background:#0007}.mp-search-dialog{width:min(900px,95vw)}.mp-search-dialog form{display:flex;gap:12px}.mp-search-dialog input{min-width:0;flex:1;padding:12px}.mp-search-dialog .mp-hot{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.mp-dialog-close{display:block;margin-left:auto;background:none;border:0;padding:10px;font-size:16px}.mp-cart-dialog{height:100dvh;width:min(470px,100vw);max-width:100vw;max-height:100dvh;margin:0 0 0 auto;overflow:auto}.mp-cart-dialog .woocommerce-mini-cart{list-style:none;padding:0}.mp-cart-dialog .woocommerce-mini-cart li{padding:18px 0;border-bottom:1px solid var(--line);min-height:100px}.mp-cart-dialog .woocommerce-mini-cart img{width:70px;float:right;margin-left:15px}.mp-cart-dialog .woocommerce-mini-cart__buttons{display:grid;gap:12px}.mp-cart-dialog .button{display:block;text-align:center;background:#24211c;color:#fff;padding:12px}.mp-banner{margin:35px 0}.mp-banner img{display:block;width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;left:10px;top:10px;width:auto;height:auto;clip-path:none;z-index:100;background:white;padding:10px}.mp-empty{padding:40px 0;color:var(--muted)}
@media(max-width:1000px){.mp-nav ul{gap:24px}.mp-header form{display:none}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wrap{width:calc(100% - 30px)}.mp-topbar{font-size:11px}.mp-header{padding:18px 0;gap:10px}.mp-logo{max-width:180px;font-size:23px}.mp-tools{gap:8px;font-size:13px}.mp-nav ul{justify-content:flex-start;overflow:auto;gap:26px;padding-bottom:14px;white-space:nowrap}.mp-nav a{font-size:14px}.mp-nav small{font-size:10px}.mp-hero{margin:0}.mp-hero img{aspect-ratio:1/2}.mp-links{gap:10px;margin-top:24px}.mp-links a{padding:16px 8px;font-size:14px}.mp-section{margin:42px 0}.mp-section-title{font-size:25px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}.mp-post-grid,.mp-footer-grid{grid-template-columns:1fr}.mp-content{padding-top:25px}.mp-dialog{padding:18px}.mp-search-dialog form{flex-wrap:wrap}.woocommerce div.product .product_title{font-size:23px}}
.mp-header form button{white-space:nowrap;flex:0 0 64px}.mp-header form input{min-width:0}.mp-footer a{display:inline-block;padding:3px 0}.mp-prose h1:not(.entry-title){font-size:26px}.mp-prose h2{font-size:23px;margin-top:36px}.mp-prose h3{font-size:19px}.mp-prose .mp-grid,.mp-prose .mp-gallery,.mp-prose .mp-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.mp-prose .mp-hero{margin:0}.mp-prose .mp-hero-bg,.mp-prose .mp-hero-dots,.mp-prose .mp-hero-scrim{display:none}.mp-prose .mp-hero img{aspect-ratio:auto}.mp-prose .mp-section{margin:32px 0}.mp-prose a{text-decoration:underline}.mp-hero-slider{position:relative}.mp-hero-slide[hidden]{display:none}.mp-slide-controls{display:flex;justify-content:center;gap:14px;padding:12px}.mp-slide-controls button{width:40px;height:32px;border:1px solid #c8b790;background:white}.mp-slide-controls button[aria-current=true]{background:#24211c;color:white}
@media(max-width:600px){.mp-prose .mp-grid,.mp-prose .mp-gallery,.mp-prose .mp-stores{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
