/* Quiet interaction layer for Boxiang's real pages; never hides content or animates on scroll. */
.bo-btn,
.bo-site a.bo-card,
.bo-agent,
.bo-style-card,
.bo-product-nav a,
.bo-route a,
.bo-gallery-arrow,
.bo-gallery-thumbs button,
.bo-social-links a,
.bx-resource-tabs a,
.bx-pagination a,
.bx-story-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease,
    background-color .18s ease, color .18s ease;
}

.bo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(23, 44, 60, .16);
}
.bo-btn:active { transform: translateY(0) scale(.98); }
.bo-site a.bo-card:hover,
.bo-agent:hover,
.bo-style-card:hover,
.bx-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(23, 44, 60, .10);
}
.bo-site a.bo-card > img,
.bx-featured-image img,
.bx-story-photo img {
  transition: transform .26s ease;
}
.bo-site a.bo-card:hover > img,
.bx-featured-story:hover .bx-featured-image img,
.bx-story-card:hover .bx-story-photo img { transform: scale(1.025); }
.bo-product-gallery .bo-gallery-thumbs button:hover,
.bo-product-gallery .bo-gallery-thumbs button[aria-pressed="true"] { transform: translateY(-1px); }
.bo-product-nav a:hover,
.bo-route a:hover,
.bx-resource-tabs a:hover,
.bx-pagination a:hover { transform: translateY(-1px); }
.bo-product-gallery .bo-gallery-arrow:hover { transform: translateY(-50%); }
.bo-gallery-main img { transition: transform .22s ease; }
.bo-gallery-main:hover img { transform: scale(1.015); }
.bo-field input,
.bo-field textarea { transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.bo-field input:focus,
.bo-field textarea:focus { box-shadow: 0 0 0 3px rgba(49, 93, 120, .12); }
.bo-faq summary,
.bx-article a,
.bx-resource-tabs a,
.bo-footer a { transition: color .18s ease, background-color .18s ease, text-decoration-color .18s ease; }
.bo-faq details[open] { transition: background-color .18s ease; }

/* Larger, easier-to-tap WhatsApp entry on desktop and mobile. */
.bo-wa { top: 50%; right: clamp(76px, 8vw, 128px) !important; bottom: auto; z-index: 999999; transform: translateY(-50%); }
.bo-wa-toggle {
  position: relative;
  isolation: isolate;
  width: 70px !important;
  height: 70px !important;
  border: 3px solid #fff !important;
  background: #168447 !important;
  box-shadow: 0 5px 20px rgba(12, 44, 28, .28);
  animation: bo-wa-halo 2.55s ease-out infinite;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}
.bo-wa-toggle svg { width: 39px !important; height: 39px !important; }
.bo-wa-toggle::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 2px solid rgba(22, 132, 71, .48);
  border-radius: 50%;
  opacity: .2;
  transform: scale(.91);
  animation: bo-wa-breathe 2.55s ease-in-out infinite;
}
.bo-wa-toggle::before{content:"";position:absolute;inset:-11px;z-index:-2;border-radius:50%;background:rgba(22,132,71,.12);opacity:.3;transform:scale(.88);animation:bo-wa-breathe 2.55s ease-in-out infinite .35s}
@keyframes bo-wa-breathe{0%,100%{opacity:.15;transform:scale(.9)}50%{opacity:.6;transform:scale(1.13)}}
@keyframes bo-wa-halo{0%{box-shadow:0 5px 20px rgba(12,44,28,.28),0 0 0 0 rgba(22,132,71,.45)}55%{box-shadow:0 5px 20px rgba(12,44,28,.28),0 0 0 16px rgba(22,132,71,0)}100%{box-shadow:0 5px 20px rgba(12,44,28,.28),0 0 0 16px rgba(22,132,71,0)}}
.bo-wa-toggle:hover { transform: scale(1.045); background: #106f3a !important; box-shadow: 0 8px 24px rgba(12, 44, 28, .34) !important; }
.bo-wa-toggle:hover::after { opacity: 1; transform: scale(1); }
.bo-wa-toggle:active { transform: scale(.97); }
.bo-agent-icon { width: 40px !important; height: 40px !important; }
.bo-agent-icon svg { width: 27px !important; height: 27px !important; }

/* Contact panel: one clear invitation, then scannable people and a quiet fallback. */
.bo-wa-panel{width:350px!important;padding:0!important;overflow:hidden;border:1px solid #dce5e7!important;border-radius:18px!important;background:#fff!important;box-shadow:0 22px 58px rgba(11,32,45,.24)!important;text-align:left}
.bo-wa-heading{position:relative;padding:25px 54px 23px 24px;background:#173545!important;color:#fff}
.bo-wa-heading::before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:#d8854e}
.bo-wa-eyebrow{display:block;margin-bottom:10px;color:#bed3d8;font-size:11px;font-weight:700;letter-spacing:.11em}
.bo-wa-heading h2{margin:0 0 7px!important;color:#fff!important;font-size:21px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:-.025em}
.bo-wa-subtitle{color:#d7e4e5;font-size:13px;line-height:1.45}
.bo-wa-close{position:absolute;right:14px;top:15px;width:34px;height:34px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:23px;line-height:1;cursor:pointer;transition:background .18s ease,transform .18s ease}
.bo-wa-close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg)}
.bo-wa-people{padding:8px}
.bo-wa-panel .bo-wa-person-link{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#173545!important;text-decoration:none!important;transition:background .18s ease}
.bo-wa-panel .bo-wa-person-link:hover{background:#edf7f1!important}
.bo-wa-panel .bo-wa-person-link span{float:none!important}
.bo-wa-contact-icon{display:grid;flex:0 0 38px;place-items:center;width:38px;height:38px;border-radius:11px;background:#e5f5ea;color:#168447}
.bo-wa-contact-icon svg{width:22px;height:22px}
.bo-wa-person{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.bo-wa-person strong{font-size:14px;font-weight:650;line-height:1.2}
.bo-wa-person small{color:#5e747b;font-size:12px;line-height:1.2}
.bo-wa-arrow{color:#719087;font-size:19px;transition:transform .18s ease}
.bo-wa-person-link:hover .bo-wa-arrow{transform:translate(2px,-2px)}
.bo-wa-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 18px;border-top:1px solid #e7ebeb;background:#f6f8f7}
.bo-wa-availability{display:flex;align-items:center;gap:6px;color:#38514b;font-size:11px;line-height:1.35}
.bo-wa-availability i{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#1d9c62}
.bo-wa-panel .bo-wa-email{display:inline!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#173545!important;font-size:11px!important;font-weight:650;text-decoration:underline!important;text-underline-offset:3px;white-space:nowrap}

/* Editorial structure: let actual garments and factory photography lead. */
.bo-site{color:#173545}
.bo-site .bo-section{padding-block:76px}
.bo-site .bo-head{align-items:start;margin-bottom:32px}
.bo-site .bo-head h2{max-width:680px;font-size:clamp(29px,2.6vw,38px);line-height:1.13;letter-spacing:-.035em}
.bo-site .bo-head p{max-width:440px;margin-top:5px;font-size:16px;line-height:1.6}
.bo-site .bo-card{border-color:#e0e6e7;border-radius:10px;box-shadow:0 2px 10px rgba(23,53,69,.035)}
.bo-site .bo-card>img{object-fit:cover;padding:0;background:#e9eeee}
.bo-site .bo-card-copy h3{font-size:18px;line-height:1.25;letter-spacing:-.018em}
.bo-site .bo-card-copy p{font-size:14px;line-height:1.55}
.bo-site .bo-grid-5 .bo-card>img{height:270px}
.bo-site .bo-grid-5 .bo-card-copy{padding:20px 18px 22px}
.bo-site .bo-grid-5 .bo-card-copy .bo-link{display:none}
.bo-site .bo-pair{gap:clamp(36px,5vw,76px)}
.bo-site .bo-pair>img{height:420px;object-fit:cover;padding:0;background:#e8ecec;border-radius:10px}
.bo-site .bo-pair>div>h2{max-width:560px;font-size:clamp(30px,2.8vw,40px);letter-spacing:-.035em}
.bo-site .bo-pair>div>p{font-size:16px;line-height:1.65}
.bo-site .bo-steps{gap:28px}
.bo-site .bo-step{padding-top:22px;border-top:1px solid #b7c9d0}
.bo-site .bo-step b{margin-bottom:18px;font-size:32px;font-weight:600;line-height:1;letter-spacing:-.06em;color:#bc552e}
.bo-site .bo-step h3{font-size:18px;line-height:1.3}
.bo-site .bo-step p{font-size:15px;line-height:1.55}
.bo-site .bo-cta{padding-block:52px}
.bo-site .bo-cta h2{font-size:clamp(28px,2.6vw,36px);letter-spacing:-.03em}
.bo-site .bo-product-preview .bo-head{padding-bottom:24px;border-bottom:1px solid #d7e0e2}
.bo-site .bo-product-preview .bo-grid .bo-card>img{height:280px}
.bo-site .bo-product-preview .bo-card-copy{padding:16px 14px 19px}
.bo-site .bo-product-description{max-width:900px}
.bo-site .bo-product-description h2{font-size:clamp(28px,2.5vw,36px);letter-spacing:-.03em}
.bo-site .bo-form-box{border-radius:12px;border:1px solid #dbe4e7;border-top:4px solid #bc552e;box-shadow:0 18px 48px rgba(23,53,69,.08)}
.bo-site .bo-field input,.bo-site .bo-field textarea{background:#fff;border-radius:6px}
.bo-site .bo-field input:hover,.bo-site .bo-field textarea:hover{border-color:#819da9}
.bx-resource-intro{position:relative;overflow:hidden;background:#eaf0f2}
.bx-resource-intro::after{content:"";position:absolute;inset:0 0 0 auto;width:34%;background:url('/wp-content/uploads/2026/10/poster-embroidery-workshop.jpg') center/cover no-repeat}
.bx-resource-intro>*{position:relative;z-index:1}
.bx-resource-intro h1{max-width:670px;letter-spacing:-.04em}
.bx-resource-intro p{max-width:630px}
.bx-featured-story{overflow:hidden;border-radius:10px}
.bx-story-card{overflow:hidden;border:1px solid #e0e6e7;border-radius:10px}
.bx-story-photo{overflow:hidden}
.bo-site .bo-faq details{padding-block:20px}
.bo-site .bo-faq summary{font-size:17px}
.bo-hero-home{isolation:isolate}
.bo-hero-home:after{z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(11,22,30,.76),rgba(11,22,30,.49) 48%,rgba(11,22,30,.08))}
.bo-hero.bo-hero-home .bo-wrap{z-index:3}
.bo-home-carousel{position:absolute;inset:0;z-index:0;overflow:hidden}
.bo-home-slide{position:absolute;inset:0;opacity:0;transition:opacity .65s ease}
.bo-home-slide.is-active{opacity:1}
.bo-home-slide picture{display:block;width:100%;height:100%}
.bo-site .bo-home-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%}
/* Fixed-height banners use matching crops for standard desktops, ultrawide
   monitors and phones so large screens do not lose the useful subject area. */
.bo-hero-home{height:600px;min-height:600px}
@media (max-width: 600px){.bo-hero-home{height:480px;min-height:480px}}
.bo-home-carousel-controls{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(14px,4vw,62px);pointer-events:none}
.bo-home-carousel-controls button{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(14,32,40,.32);color:white;font:32px/1 Arial,sans-serif;cursor:pointer;pointer-events:auto;backdrop-filter:blur(4px);transition:background .18s ease,transform .18s ease}
.bo-home-carousel-controls button:hover{background:#173545;transform:scale(1.06)}
.bo-home-carousel-dots{position:absolute;left:50%;bottom:26px;z-index:3;display:flex;gap:9px;transform:translateX(-50%)}
.bo-home-carousel-dots button{width:9px;height:9px;padding:0;border:1px solid white;border-radius:99px;background:transparent;cursor:pointer;transition:width .2s ease,background-color .2s ease}
.bo-home-carousel-dots button[aria-current=true]{width:27px;background:white}

@media (max-width: 600px) {
  .bo-wa { right: 14px !important; }
  .bo-wa-toggle { width: 62px !important; height: 62px !important; }
  .bo-wa-toggle svg { width: 35px !important; height: 35px !important; }
  .bo-wa-panel{position:fixed!important;top:50%!important;right:0!important;left:auto!important;bottom:auto!important;width:min(350px,calc(100vw - 28px))!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;transform:translateY(-50%)!important}
  .bo-site .bo-section{padding-block:48px}
  .bo-site .bo-head{margin-bottom:22px}
  .bo-site .bo-head h2{font-size:29px}
  .bo-site .bo-head p{font-size:15px}
  .bo-site .bo-grid-5 .bo-card>img{height:190px}
  .bo-site .bo-grid-5 .bo-card-copy{padding:14px 12px 17px}
  .bo-site .bo-grid-5 .bo-card-copy h3{font-size:16px}
  .bo-site .bo-pair{gap:24px}
  .bo-site .bo-pair>img{height:280px}
  .bo-site .bo-pair>div>h2{font-size:29px}
  .bo-site .bo-product-preview .bo-grid .bo-card>img{height:190px}
  .bo-site .bo-steps{gap:18px}
  .bo-site .bo-step b{font-size:25px}
  .bo-site .bo-cta{padding-block:37px}
  .bx-resource-intro::after{display:none}
  .bo-home-carousel-controls{align-items:flex-start;padding:6px 12px 0}
  .bo-home-carousel-controls button{width:36px;height:36px;font-size:24px}
  .bo-home-carousel-dots{bottom:16px}
}

@media (prefers-reduced-motion: reduce) {
  .bo-btn, .bo-site a.bo-card, .bo-agent, .bo-style-card, .bo-product-nav a,
  .bo-route a, .bo-gallery-arrow, .bo-gallery-thumbs button, .bo-social-links a,
  .bx-resource-tabs a, .bx-pagination a, .bx-story-card, .bo-site a > img,
  .bx-featured-image img, .bx-story-photo img, .bo-gallery-main img,
  .bo-field input, .bo-field textarea, .bo-faq summary, .bo-footer a,
  .bo-wa-toggle, .bo-wa-toggle::after { transition: none !important; }
  .bo-btn:hover, .bo-site a.bo-card:hover, .bo-agent:hover, .bo-style-card:hover,
  .bx-story-card:hover, .bo-product-nav a:hover, .bo-route a:hover,
  .bo-gallery-thumbs button:hover, .bo-wa-toggle:hover,
  .bx-resource-tabs a:hover, .bx-pagination a:hover { transform: none !important; box-shadow: none !important; }
  .bo-product-gallery .bo-gallery-arrow:hover { transform: translateY(-50%) !important; box-shadow: none !important; }
  .bo-site a.bo-card:hover > img, .bx-featured-story:hover .bx-featured-image img,
  .bx-story-card:hover .bx-story-photo img, .bo-gallery-main:hover img { transform: none !important; }
  .bo-wa-toggle,.bo-wa-toggle::after,.bo-wa-toggle::before { animation:none!important; }
  .bo-wa-toggle::after,.bo-wa-toggle::before { display: none; }
  .bo-home-slide{transition:none}
}
