/* BR Commerce | Reusable vector components, product blocks and buyer interaction.
 * Scoped to storefront components; tenant-published colors remain authoritative.
 * No fonts, network libraries, fake product photos or heavy backdrop blur. */
.commerce-icon{display:inline-block;flex:none;width:1.25em;height:1.25em;vertical-align:middle;stroke-width:1.7;overflow:visible}
.commerce-art{
 position:relative;display:grid;place-items:center;isolation:isolate;
 width:100%;height:100%;min-width:0;overflow:hidden;
 background:radial-gradient(ellipse at 50% 32%,#fffdf7 0%,#f2f1eb 78%);
 color:var(--merchant-primary,#254657);text-align:center;
}
.commerce-art[data-tone="sand"]{background:radial-gradient(ellipse at 50% 28%,#fffaf1 0%,#eee8d9 82%)}
.commerce-art[data-tone="sage"]{background:radial-gradient(ellipse at 50% 28%,#fcfdf9 0%,#e9eee8 82%)}
.commerce-art[data-tone="pearl"]{background:radial-gradient(ellipse at 50% 28%,#fffefa 0%,#f0f1ed 82%)}
.commerce-art::before{
 content:"";position:absolute;inset:10%;border-radius:50%;z-index:-1;
 background:radial-gradient(circle,rgba(219,198,148,.14),transparent 67%);
 pointer-events:none;
}
.commerce-art-graphic{
 position:absolute;left:50%;top:46%;width:min(83%,440px);height:auto;
 max-height:75%;transform:translate(-50%,-50%);
}
.commerce-art-caption{
 position:absolute;bottom:11%;left:10%;right:10%;
 color:#838475;font-size:12px;line-height:1.4;font-weight:500;
 letter-spacing:.015em;
}
.commerce-art--card .commerce-art-graphic{width:84%;max-height:85%;top:45%}
.commerce-art--card .commerce-art-caption{bottom:7%;font-size:11px}
.commerce-art--cart .commerce-art-graphic{width:100%;max-height:100%;top:50%}
.commerce-art--cart .commerce-art-caption{display:none}
.commerce-art--cart::before{display:none}

/* Product options: purposeful hierarchy, iconography, and real input semantics. */
[data-commerce-product-detail] .commerce-availability{
 display:inline-flex;align-items:center;gap:7px;min-height:30px;
 border-radius:8px;padding:4px 10px 4px 7px;background:#edf7f2;
 color:#346e56;font-size:12px;font-weight:550;
}
[data-commerce-product-detail] .commerce-availability-icon{width:15px;height:15px;stroke-width:1.9}
[data-commerce-product-detail] .commerce-price-block{margin-bottom:9px}
[data-commerce-product-detail] .commerce-bundle-title{display:flex;align-items:center;gap:10px}
[data-commerce-product-detail] .commerce-bundle-symbol,
[data-commerce-product-detail] .commerce-config-symbol,
[data-commerce-product-detail] .commerce-journey-symbol,
[data-commerce-product-detail] .commerce-related-symbol{
 flex:none;display:inline-grid;place-items:center;
 background:#e8eee9;color:var(--merchant-primary,#1d546e);
 border-radius:10px;width:36px;height:36px;
}
[data-commerce-product-detail] .commerce-bundle-symbol{width:30px;height:30px;background:rgba(255,255,255,.75)}
[data-commerce-product-detail] .commerce-bundle-symbol .commerce-icon,
[data-commerce-product-detail] .commerce-config-symbol .commerce-icon{width:19px;height:19px}
[data-commerce-product-detail] .commerce-config-heading{
 display:flex;align-items:flex-start;gap:13px;
 margin:4px 0 12px;padding:0 0 19px;border-bottom:1px solid #e4e8e5;
}
[data-commerce-product-detail] .commerce-config-heading strong{display:block;font-size:16px;font-weight:650;letter-spacing:-.017em;line-height:1.4}
[data-commerce-product-detail] .commerce-config-heading small{display:block;font-size:12px;line-height:1.55;color:#6d7b83;margin-top:2px}
[data-commerce-product-detail] .commerce-choice-legend{
 display:flex;align-items:center;justify-content:space-between;
 gap:8px;flex-wrap:wrap;width:100%;max-width:100%;
 padding:0 0 4px!important;margin:0;
}
[data-commerce-product-detail] .commerce-choice-title{display:inline-flex;align-items:center;gap:10px;min-width:0;flex:1;font-size:14px;line-height:1.45;font-weight:650}
[data-commerce-product-detail] .commerce-choice-glyph{
 display:inline-grid;place-items:center;flex:none;
 width:29px;height:29px;background:#edf1ee;border-radius:9px;
 color:var(--merchant-primary,#24566c);
}
[data-commerce-product-detail] .commerce-choice-glyph .commerce-icon{width:16px;height:16px}
[data-commerce-product-detail] .commerce-choice-requirement{
 display:inline-flex;align-items:center;justify-content:center;
 flex:none;border-radius:6px;font-size:10px;font-weight:650!important;
 padding:4px 7px;line-height:1.15;letter-spacing:0!important;
}
[data-commerce-product-detail] .commerce-choice-requirement.is-required{color:#954753;background:#fbebec}
[data-commerce-product-detail] .commerce-choice-requirement.is-optional{color:#667781;background:#edf1f3}
[data-commerce-product-detail] .commerce-select-shell{position:relative;width:100%;display:block}
[data-commerce-product-detail] .commerce-select-shell select{
 display:block;appearance:none!important;-webkit-appearance:none!important;
 width:100%;padding-right:42px!important;margin:7px 0 3px;
 font-weight:500;cursor:pointer;min-height:54px;
}
[data-commerce-product-detail] .commerce-select-shell:focus-within .commerce-select-arrow{
 color:var(--merchant-primary,#286d8f);
}
[data-commerce-product-detail] .commerce-select-arrow{
 position:absolute;right:16px;top:50%;transform:translateY(-50%);
 pointer-events:none;width:17px;height:17px;color:#6d8391;
 transition:transform .23s cubic-bezier(.2,.8,.2,1),color .23s;
}
[data-commerce-product-detail] .commerce-choice-option{
 min-height:56px;padding:14px 15px;border-color:#e5e9e7;
 box-shadow:0 1px 1px rgba(35,54,64,.02);
}
[data-commerce-product-detail] .commerce-choice-option input[type=checkbox]{
 width:20px;height:20px;accent-color:var(--merchant-primary,#247e9c);
}
[data-commerce-product-detail] [data-product-choice-group]:has(select:required:valid) .commerce-choice-glyph{
 background:#e2f0e7;color:#276647;
}
[data-commerce-product-detail] .commerce-choice-option:has(input:checked){
 border-color:var(--merchant-primary,#2a82a0);
 background:color-mix(in srgb,var(--merchant-primary,#2a82a0) 6%,white);
}
[data-commerce-product-detail] .commerce-estimate-caption{display:flex;align-items:center;gap:11px;min-width:0}
[data-commerce-product-detail] .commerce-estimate-icon{
 display:grid;place-items:center;flex:none;width:37px;height:37px;
 border-radius:11px;color:var(--merchant-primary,#285c74);background:#fff;
 border:1px solid #e4ebea;
}
[data-commerce-product-detail] .commerce-estimate-icon .commerce-icon{width:18px;height:18px}
[data-commerce-product-detail] [data-product-add-cart],
[data-commerce-product-detail] [data-product-buy-now]{
 display:inline-flex;align-items:center;justify-content:center;
 gap:10px;white-space:normal;line-height:1.2;overflow-wrap:anywhere;
}
[data-commerce-product-detail] .commerce-cta-icon{width:17px;height:17px}
[data-commerce-product-detail] [data-product-buy-now] .commerce-cta-icon{transition:transform .24s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){[data-commerce-product-detail] [data-product-buy-now]:hover .commerce-cta-icon{transform:translateX(3px)}}
[data-commerce-product-detail] .commerce-form-error{display:flex;align-items:flex-start;gap:10px}
[data-commerce-product-detail] .commerce-error-icon{flex:none;width:18px;height:18px;margin-top:1px}
[data-commerce-product-detail] .commerce-related-title{display:flex;align-items:center;gap:12px}
[data-commerce-product-detail] .commerce-related-symbol{width:39px;height:39px}
[data-commerce-product-detail] .commerce-related-symbol .commerce-icon{width:19px;height:19px}

@media(min-width:900px){
 [data-commerce-product-detail] [data-commerce-gallery]{
  position:sticky;top:105px;align-self:start;min-width:0;
 }
}
/* Editorial step strip: accurate request-only checkout, no misleading payment claims. */
[data-commerce-product-detail] .commerce-order-journey{
 display:grid;grid-template-columns:minmax(205px,.66fr) minmax(0,1.65fr);
 gap:clamp(20px,3.5vw,42px);align-items:start;
 margin-top:clamp(52px,7vw,90px);padding:32px 0;
 border-block:1px solid #e5e9e6;
}
[data-commerce-product-detail] .commerce-journey-intro{display:flex;align-items:flex-start;gap:12px}
[data-commerce-product-detail] .commerce-journey-symbol{width:42px;height:42px;background:#e8e8df}
[data-commerce-product-detail] .commerce-journey-symbol .commerce-icon{width:20px;height:20px}
[data-commerce-product-detail] .commerce-journey-intro h2{
 font-size:clamp(16px,1.5vw,20px);font-weight:675;
 letter-spacing:-.035em;line-height:1.35;margin:1px 0 6px;color:#213a4b;
}
[data-commerce-product-detail] .commerce-journey-intro p{font-size:12px;line-height:1.6;color:#71818c;max-width:27ch}
[data-commerce-product-detail] .commerce-journey-steps{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:0;padding:0;
}
[data-commerce-product-detail] .commerce-journey-steps li{
 min-width:0;position:relative;padding:0 18px;
 border-left:1px solid #e5e9e6;display:flex;flex-direction:column;align-items:flex-start;gap:10px;
}
[data-commerce-product-detail] .commerce-journey-number{
 font-family:inherit;letter-spacing:.09em;color:#9ca9ac;font-size:11px;font-weight:650;
}
[data-commerce-product-detail] .commerce-journey-icon{
 width:36px;height:36px;display:grid;place-items:center;border-radius:11px;
 border:1px solid #e2e9e5;background:#fff;color:var(--merchant-primary,#26566d);
}
[data-commerce-product-detail] .commerce-journey-icon .commerce-icon{width:19px;height:19px}
[data-commerce-product-detail] .commerce-journey-steps strong{display:block;margin-top:1px;font-size:13px;font-weight:650;line-height:1.3;color:#263c4b}
[data-commerce-product-detail] .commerce-journey-steps p{font-size:12px;line-height:1.55;color:#77838b;margin-top:5px}

/* Shared product cards: do not override tenant's published base colors. */
.commerce-product-card{isolation:isolate;transform:translateZ(0)}
.commerce-product-card .merchant-product-image{background:#f5f3ed}
.commerce-product-card .merchant-product-image img{transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.commerce-product-card .commerce-product-card-choose{max-width:100%;text-decoration:none;line-height:1.3}
.commerce-product-card .commerce-product-card-choose .commerce-icon{transition:transform .2s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.commerce-product-card .commerce-product-card-choose:hover .commerce-icon{transform:translateX(3px)}}
.commerce-shop-product-card .commerce-art{min-height:100%}
.commerce-shop-product-card .commerce-icon{vertical-align:middle}
.commerce-shop-product-card:focus-within{outline:2px solid var(--merchant-primary,#285774);outline-offset:3px}
.commerce-shop-empty-symbol,
.commerce-cart-empty-symbol{
 display:grid;place-items:center;margin:0 auto 17px;
 width:78px;height:78px;border-radius:22px;
 background:linear-gradient(135deg,#f5f2e9,#e9eeee);
 color:var(--merchant-primary,#245268);box-shadow:inset 0 1px rgba(255,255,255,.65);
}
.commerce-shop-empty-symbol .commerce-icon,
.commerce-cart-empty-symbol .commerce-icon{width:35px;height:35px}
.commerce-cart-empty a:focus-visible{outline:2px solid var(--merchant-primary,#285774);outline-offset:3px}

/* Clean small-screen composition; never obstruct sticky shop tabs. */
@media(max-width:899px){
 [data-commerce-product-detail] .commerce-order-journey{grid-template-columns:1fr;gap:25px}
 [data-commerce-product-detail] .commerce-journey-intro p{max-width:60ch}
}
@media(max-width:639px){
 [data-commerce-cart].commerce-cart-shell{min-height:0}
 [data-commerce-cart] .commerce-cart-empty{padding-top:52px;padding-bottom:52px;border-radius:23px}
 [data-commerce-cart].commerce-cart-shell > div{padding-bottom:52px}
 [data-commerce-product-detail] .commerce-config-heading{margin-top:0;margin-bottom:8px;padding-bottom:15px}
 [data-commerce-product-detail] .commerce-choice-glyph{width:27px;height:27px}
 [data-commerce-product-detail] .commerce-choice-legend{gap:6px}
 [data-commerce-product-detail] .commerce-choice-title{font-size:13px}
 [data-commerce-product-detail] .commerce-select-shell select{font-size:14px}
 [data-commerce-product-detail] .commerce-order-journey{margin-top:50px;padding:26px 0 27px}
 [data-commerce-product-detail] .commerce-journey-intro{align-items:center}
 [data-commerce-product-detail] .commerce-journey-steps{grid-template-columns:1fr;gap:15px}
 [data-commerce-product-detail] .commerce-journey-steps li{
  display:grid;grid-template-columns:27px 37px minmax(0,1fr);
  align-items:center;gap:10px;border:0;padding:0;
 }
 [data-commerce-product-detail] .commerce-journey-steps strong{margin-top:0}
 [data-commerce-product-detail] .commerce-journey-steps p{margin-top:4px}
 [data-commerce-product-detail] .commerce-journey-number{font-size:10px}
 [data-commerce-product-detail] .commerce-journey-icon{width:35px;height:35px}
 [data-commerce-product-detail] .commerce-related-title{gap:9px}
 [data-commerce-product-detail] .commerce-related-symbol{width:34px;height:34px}
 [data-commerce-product-detail] .commerce-related-symbol .commerce-icon{width:17px;height:17px}
 .commerce-shop-product-card .commerce-art-caption{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .commerce-icon,.commerce-product-card .merchant-product-image img,
 [data-commerce-product-detail] .commerce-select-arrow,
 [data-commerce-product-detail] [data-product-buy-now] .commerce-cta-icon{animation:none!important;transition:none!important;transform:none}
 .commerce-art-graphic{transform:translate(-50%,-50%)!important}
}
