/* Shared navigation and page layouts; the original visual tokens live in style.css. */
body{display:flex;flex-direction:column;min-height:100vh}
main{flex:1}
[hidden]{display:none!important}
#main{scroll-margin-top:12px}
.main-nav a[aria-current=page]{color:var(--wine)}
.main-nav a[aria-current=page]::after{content:'';position:absolute;inset:auto 0 0;height:2px;background:var(--wine)}
.head-actions a[aria-current=page]{background:#efe9e1;color:var(--wine)}
.mobile-nav{display:none}
.legal-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.legal-links a{white-space:nowrap}
.legal-links a:hover,.footer-about:hover,.footer-links h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.footer-about{display:inline-block;margin-top:10px;color:#e6d9ce;font-size:.8rem}
.footer-demo{max-width:45%;text-align:center}
.home-grid{margin-top:24px}
.center-actions{display:flex;justify-content:center;margin:24px 0 0}
.route-content{padding-block:23px 70px;min-height:420px}
.crumbs{font-size:.76rem;color:var(--muted);margin-bottom:25px}
.crumbs ol{display:flex;align-items:baseline;flex-wrap:wrap;list-style:none;padding:0;margin:0;gap:4px 0}
.crumbs li+li::before{content:'/';display:inline-block;margin-inline:9px;color:#8d7970}
.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbs [aria-current]{font-weight:800;color:var(--ink)}
.route-heading{max-width:780px;margin-bottom:27px}
.route-heading h1,.purchase h1{font:500 clamp(2.75rem,5vw,5rem)/1.03 var(--display);letter-spacing:-.055em}
.route-heading .eyebrow{margin-bottom:10px}
.route-lead{color:var(--muted);line-height:1.65;margin-top:13px;max-width:60ch}
.route-content .catalog-tools{border-block:1px solid var(--rule);padding-block:12px;margin-block:0 12px}
.filter{display:inline-flex;align-items:center;justify-content:center}
.filter[aria-current=page]{background:var(--wine);border-color:var(--wine);color:white}
.listing-count{font-size:.8rem;color:var(--muted);margin:0 0 13px}
.product-info h3 a:hover,.cart-line h2 a:hover,.checkout-line a:hover{text-decoration:underline;text-underline-offset:3px}
.product-page-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:clamp(26px,5vw,88px);align-items:start;margin-top:7px}
.page-product-photo{position:relative;background:#e5ddd2;max-width:615px}
.page-product-photo img{aspect-ratio:4/5;object-fit:cover}
.purchase{max-width:530px;min-width:0;padding:13px 0}
.purchase h1{font-size:clamp(2.35rem,4vw,4.25rem);margin:12px 0 14px}
.purchase-price{font-size:1.22rem;font-weight:850}
.purchase-price small{color:var(--muted);font-size:.68rem;vertical-align:2px;margin-left:3px}
.purchase-desc{color:var(--muted);line-height:1.65;margin:16px 0 19px}
.color-line{display:flex;align-items:center;gap:8px;font-size:.85rem;border-top:1px solid var(--rule);padding-top:16px}
.color-line .swatch{margin:0}
.size-row{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-top:20px;font-size:.85rem;scroll-margin-top:32px}
.underlined{text-decoration:underline;text-underline-offset:3px}
.underlined:hover{color:var(--wine)}
.purchase .sizes{margin-block:10px 13px}
.purchase .size{min-width:48px;min-height:43px}
.purchase .size:hover{border-color:var(--wine)}
.form-error:not(:empty){margin-bottom:11px}
.purchase-actions{display:grid;grid-template-columns:1fr 49px;gap:8px}
.product-save{padding-inline:0}
.product-save[aria-pressed=true] .icon{fill:var(--wine);stroke:var(--wine)}
.add-result{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 13px;margin-top:10px;background:#eee7dd;font-size:.8rem}
.purchase .product-notes{margin-top:22px}
.product-notes details,.faq details{border-bottom:1px solid var(--rule);padding:12px 0}
.product-notes details:first-child,.faq details:first-of-type{border-top:1px solid var(--rule)}
.product-notes summary,.faq summary{cursor:pointer;font-weight:800}
.product-notes p,.faq details p{color:var(--muted);line-height:1.6;font-size:.88rem;margin-top:8px}
.related{margin-top:52px}
.related h2,.faq h2,.search-heading{font:500 clamp(1.8rem,3.4vw,2.7rem)/1.1 var(--display);letter-spacing:-.035em;margin-bottom:16px}
.page-empty{display:grid;justify-items:center;text-align:center;gap:12px;background:#f4eee6;border:1px solid #e7ded2;min-height:255px;align-content:center;padding:23px}
.page-empty h2{font:500 clamp(1.65rem,3vw,2.35rem)/1.2 var(--display);letter-spacing:-.04em}
.page-empty p{color:var(--muted);line-height:1.55;max-width:40ch}
.page-empty .btn{margin-top:4px}
.page-empty .icon{color:var(--wine);width:30px;height:30px}
.search-form{display:flex;gap:8px;margin-bottom:24px;max-width:650px}
.search-form .search-box{flex:1;margin:0;min-width:0}
.search-form .btn{min-width:90px}
.search-heading{margin-block:8px 9px;overflow-wrap:anywhere}
.order-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.63fr);gap:clamp(24px,4vw,64px);align-items:start}
.order-list>p{margin-top:18px;font-size:.84rem}
.cart-line{display:grid;grid-template-columns:105px minmax(0,1fr) auto;align-items:start;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule)}
.cart-line:first-child{border-top:1px solid var(--rule)}
.line-img{display:block;background:#e6ded3}
.line-img img{aspect-ratio:3/4;object-fit:cover}
.cart-line h2{font-size:1rem;font-weight:800}
.cart-line .row-actions{justify-content:flex-start;gap:12px}
.cart-line>.price{white-space:nowrap}
.summary-panel{padding:20px 22px;background:#f3ece4;border:1px solid #e7dacf}
.summary-panel h2,.checkout-block h2,.info-nav h2,.policy-section h2,.contact-form h2{font-size:1.12rem;font-weight:850;margin-bottom:13px}
.summary-panel .btn{width:100%;margin-top:10px}
.summary-panel p:not(.summary-note){line-height:1.55;font-size:.87rem}
.shipping-progress{background:#e9ddd1;color:#63373a;padding:9px 11px;margin:1px 0 13px}
.totals{margin:0}
.totals>div,.rate-table>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:.9rem}
.totals dd,.rate-table dd{margin:0;font-weight:850;text-align:right;white-space:nowrap}
.totals .grand{padding-top:11px;border-top:1px solid #d8cbbd;font-size:1rem;font-weight:850}
.display-pay{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:12px;color:var(--muted)}
.display-pay>span:not(.paypal){font-size:.76rem}
.checkout-block{padding:18px 20px;border:1px solid var(--rule);background:var(--white)}
.checkout-block+.checkout-block{margin-top:13px}
.checkout-block h2{margin:0}
.checkout-block p{margin-top:12px;color:var(--muted);font-size:.87rem;line-height:1.55}
.checkout-block-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.flag{padding:3px 7px;background:#eee1d9;color:var(--wine);font-size:.69rem;font-weight:850;letter-spacing:.07em}
.checkout-items{display:grid;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #d8cbbd}
.checkout-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;font-size:.8rem}
.checkout-line span{color:var(--muted)}
.checkout-line strong{white-space:nowrap}
.control-label{display:block;margin-block:11px 5px;font-size:.82rem;font-weight:850}
.control-select,.contact-form textarea{width:100%;max-width:100%;padding:9px 10px;border:1px solid #bdb0a2;border-radius:0;background:#fffdf9;line-height:1.5}
.contact-form textarea{display:block;resize:vertical}
.contact-form .btn{margin-top:7px}
.journal-list{display:grid;gap:20px}
.journal-block{display:grid;grid-template-columns:1fr 1fr;min-height:290px;background:#f0e5da}
.journal-block:nth-child(even){background:#ede5de}
.journal-block:nth-child(even)>img{order:2}
.journal-block>img{height:100%;aspect-ratio:1.45;object-fit:cover;max-height:415px}
.journal-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(22px,4vw,56px)}
.journal-copy h2{font:500 clamp(1.9rem,3.6vw,3.5rem)/1.1 var(--display);letter-spacing:-.045em;margin-bottom:12px}
.journal-copy p{max-width:47ch;line-height:1.66;color:#554a42}
.journal-copy p+p,.journal-copy .btn{margin-top:13px}
.journal-items{width:100%;display:grid;gap:7px;margin-top:14px}
.journal-items a{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #d8c8bb;padding-top:8px;font-size:.85rem}
.journal-items a:hover{text-decoration:underline;text-underline-offset:3px}
.journal-items strong{white-space:nowrap}
.about-block>img{object-position:center 45%}
.support-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.support-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid var(--rule);padding:17px;background:var(--white)}
.support-card .icon{color:var(--wine);margin-bottom:4px}
.support-card strong{font-weight:850}
.support-card span{font-size:.83rem;line-height:1.55;color:var(--muted)}
.support-card:hover{background:#f3e9e0;border-color:#b68f84}
.faq{margin-top:35px;max-width:850px}
.info-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.32fr);gap:clamp(22px,4vw,58px);align-items:start}
.info-nav{background:#f1e9e0;border:1px solid var(--rule);padding:16px 18px;display:grid;gap:7px}
.info-nav h2{margin-bottom:4px}
.info-nav a{font-size:.86rem}
.info-nav a[aria-current=page],.info-nav a:hover{color:var(--wine);text-decoration:underline;text-underline-offset:3px}
.policy-body{max-width:820px}
.policy-section,.contact-form{border-top:1px solid var(--rule);padding:16px 0}
.policy-section p,.policy-section li,.policy-note{color:var(--muted);line-height:1.6}
.policy-section ol,.policy-section ul{padding-left:20px;margin:0}
.policy-section li+li{margin-top:7px}
.rate-table{margin:0}
.rate-table>div{background:#f1ebe3;padding:11px 12px;margin-bottom:6px}
.policy-note{background:#f1e9e0;border-left:3px solid #a27574;padding:11px 14px;margin-top:14px;font-size:.87rem}
.chart{max-width:560px;border:1px solid var(--rule)}
.chart thead{background:#f1ebe3}
.no-script{margin-block:32px}
[lang=zh-CN] .route-heading h1,[lang=zh-CN] .purchase h1,[lang=zh-CN] .journal-copy h2,[lang=zh-CN] .related h2,[lang=zh-CN] .faq h2,[lang=zh-CN] .search-heading,[lang=zh-CN] .page-empty h2{letter-spacing:.01em}
@media(max-width:900px){.support-cards{grid-template-columns:repeat(2,1fr)}.footer-demo{max-width:36%}}
@media(max-width:760px){
  .head-actions a.icon-btn{width:32px}.head-actions a.bag-button{width:auto}
  .mobile-nav:not([hidden]){display:grid;gap:0;padding-top:3px;padding-bottom:11px}
  .mobile-nav a{padding:9px 0;border-top:1px solid var(--rule);font-size:.88rem;font-weight:800}
  .mobile-nav a[aria-current=page]{color:var(--wine)}
  .route-content{padding-block:17px 44px;min-height:350px}
  .crumbs{margin-bottom:19px}
  .route-heading{margin-bottom:19px}.route-heading h1{font-size:clamp(2.2rem,9vw,3.6rem)}
  .route-lead{margin-top:9px;font-size:.91rem}
  .product-page-grid,.order-grid,.info-layout{grid-template-columns:1fr}
  .page-product-photo img{aspect-ratio:1;max-height:490px}
  .purchase{padding:0;max-width:none}
  .related{margin-top:34px}
  .journal-block{grid-template-columns:1fr;min-height:0}
  .journal-block:nth-child(even)>img{order:0}
  .journal-block>img{max-height:320px}
  .legal-links{gap:10px}.footer-bottom .footer-demo{order:3;width:100%;max-width:100%;text-align:left}
}
@media(max-width:460px){.cart-line{grid-template-columns:68px minmax(0,1fr) auto;gap:9px}.cart-line h2{font-size:.86rem}.cart-line .row-actions{gap:7px}.cart-line>.price{font-size:.74rem}.support-card{padding:11px}.summary-panel{padding:16px}.search-form .btn{min-width:68px;padding-inline:10px}.legal-links{gap:9px}}

/* Refined catalog filters, close-up views, and the shipping address. */
.subfilters{margin:2px 0 15px}
.subfilters .filter:not([aria-current]){background:#f2ebe3}
.subtype-menu{margin:0 0 16px;border-bottom:1px solid var(--rule);padding-bottom:10px}
.subtype-menu>summary{width:max-content;cursor:pointer;color:var(--wine);font-size:.84rem;font-weight:800}
.subtype-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:15px 0 5px}
.subtype-grid>section{display:grid;align-content:start;gap:5px}
.subtype-grid h2{font-size:.88rem}
.subtype-grid a{font-size:.82rem;line-height:1.35}
.subtype-grid a:hover{text-decoration:underline;text-underline-offset:3px}
.product-gallery{display:grid;grid-template-columns:clamp(52px,5vw,74px) minmax(0,1fr);gap:8px 12px;align-items:start;max-width:640px}
.product-gallery .page-product-photo{grid-column:2;grid-row:1;overflow:hidden}
.gallery-caption{grid-column:2;grid-row:2;color:var(--muted);font-size:.75rem;line-height:1.5}
.gallery-thumbs{display:flex;flex-direction:column;gap:8px;grid-column:1;grid-row:1 / 3}
.gallery-thumb{width:100%;aspect-ratio:4/5;padding:2px;overflow:hidden;border:1px solid var(--rule);background:var(--paper)}
.gallery-thumb[aria-pressed=true],.gallery-thumb:hover{border-color:var(--wine)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-gallery .detail-crop{transform:scale(1.75);transform-origin:var(--detail-focus,50% 50%)}
.gallery-thumb .detail-crop{clip-path:inset(20%)}
.address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.address-wide{grid-column:1/-1}
.address-grid input{min-width:0}
#payment{scroll-margin-top:18px}
#paypal-pay{width:100%;border:1px solid transparent;border-radius:2px;cursor:pointer}
#paypal-pay:hover{background:#f3b824;border-color:#c68b15}
#paypal-status:empty{margin:0}
#paypal-status:not(:empty){padding:10px 12px;background:#f2e8de;border-left:3px solid #a27574;color:#59373a;font-weight:800}
.policy-body .support-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){
  .product-gallery{grid-template-columns:minmax(0,1fr);max-width:none}
  .product-gallery .page-product-photo,.gallery-caption,.gallery-thumbs{grid-column:1}
  .gallery-caption{grid-row:2}
  .gallery-thumbs{grid-row:3;flex-direction:row}
  .gallery-thumb{width:54px}
  .subtype-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:460px){
  .address-grid{gap:0 8px}
  .policy-body .support-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
