/* Persistent header styles, independent of welcome overlays. */
.header-contact-brand{display:flex;align-items:center;gap:18px}.header-whatsapp{display:inline-flex;align-items:center;gap:6px;background:#128c4b;color:white;border-radius:100px;padding:9px 13px;font-size:12px;font-weight:800}.header-whatsapp svg{width:19px;height:19px;flex-shrink:0}.header-whatsapp:hover{background:#0c713b}.header-whatsapp:focus-visible{outline:3px solid #28745a;outline-offset:3px}@media(max-width:600px){.header-contact-brand{gap:9px}.header-whatsapp{padding:8px;font-size:10px}.header-whatsapp svg{width:17px;height:17px}.site-header .brand{font-size:17px}}@media(max-width:360px){.header-contact-brand{gap:7px}.header-whatsapp{font-size:9px;padding:7px}.site-header .brand{font-size:15px}.site-header{padding-left:12px;padding-right:12px}}
.header-right-actions{display:flex;align-items:center;gap:12px}@media(max-width:600px){.header-right-actions{gap:7px}}
/* Reference-led homepage: live text over an unframed photographic carousel. */
.site-header{height:76px;background:#fff9f0;gap:12px}
.site-header .brand{font-weight:900;color:#132e52;letter-spacing:-.04em}
.header-right-actions{gap:20px}.header-right-actions .joy-replay{display:none}
.header-language{display:flex;align-items:center;gap:12px;color:#132e52}
.header-language button{border:0;background:none;color:inherit;font-size:16px;font-weight:800;padding:7px 0}
.header-language span{opacity:.45}.header-language button[aria-pressed="true"]{text-decoration:underline;text-underline-offset:5px}
.header-cart{position:relative;color:#132e52;display:flex;align-items:center;padding:5px}
.header-cart svg{width:30px;height:30px}.header-cart span{position:absolute;top:0;right:-3px;min-width:17px;height:17px;padding:1px 3px;border-radius:99px;background:#ff9d80;color:#132e52;font-size:10px;font-weight:800;text-align:center}
.header-cart span[hidden]{display:none}
.hero.wrap{width:min(1440px,100%);display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px;align-items:center;padding:0 32px 40px;min-height:0}
.home-hero-stage{position:relative;isolation:isolate;min-width:0;aspect-ratio:3/2}
.home-background-carousel{position:absolute;inset:0;overflow:hidden;z-index:-1;background:#fff9f0}
.home-background-carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease;transform:scale(1.025)}
.home-background-carousel img.active{opacity:1;animation:home-scene-drift 7s ease-out both}
.home-hero-copy{position:relative;padding:25px 24px 0;color:#132e52;max-width:100%;pointer-events:none}
.home-hero-copy h1{font-size:clamp(33px,3.55vw,54px);font-weight:900;line-height:1.08;letter-spacing:-.045em;margin:0;max-width:90%;text-shadow:0 1px 10px #fff8ed99}
.home-hero-copy p{font-size:clamp(13px,1.35vw,20px);font-weight:650;line-height:1.5;margin:12px 0 0;color:#304b6c;max-width:95%}
.home-heart{position:absolute;top:35px;right:9%;color:#ff9b8e;font-size:38px;transform:rotate(13deg)}
.home-handwriting{position:absolute;left:5%;top:48%;margin:0;color:#63a5db;font-family:'Comic Sans MS','Segoe Print',cursive;font-size:clamp(14px,1.7vw,25px);font-style:italic;font-weight:700;line-height:1.18;transform:rotate(-10deg);max-width:27%;pointer-events:none}
.home-hero-stage .hero-carousel-controls{position:absolute;bottom:6px;left:0;right:0;justify-content:center;gap:9px;margin:0;z-index:2}
.home-hero-stage .hero-carousel-dot{width:7px;height:7px;background:#c3cbd2}.home-hero-stage .hero-carousel-dot[aria-current="true"]{background:#fb987e}
.home-hero-stage .hero-carousel-toggle{font-size:10px;border:0;background:#ffffffb3;padding:3px 8px;color:#294563}
.hero .gift-video-row{width:100%;gap:16px;padding:24px 0 0}
@keyframes home-scene-drift{from{transform:scale(1.025)}to{transform:scale(1.07)}}
@media(max-width:700px){
  .site-header{height:61px;padding:0 16px;gap:7px}.site-header .brand{font-size:18px}.header-right-actions{gap:11px}.header-language{gap:7px}.header-language button{font-size:12px}.header-cart{padding:3px}.header-cart svg{width:25px;height:25px}.header-whatsapp{padding:7px}.header-whatsapp span{display:none}.header-whatsapp svg{width:18px;height:18px}
  .hero.wrap{display:flex;flex-direction:column;width:100%;padding:0 0 32px;gap:14px}.home-hero-stage{width:100%;aspect-ratio:1.27;flex:none}.home-background-carousel img{object-position:60% center}.home-hero-copy{padding:20px 19px 0}.home-hero-copy h1{font-size:clamp(30px,8.5vw,48px);max-width:89%;line-height:1.1}.home-hero-copy p{font-size:clamp(12px,3.25vw,17px);max-width:95%;margin-top:10px}.home-heart{font-size:26px;top:32px;right:9%}.home-handwriting{left:5%;top:51%;font-size:clamp(13px,3.4vw,18px);max-width:25%}.hero .gift-video-row{width:calc(100% - 32px);padding:0;gap:12px;max-width:480px}.home-hero-stage .hero-carousel-controls{bottom:7px}
}
@media(max-width:360px){.site-header{padding:0 12px}.site-header .brand{font-size:16px}.header-right-actions{gap:8px}.header-language{gap:5px}.header-language button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-background-carousel img.active{animation:none}.home-background-carousel img{transition:none;transform:none}}
/* Product catalog: two cards per row at every viewport. */
.products.wrap { width:min(1060px,100%); padding:0 24px 48px; }
.catalog-filters { display:flex; justify-content:center; gap:10px; margin:0 0 22px; }
.catalog-filters button { border:1px solid #eee3d8; border-radius:999px; padding:9px 24px; background:#fffaf3; color:#173254; font-weight:750; cursor:pointer; }
.catalog-filters button[aria-pressed="true"] { background:#203957; color:white; border-color:#203957; }
.products .product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.products .product-rule-note { display:none; }
.products .product-list-note { text-align:center; margin:0 0 16px; }
.products .product-card { min-width:0; border:none; border-radius:18px; background:#fff; box-shadow:0 5px 18px #c5ac9210; overflow:hidden; padding:0; }
.products .product-image { position:relative; padding:0; aspect-ratio:1; margin:0; overflow:hidden; }
.products .product-image-zoom { width:100%; height:100%; aspect-ratio:1; border:0; border-radius:0; background:#fff5e8; padding:0; }
.products .product-image img { display:block; width:100%;height:100%;object-fit:cover; border-radius:0; padding:0; }
.products .product-image-zoom > span { right:9px; top:auto;bottom:9px; font-size:18px; width:26px;height:26px; }
.catalog-category { position:absolute; left:9px;top:9px; padding:5px 9px; border-radius:999px; background:#ffa68a; color:#fff; font-size:11px; font-weight:750;pointer-events:none; }
.blind-card .catalog-category { background:#7db9eb; }
.products .product-info { display:block;padding:12px; }
.products .product-info h3 { font-size:18px;line-height:1.25; margin:0 0 5px; min-height:0; }
.catalog-spec,.catalog-detail { font-size:12px;color:#7c8696; margin:3px 0;line-height:1.35; }
.catalog-buy { display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:8px; }
.catalog-buy strong { font-size:18px;color:#173254;white-space:nowrap; }
.catalog-buy small { font-size:10px;font-weight:650; }
.products .add-button { display:block; width:auto;min-height:34px;padding:7px 12px; margin:0; border:0; border-radius:999px;box-shadow:none;background:#ffd0b8;color:#173254;font-size:12px;white-space:nowrap; }
.products .blind-card .add-button { background:#d5eafa; }
.blind-gallery { display:flex;gap:8px;margin-top:12px; }
.blind-gallery button { width:48%;border:0;background:white;cursor:pointer; }
.blind-gallery img { width:100%; }
@media(max-width:700px) {
 .products.wrap { padding:0 12px 32px; }
 .products .product-grid { gap:12px; }
 .products .product-info { padding:8px; }
 .products .product-info h3 { font-size:14px; }
 .catalog-spec,.catalog-detail { font-size:10px; }
 .catalog-buy { gap:3px;flex-wrap:wrap; }
 .catalog-buy strong { font-size:14px; }
 .products .add-button { font-size:10px;padding:6px 9px;min-height:30px; }
 .catalog-filters button { padding:8px 16px;font-size:12px; }
 .intro.wrap { margin:20px auto; }
 .intro.wrap h2 {font-size:27px;}
 .intro.wrap p,.intro .section-kicker {display:none;}
}
.blind-card .product-image { position:relative; }
.products .blind-card .product-image img { position:absolute;width:240%;height:240%;max-width:none;left:-145%;top:-80%;object-fit:fill; }
.intro.wrap { padding-top:28px; padding-bottom:12px; }
@media(max-width:700px){.intro.wrap {padding-top:10px;padding-bottom:0;}}

.products .add-button {display:flex;align-items:center;justify-content:center;gap:2px;min-width:48px;}
.products .add-button svg {width:20px;height:20px;}
.products .cart-plus {font-size:17px;line-height:1;font-weight:800;}

@font-face {font-family:Fredoka;src:url('./assets/fredoka.ttf') format('truetype');font-weight:300 700;font-display:swap;}
@font-face {font-family:Kuaile;src:url('./assets/zcool-kuaile.ttf') format('truetype');font-weight:400;font-display:swap;}
.home-hero-copy h1,.site-header .brand {font-family:Fredoka, Kuaile, sans-serif;font-weight:650;letter-spacing:.005em;line-height:1.12;}
html[lang="zh-Hans"] .home-hero-copy h1 {font-family:Kuaile,Fredoka,sans-serif;font-weight:400;font-size:clamp(25px,3.5vw,46px);letter-spacing:.035em;white-space:nowrap;max-width:100%;}
.home-hero-copy p {letter-spacing:.025em;word-spacing:.08em;margin-top:12px;}
.home-hero-stage {aspect-ratio:1;}
.home-background-carousel img {object-position:center;}
.home-handwriting {display:none;}
@media(max-width:700px){
 .home-hero-stage {aspect-ratio:1;}
 .home-hero-copy {padding:22px 18px 0;}
 .home-hero-copy h1 {font-size:clamp(27px,8.2vw,40px);line-height:1.1;}
 html[lang="zh-Hans"] .home-hero-copy h1 {font-size:clamp(20px,6.1vw,30px);letter-spacing:.01em;}
 .home-hero-copy p {font-size:12px;line-height:1.45;margin-top:9px;word-spacing:.1em;}
 .home-heart {top:26px;right:6%;font-size:25px;}
 html[lang="zh-Hans"] .home-heart {top:24px;right:4%;font-size:23px;}
}
html[lang="zh-Hans"] .home-hero-copy h1 {text-shadow:.45px 0 currentColor,-.45px 0 currentColor,0 .35px currentColor;}
@media(max-width:700px){html[lang="zh-Hans"] .home-hero-copy h1{font-size:clamp(21px,6.4vw,31px);}}

.home-hero-stage {aspect-ratio:3/2;}
.home-hero-stage.showing-info .home-hero-copy {opacity:0;}
.home-background-carousel img.info-scene {object-fit:contain;transform:none;animation:none;}
@media(max-width:700px){.home-hero-stage{aspect-ratio:3/2;}.home-hero-copy{padding-top:17px;}.home-hero-copy h1{font-size:clamp(25px,7.5vw,36px);}.home-hero-copy p{font-size:11px;margin-top:7px;}}
.products .product-image-zoom.pattern-preview:not(.packaging-preview) img {position:absolute;width:213.333%;height:213.333%;max-width:none;left:-56.667%;top:-53.333%;object-fit:fill;}
.products .product-image-zoom.pattern-preview-new:not(.packaging-preview) img {width:217.337%;height:217.337%;left:-48.873%;top:-57.886%;}
.products .product-image-zoom.pattern-preview-artwork:not(.packaging-preview) img {width:100%;height:100%;left:0;top:0;object-fit:cover;}
.products .product-image-zoom.portrait-artwork:not(.packaging-preview) img {position:static;width:100%;height:100%;object-fit:contain;background:#fff9f0;}
.products .blind-card .blind-flat-preview img {width:177%;height:177%;left:-6%;top:-40%;}
#image-view-window {display:contents;}
#image-view-window.blind-finished-view,#image-view-window.blind-flat-view,#image-view-window.pattern-view,#image-view-window.pattern-new-view {display:block;position:relative;overflow:hidden;width:min(650px,calc(100vw - 42px));aspect-ratio:1;}
#image-view-window.blind-finished-view img {position:absolute;width:240%;height:240%;max-width:none;max-height:none;left:-145%;top:-80%;object-fit:fill;}
#image-view-window.blind-flat-view img {position:absolute;width:177%;height:177%;max-width:none;max-height:none;left:-6%;top:-40%;object-fit:fill;}
#image-view-window.pattern-view img {position:absolute;width:213.333%;height:213.333%;max-width:none;max-height:none;left:-56.667%;top:-53.333%;object-fit:fill;}
#image-view-window.pattern-new-view img {position:absolute;width:217.337%;height:217.337%;max-width:none;max-height:none;left:-48.873%;top:-57.886%;object-fit:fill;}

.catalog-sold{display:block;font-size:10px;color:#7c8696;margin-top:4px;}

.home-background-carousel {cursor:zoom-in;}
@media(max-width:700px){.hero.wrap{padding-bottom:12px;}.intro.wrap{margin:14px auto 12px;padding-top:0;}.intro.wrap h2{margin:0;}}
.products .product-info {display:flex;flex-direction:column;gap:0;}
.catalog-buy {margin-top:auto;padding-top:8px;}

/* Center the catalog heading above the category filters. */
.intro.wrap {display:block;text-align:center;}
.intro.wrap h2 {text-align:center;text-transform:uppercase;}
html[lang="zh-Hans"] .intro.wrap h2 {letter-spacing:.07em;}
html[lang="en"] .intro.wrap h2,html[lang="ms"] .intro.wrap h2 {font-family:Fredoka,'DM Sans',sans-serif;font-weight:700;line-height:1.15;letter-spacing:.015em;}
.intro.wrap p {text-align:center;margin-inline:auto;}
@media(max-width:700px){html[lang="zh-Hans"] .intro.wrap h2{letter-spacing:.045em;}}

/* Blend the hero photography into the page without a framed edge. */
.home-hero-stage,.home-background-carousel{border:0;border-radius:0;box-shadow:none;background:transparent;}
.home-background-carousel img{mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 90%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 90%,transparent);-webkit-mask-composite:source-in;}
.home-background-carousel img.info-scene{mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent),linear-gradient(to bottom,transparent,#000 2%,#000 98%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent),linear-gradient(to bottom,transparent,#000 2%,#000 98%,transparent);}

/* Swipeable product videos and clearly labelled IG stories. */
.hero .gift-video-carousel{width:100%;min-width:0;padding-top:24px}
.hero .gift-video-carousel .gift-video-row{display:flex;width:100%;max-width:none;gap:16px;padding:8px 12px 16px;margin:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:12px;scrollbar-width:none}
.gift-video-carousel .gift-video-row::-webkit-scrollbar{display:none}
.gift-video-carousel .gift-video-frame{display:flex;flex-direction:column;flex:0 0 calc((100% - 32px) / 2.25);max-width:none;scroll-snap-align:start;scroll-snap-stop:always}
.gift-video-carousel .gift-video-frame video{flex:none;width:100%;height:auto;aspect-ratio:9/16;max-height:460px;object-fit:contain}
.gift-video-carousel .gift-video-note{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;height:40px;padding:6px 4px;font-size:11px;line-height:1.25}
.gift-video-navigation{display:flex;align-items:center;justify-content:center;gap:12px;margin:4px 0 0}
.gift-video-navigation>button{flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #eaded0;border-radius:50%;background:#fff3e6;color:#132e52;font-size:28px;cursor:pointer}
.gift-video-navigation>button:hover{background:#ffe1a9}.gift-video-navigation>button:disabled{opacity:.35;cursor:default}
.gift-video-dots{display:flex;align-items:center;justify-content:center;min-width:0}
.gift-video-dots button{flex:0 1 44px;min-width:24px;width:44px;height:44px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}
.gift-video-dots button::after{content:"";width:8px;height:8px;background:#c3cbd2;border-radius:50%}
.gift-video-dots button[aria-current="true"]::after{background:#fb987e;width:20px;border-radius:8px}
.gift-video-navigation button:focus-visible,.gift-video-carousel .gift-video-row:focus-visible{outline:3px solid #ffab90;outline-offset:2px}
@media(max-width:700px){.hero .gift-video-carousel{width:calc(100% - 32px);max-width:480px;padding:0}.hero .gift-video-carousel .gift-video-row{gap:12px}.gift-video-carousel .gift-video-frame{flex-basis:calc((100% - 24px) / 2.25)}.gift-video-carousel .gift-video-frame video{max-height:460px}.gift-video-carousel .gift-video-note{height:54px;padding:6px 2px;font-size:11px}}

/* Approved finish illustration; contain the entire graphic above the controls. */
.home-hero-stage{margin-bottom:0}
.home-finish-slide{position:absolute;inset:0;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:0 0 36px;background:#fff9f0;opacity:0;transition:opacity 1.2s ease;pointer-events:none}
.home-finish-slide.active{opacity:1}
.home-background-carousel .home-finish-image{position:static;display:block;width:100%;height:100%;object-fit:contain;opacity:1;transform:none;animation:none;transition:none;mask-image:none;-webkit-mask-image:none}
.home-finish-slide .home-finish-caption{margin:4px 12px 0;text-align:center;font-size:14px;line-height:1.45;color:#173b59}
@media(max-width:760px){.home-finish-slide .home-finish-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-finish-slide{transition:none}}

/* Approved V13 blind box banners: keep every heading, step and dimension visible. */
.home-background-carousel img.home-blindbox-banner,.home-background-carousel img.home-size-comparison-banner{object-fit:contain;object-position:center;transform:none;animation:none;mask-image:none;-webkit-mask-image:none;padding-bottom:32px;box-sizing:border-box;background:#fff9f0}

/* Read fine banner text at a useful size; pan the enlarged view on narrow screens. */
#image-view-window.blindbox-banner-view{display:block;width:min(1800px,calc(100vw - 42px));max-height:calc(100dvh - 66px);overflow:auto;overscroll-behavior:contain}
#image-view-window.blindbox-banner-view img{width:max(1200px,100%);max-width:none;max-height:none;height:auto}
#image-view-window.blindbox-banner-view:focus-visible{outline:2px solid #fb987e;outline-offset:2px}

/* Swipe the hero repeatedly while preserving native page scrolling and zoom. */
.home-hero-stage{touch-action:pan-y pinch-zoom}
.home-hero-stage img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.home-hero-stage.manual-slide .home-background-carousel img{transition:opacity .25s ease}
@media(prefers-reduced-motion:reduce){.home-hero-stage.manual-slide .home-background-carousel img{transition:none}}
.home-header .header-icon-actions{display:contents}

/* Compact social circles: 36px visuals inside 44px touch targets. */
.home-header .header-right-actions{gap:12px}
.home-header .header-social-links{display:flex;align-items:center;gap:0;flex-shrink:0}
.home-header .header-social-link{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;text-decoration:none}
.home-header .header-social-link::before{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--social-color)}
.home-header .header-social-link svg{position:relative;width:20px;height:20px;flex-shrink:0}
.home-header .header-whatsapp{--social-color:#128c4b}
.home-header .header-instagram::before{content:none}
.home-header .header-instagram img{display:block;width:32px;height:32px;object-fit:contain}
.home-header .header-facebook{--social-color:#1877f2}
.home-header .header-social-link:hover::before{filter:brightness(.88)}
.home-header .header-social-link:focus-visible{outline:3px solid #132e52;outline-offset:1px}
/* All six shopping controls share one row; brand and language stay above. */
@media(max-width:760px){
  .site-header.home-header:has(.home-order-check){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;row-gap:6px;height:auto;min-height:0;padding:8px 12px 10px}
  .home-header .header-contact-brand{grid-column:1;grid-row:1;min-width:0}
  .home-header .brand{font-size:18px}
  .home-header .header-right-actions:has(.home-order-check){display:contents}
  .home-header .header-right-actions:has(.home-order-check) .header-language{grid-column:2;grid-row:1;justify-self:end;gap:7px}
  .home-header .header-language button{font-size:12px}
  .home-header .header-icon-actions{display:flex;align-items:center;gap:4px;grid-column:1;grid-row:2;justify-self:start}
  .home-header .header-right-actions:has(.home-order-check) .header-cart,
  .home-header .header-social-link{display:flex;align-items:center;justify-content:center;width:clamp(32px,8vw,44px);min-width:0;height:48px;min-height:48px;flex:0 0 auto;padding:0}
  .home-header .header-cart svg{width:24px;height:24px}
  .home-header .header-social-link::before{inset:auto;width:clamp(28px,7vw,36px);height:clamp(28px,7vw,36px)}
  .home-header .header-instagram img{width:clamp(26px,6.6vw,32px);height:clamp(26px,6.6vw,32px)}
  .home-header .header-social-link svg{width:18px;height:18px}
  .home-header .header-right-actions:has(.home-order-check) .header-social-links{display:flex;align-items:center}
  .home-header .header-right-actions:has(.home-order-check) .header-tool-actions{grid-column:2;grid-row:2;display:grid;align-items:stretch;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);min-width:0;width:100%;gap:6px;justify-self:stretch}
  .home-header .header-tool-actions .wrapcalc-open{grid-column:1;grid-row:1;min-width:0;min-height:48px;padding:4px 5px;font-size:10px;white-space:normal;text-align:center;line-height:1.2;gap:3px}
  .home-header .header-tool-actions .wrapcalc-open span{min-width:0}
  .home-header .header-tool-actions .wrapcalc-open svg{width:14px;height:14px}
  .home-header .header-right-actions:has(.home-order-check) .home-order-check{grid-column:2;grid-row:1;min-width:0;min-height:48px;font-size:10px;line-height:1.2;white-space:normal;text-align:center;padding:4px 5px}
}
@media(max-width:360px){
  .home-header .brand{font-size:16px}
  .home-header .header-language button{font-size:11px}
}

.gift-video-carousel .gift-video-shipping-note{margin:8px 12px 0;color:#53647a;text-align:center;font-size:11px;line-height:1.5}

/* Eight selectors fit narrow screens; arrow buttons retain44px targets. */
@media(max-width:360px){.gift-video-carousel .gift-video-navigation{gap:4px}.gift-video-carousel .gift-video-dots button{min-width:22px}}

/* Long Malay headings must fit the checkout column on small screens. */
@media(max-width:700px){.order-lead h2{font-size:clamp(32px,10vw,47px);overflow-wrap:anywhere}}
