/* From the design preview, preview/floral.css (tools/theme-sync.mjs). */
/* Four complete floral directions. Hero compositions deliberately use different grids. */
@font-face{font-family:'Lovento Cormorant';src:url('../fonts/cormorant-normal.woff2') format('woff2');font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:'Lovento Cormorant';src:url('../fonts/cormorant-italic.woff2') format('woff2');font-weight:300 700;font-style:italic;font-display:swap}
@font-face{font-family:'Lovento Sans';src:url('../fonts/dm-sans.woff2') format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}
body[data-floral="true"]{--serif:'Lovento Cormorant',Georgia,serif;--petal:#e7c8da;--petal-alt:#ece5f2;--petal-line:#b593ad;--leaf:#afbc9a;--leaf-line:#7b8d69;--centre:#d1af6d;--radius:18px;font-family:'Lovento Sans',Arial,sans-serif;background-image:radial-gradient(var(--paper-dot) .55px,transparent .55px);background-size:7px 7px}
body[data-direction="gardenpostcard"]{--paper:#fcf4ef;--paper-dot:#e9cfc22c;--ink:#5d3b3f;--accent:#9e626b;--muted:#936f74;--soft:#f3dfdf;--surface:#fffaf4;--line:#e3c9c9;--petal:#ecc3c5;--petal-alt:#f5d8c6;--petal-line:#be9198;--leaf:#a9b692;--leaf-line:#7b8c69}
body[data-floral="true"] .header{background:var(--paper);border-bottom:1px solid var(--line)}
body[data-floral="true"] .button{border-radius:100px;padding:14px 25px;font-size:12px;box-shadow:0 3px 0 #00000006;transition:transform .2s,background .2s}
body[data-floral="true"] .button:hover{transform:translateY(-2px)}
body[data-floral="true"] h2{font-size:clamp(36px,3.5vw,52px);letter-spacing:-1px}
body[data-floral="true"] .eyebrow{font-size:9px;letter-spacing:2.4px;font-weight:500}
body[data-floral="true"] .principles{background:var(--surface);border-block:1px solid var(--line);gap:8%;padding:22px 6%}
body[data-floral="true"] .principles span b{font-size:17px;display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;margin-right:10px}
body[data-floral="true"] .card-photo{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:120px 120px 16px 16px;isolation:isolate;overflow:visible}
body[data-floral="true"] .card-photo img{border-radius:110px 110px 10px 10px;position:relative;z-index:0}
/* Sold out: the corner ribbon (styles.css) clipped to the frame, so on the phone's arched frame it follows the arch
   (not with the cards' drawings on, which hang outside the frame) */
body[data-floral="true"]:not([data-card-art="on"]) .card-photo:has(>.label){overflow:hidden}
body[data-floral="true"] .product-card .category{letter-spacing:1px;font-size:9px}
body[data-floral="true"] .product-card h3{font-size:26px;line-height:1.07;letter-spacing:-.2px}
body[data-floral="true"] .card-foot{margin-top:11px}
body[data-floral="true"] .card-spray{position:absolute;bottom:-15px;right:-7px;width:76px;height:94px;z-index:1;transform:rotate(35deg);pointer-events:none}
body[data-floral="true"] .occasions{gap:25px}
body[data-floral="true"] .occasion{border:1px solid var(--line);background:var(--surface);border-radius:100px 100px 16px 16px;text-align:center;padding:38px 24px 26px;min-height:225px}
body[data-floral="true"] .occasion:nth-child(2){background:var(--soft)}
body[data-floral="true"] .occasion h3{font-size:35px}
body[data-floral="true"] .occasion small{font-size:9px;letter-spacing:1.8px}
body[data-floral="true"] .story{margin:10px 6% 65px;border-radius:28px;overflow:hidden;border:1px solid var(--line)}
body[data-floral="true"] .story-copy h2{font-size:clamp(42px,4vw,62px)}
body[data-floral="true"] .story-copy p{line-height:1.85}
body[data-floral="true"] footer{background:var(--surface)}
body[data-floral="true"] .footer-brand{font-family:var(--serif);font-size:43px;font-style:italic}
body[data-floral="true"] .page-head{padding-top:42px;padding-bottom:34px}
body[data-floral="true"] .page-head h1{font-size:62px;letter-spacing:-1.6px}
body[data-floral="true"] .chip.active{background:var(--accent);border-color:var(--accent);color:#fff}
body[data-floral="true"] .search,body[data-floral="true"] .form-grid input,body[data-floral="true"] .form-grid select,body[data-floral="true"] textarea{border-radius:12px}
body[data-floral="true"] .variant,body[data-floral="true"] .quantity{border-radius:10px;background:var(--surface)}
body[data-floral="true"] .variant.selected{background:var(--soft)}
body[data-floral="true"] .thumb{border-radius:10px;overflow:hidden}
body[data-floral="true"] .summary{border-radius:24px;padding:34px;isolation:isolate}
body[data-floral="true"] .summary h2{font-size:36px;padding-right:26px}
body[data-floral="true"] .summary-spray{position:absolute;right:20px;top:15px;width:58px;height:74px;opacity:.5;z-index:-1;transform:rotate(15deg);pointer-events:none}
body[data-floral="true"] .cart-row img,body[data-floral="true"] .checkout-item img{border-radius:14px}
body[data-floral="true"] .notice{border-radius:0 14px 14px 0}
body[data-floral="true"] .confirmation{padding:45px 32px;border:1px solid var(--line);background:var(--surface);border-radius:180px 180px 28px 28px}
body[data-floral="true"] .confirmation h1{font-family:var(--serif);font-size:58px}
body[data-floral="true"] .checkmark{background:var(--soft)}
.floral-product-frame{position:relative;overflow:hidden;border:1px solid var(--line);background:var(--surface);border-radius:25px}
.floral-product-frame .product-main{border-radius:inherit;background:var(--surface)}
.detail-spray-top,.detail-spray-bottom{position:absolute;width:100px;height:120px;pointer-events:none}
.detail-spray-top{left:-18px;top:-21px;transform:rotate(-40deg)}
.detail-spray-bottom{right:-15px;bottom:-19px;transform:rotate(140deg)}
.flower-spray{overflow:visible;pointer-events:none}
.vine{fill:none;stroke:var(--leaf-line);stroke-width:1.25;stroke-linecap:round}
.drawn-leaf{fill:var(--leaf);stroke:var(--leaf-line);stroke-width:.7}
.leaf-vein{fill:none;stroke:var(--leaf-line);stroke-width:.65;opacity:.8}
.petal{fill:var(--petal);stroke:var(--petal-line);stroke-width:.7;opacity:.97}
.petal-alt{fill:var(--petal-alt)}
.flower-centre{fill:var(--centre)}
.pollen{fill:var(--surface)}
.floral-hero{position:relative;max-width:1440px;margin:auto;isolation:isolate;overflow:hidden}
.floral-hero h1{font-family:var(--serif);font-weight:500;letter-spacing:-2.5px;line-height:.94}
.floral-hero h1 em{color:var(--accent);font-weight:400}
.floral-hero p{font-size:13px;line-height:1.85;color:var(--muted)}
.floral-frame{position:relative;margin:0;min-width:0}
.floral-photo{width:100%;height:100%;object-fit:cover}
.floral-edition{grid-column:1/-1;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);letter-spacing:1.5px;padding:0 2px;text-transform:uppercase}
.floral-edition span{font-family:var(--serif);font-size:15px;letter-spacing:0;text-transform:none;font-style:italic}
.note-spray{width:92px;height:122px;margin:-10px auto 19px;transform:rotate(12deg)}
/* 07 — stationery, postage, a pinned photograph and an overlapping keepsake. */
.postcard-hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;padding:40px 8% 28px;align-items:center;min-height:740px}
.postcard-paper{position:relative;background:var(--surface);padding:39px 44px 31px;border:1px solid var(--line);border-radius:3px 3px 70px 3px;box-shadow:7px 7px 0 var(--soft);z-index:1;transform:rotate(-1.5deg);min-height:512px}
.postcard-paper::after{content:'';position:absolute;inset:10px;border:1px dashed var(--line);border-radius:0 0 58px 0;pointer-events:none;z-index:-1}
.postcard-paper .eyebrow{font-size:8px;letter-spacing:1.9px;margin-bottom:24px;max-width:220px}
.letter-greeting{font:italic 21px var(--serif);color:var(--accent);display:block;margin-bottom:13px}
.postcard-paper h1{font-size:clamp(60px,6vw,84px)}
.postcard-paper p{margin:19px 0 23px}
.letter-signoff{font:italic 23px var(--serif);color:var(--accent);display:block;margin-top:26px}
.paper-spray{position:absolute;right:-28px;bottom:16px;width:100px;height:130px;transform:rotate(15deg)}
.paper-stamp{position:absolute;top:18px;right:21px;width:68px;height:75px;transform:rotate(9deg);fill:none;color:var(--accent)}
.paper-stamp>path{stroke:var(--line);stroke-width:1.5;stroke-dasharray:2 2}
.paper-stamp text{fill:var(--accent);font:7px Arial,sans-serif;letter-spacing:1px}
.postcard-collage{position:relative;height:520px;margin-top:4px;min-width:0}
.postcard-main{position:absolute;width:82%;height:470px;right:5%;top:2px;padding:15px 15px 49px;background:var(--surface);border:1px solid var(--line);transform:rotate(5deg);box-shadow:0 15px 25px #69464c0c}
.postcard-main .floral-photo{border-radius:130px 130px 5px 5px;object-position:50% 46%}
.postcard-main figcaption{position:absolute;bottom:15px;left:5px;right:5px;text-align:center;font:italic 17px var(--serif)}
.postcard-top{position:absolute;right:-24px;top:-28px;width:100px;height:120px;transform:rotate(58deg)}
.postcard-bottom{position:absolute;left:-32px;bottom:-22px;width:130px;height:155px;transform:rotate(-95deg)}
.postcard-small{position:absolute;width:42%;left:-12px;bottom:-5px;padding:10px 10px 17px;background:var(--surface);border:1px solid var(--line);transform:rotate(-9deg);box-shadow:0 8px 20px #69464c0c}
.postcard-small img{aspect-ratio:1;width:100%;object-fit:cover}
.postcard-small span{display:block;font:italic 17px var(--serif);margin-top:11px;text-align:center}
.postcard-pin{position:absolute;right:38%;top:-8px;background:#dfcbc18c;transform:rotate(7deg);width:91px;height:27px;z-index:3;clip-path:polygon(2% 0,100% 0,98% 100%,0 100%)}
.postcard-handnote{position:absolute;bottom:4px;right:4%;font:italic 24px/.95 var(--serif);color:var(--accent);transform:rotate(-6deg)}
.postcard-occasions{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:28px;padding:15px 0 3px;font-size:11px}
.postcard-occasions>span{font:italic 21px var(--serif);color:var(--muted)}
.postcard-occasions a{border-bottom:1px solid var(--line);padding-bottom:4px}
body[data-direction="gardenpostcard"] .card-photo{border-radius:9px;box-shadow:3px 4px 0 var(--soft);transform:rotate(-1deg)}
body[data-direction="gardenpostcard"] .product-card:nth-child(even) .card-photo{transform:rotate(1deg)}
body[data-direction="gardenpostcard"] .card-photo img{border-radius:95px 95px 4px 4px}
.window-vines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ribbon-wreath{position:absolute;left:0;top:0;width:100%;height:100%}
.side-spray{position:absolute;width:70px;height:85px;right:-25px;top:-24px;transform:rotate(30deg)}
@media(min-width:1600px){.floral-hero{padding-left:75px;padding-right:75px}}
@media(max-width:1100px) and (min-width:701px){
 .postcard-hero{padding-inline:5%;gap:32px}.postcard-paper{padding:35px 30px}.postcard-paper h1{font-size:68px}.paper-stamp{width:55px;right:13px;top:14px}.postcard-main{height:440px}.postcard-collage{height:490px}
}
@media(max-width:700px){
 body[data-floral="true"] .header nav{gap:19px}body[data-floral="true"] .eyebrow{font-size:8px;letter-spacing:1.7px}body[data-floral="true"] .button{min-height:46px;padding:12px 20px}
 body[data-floral="true"] .section-heading{display:block}body[data-floral="true"] .section-heading .text-link{display:inline-block;margin-top:18px}body[data-floral="true"] .section-heading h2{font-size:38px}
 body[data-floral="true"] .card-photo{padding:8px;border-radius:85px 85px 12px 12px}body[data-floral="true"] .card-photo img{border-radius:76px 76px 7px 7px}body[data-floral="true"] .card-spray{width:52px;height:64px;right:-3px;bottom:-10px}body[data-floral="true"] .product-card h3{font-size:23px}
 body[data-floral="true"] .principles{gap:9px;padding:17px 6%;font-size:10px}body[data-floral="true"] .principles span b{width:25px;height:25px;font-size:14px}body[data-floral="true"] .occasion{min-height:175px;padding:29px 22px 23px;border-radius:75px 75px 16px 16px}body[data-floral="true"] .occasion h3{font-size:31px}
 body[data-floral="true"] .story{margin:0 6% 42px;border-radius:19px}body[data-floral="true"] .story img{height:300px}body[data-floral="true"] .story-copy{padding:32px 9%}body[data-floral="true"] .page-head h1{font-size:48px}body[data-floral="true"] .product-info h1{font-size:43px}body[data-floral="true"] .summary{padding:27px}body[data-floral="true"] .confirmation{margin:40px 6%;padding:40px 24px}body[data-floral="true"] .confirmation h1{font-size:48px}
 .floral-product-frame{border-radius:22px}.detail-spray-top,.detail-spray-bottom{width:80px;height:95px}.detail-spray-top{left:-10px;top:-15px}.detail-spray-bottom{right:-8px;bottom:-13px}
 .floral-edition{font-size:8px;letter-spacing:1px;gap:10px}.floral-edition span{font-size:12px}.floral-hero p{font-size:12px}
 .postcard-hero{grid-template-columns:1fr;padding:33px 7% 24px;gap:30px;min-height:0}.postcard-paper{min-height:0;padding:31px 29px 28px;transform:rotate(-1deg)}.postcard-paper .eyebrow{font-size:7px;max-width:170px;letter-spacing:1.4px;margin-bottom:23px}.letter-greeting{font-size:20px}.postcard-paper h1{font-size:66px}.postcard-paper p{margin:17px 0 20px}.letter-signoff{font-size:22px;margin-top:23px}.paper-stamp{width:53px;height:60px;top:14px;right:14px}.paper-spray{right:-17px;width:74px;height:95px;bottom:23px}.postcard-collage{height:390px;margin-top:4px}.postcard-main{height:350px;width:82%;right:4%;padding:11px 11px 40px}.postcard-main figcaption{font-size:13px;bottom:13px}.postcard-top{width:75px;height:94px;right:-15px;top:-20px}.postcard-bottom{width:100px;height:122px;left:-20px;bottom:-19px}.postcard-small{width:43%;left:0;bottom:0;padding:7px 7px 12px}.postcard-small span{font-size:14px;margin-top:8px}.postcard-handnote{right:1%;bottom:8px;font-size:22px}.postcard-pin{top:-6px;width:73px;height:21px}.postcard-occasions{display:grid;grid-template-columns:1fr 1fr;gap:13px 22px;text-align:center;padding:6px 0}.postcard-occasions>span{grid-column:1/-1;font-size:24px;margin-bottom:2px}.postcard-occasions a{font-size:10px}.postcard-occasions a:last-child{grid-column:1/-1;justify-self:center}.window-vines{inset:0}.side-spray{width:53px;height:65px;right:-10px;top:-18px}
}
@media(max-width:370px){.postcard-paper{padding-inline:25px}.postcard-paper h1{font-size:61px}.postcard-collage{height:372px}.postcard-main{height:333px}}
@media(prefers-reduced-motion:reduce){body[data-floral="true"] .button:hover{transform:none}}
@media(max-width:700px){.floral-product-frame .detail-spray-top{left:0}.floral-product-frame .detail-spray-bottom{right:0}}
/* On trial (19 October, Jin Hao): product cards without their drawn flowers and butterflies: the
   shop's cards (floral.js card-spray, soft-round.js charms) and the product page's photo frame (its
   two sprays and the charms). The frames themselves stay. &cardart=on in the address shows the
   drawings again (app.js sets body[data-card-art]). */
body[data-floral="true"]:not([data-card-art="on"]) :is(.card-photo,.floral-product-frame)>:is(.card-spray,.detail-spray-top,.detail-spray-bottom,.border-charms){display:none}
