/* Optional specifications and five-photo product galleries. */
.extended-product-form{margin-top:0!important}.product-step{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.step-heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:22px}.step-heading>span{display:grid;place-items:center;background:#e7f0ff;color:#1558d6;font-size:13px;font-weight:750;width:30px;height:30px;border-radius:50%;flex-shrink:0}.step-heading h3{font-size:19px;margin:3px 0 8px}.step-heading p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}.gallery-editor{padding:18px;border:1px solid #c9dafa;border-radius:10px;background:#f5f8ff}.gallery-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gallery-previews:empty{display:none}.gallery-tile{min-width:0;background:white;border:1px solid #d8e4f6;border-radius:8px;padding:8px}.gallery-tile-image{position:relative;height:125px;background:#edf3fc;border-radius:5px;overflow:hidden}.gallery-tile-image img{width:100%;height:100%;object-fit:contain}.gallery-tile-image b{position:absolute;left:6px;top:6px;border-radius:4px;background:#ffdb35;color:#173569;font-size:9px;padding:3px 7px}.gallery-file-name{display:block;font-size:10px;margin:7px 0 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-tile small{font-size:9px;color:#62748e}.gallery-tile-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}.gallery-tile-actions button{font-size:8px;padding:5px 7px;box-shadow:none;border:1px solid #d0dff5;background:white;color:#245393;border-radius:4px;gap:0}.gallery-tile-actions button:hover{background:#e6efff}.gallery-upload{margin:17px 0 14px}.gallery-upload input{background:white}.gallery-upload small{font-weight:500;font-size:11px;line-height:1.65}.gallery-budget>span{display:block;font-size:11px;font-weight:650;margin-bottom:8px}.gallery-budget progress{height:9px;width:100%;accent-color:#1558d6}.gallery-editor .fineprint{font-size:10px;margin-top:10px}.gallery-message{margin:10px 0 0}.spec-tools{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:16px;background:#f1f6ff;border-radius:8px;margin-bottom:20px}.spec-tools label{margin:0;font-size:11px}.spec-tools input,.spec-tools select{background:white;font-size:12px}.spec-group{border:1px solid #d7e2f2;border-radius:8px;background:white;margin-bottom:12px;overflow:hidden}.spec-group[hidden],.spec-field[hidden]{display:none!important}.spec-group summary{display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;list-style:none;padding:15px 17px;font-size:13px;font-weight:650;background:#f8faff}.spec-group summary:before{content:'+';font-size:18px;font-weight:500;color:#1558d6}.spec-group[open]>summary:before{content:'−'}.spec-group summary>span{font-size:10px;font-weight:400;color:#5f7695;margin-left:auto;white-space:nowrap}.spec-group>.two{padding:18px 17px 0}.spec-field{font-size:11px;font-weight:550;margin-bottom:18px}.spec-control{display:flex;gap:0;margin-top:7px}.spec-control input,.spec-control select{margin:0;font-size:12px}.spec-control:has(.spec-unit)>input{border-top-right-radius:0;border-bottom-right-radius:0}.spec-control .spec-unit{flex:0 0 75px;max-width:90px;border-left:0;border-radius:0 6px 6px 0;background:#eef4ff;padding-left:8px;padding-right:4px}.custom-group>p,.custom-group>#custom-specs,.custom-group>#custom-add{margin:16px}.custom-spec-row{display:grid;grid-template-columns:1fr 1.25fr .65fr 32px;gap:9px;align-items:end;padding-bottom:12px}.custom-spec-row label{margin-bottom:0;font-size:10px}.custom-spec-row input{font-size:12px}.custom-spec-row .icon-button{align-self:end;margin-bottom:3px;width:30px}.product-save-bar{padding-top:5px}.product-save-bar>.inline-actions{margin-bottom:17px}.product-save-bar>[data-save-error]{margin:12px 0}.product-save-bar>button{min-width:190px}.product-gallery{min-width:0;align-self:start}.gallery-stage{position:relative;aspect-ratio:1;border:1px solid #dfe8f5;border-radius:10px;background:#eef4ff;overflow:hidden;outline-offset:3px}.gallery-main-photo{width:100%;height:100%;object-fit:contain;display:block}.gallery-nav{position:absolute;top:calc(50% - 19px);width:34px;height:38px;border:1px solid #cadbf3;box-shadow:0 3px 12px #13366613;background:#fffffff0;color:#17458e;border-radius:6px;font-size:27px;font-weight:400;padding:0}.gallery-nav:hover{background:#1558d6;color:white}.gallery-nav.previous{left:8px}.gallery-nav.next{right:8px}.gallery-position{position:absolute;bottom:9px;right:10px;font-size:10px;color:#fff;background:#183c78d9;border-radius:20px;padding:4px 10px}.product-thumbnails{display:flex;gap:8px;margin-top:12px}.product-thumbnails>button{width:calc((100% - 32px)/5);aspect-ratio:1;display:block;padding:3px;border:2px solid transparent;box-shadow:none;background:#f0f4fb;border-radius:6px}.product-thumbnails img{width:100%;height:100%;object-fit:contain;display:block}.product-thumbnails>button[aria-pressed=true]{border-color:#1558d6;background:#e9f1ff}.product-thumbnails>button:hover{border-color:#91b3ed}.product-brand{font-size:12px;color:#4f6a90;margin:0 0 17px}.product-specifications{border-top:1px solid #dce6f5;margin-top:27px;padding-top:25px}.product-specifications>h3{font-size:21px;color:#153970;margin-bottom:20px}.spec-display-group{border:1px solid #d8e4f4;border-radius:8px;overflow:hidden;margin-bottom:16px}.spec-display-group h4{background:#edf4ff;padding:13px 17px;margin:0;font-size:13px;letter-spacing:0;color:#194583}.spec-display-group dl{margin:0}.spec-display-group dl>div{display:grid;grid-template-columns:1fr 1.5fr;border-top:1px solid #e3ebf6;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.spec-display-group dt{background:#f8faff;padding:12px 17px;color:#516986}.spec-display-group dd{margin:0;padding:12px 17px;white-space:pre-wrap;color:#1d365c}.spec-display-group .two{gap:0}.spec-groups .spec-group:last-child{margin-bottom:12px}
@media(max-width:640px){.extended-product-form .step-heading h3{font-size:17px}.step-heading p{font-size:11px}.step-heading>span{width:27px;height:27px;font-size:12px}.product-step{margin-bottom:22px;padding-bottom:22px}.gallery-editor{padding:12px}.gallery-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-tile-image{height:100px}.gallery-upload small{font-size:10px}.gallery-tile-actions button{font-size:8px;padding:5px}.spec-tools{grid-template-columns:1fr;padding:13px;gap:13px}.spec-group summary{font-size:12px;padding:13px 12px;gap:7px}.spec-group summary>span{font-size:9px}.spec-group>.two{grid-template-columns:1fr;padding:15px 12px 0}.spec-field{margin-bottom:15px}.spec-group>.two .spec-control input{font-size:13px}.custom-spec-row{grid-template-columns:1fr 1fr 30px;gap:7px}.custom-spec-row label:first-child{grid-column:1/-1}.custom-spec-row input{font-size:12px}.custom-spec-row .icon-button{grid-column:3;grid-row:2}.custom-group>p,.custom-group>#custom-specs,.custom-group>#custom-add{margin:12px}.product-save-bar>button{width:100%}.product-save-bar>.inline-actions{gap:15px;font-size:11px}.gallery-stage{max-height:340px}.product-thumbnails{gap:6px}.product-thumbnails>button{width:calc((100% - 24px)/5)}.product-detail .product-gallery{max-width:100%;width:100%}.product-specifications{margin-top:22px;padding-top:22px}.spec-display-group dl>div{grid-template-columns:1fr 1.2fr;font-size:11px}.spec-display-group dt,.spec-display-group dd{padding:10px 12px}.spec-display-group h4{font-size:12px;padding:12px}.product-specifications>h3{font-size:19px}}
