/*
Theme Name: Yanqianmo
Description: A single-page storefront inspired by the supplied Vellanira reference.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yanqianmo
*/
@font-face{font-family:Poppins;src:url('assets/poppins-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('assets/poppins-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{--blue:#2d6a9c;--ink:#121212;--muted:#555;--purple:#2e2a39;scroll-behavior:smooth;scroll-padding-top:180px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font-family:Poppins,Arial,sans-serif;font-size:16px;line-height:1.8}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #daaa48;outline-offset:4px}img{max-width:100%;height:auto;display:block}svg{display:block}h1,h2,h3,p{margin-top:0}h2{font-size:39px;line-height:1.23;color:var(--purple);font-weight:700}button{border:0;background:none}button:disabled{cursor:default}.page-width{max-width:1400px;margin:0 auto;padding:0 50px}.sticky-header{position:sticky;top:0;z-index:30;background:#fff}.admin-bar .sticky-header{top:32px}.offer-bar{min-height:40px;background:linear-gradient(100deg,#30335c,#4b4f87,#30335c);color:#fff;text-align:center;font-size:14px;font-weight:700;line-height:20px;padding:10px 15px}.offer-bar span{color:#e3b24a;padding:0 12px}header{border-bottom:1px solid #e8e8e8}.header-main{height:86px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.header-left,.header-actions{display:flex;align-items:center;gap:14px}.header-actions{justify-content:flex-end}.icon-button{padding:8px;color:#39789b;position:relative}.icon-button svg{width:22px;height:22px}.brand img{width:230px;height:77px;object-fit:contain}.language{font-size:12px;padding:8px}.main-nav{display:flex;gap:14px;align-items:center;justify-content:center;min-height:43px;padding:7px 20px;font-weight:700;letter-spacing:.5px;line-height:1.2}.main-nav a,.main-nav button{padding:6px 9px;font-weight:700;font-size:16px;white-space:nowrap}.main-nav .active{background:var(--blue);color:#fff;border-radius:3px}.main-nav a:hover,.main-nav button:hover{color:var(--blue)}.main-nav .active:hover{color:#fff}.mobile-menu{display:none}#bag-count{position:absolute;right:0;bottom:0;font-size:10px;color:#fff;background:var(--blue);border-radius:50%;width:17px;height:17px;line-height:17px}.hero{overflow:hidden}.hero a{display:block}.hero picture{display:block}.hero img{width:100%;height:550px;object-fit:cover;object-position:center}.collection{padding-top:32px;padding-bottom:25px;scroll-margin-top:10px}.collection h2{margin-bottom:30px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:5.5%;row-gap:40px;padding:0 14px}.product-card{min-width:0;display:flex;flex-direction:column;border-radius:12px;background:#fff;box-shadow:0 6px 13px #00000012;overflow:hidden;text-align:center}.product-image{position:relative;padding:0;width:100%;aspect-ratio:1;display:block;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:opacity .3s,transform .5s}.product-image .hover-image{position:absolute;inset:0;opacity:0}.product-image:hover .hover-image,.product-image:focus-visible .hover-image{opacity:1}.product-image:hover img{transform:scale(1.035)}.save-badge{position:absolute;bottom:14px;left:0;background:var(--blue);color:#fff;padding:3px 10px;font-weight:700;font-size:12px;line-height:20px;letter-spacing:.3px;border-radius:0 3px 3px 0}.product-info{padding:19px 22px 10px;flex:1}.product-info h3{font-size:16.9px;line-height:1.23;margin:0 0 8px;font-weight:700;letter-spacing:.5px}.product-info h3 button{font:inherit;padding:0;line-height:inherit;font-weight:700}.product-info h3 button:hover{text-decoration:underline;text-underline-offset:3px}.price{line-height:1.4;font-size:16px;margin:0}.price strong{color:var(--blue);font-weight:700;letter-spacing:.6px}.price s{font-size:12px;font-weight:700;margin-left:3px}.primary,.outline{display:inline-flex;justify-content:center;align-items:center;min-height:49px;padding:10px 23px;border-radius:6px;font-weight:700;font-size:16px;letter-spacing:.6px;line-height:1.4;transition:background .2s,transform .2s}.primary{background:var(--blue);color:white;border:1px solid var(--blue)}.primary:hover{background:#21567f}.outline{color:var(--blue);border:2px solid var(--blue);background:white}.outline:hover{background:#edf4f8}.product-action{margin:0 23px 20px;padding:8px;min-height:49px}.view-all{text-align:center;margin:40px 0 0}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding-top:65px;padding-bottom:55px}.comparison-copy{text-align:center}.comparison-copy h2{font-size:39px;margin-bottom:20px}.comparison-copy em{color:#3973a3;font-style:normal}.comparison-copy p{font-size:16px;line-height:1.8;max-width:520px;margin:auto}.table-wrap{max-width:500px;width:100%;justify-self:center}table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;line-height:1.3}th,td{padding:17px 13px;text-align:center}thead th{font-size:18px}tbody th{text-align:right;font-weight:700;font-size:13px}th:nth-child(2),td:nth-child(2){background:var(--purple);color:white}thead th:nth-child(2){border-radius:20px 20px 0 0}tbody tr:last-child td:nth-child(2){border-radius:0 0 20px 20px}tbody td:last-child{border-bottom:1px solid #ddd}tbody tr:last-child td:last-child{border:0}td{font-size:24px;font-weight:700;width:100px}td:last-child{color:#cb3434}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center;padding-top:40px;padding-bottom:50px}.benefits svg{width:43px;height:43px;margin:0 auto 18px;color:var(--blue)}.benefits h3{font-size:20px;line-height:1.3;margin-bottom:14px}.benefits p{font-size:14px;line-height:1.8;margin:0}.newsletter{text-align:center;padding:52px 20px 55px;background:#f5f5f5}.newsletter h2{margin-bottom:20px}.newsletter p{margin-bottom:28px}.email-input{max-width:360px;margin:auto;border:1px solid #333;display:flex;height:49px;background:white}.email-input input{min-width:0;flex:1;border:0;background:transparent;padding:12px 16px;font-size:14px}.email-input button{width:50px;font-size:25px}#newsletter-status:empty{display:none}#newsletter-status{font-size:14px;max-width:500px;margin:15px auto 0}footer{position:relative;background:var(--blue);color:#fff;padding:62px 0 20px;margin-top:25px}.footer-wave{position:absolute;left:0;top:-25px;width:100%;height:35px}.footer-columns{display:grid;grid-template-columns:1fr 1.35fr 1.9fr;gap:45px}.footer-columns h2{color:white;font-size:24px;margin-bottom:22px}.footer-columns button{display:block;padding:0;margin:0 0 10px;color:#fff;font-size:14px;line-height:1.8;text-align:left}.footer-columns button:hover{text-decoration:underline}.company{font-size:16px;line-height:1.8;color:#d5e4ef}.company p{margin-bottom:18px}.footer-bottom{display:flex;justify-content:space-between;align-items:end;margin-top:80px;gap:20px}.language-label{display:block;font-size:12px;margin-bottom:6px}.footer-language{color:white;border:1px solid #ffffff66;padding:9px 15px;border-radius:4px;font-size:13px}.payments{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.payments span{display:flex;align-items:center;justify-content:center;width:38px;height:24px;border-radius:3px;background:white;color:#254575;font:700 8px Arial,sans-serif;box-shadow:0 1px 3px #0003}.copyright{text-align:center;margin:40px 0 0;font-size:11px;color:#dce7ef}.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:white;padding:10px}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.no-results{text-align:center;padding:30px}.muted{font-size:13px;color:#666;line-height:1.6}dialog{border:0;padding:40px;max-width:calc(100% - 30px);width:500px;max-height:90dvh;overflow:auto;color:var(--ink);border-radius:8px;box-shadow:0 20px 100px #0004}dialog::backdrop{background:#0007}dialog h2{font-size:26px;margin-bottom:25px}.dialog-close{position:absolute;top:10px;right:14px;font-size:32px;line-height:1;padding:4px}.search-field{display:flex;border-bottom:1px solid #aaa}.search-field input{border:0;min-width:0;width:100%;padding:10px 0;background:transparent}.search-dialog{width:650px}.search-dialog p{font-size:14px}.product-dialog{width:850px}.product-preview{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.product-preview img{width:100%;border-radius:6px}.product-preview h2{font-size:23px;line-height:1.4}.product-preview .price{margin-bottom:20px}.product-preview label{display:block;font-size:14px}.product-preview input{display:block;width:85px;padding:8px;border:1px solid #aaa;margin:8px 0 20px}.product-preview .primary{width:100%;margin-bottom:15px}.cart-dialog{position:fixed;left:auto;right:0;top:0;bottom:0;margin:0;width:480px;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:45px 25px}.bundle{background:#eef4f8;text-align:center;padding:14px;font-weight:700;font-size:16px;line-height:1.6;margin-bottom:25px}.bundle small{font-size:13px;font-weight:400}.cart-item{display:grid;grid-template-columns:65px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #ddd;padding:15px 0}.cart-item img{width:65px;height:65px;object-fit:cover}.cart-item h3{font-size:13px;line-height:1.4;margin:0 0 7px}.cart-item p{font-size:13px;margin:0}.cart-item button{font-size:12px;text-decoration:underline;padding:6px 0}.subtotal{display:flex;justify-content:space-between;margin:25px 0 10px}.cart-dialog>.primary{width:100%}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:var(--purple);color:#fff;padding:12px 24px;border-radius:6px;box-shadow:0 4px 20px #0002;text-align:center;max-width:90%;font-size:14px}
@media(min-width:1500px){.hero img{height:550px}.product-grid{column-gap:6%}}
@media(max-width:1050px){.main-nav{gap:3px}.main-nav a,.main-nav button{font-size:13px;padding:7px}.page-width{padding-left:30px;padding-right:30px}.product-grid{column-gap:3%;padding:0}.product-info{padding:15px 12px 10px}.product-action{margin-left:12px;margin-right:12px}.product-info h3{font-size:15px}.footer-columns{gap:30px}}
@media(max-width:749px){:root{scroll-padding-top:130px}.page-width{padding-left:20px;padding-right:20px}.offer-bar{font-size:10px;line-height:16px;min-height:34px;padding:9px 8px;white-space:nowrap;overflow:hidden}.offer-bar span{padding:0 5px}.header-main{height:75px;grid-template-columns:1fr auto 1fr;padding:0 12px}.brand img{width:160px;height:60px}.header-left,.header-actions{gap:0}.icon-button{padding:6px}.icon-button svg{width:20px;height:20px}.mobile-menu{display:block}.account,.header-actions .language{display:none}.main-nav{display:none;position:absolute;left:0;right:0;background:#fff;box-shadow:0 8px 12px #0002;padding:20px;align-items:stretch;max-height:70dvh;overflow:auto}.main-nav.is-open{display:flex;flex-direction:column;gap:8px}.main-nav a,.main-nav button{text-align:left;padding:12px;font-size:15px}.hero img{height:auto;aspect-ratio:2/3;object-fit:cover}.collection{padding-top:30px;padding-bottom:10px}.collection h2{font-size:28px;margin-bottom:24px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:25px}.product-info{padding:13px 9px 10px}.product-info h3{font-size:13px;line-height:1.3;letter-spacing:.2px}.price{font-size:14px}.price s{font-size:10px}.product-action{font-size:12px;min-height:42px;margin:0 10px 12px;padding:8px 3px;letter-spacing:0}.save-badge{font-size:10px;padding:1px 7px;bottom:9px}.view-all{margin:28px 0 10px}.outline{font-size:14px;min-height:44px}.comparison{grid-template-columns:1fr;gap:30px;padding-top:45px;padding-bottom:25px}.comparison-copy h2{font-size:29px}.comparison-copy p{font-size:14px}th,td{padding:15px 7px}tbody th{font-size:10px}thead th{font-size:15px}td{width:85px}.benefits{grid-template-columns:1fr 1fr;gap:30px 20px;padding-top:35px;padding-bottom:35px}.benefits h3{font-size:17px}.benefits p{font-size:12px}.benefits svg{width:36px;height:36px;margin-bottom:14px}.newsletter{padding:40px 20px}.newsletter h2{font-size:28px}.newsletter>p{font-size:14px}.footer-columns{grid-template-columns:1fr 1fr;gap:30px 20px}.footer-columns h2{font-size:18px}.footer-columns button{font-size:12px}.company{grid-column:1/-1;font-size:13px}.footer-bottom{margin-top:35px;align-items:start;flex-direction:column;gap:25px}.payments{justify-content:flex-start}.copyright{margin-top:30px}.product-preview{grid-template-columns:1fr}.product-preview img{max-height:270px;object-fit:contain}.product-preview h2{font-size:19px;margin-bottom:15px}dialog{padding:35px 22px 25px}.product-preview{gap:20px}.product-preview .price{margin-bottom:12px}.product-preview input{margin-bottom:15px}.admin-bar .sticky-header{top:46px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
