:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#17233d;background:#f3f6fb}*{box-sizing:border-box}body{margin:0;padding-bottom:calc(76px + env(safe-area-inset-bottom));min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}header{height:58px;padding:0 18px;background:#155eef;color:#fff;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;box-shadow:0 6px 18px #155eef22}header button{border:0;background:none;color:#fff;font-size:21px}header span{font-size:12px;background:#ffffff20;padding:5px 10px;border-radius:20px}main{max-width:760px;margin:auto;padding:16px}.hero{padding:34px 24px;border-radius:22px;color:#fff;background:radial-gradient(circle at 90% 10%,#8bb9ff 0,transparent 35%),linear-gradient(135deg,#155eef,#0040c1);margin-bottom:20px;box-shadow:0 14px 30px #155eef28}.hero h1{font-size:30px;margin:10px 0 8px}.hero button{border:0;background:#fff;color:#155eef;padding:10px 18px;border-radius:10px;font-weight:700}.page-head{margin:4px 0 16px}.page-head h1{margin:0;font-size:26px}.page-head p{margin:5px 0;color:#667085}.section-title,.row,.summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title button,.text{border:0;background:none;color:#155eef}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card,.panel,.order-card,.address{background:#fff;border:1px solid #e9eef5;border-radius:16px;box-shadow:0 4px 18px #102a560a}.card{padding:12px}.link{display:block;width:100%;text-align:left;border:0;background:none;padding:0;color:inherit}.image,.detail-image,.thumb{background:linear-gradient(145deg,#e7f0ff,#f2f6ff);display:grid;place-items:center;color:#155eef;font-weight:800}.image{aspect-ratio:1;border-radius:12px;font-size:34px}.card h3{font-size:15px;margin:11px 0 4px}.card p{font-size:12px;color:#667085;margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row span{font-size:12px;color:#667085}.price{color:#e5484d;font-size:18px}.primary,.secondary{width:100%;padding:12px;border-radius:10px;font-weight:700}.primary{border:0;background:#155eef;color:#fff}.primary:disabled{opacity:.45}.secondary{background:#fff;color:#344054;border:1px solid #d0d5dd}.small{padding:9px;margin-top:10px}.panel{padding:18px;margin-bottom:14px}.panel h2{font-size:16px;margin:0 0 14px}.field,.search input,.search select{display:block;width:100%;padding:12px;margin:9px 0;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.search{display:grid;grid-template-columns:1fr 130px 75px;gap:8px;margin-bottom:16px}.search>*{margin:0!important;border:1px solid #d0d5dd;border-radius:10px}.search button{background:#155eef;color:#fff;border:0}.back{border:0;background:none;color:#155eef;padding:4px 0 14px}.detail-image{aspect-ratio:16/10;border-radius:14px;font-size:56px;margin-bottom:18px}.detail h1{margin:6px 0}.detail>p{color:#667085;line-height:1.7}.skus{display:grid;gap:8px;margin:16px 0}.sku{display:grid;grid-template-columns:auto 1fr auto;gap:4px 10px;padding:12px;border:1px solid #d0d5dd;border-radius:10px}.sku.selected{border-color:#155eef;background:#f3f7ff}.sku input{grid-row:1/3}.sku small{grid-column:2;color:#667085}.quantity{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.quantity input{width:86px;padding:8px;border:1px solid #d0d5dd;border-radius:8px}.list,.order-list,.coupon-list{display:grid;gap:12px}.line,.address{display:flex;align-items:center;gap:12px;padding:14px}.thumb{width:58px;height:58px;border-radius:10px;flex:0 0 auto}.grow{flex:1;min-width:0}.line h3,.line p{margin:2px 0}.line p,.address p{font-size:12px;color:#667085}.step{display:flex;align-items:center;gap:10px;margin-top:8px}.step button{border:1px solid #d0d5dd;background:#fff;width:28px;height:28px;border-radius:6px}.danger{border:0;background:none;color:#e5484d}.checkout-bar{position:sticky;bottom:68px;background:#fff;border-radius:14px;box-shadow:0 -5px 20px #102a5615;padding:12px 14px;margin-top:14px;display:flex;align-items:center;justify-content:space-between}.checkout-bar div{display:flex;flex-direction:column}.checkout-bar .primary{width:130px}.bill{display:grid;gap:10px}.bill>div{display:flex;justify-content:space-between}.bill .total{border-top:1px solid #eee;padding-top:12px;font-size:18px}.status-banner{background:linear-gradient(135deg,#155eef,#4f8bff);color:#fff;padding:22px;border-radius:16px;margin-bottom:14px;display:flex;justify-content:space-between}.tracking{border-left:3px solid #155eef;padding-left:12px}.tracking p{margin:6px 0}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions button{flex:1;min-width:130px}.order-card{padding:15px}.order-total{text-align:right;border-top:1px solid #eef1f5;padding-top:10px;margin-top:10px}.badge{color:#155eef!important;background:#edf4ff;padding:4px 8px;border-radius:20px;font-size:12px}.pills{display:flex;gap:8px;overflow:auto;margin-bottom:14px}.pills button{border:0;background:#e9eef5;padding:8px 15px;border-radius:20px;white-space:nowrap}.pills .active{background:#155eef;color:#fff}.address{justify-content:space-between}.coupon{padding:18px;background:linear-gradient(135deg,#fff,#f7faff);border-left:5px solid #155eef;border-radius:12px;display:flex;justify-content:space-between}.coupon:not(.available){opacity:.55}.member{background:linear-gradient(135deg,#172b4d,#155eef);color:#fff;padding:26px;border-radius:20px;display:flex;gap:16px;align-items:center}.member h1,.member p{margin:3px}.avatar{width:58px;height:58px;border-radius:50%;background:#ffffff22;display:grid;place-items:center;font-size:24px}.assets{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:16px;margin:14px 0;padding:18px}.assets div{display:flex;flex-direction:column;text-align:center}.assets span{font-size:12px;color:#667085}.menu{background:#fff;border-radius:16px;overflow:hidden}.menu button{width:100%;padding:16px;border:0;border-bottom:1px solid #eef1f5;background:#fff;display:flex;justify-content:space-between}.hidden{display:none}.loading,.empty{text-align:center;color:#667085;padding:55px 15px}.loading i{display:block;width:24px;height:24px;border:3px solid #dbe7ff;border-top-color:#155eef;border-radius:50%;margin:0 auto 12px;animation:spin .8s linear infinite}.empty b{width:54px;height:54px;border-radius:18px;background:#e7f0ff;color:#155eef;display:grid;place-items:center;margin:auto;font-size:22px}.toast{position:fixed;top:72px;left:50%;transform:translateX(-50%);z-index:99;background:#101828;color:#fff;padding:10px 16px;border-radius:10px;box-shadow:0 8px 30px #0003}.toast.error{background:#b42318}.toast.warn{background:#b54708}nav{position:fixed;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid #e4e7ec;display:flex;justify-content:center;padding-bottom:env(safe-area-inset-bottom);z-index:30}nav button{border:0;background:none;color:#667085;min-width:min(20%,120px);font-size:13px}nav button.active{color:#155eef;font-weight:700}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:560px){main{padding:13px}.search{grid-template-columns:1fr 110px}.search button{grid-column:1/3;padding:10px}.grid{gap:10px}.card{padding:10px}.line{align-items:flex-start}.line>.danger{padding:0}.hero h1{font-size:26px}}@media(min-width:760px){.grid{grid-template-columns:repeat(3,1fr)}}
.image{overflow:hidden}.image img,.image video{width:100%;height:100%;object-fit:cover}.product-gallery{margin-bottom:18px}.product-media-main{aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#e7f0ff,#f2f6ff);display:grid;place-items:center;color:#155eef;font-size:56px}.product-media-main img,.product-media-main video{width:100%;height:100%;object-fit:contain}.product-media-thumbs{display:flex;gap:8px;overflow:auto;padding:10px 2px 2px}.product-media-thumb{width:58px;height:58px;flex:0 0 auto;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#f2f6ff}.product-media-thumb.active{border-color:#155eef}.product-media-thumb img,.product-media-thumb video{width:100%;height:100%;object-fit:cover}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;border-radius:10px}
.after-sale-summary{display:block;margin-top:8px;color:#155eef;font-size:12px}
.after-sale-item-lines{display:grid;gap:4px;margin-top:6px;color:#475467}
.stock-ok{color:#067647!important}.stock-short{color:#b42318!important}.promotion-context{align-items:flex-start}.promotion-context p{margin:5px 0 0;color:#667085;font-size:12px;line-height:1.5}
.payment-attempt{padding:12px;border:1px solid #eef1f5;border-radius:12px}.payment-attempt p{margin:5px 0 0;color:#667085;font-size:12px}.payment-attempt .badge{white-space:nowrap}.payment-error{display:block;margin-top:8px;color:#b42318}.payment-warning{display:block;margin-top:8px;color:#b54708;line-height:1.6}.payment-failed{color:#b42318!important;background:#fff1f0}.payment-paid{color:#067647!important;background:#ecfdf3}
.product-recommend-tag{display:inline-flex;align-items:center;margin:6px 6px 0 0;padding:2px 8px;border-radius:999px;background:#fff2e8;color:#c4320a;font-size:12px;font-weight:600}.product-display-sales{display:block;margin:4px 0;color:#667085;font-size:12px}.diy-image-card{padding:0;overflow:hidden}.diy-image-link{display:block;width:100%;border:0;background:none;padding:0;color:inherit}.diy-image-card img{display:block;width:100%;max-height:360px;object-fit:cover}.diy-action{display:flex;justify-content:center}.diy-action .primary,.diy-action .secondary,.diy-external-link{display:inline-block;width:auto;text-decoration:none;text-align:center}.diy-image-link:focus-visible,.diy-action button:focus-visible,.diy-action a:focus-visible{outline:3px solid #8bb9ff;outline-offset:2px}.diy-component-warning{border-color:#fedf89;background:#fffaeb;color:#7a2e0e}.diy-component-warning h2{margin:0 0 6px;color:#7a2e0e}.diy-component-warning p{margin:0}.diy-image-fallback{display:flex;;align-items:center;justify-content:center;padding:24px;color:#667085;background:#f8fafc;font-size:14px}
.diy-page-header-main{display:flex;align-items:center;justify-content:space-between;gap:12px;}.diy-page-header h2{margin:0;color:var(--diy-title-color,#182230);font-size:20px}.diy-page-header p{margin:6px 0 0;color:var(--diy-subtitle-color,#98a2b3);font-size:var(--diy-subtitle-size,14px)}.diy-title-more{width:auto;margin:0;padding:0;border:0;background:transparent;text-decoration:none;font-size:13px;white-space:nowrap}.diy-page-header--style1{border-bottom:1px solid #edf0f3}.diy-page-header--style2{background:#fff}.diy-page-header--style3{position:relative;padding-left:34px}.diy-page-header--style3:before{position:absolute;top:18px;bottom:18px;left:18px;width:4px;border-radius:4px;background:#1463ff;content:""}
.diy-search{display:grid;gap:7px}.diy-search-main{display:flex;align-items:center;gap:8px}.diy-search-main input{min-width:0;flex:1}.diy-search-icon{color:#98a2b3;font-size:18px}.diy-hot-keywords{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 4px;font-size:12px}.diy-hot-keyword{display:inline-flex;gap:3px;align-items:center;border:0;background:transparent;text-decoration:none;cursor:pointer}.diy-hot-keyword-icon{font-size:12px}.diy-carousel{overflow:hidden;padding:0!important}.diy-carousel-viewport{position:relative;}.diy-carousel-slide{position:relative;display:none;;overflow:hidden;background:#e8eef8}.diy-carousel-slide.is-active{display:block}.diy-carousel-slide img{display:block;width:100%;height:210px;object-fit:cover}.diy-carousel-caption{position:absolute;right:0;bottom:0;left:0;display:grid;gap:3px;padding:26px 18px 16px;background:linear-gradient(transparent,rgba(0,0,0,.56));color:#fff}.diy-carousel-caption strong{font-size:18px}.diy-carousel-caption small{opacity:.9}.diy-carousel--style2{border-radius:16px;box-shadow:0 6px 18px rgba(16,42,86,.12)}.diy-carousel--style3 .diy-carousel-caption{align-content:center;top:0;bottom:0;padding-left:32px;background:linear-gradient(90deg,rgba(0,0,0,.55),transparent 70%)}.diy-carousel-empty{display:grid;;place-items:center;color:#98a2b3}.diy-carousel-arrow{position:absolute;z-index:2;top:50%;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.25);color:#fff;cursor:pointer;transform:translateY(-50%)}.diy-carousel-prev{left:12px}.diy-carousel-next{right:12px}.diy-carousel-indicators{position:absolute;z-index:2;bottom:12px;display:flex;gap:5px;align-items:center;padding:3px 7px;border-radius:999px;background:rgba(0,0,0,.22)}.diy-carousel-indicators--bottom-left{left:12px}.diy-carousel-indicators--bottom-center{left:50%;transform:translateX(-50%)}.diy-carousel-indicators--bottom-right{right:12px}.diy-carousel-indicators button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.65);cursor:pointer}.diy-carousel-indicators button.is-active{background:#fff}.diy-carousel-indicator-style--fraction .diy-carousel-indicators button{width:auto;height:auto;padding:0 2px;border-radius:0;background:transparent;color:#fff;font-size:11px}
.diy-graphic-nav{padding:12px}.diy-graphic-nav-items{display:grid;gap:10px}.diy-graphic-nav--grid4 .diy-graphic-nav-items{grid-template-columns:repeat(4,minmax(0,1fr))}.diy-graphic-nav--grid5 .diy-graphic-nav-items{grid-template-columns:repeat(5,minmax(0,1fr))}.diy-graphic-nav--grid6 .diy-graphic-nav-items{grid-template-columns:repeat(6,minmax(0,1fr))}.diy-graphic-nav--list .diy-graphic-nav-items{grid-template-columns:1fr}.diy-graphic-nav-item{display:grid;min-width:0;gap:4px;padding:10px 7px;align-items:center;justify-items:center;border:0;border-radius:8px;background:#f8fafc;color:var(--diy-nav-text-color,#344054);font:inherit;text-align:center;text-decoration:none;cursor:pointer}.diy-graphic-nav-item:hover{background:#eff4ff}.diy-graphic-nav-item-icon{display:inline-flex;width:var(--diy-nav-icon-size,28px);height:var(--diy-nav-icon-size,28px);align-items:center;justify-content:center;color:var(--diy-nav-icon-color,#155eef)}.diy-graphic-nav-item-icon .diy-icon{width:100%;height:100%}.diy-graphic-nav-item-image{display:block;width:100%;height:100%;border-radius:8px;object-fit:cover}.diy-graphic-nav-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diy-graphic-nav-item-subtitle{color:#98a2b3;font-size:11px}.diy-graphic-nav--list .diy-graphic-nav-item{grid-template-columns:auto minmax(0,1fr) auto;justify-items:start;text-align:left}.diy-graphic-nav--list .diy-graphic-nav-item-subtitle{grid-column:2/4;margin-top:-2px}
.diy-product-list{display:grid;gap:10px}.diy-product-list--grid-large{grid-template-columns:repeat(2,minmax(0,1fr))}.diy-product-list--grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.diy-product-list--featured{grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.diy-product-list--featured .diy-product-card:first-child{grid-row:span 2}.diy-product-list--featured .diy-product-card:first-child .image{}.diy-product-list--list{grid-template-columns:1fr}.diy-product-card{min-width:0}.diy-product-card .link{display:grid;min-width:0;gap:5px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.diy-product-card .image{}.diy-product-list--list .diy-product-card{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:center}.diy-product-list--list .diy-product-card .link{grid-template-columns:110px minmax(0,1fr);grid-column:1/3;grid-row:1/3}.diy-product-list--list .diy-product-card .image{grid-row:span 2}.diy-product-list--list .diy-product-card .row{grid-column:3;grid-row:1}.diy-product-list--list .diy-product-card .product-display-sales{grid-column:3;grid-row:2}.diy-product-list--list .diy-product-card>button:not(.link){grid-column:3;grid-row:3}.diy-product-list-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}.diy-product-list-heading h2,.diy-product-list-heading p{margin:0}.diy-product-list-heading p{color:#98a2b3;font-size:12px}.diy-product-list-heading .diy-title-more{text-decoration:none}.product-list-stock{color:#98a2b3;font-size:12px}
.diy-search-main input{display:block;min-width:0;flex:1;width:auto;margin:0;padding:9px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#17233d}.diy-search-main .primary.small{flex:0 0 auto;width:auto;margin-top:0;padding:9px 14px}.diy-carousel-arrow{opacity:0;transition:opacity .2s ease,transform .2s ease}.diy-carousel-prev{transform:translateY(-50%) translateX(-22px)}.diy-carousel-next{transform:translateY(-50%) translateX(22px)}.diy-carousel:hover .diy-carousel-arrow,.diy-carousel:focus-within .diy-carousel-arrow{opacity:1;transform:translateY(-50%) translateX(0)}@media (hover:none){.diy-carousel .diy-carousel-arrow{opacity:1;transform:translateY(-50%) translateX(0)}}
.diy-carousel-indicator-style--line .diy-carousel-indicators button{width:16px;height:3px;border-radius:2px}.diy-icon{display:inline-block;width:1em;height:1em;overflow:visible;fill:currentColor;vertical-align:-.125em}.diy-search-icon .diy-icon{width:20px;height:20px}.diy-hot-keyword-icon .diy-icon{width:12px;height:12px}.diy-carousel-arrow .diy-icon{width:14px;height:14px}.diy-site-menu-icon .diy-icon{width:1em;height:1em;flex:0 0 auto}
.diy-notice-block .notice-list{gap:9px}.diy-notice--style2 .notice-card{border-color:transparent;border-radius:0;background:transparent}.diy-notice--style2 .notice-card{border-bottom:1px solid #eef1f5}.diy-notice--style3 .notice-card{border-color:#dbeafe;background:#f8fbff;box-shadow:0 4px 12px rgba(16,42,86,.08)}.diy-notice--style4 .notice-card{border-color:#bfdbfe;background:#eff6ff;box-shadow:0 4px 12px rgba(21,94,239,.12)}.diy-notice-icon{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:#155eef;color:#fff}.diy-notice-icon .diy-icon{width:14px;height:14px}
.diy-notice-block[data-diy-notice] .notice-list{display:block;gap:0}
.diy-notice-block[data-diy-notice] .notice-card{display:flex;min-width:0;;gap:8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
.diy-notice-block[data-diy-notice] .notice-card:hover{background:transparent}
.notice-title-viewport{display:block;min-width:0;height:1.5em;flex:1;overflow:hidden}
.notice-title-track{display:grid;transition:transform .35s ease;will-change:transform}
.notice-title-track>span{display:block;min-width:0;height:1.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-title-track strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.diy-notice-block[data-diy-notice] .notice-list{display:flex;align-items:center;gap:8px}
.diy-notice-block[data-diy-notice] .notice-list>.notice-card{flex:1}
.diy-notice-controls{display:flex;flex:0 0 auto;flex-direction:column;gap:2px}
.diy-notice-controls button{display:grid;width:22px;height:16px;place-items:center;padding:0;border:1px solid #ddd;border-radius:4px;background:#fff;color:#475467;line-height:1}
.diy-notice-controls button:hover{border-color:#155eef;color:#155eef}
.diy-notice-controls .diy-icon{display:block;width:10px;height:10px}
.diy-search-main{min-width:0;padding:5px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;box-shadow:0 2px 8px #1018280a;transition:border-color .18s ease,box-shadow .18s ease}.diy-search-main:focus-within{border-color:#d0d5dd;box-shadow:0 2px 8px #1018280a}.diy-search-main .diy-search-icon{display:grid;flex:0 0 auto;place-items:center;margin-left:6px;color:#667085}.diy-product-type-filter{position:relative;flex:0 0 116px;min-width:0}.diy-product-type-trigger{display:flex;min-width:0;width:100%;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:9px 10px;border:0;border-right:1px solid #eaecf0;border-radius:0;background:transparent;color:#344054;font-size:13px;text-align:left;list-style:none;cursor:pointer}.diy-product-type-trigger::-webkit-details-marker{display:none}.diy-product-type-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diy-product-type-caret{display:inline-flex;width:12px;height:12px;flex:0 0 12px;align-items:center;justify-content:center;color:#667085}.diy-product-type-caret .diy-icon{width:12px;height:12px}.diy-product-type-menu{position:absolute;z-index:60;top:calc(100% + 6px);left:0;display:none;min-width:168px;padding:6px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;box-shadow:0 12px 30px #102a5620}.diy-product-type-filter[open] .diy-product-type-menu{display:grid;gap:2px}.diy-product-type-option{display:block;width:100%;min-width:0;margin:0;padding:9px 18px;border:0;border-radius:6px;background:transparent;color:#344054;font-size:13px;text-align:left;white-space:nowrap}.diy-product-type-option:hover,.diy-product-type-option[aria-checked=true]{background:#f2f4f7}.diy-search-main input{min-width:0;flex:1;padding:9px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}.diy-search-main button.primary.small{height:36px;margin:0;padding:0 18px;border-radius:9px;white-space:nowrap}@media(max-width:560px){.diy-search-main{gap:4px}.diy-product-type-filter{flex-basis:92px}.diy-product-type-trigger{gap:4px;padding:9px 4px;font-size:12px}.diy-product-type-menu{min-width:150px}.diy-search-main .diy-search-icon{margin-left:3px}.diy-search-main input{padding:9px 5px}.diy-search-main button.primary.small{padding:0 12px}}

/* Shared product-card presentation for the catalog and DIY product modules. */
.product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.product-card{position:relative;min-width:0;padding:0;overflow:visible;border:1px solid #edf0f4;border-radius:18px;background:#fff;box-shadow:none;transition:box-shadow .18s ease}
.product-card-gallery{position:relative;display:flex;aspect-ratio:auto!important;overflow:visible;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;flex-direction:column;background:#f2f4f7;font-size:0}
.product-card-cover{position:relative;display:block;width:100%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;overflow:hidden;background:transparent;color:inherit;flex:none}
.product-card-cover img,.product-card-cover video{display:block;width:100%;height:100%;object-fit:cover}
.product-card-slide{position:absolute;inset:0;display:block}
.product-card-slide[hidden]{display:none}
.product-card-placeholder{display:grid;width:100%;height:100%;place-items:center;color:#98a2b3;font-size:36px}
.product-card-badge{position:absolute;top:10px;right:10px;display:grid;width:62px;height:62px;place-items:center;padding:6px;border-radius:50%;background:#f04438;color:#fff;font-size:14px;font-weight:800;line-height:1.1;text-align:center;box-shadow:0 3px 8px rgba(240,68,56,.24);pointer-events:none}
.product-card-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:6px 8px 8px;background:#fff}
.product-card-thumbnail{position:relative;display:block;min-width:0;max-width:36px;aspect-ratio:1;padding:0;overflow:hidden;border:1px solid transparent;border-radius:4px;background:#f2f4f7;justify-self:center}
.product-card-thumbnail[aria-pressed=true]{border-color:#155eef;box-shadow:0 0 0 0.5px #155eef}
.product-card-thumbnail img,.product-card-thumbnail video{display:block;width:100%;height:100%;object-fit:cover}
.product-card-thumbnail-count{position:absolute;inset:0;display:grid;place-items:center;background:rgba(16,24,40,.56);color:#fff;font-size:12px;font-weight:700;line-height:1}
.product-card-body{display:grid;min-width:0;gap:7px;padding:12px 12px 10px}
.product-card-info{display:grid;min-width:0;gap:4px;padding:0;border:0;background:transparent;color:inherit;text-align:left}
.product-card-title{display:-webkit-box;min-width:0;min-height:2.7em;overflow:hidden;font-size:16px;font-weight:700;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis}
.product-card-subtitle{overflow:hidden;color:#858b98;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.product-card-price-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;min-height:34px}
.product-card-price{display:inline-flex;max-width:100%;overflow:hidden;align-items:baseline;color:#f04438;font-size:0;letter-spacing:normal;white-space:nowrap}
.product-card-price-symbol,.product-card-price-fraction{font-size:14px;font-weight:400}
.product-card-price-integer{font-size:20px;font-weight:700;letter-spacing:-.03em}
.product-card-add{display:grid;width:17px;height:17px;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:50%;background:#fff0f1;color:#f04458}
.product-card-add svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.product-card-add:disabled{opacity:.42}
.product-card-tags{display:flex;min-width:0;flex-wrap:wrap;gap:5px}
.product-card-label,.product-card-promo,.product-card-coupon,.product-card-sales,.product-card-stock{max-width:100%;overflow:hidden;padding:3px 6px;border-radius:4px;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.product-card-label{background:#fff2eb;color:#e54825}
.product-card-promo{background:#fff2eb;color:#e54825}
.product-card-coupon{background:#fff7e6;color:#d48806}
.product-card-sales,.product-card-stock{background:#f2f4f7;color:#858b98}
.product-card-store{min-width:0;overflow:hidden;padding:7px 9px;border-radius:6px;background:#f5f6f9;color:#858b98;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.product-card{container-type:inline-size}
.product-card-actions{position:absolute;z-index:5;top:calc((100cqw - 48px)/2);right:0;left:0;display:flex;height:48px;align-items:center;justify-content:center;gap:16px;padding:0;overflow:visible;background:transparent;box-shadow:none;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .16s ease,transform .2s ease,visibility .2s ease}
.product-card-compare,.product-card-favorite{display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;font-size:0!important;filter:drop-shadow(0 1px 2px #101828d9);cursor:pointer;pointer-events:auto}
.product-card-compare svg{width:23px;height:23px;fill:currentColor;stroke:none}
.product-card-favorite svg{width:24px!important;height:24px!important;fill:currentColor!important;stroke:none!important}
.product-card-compare.is-compared{color:#a8c7ff!important}
.product-card-favorite.is-favorited{color:#ff7783!important}
.product-card-favorite.is-favorited svg{fill:currentColor!important;stroke:none!important}
.product-card-compare:focus-visible,.product-card-favorite:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (hover: hover) and (pointer: fine){
  .product-card:hover,.product-card:focus-within{z-index:10;box-shadow:0 6px 20px rgba(16,24,40,.12)}
  .product-card:hover .product-card-actions,.product-card:focus-within .product-card-actions{opacity:1;visibility:visible;transform:translateY(0)}
}

@media (hover:none){.product-card-actions{opacity:1;visibility:visible;transform:none}}
.diy-product-list--list .product-card{display:grid;grid-template-columns:minmax(100px,30%) minmax(0,1fr);gap:0;align-items:stretch}
.diy-product-list--list .product-card-gallery{grid-row:1;align-self:start}
.diy-product-list--list .product-card-actions{top:calc((30cqw - 48px)/2);right:auto;left:0;width:30%}
.diy-product-list--list .product-card-body{grid-column:2;grid-row:1}
.diy-product-list--list .product-card--no-image{grid-template-columns:1fr}
.diy-product-list--list .product-card--no-image .product-card-body{grid-column:1}
.diy-product-list--featured .product-card:first-child{grid-row:span 2}
.diy-product-list--grid-compact .product-card-body{gap:5px;padding:8px 7px}
.diy-product-list--grid-compact .product-card-title{font-size:16px}
.diy-product-list--grid-compact .product-card-subtitle{font-size:14px}
.diy-product-list--grid-compact .product-card-store{font-size:10px}
.diy-product-list--grid-compact .product-card-compare{gap:3px;padding:6px 3px;font-size:11px}
.diy-product-list--grid-compact .product-card-favorite{width:30px!important;min-width:30px!important}
.product-compare-tray{position:fixed;z-index:60;right:max(12px,calc((100vw - 760px)/2));bottom:calc(72px + env(safe-area-inset-bottom));left:max(12px,calc((100vw - 760px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 8px 28px rgba(16,24,40,.18);backdrop-filter:blur(12px)}
.product-compare-tray-items,.product-compare-tray-actions{display:flex;min-width:0;align-items:center;gap:8px}
.product-compare-tray-items{overflow:auto;white-space:nowrap}
.product-compare-tray-items>strong{flex:0 0 auto;color:#344054;font-size:12px}
.product-compare-chip{display:inline-flex;max-width:150px;align-items:center;gap:5px;padding:5px 7px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:11px}
.product-compare-chip button{padding:0;border:0;background:transparent;color:#667085;font-size:16px;line-height:1}
.product-compare-tray-actions{flex:0 0 auto}
.product-compare-tray-actions button{padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#667085;font-size:12px}
.product-compare-tray-actions .product-compare-open{background:#155eef;color:#fff;font-weight:700}
.product-compare-tray-actions .product-compare-open:disabled{background:#eaecf0;color:#98a2b3}
.product-compare-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:18px;background:rgba(16,24,40,.56)}
.product-compare-dialog{display:grid;width:min(100%,900px);max-height:min(82vh,760px);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 24px 60px rgba(16,24,40,.28)}
.product-compare-dialog>header{position:relative;height:auto;min-height:58px;padding:12px 18px;background:#fff;color:#17233d;box-shadow:none}
.product-compare-dialog>header h2{margin:0;font-size:18px}
.product-compare-dialog>header button{width:34px;height:34px;border-radius:50%;background:#f2f4f7;color:#475467;font-size:23px;line-height:1}
.product-compare-scroll{overflow:auto;padding:0 14px 16px}
.product-compare-scroll table{width:100%;min-width:560px;border-collapse:collapse;text-align:left}
.product-compare-scroll th,.product-compare-scroll td{min-width:120px;padding:12px;border-bottom:1px solid #eaecf0;vertical-align:top}
.product-compare-scroll thead th:first-child,.product-compare-scroll tbody th{width:100px;background:#f8fafc;color:#667085;font-size:12px}
.product-compare-item{display:grid;gap:8px}
.product-compare-item img{width:100%;max-width:130px;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#f2f4f7}
.product-compare-item strong{font-size:13px;line-height:1.4}
.product-compare-item button{justify-self:start;padding:4px 8px;border:1px solid #fecdca;border-radius:6px;background:#fff6f5;color:#d92d20;font-size:11px}
@media(max-width:560px){.product-card-body{gap:6px;padding:9px 8px 8px}.product-card-title{font-size:16px}.product-card-subtitle{font-size:11px}.product-card-badge{top:7px;right:7px;width:48px;height:48px;font-size:11px}.product-card-thumbnails{gap:3px;padding:5px 6px 6px}.product-card-thumbnail-count{font-size:10px}.product-card-label,.product-card-promo,.product-card-coupon,.product-card-sales,.product-card-stock{font-size:10px}.product-card-store{padding:6px 7px;font-size:10px}.product-card-compare{gap:5px;padding:7px 5px;font-size:12px}.product-card-favorite{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}.product-compare-tray{right:8px;bottom:calc(68px + env(safe-area-inset-bottom));left:8px;gap:6px;padding:8px}.product-compare-chip{max-width:96px}.product-compare-tray-actions{gap:2px}.product-compare-tray-actions button{padding:7px 6px;font-size:11px}.product-compare-dialog{max-height:78vh}.diy-product-list--list .product-card{grid-template-columns:minmax(88px,32%) minmax(0,1fr)}}
.coupon-center-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}.coupon-center-summary>div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 8px;background:#fff;border:1px solid #e9eef5;border-radius:14px}.coupon-center-summary strong{font-size:22px;color:#155eef}.coupon-center-summary span,.coupon-center-owned .section-title>span,.coupon-center-offers .section-title>span{font-size:12px;color:#667085}.coupon-center-offers .section-title,.coupon-center-owned .section-title{margin-bottom:12px}.coupon-center-offers .section-title h2,.coupon-center-owned .section-title h2{margin:0}.coupon-offer,.coupon-owned{align-items:center;gap:14px;border-left:5px solid #e5484d;background:linear-gradient(110deg,#fff8f7,#fff 55%)}.coupon-main{min-width:0;flex:1}.coupon-main strong{display:block;margin:5px 0;color:#e5484d;font-size:24px}.coupon-main h3{margin:5px 0;font-size:15px}.coupon-main p,.coupon-main small{display:block;margin:4px 0;color:#667085;font-size:12px;line-height:1.5}.coupon-eyebrow{display:inline-flex;padding:3px 7px;border-radius:5px;background:#fff0ed;color:#d4380d;font-size:11px}.coupon-offer .small,.coupon-owned .small{width:auto;min-width:88px;margin:0;padding:9px 12px;white-space:nowrap}.coupon-offer [disabled]{color:#98a2b3;background:#f2f4f7;border-color:#e4e7ec;cursor:not-allowed}.coupon-unavailable{border-left-color:#d0d5dd;background:#fff}.coupon-unavailable .coupon-main strong{color:#667085}.coupon-center-owned{margin-top:20px}.coupon-filters{margin:0 0 12px}.coupon-filters button{font-size:13px}.coupon-owned{border-left-color:#155eef;background:#fff}.coupon-status-used,.coupon-status-expired,.coupon-status-revoked,.coupon-status-other{border-left-color:#d0d5dd;background:#fafafa}.coupon-status-used .coupon-main strong,.coupon-status-expired .coupon-main strong,.coupon-status-revoked .coupon-main strong,.coupon-status-other .coupon-main strong{color:#667085}.coupon-status-label{flex:0 0 auto;color:#667085;font-size:13px}.coupon-list [hidden]{display:none!important}@media(max-width:560px){.coupon-center-summary>div{padding:12px 5px}.coupon-center-summary strong{font-size:19px}.coupon-offer,.coupon-owned{padding:13px;gap:8px}.coupon-main strong{font-size:21px}.coupon-offer .small,.coupon-owned .small{min-width:75px;padding:8px;font-size:12px}}
.diy-product-list--grid-compact{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Keep the H5 storefront header and fixed tab bar usable on narrow screens. */
@media(max-width:560px){
  html[data-storefront-channel="h5"] body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  html[data-storefront-channel="h5"] header.diy-site-header{position:sticky;top:0;z-index:50;display:flex;width:100%;height:auto;min-height:0;padding:0;flex:0 0 auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0}
  html[data-storefront-channel="h5"] .diy-site-top-nav{display:none}
  html[data-storefront-channel="h5"] .diy-site-header-main{display:grid;width:100%;height:auto;min-height:48px;padding:4px 12px;flex:0 0 auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(40px,auto) auto;gap:0 8px;align-items:center;justify-content:initial;box-sizing:border-box}
  html[data-storefront-channel="h5"] .diy-site-logo{grid-column:1;grid-row:1;justify-self:start;min-width:0;max-width:100%;margin:0;padding:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:20px!important;line-height:1.2}
  html[data-storefront-channel="h5"] .diy-site-logo img{display:block;width:auto;max-width:min(38vw,150px);max-height:36px;object-fit:contain}
  html[data-storefront-channel="h5"] .diy-site-header-tools{display:flex;grid-column:2;grid-row:1;min-width:0;margin:0;gap:6px;align-items:center;justify-content:flex-end}
  html[data-storefront-channel="h5"] #diy-account-entry{min-width:0}
  html[data-storefront-channel="h5"] .diy-account-entry{display:flex;min-width:0;gap:4px;align-items:center;white-space:nowrap}
  html[data-storefront-channel="h5"] header.diy-site-header .diy-site-header-tools button,
  html[data-storefront-channel="h5"] header.diy-site-header .diy-account-entry button,
  html[data-storefront-channel="h5"] header.diy-site-header .diy-account-entry a,
  html[data-storefront-channel="h5"] header.diy-site-header .diy-account-menu summary{width:auto;min-width:0;height:auto;min-height:30px;margin:0;padding:5px 7px;border-radius:8px;font-size:11px!important;line-height:1.2;white-space:nowrap}
  html[data-storefront-channel="h5"] .diy-traditional-search-wrap{grid-column:1/-1;grid-row:2;width:100%;min-width:0;margin-top:4px}
  html[data-storefront-channel="h5"] .diy-traditional-search{display:flex;width:100%;min-width:0;min-height:38px;gap:4px}
  html[data-storefront-channel="h5"] .diy-traditional-search input[type="search"]{min-width:0}
  html[data-storefront-channel="h5"] nav.diy-site-nav{position:fixed;z-index:50;right:0;bottom:0;left:0;display:flex;width:100%;height:calc(60px + env(safe-area-inset-bottom));min-height:60px;margin:0;padding:4px 0 calc(4px + env(safe-area-inset-bottom));box-sizing:border-box;align-items:stretch;justify-content:stretch;flex-wrap:nowrap;gap:0;overflow:hidden;background:#fff;border-top:1px solid #e4e7ec;box-shadow:0 -4px 16px #1018280d}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu{position:relative;display:flex;min-width:0;height:100%;flex:1 1 0;align-items:stretch;justify-content:center}
  html[data-storefront-channel="h5"] nav.diy-site-nav>button,
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu>button{position:static;display:flex;width:100%;max-width:none;min-width:0;height:100%;min-height:0;margin:0;padding:3px 2px;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;gap:3px;overflow:hidden;border:0;border-radius:0;background:transparent;color:#667085;font-size:12px!important;font-weight:400;line-height:1.1;text-align:center;text-overflow:ellipsis;white-space:nowrap}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu>button.active,
  html[data-storefront-channel="h5"] nav.diy-site-nav>button.active{color:#155eef;font-weight:700}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu-icon{display:flex;width:18px;height:18px;flex:0 0 18px;align-items:center;justify-content:center}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu-icon .diy-icon{width:18px;height:18px}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-menu-caret{display:none}
  html[data-storefront-channel="h5"] nav.diy-site-nav .diy-site-submenu{display:none}
  html[data-storefront-channel="h5"] .diy-data-block.diy-product-list-block{padding:0;border:0;background:transparent;box-shadow:none}
  html[data-storefront-channel="h5"] .diy-data-block.diy-product-list-block>.diy-product-list{margin:12px 0;padding:0;border-radius:0;background:transparent}
  html[data-storefront-channel="h5"] .diy-product-list,
  html[data-storefront-channel="h5"] .product-card-grid{gap:10px}
}

/* Compact the H5 home search and keep hot keywords out of the resting layout. */
@media(max-width:560px){
  html[data-storefront-channel="h5"] .diy-search{position:relative;z-index:5;gap:0;padding:10px 12px;overflow:visible}
  html[data-storefront-channel="h5"] .diy-search-main{min-height:44px;gap:3px;padding:3px;border-radius:12px;box-shadow:0 2px 7px #1018280a}
  html[data-storefront-channel="h5"] .diy-search-main:focus-within{border-color:#b2ccff;box-shadow:0 0 0 3px #155eef12}
  html[data-storefront-channel="h5"] .diy-product-type-filter{flex-basis:68px}
  html[data-storefront-channel="h5"] .diy-product-type-trigger{position:relative;min-height:34px;justify-content:center;gap:3px;padding:7px 12px 7px 2px;font-size:12px;text-align:center}
  html[data-storefront-channel="h5"] .diy-product-type-caret{position:absolute;right:2px}
  html[data-storefront-channel="h5"] .diy-product-type-menu{left:50%;width:max-content;min-width:0;max-width:calc(100vw - 32px);transform:translateX(-50%)}
  html[data-storefront-channel="h5"] .diy-product-type-option{width:100%;padding:9px 12px;text-align:center}
  html[data-storefront-channel="h5"] .diy-product-type-caret{width:10px;height:10px;flex-basis:10px}
  html[data-storefront-channel="h5"] .diy-product-type-caret .diy-icon{width:10px;height:10px}
  html[data-storefront-channel="h5"] .diy-search-main input{min-height:34px;padding:7px 8px;font-size:14px}
  html[data-storefront-channel="h5"] .diy-search-main button.primary.small{height:34px;padding:0 13px;border-radius:9px;font-size:13px}
  html[data-storefront-channel="h5"] .diy-search .diy-hot-keywords{position:absolute;z-index:6;top:calc(100% - 2px);right:12px;left:12px;display:flex;max-height:0;gap:8px;padding:0 10px;overflow:hidden;border:0 solid #e4e7ec;border-radius:0 0 12px 12px;background:#fff;box-shadow:0 10px 20px #102a5618;font-size:12px;opacity:0;visibility:hidden;pointer-events:none;transition:max-height .18s ease,padding .18s ease,border-width .18s ease,opacity .18s ease,visibility .18s ease}
  html[data-storefront-channel="h5"] .diy-search:has(.diy-search-main input:focus) .diy-hot-keywords{max-height:110px;gap:8px;padding:8px 10px;border-width:0 1px 1px;opacity:1;visibility:visible;pointer-events:auto}
  html[data-storefront-channel="h5"] .diy-search .diy-hot-keyword{min-height:28px;padding:4px 7px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px}
}

/* Keep the compare tray fully visible and strip all non-image chrome from thumbnails. */
.diy-page-header-main{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:12px}
.diy-page-header-copy{display:grid;width:100%;min-width:0;grid-column:1;align-content:start;gap:4px}
.diy-page-header-copy h2{display:block;width:100%;min-width:0;margin:0;line-height:1.35}
.diy-page-header-copy p{min-width:0;margin:0;line-height:1.5;overflow-wrap:anywhere}
.diy-page-header-main>.diy-title-more{grid-column:2;align-self:start;justify-self:end;margin-top:2px;line-height:1.35}
.product-compare-tray-items{flex-wrap:wrap;overflow:visible;white-space:normal}
.product-compare-chip{position:relative;display:block;width:42px;height:42px;flex:0 0 42px;max-width:none;padding:0;overflow:visible;border-radius:0;background:transparent}
.product-compare-chip>img,.product-compare-chip-placeholder{display:grid;width:100%;height:100%;padding:0;place-items:center;overflow:hidden;border-radius:0;background:transparent;object-fit:cover;color:#155eef;font-size:15px;font-weight:700}
.product-compare-chip>button{position:absolute;top:-5px;right:-5px;display:grid;width:16px;height:16px;margin:0;padding:0;place-items:center;border:1px solid #fff;border-radius:50%;background:#667085;color:#fff;font-size:12px;line-height:1;text-align:center}
.product-compare-chip>button:hover,.product-compare-chip>button:focus-visible{display:grid;place-items:center;background:#344054;color:#fff}
@media(max-width:560px){.product-compare-chip{width:36px;height:36px;flex-basis:36px;max-width:none}}

@media(max-width:560px){
  html[data-storefront-channel="h5"] #diy-account-entry{position:relative;flex:0 0 auto}
  html[data-storefront-channel="h5"] .diy-account-menu{position:relative}
  html[data-storefront-channel="h5"] .diy-account-menu summary{display:flex;align-items:center;justify-content:center;gap:5px;list-style:none;cursor:pointer}
  html[data-storefront-channel="h5"] .diy-account-menu summary::-webkit-details-marker{display:none}
  html[data-storefront-channel="h5"] .diy-account-menu summary .diy-account-caret{display:inline-flex;width:12px;height:12px;flex:0 0 12px;align-items:center;justify-content:center;padding:0;background:transparent}
  html[data-storefront-channel="h5"] .diy-account-menu summary .diy-account-caret .diy-icon{display:block;width:12px;height:12px}
  html[data-storefront-channel="h5"] .diy-account-menu-items{position:absolute;z-index:80;top:calc(100% + 8px);right:0;display:none;width:min(310px,calc(100vw - 24px));max-height:min(68vh,560px);max-height:min(68dvh,560px);overflow:auto;box-sizing:border-box;padding:8px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;color:#17233d;box-shadow:0 12px 30px #102a5620}
  html[data-storefront-channel="h5"] .diy-account-menu[open] .diy-account-menu-items{display:grid;gap:3px}
  html[data-storefront-channel="h5"] .diy-account-profile{display:flex;min-width:0;align-items:center;gap:8px;padding:8px 7px;border-bottom:1px solid #eef1f5}
  html[data-storefront-channel="h5"] .diy-account-profile>img,
  html[data-storefront-channel="h5"] .diy-account-avatar-fallback{display:inline-flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#eaf1ff;color:#155eef;object-fit:cover}
  html[data-storefront-channel="h5"] .diy-account-avatar-fallback .diy-icon{width:18px;height:18px}
  html[data-storefront-channel="h5"] .diy-account-profile-copy{display:grid;min-width:0;gap:2px}
  html[data-storefront-channel="h5"] .diy-account-profile-copy strong,
  html[data-storefront-channel="h5"] .diy-account-profile-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[data-storefront-channel="h5"] .diy-account-profile-copy strong{font-size:13px}
  html[data-storefront-channel="h5"] .diy-account-profile-copy small{color:#667085;font-size:11px}
  html[data-storefront-channel="h5"] .diy-account-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:7px 4px;border-bottom:1px solid #eef1f5}
  html[data-storefront-channel="h5"] .diy-account-assets>div{display:grid;justify-items:center;gap:2px}
  html[data-storefront-channel="h5"] .diy-account-assets strong{color:#17233d;font-size:13px}
  html[data-storefront-channel="h5"] .diy-account-assets small{color:#667085;font-size:11px}
  html[data-storefront-channel="h5"] .diy-account-menu-items button{display:flex;width:100%;min-width:0;min-height:36px;align-items:center;justify-content:flex-start;gap:9px;box-sizing:border-box;margin:0;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:inherit;font-size:12px!important;line-height:1.25;text-align:left;white-space:nowrap}
  html[data-storefront-channel="h5"] .diy-account-menu-items button:hover{background:#f2f4f7}
  html[data-storefront-channel="h5"] .diy-account-menu-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:#667085}
  html[data-storefront-channel="h5"] .diy-account-menu-icon .diy-icon{display:block;width:16px;height:16px}
}

/* Comparison dialog: stable top bar, fitted label column, and equal product columns. */
.product-compare-dialog{grid-template-rows:auto minmax(0,1fr)}
.product-compare-dialog-header{position:relative;z-index:1;display:flex;width:100%;height:auto;min-height:58px;margin:0;padding:12px 18px;align-items:center;justify-content:space-between;gap:16px;background:#fff;color:#17233d;box-shadow:none}
.product-compare-dialog-header h2{min-width:0;margin:0;font-size:18px;line-height:1.3}
.product-compare-dialog-header button{display:grid;width:34px;height:34px;min-width:34px;flex:0 0 34px;margin:0;padding:0;place-items:center;border:0;border-radius:50%;background:#f2f4f7;color:#475467;font-size:23px;line-height:1}
.product-compare-dialog-header button:hover,.product-compare-dialog-header button:focus-visible{background:#e4e7ec;color:#344054}
.product-compare-scroll table{table-layout:fixed}
.product-compare-label-col{width:auto}
.product-compare-scroll th,.product-compare-scroll td{min-width:0}
.product-compare-scroll thead th:first-child,.product-compare-scroll tbody th{width:auto;white-space:nowrap}
.product-compare-item{min-width:0}
.product-compare-item strong{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-overflow:ellipsis;white-space:normal}
.product-compare-price{white-space:nowrap}
.product-compare-price small{margin-right:2px;font-size:.8em}
