:root{--ink:#14332f;--muted:#697674;--teal:#146e64;--blue:#078fc3;--paper:#f6f5f0;--line:#e0e5df;--white:#fff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--teal);color:white;border:1px solid transparent;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;min-height:44px;text-decoration:none}button:disabled{opacity:.5;cursor:wait}.button:hover,button:hover{filter:brightness(.95);text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb523;outline-offset:3px}input:not([type=checkbox]),select{background:white;border:1px solid #cbd5d1;border-radius:12px;padding:12px 15px;min-height:46px;min-width:0;color:var(--ink)}input[type=checkbox]{accent-color:var(--teal);width:20px;height:20px;flex-shrink:0}.wrap{max-width:1400px;margin:auto;padding-left:36px;padding-right:36px}.hero{background:linear-gradient(110deg,#093f4e,#057da2 65%,#0ba4d7);color:white;overflow:hidden}.hero .wrap{position:relative;min-height:225px;padding-top:18px;padding-bottom:30px}.brand{display:inline-flex;align-items:center;gap:11px;background:#f8fcfa;color:var(--ink);padding:9px 14px;border-radius:17px;position:relative;z-index:1}.brand small{display:block;font-size:.65rem;letter-spacing:1.6px;font-weight:700;color:#7a8582;margin-bottom:5px}.brand strong{font-size:.9rem;display:block}.brand-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;color:white;background:#058ab5;font-weight:900;font-size:.8rem;border-radius:9px}.hero-copy{position:relative;z-index:1;margin-top:23px}.eyebrow{font-weight:800;letter-spacing:1.4px;font-size:.75rem;color:var(--teal)}.hero .eyebrow{color:white;background:#ffffff24;border:1px solid #ffffff30;border-radius:20px;padding:4px 9px;font-size:.65rem}.hero h1{font-size:2.15rem;margin:10px 0 6px;font-weight:850;letter-spacing:-1.2px}.hero p{margin:0;font-size:1rem}.hero-word{position:absolute;right:10%;top:40px;font-size:5rem;line-height:1;font-weight:900;color:#ffffff25;letter-spacing:3px;transform:rotate(-3deg)}.hero-word span{display:block;font-size:2.1rem;margin-top:10px}.searchbar{background:#f8f7f3;border-bottom:1px solid var(--line)}.searchform{display:flex;gap:10px;align-items:center;padding-top:12px;padding-bottom:12px}.searchform input{border-radius:30px;max-width:440px;width:100%}.searchform button{border-radius:30px}.catalog{padding-top:28px;padding-bottom:44px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}.section-title h2{font-size:1.7rem;margin:0;letter-spacing:-.7px}.section-title>span,.muted{font-size:.875rem;color:var(--muted);line-height:1.5}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.card{background:white;border-radius:23px;overflow:hidden;box-shadow:0 10px 28px #193b3510;display:flex;flex-direction:column}.product-image{display:flex;align-items:center;justify-content:center;background:white;aspect-ratio:1}.product-image img{width:100%;height:100%;object-fit:contain}.no-photo{color:#78928e;font-size:.875rem;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#edf1ef}.card-body{padding:18px;display:flex;flex-direction:column;flex:1}.card h3{font-size:1rem;line-height:1.45;margin:8px 0 16px;overflow-wrap:anywhere}.price{font-size:1.65rem;font-weight:800;letter-spacing:-.6px;display:block}.card .price{margin-top:auto;margin-bottom:18px}.whatsapp{background:#146e64;width:100%;font-size:.875rem}.whatsapp span{margin-left:auto}.empty{text-align:center;padding:70px 24px;line-height:1.6}.empty h2{font-size:1.4rem}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:30px}.secondary{background:white;color:var(--ink);border-color:var(--line);font-size:.875rem}footer{border-top:1px solid var(--line);padding-top:24px;padding-bottom:24px;display:flex;justify-content:space-between;gap:20px;font-size:.875rem;color:var(--muted)}.compact-header{background:#075a72;padding:16px 0}.back{display:inline-block;margin:24px 0;color:var(--teal);font-size:.875rem}.detail{display:grid;grid-template-columns:1fr 1fr;gap:54px;margin:10px 0 60px}.detail-image{background:white;border-radius:22px;overflow:hidden;aspect-ratio:1;display:flex;align-items:center;justify-content:center}.detail-image img{height:100%;width:100%;object-fit:contain}.detail-info{padding-top:25px}.detail h1{font-size:2rem;line-height:1.25;overflow-wrap:anywhere}.detail .price{font-size:2.3rem;margin:25px 0}.detail .whatsapp{margin-top:20px}.thumbs{display:flex;gap:12px;margin-top:14px}.thumbnail{width:80px;height:80px;background:white;border-color:var(--line);padding:5px}.thumbnail img{width:100%;height:100%;object-fit:contain}.thumbnail[aria-pressed=true]{border:2px solid var(--teal)}.admin-header{background:#fff;border-bottom:1px solid var(--line);padding:13px 0}.admin-header .wrap,.header-actions{display:flex;align-items:center;justify-content:space-between;gap:25px}.header-actions{font-size:.875rem}.admin{padding-top:35px;padding-bottom:60px}.admin h1{font-size:1.9rem;margin:10px 0}.sync-panel{padding:18px 22px;background:#e9f2ef;border:1px solid #d4e5de;border-radius:16px}.sync-panel p{margin:0 0 9px}.check-line{display:flex;align-items:center;gap:9px;font-size:.875rem;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.stats a{display:flex;flex-direction:column;gap:8px;background:white;padding:20px;border:1px solid var(--line);border-radius:16px}.stats strong{font-size:2rem}.stats span{font-size:.875rem;color:var(--muted)}.admin-search{display:flex;gap:12px}.admin-search input{flex:1}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:15px}table{border-collapse:collapse;width:100%;text-align:left;font-size:.875rem}th{color:var(--muted);font-weight:600;background:#f9faf8}td,th{padding:18px;border-bottom:1px solid var(--line)}td:first-child{min-width:280px;max-width:520px}.row-name{display:block;line-height:1.5;margin:6px 0}.nowrap{white-space:nowrap}.badge{display:inline-block;border-radius:30px;padding:7px 10px;font-size:.75rem;font-weight:700;white-space:nowrap}.active{background:#ddf2e7;color:#176449}.pending{background:#fff1ca;color:#806013}.unavailable{background:#f0e9e8;color:#79534e}.switch-label{display:flex;align-items:center;gap:7px;white-space:nowrap}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#074153,#0d859e)}.login-card{background:var(--paper);padding:36px;border-radius:24px;width:100%;max-width:440px}.login-card h1{font-size:1.65rem;margin-top:30px}.login form{display:flex;flex-direction:column;gap:10px}.login form button{margin-top:12px}.login label{font-size:.875rem;margin-top:8px}.error{background:#ffe8e8;padding:14px;color:#8b2020;border-radius:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:22px;max-width:760px;width:calc(100% - 30px);padding:28px;color:var(--ink)}dialog::backdrop{background:#092d36a0}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-heading h2{margin:0}.photo-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.photo-form{display:flex;flex-direction:column;gap:10px;min-width:0}.photo-preview{height:200px;background:#edf1ef;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.photo-preview img{width:100%;height:100%;object-fit:contain}.photo-form input{width:100%;font-size:.875rem}#feedback:not(:empty){padding:15px;background:#e6f3ee;border-radius:10px;margin:15px 0}#photo-feedback{font-size:.875rem}#photo-product{overflow-wrap:anywhere}@media(max-width:1050px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-word{right:6%;opacity:.7}.wrap{padding-left:24px;padding-right:24px}}@media(max-width:760px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wrap{padding-left:16px;padding-right:16px}.hero-word{display:none}.hero h1{font-size:1.8rem}.hero .wrap{min-height:210px}.card{border-radius:17px}.card-body{padding:13px}.card h3{font-size:.9rem}.card .price{font-size:1.35rem}.whatsapp{font-size:.8rem;padding:12px 9px}.section-title{align-items:flex-start}.detail{grid-template-columns:1fr;gap:10px}.detail h1{font-size:1.7rem}.detail-info{padding-top:10px}.stats{grid-template-columns:1fr 1fr;gap:10px}.admin .section-title{flex-direction:column}.admin h1{font-size:1.5rem}.admin-search{flex-wrap:wrap}.admin-search input{flex-basis:100%}.admin-search select{flex:1}.header-actions{gap:10px}.admin-header .brand strong{font-size:.75rem}.admin-header .brand-icon{display:none}.admin-header .brand{padding:5px}.header-actions>a{max-width:70px}.check-line{align-items:flex-start}.photo-edit-grid{grid-template-columns:1fr}footer{flex-direction:column;gap:10px}}@media(max-width:360px){.grid{grid-template-columns:1fr}.searchform{flex-wrap:wrap}.searchform input{max-width:none}.login-card{padding:20px}}
.hero{background:linear-gradient(90deg,rgba(4,44,55,.88),rgba(0,71,90,.32)),url(banner.png) center 48%/cover}.brand-icon{object-fit:cover}@media(max-width:760px){.hero{background-position:60% 48%}.hero h1{max-width:390px;line-height:1.15}}
textarea{font:inherit;line-height:1.5;background:white;color:var(--ink);border:1px solid #cbd5d1;border-radius:12px;padding:12px 15px;width:100%;resize:vertical;min-width:0}textarea:focus-visible{outline:3px solid #ffb523;outline-offset:3px}textarea:disabled{background:#f0f3f1;color:#526762}.admin-menu{display:flex;gap:24px;border-bottom:1px solid var(--line);padding-top:16px;padding-bottom:16px;font-size:.95rem}.admin-menu a[aria-current=page]{color:var(--teal);font-weight:800;text-decoration:underline;text-underline-offset:9px}.settings-page{max-width:1100px;padding-top:28px;padding-bottom:60px}.settings-page h1{font-size:1.9rem}.settings-section{padding:28px;background:white;border:1px solid var(--line);border-radius:20px;margin:24px 0}.settings-section h2{font-size:1.35rem;margin:0 0 12px}.settings-section h3{font-size:1.05rem}.branding-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.branding-form{display:flex;flex-direction:column;gap:12px;min-width:0}.branding-preview{background:#f1f4f2;display:flex;align-items:center;justify-content:center;border-radius:15px;overflow:hidden;height:190px}.branding-preview img{width:100%;height:100%;object-fit:contain}.logo-preview img{padding:15px}.banner-preview img{object-fit:cover}.branding-form input{width:100%;font-size:.875rem}.icon-preview{display:flex;align-items:center;gap:12px;font-size:.875rem}.icon-preview img{object-fit:contain}.variable-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.variable-buttons button{font-family:monospace;font-weight:500}.message-preview{padding:18px;background:#eaf3ef;border-radius:12px;margin:20px 0}.message-preview p,.product-details p,.detail-note{white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}#messages-form>label,#description-form>label{display:block;font-weight:700;margin:18px 0 10px}#description-form .check-line{display:flex;font-weight:500}.product-details h2{font-size:1.1rem;margin-top:24px}.product-details p{font-size:1rem}.product-code{display:block;color:var(--muted);font-size:.75rem;margin-top:7px}.group-label{display:block;color:var(--teal);font-size:.8rem;margin:6px 0}.text-button{display:block;min-height:36px;padding:4px 0;background:transparent;color:var(--teal);font-size:.875rem;text-decoration:underline}.upload-feedback,#settings-feedback{font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}.searchform select{max-width:260px}.searchform{flex-wrap:wrap}.brand-icon{object-fit:contain}.hero{background-image:linear-gradient(90deg,rgba(4,44,55,.88),rgba(0,71,90,.32)),url(../branding.php?kind=banner)}@media(max-width:760px){.branding-grid{grid-template-columns:1fr}.settings-section{padding:18px}.settings-page h1{font-size:1.5rem}.searchform input{flex:1 1 100%}.searchform select{flex:1;max-width:none}.header-actions{flex-wrap:wrap}.settings-section label{font-size:.9rem}.settings-page{padding-top:16px}}
.password-form{display:flex;flex-direction:column;align-items:stretch;max-width:520px;margin-top:24px}.password-form>label{display:block;font-weight:700;margin:20px 0 8px}.password-form>label:first-of-type{margin-top:0}.password-form>input:not([type=hidden]){display:block;width:100%}.password-form>.muted{line-height:1.6;margin:16px 0 20px}.password-form>button{align-self:flex-start}@media(max-width:480px){.password-form>button{width:100%}}
.footer-contact{display:flex;align-items:center;gap:12px}.footer-whatsapp{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:#128c45;color:#fff}.footer-whatsapp:hover{background:#0e7037}.footer-phone{text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.footer-contact>span{line-height:1.6}
.catalog-group-link{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.catalog-group-link:hover,.catalog-group-link:focus-visible{text-decoration-style:solid;color:var(--teal)}
.manual-product-form{display:flex;flex-direction:column;gap:10px;max-width:680px}.manual-product-form>label{font-weight:700;margin-top:12px}.manual-product-form>.check-line{font-weight:400;margin:16px 0}.manual-product-form input:not([type=checkbox]){width:100%}
.manual-photo-fields{border:1px solid var(--line);border-radius:14px;padding:18px;margin:16px 0 0;min-width:0}.manual-photo-fields legend{font-weight:700}.manual-photo-slot{display:flex;flex-direction:column;gap:10px;min-width:0}.manual-photo-slot input{font-size:.875rem;max-width:100%}.manual-photo-slot label{font-weight:700}
.company-identity-form{display:flex;flex-direction:column;gap:10px;max-width:680px;margin:24px 0 32px}.company-identity-form label{font-weight:700;margin-top:8px}.company-identity-form button{align-self:flex-start}.footer-company{min-width:0;max-width:680px;overflow-wrap:anywhere}.footer-company p{margin:8px 0 0;line-height:1.6}.developer-credit{text-align:center;padding:0 16px 24px;color:var(--muted);font-size:.85rem}.developer-credit a{text-decoration:underline;text-underline-offset:3px}.brand strong{overflow-wrap:anywhere}
.saas-key{display:block;width:100%;margin-top:10px;font-family:monospace}.saas-key-form{margin-top:24px}.settings-section summary{cursor:pointer;padding:8px 0}.settings-section details .manual-product-form{margin-top:16px}

.appearance-fields{display:grid;grid-template-columns:minmax(120px,1fr) 64px 110px;gap:14px;align-items:center}.appearance-fields input[type=color]{padding:4px;width:64px;height:46px}#appearance-preview{border:1px solid var(--line);border-radius:12px}.admin-menu{flex-wrap:wrap}@media(max-width:480px){.appearance-fields{grid-template-columns:1fr 64px 90px;gap:8px}}

#appearance-preview{background:var(--theme-background);color:var(--theme-text);padding:18px}.preview-header{background:linear-gradient(110deg,var(--theme-header),var(--theme-header-end));color:var(--theme-header-text);padding:22px;border-radius:12px}.preview-card{background:var(--theme-surface);padding:22px;border-radius:12px;max-width:330px;margin-top:18px}.preview-group{color:var(--theme-accent)}.preview-muted{color:var(--theme-muted)}.preview-price{display:block;color:var(--theme-price);font-size:1.7rem;margin:20px 0}.preview-button{background:var(--theme-primary);color:var(--theme-button-text)}

.saas-status-switch{width:60px;height:34px;min-height:34px;border-radius:20px;padding:4px;justify-content:flex-start;background:#6b7280;border:0}.saas-status-switch span{width:26px;height:26px;background:#fff;border-radius:50%;display:block}.saas-status-switch[aria-checked=true]{background:#146e64;justify-content:flex-end}.saas-edit-link{padding:10px}.saas-clients td:first-child{min-width:240px}.saas-clients td{vertical-align:middle}.saas-edit .manual-product-form{margin-top:24px}.saas-clients td:nth-child(2){min-width:145px}

.saas-ocean{--ink:#172f49;--muted:#586c80;--teal:#155eaa;--paper:#f0f6fc;--line:#d4e3f0;background:var(--paper);color:var(--ink)}.saas-ocean .admin-header{background:linear-gradient(110deg,#12365b,#1878b8);color:#fff}.saas-ocean .admin-menu{background:#e4eff9}.saas-ocean .login{background:linear-gradient(135deg,#12365b,#1878b8)}.saas-ocean .saas-status-switch[aria-checked=true]{background:#155eaa}.saas-ocean .active{background:#dcecfb;color:#155eaa}.saas-ocean th{background:#edf5fc}

.swipe-gallery{touch-action:pan-y;cursor:grab;user-select:none}.swipe-gallery:active{cursor:grabbing}.swipe-gallery img{user-select:none;-webkit-user-drag:none}.swipe-gallery:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

.product-image,.detail-image{position:relative}.offer-ribbon{position:absolute;top:0;left:0;right:0;z-index:2;text-align:center;background:color-mix(in srgb,var(--theme-primary,var(--teal)) 78%,transparent);color:var(--theme-button-text,#fff);font-size:.8rem;font-weight:800;letter-spacing:1px;padding:9px;pointer-events:none}.offer-card{outline:1px solid var(--theme-primary,var(--teal));box-shadow:0 8px 28px color-mix(in srgb,var(--theme-primary,var(--teal)) 12%,transparent)}.previous-price{display:block;font-size:.9rem;color:var(--muted);font-weight:400;margin-bottom:5px}.card .product-pricing{margin-top:auto;margin-bottom:18px}.card .product-pricing .price{margin:0}.detail .product-pricing{margin:25px 0}.detail .product-pricing .price{margin:0}.offer-card .price{color:var(--theme-price,var(--ink))}

.catalog-offers{margin-bottom:42px}.catalog-offers .section-title h2{color:var(--theme-primary,var(--teal))}.catalog-offers .section-title a{color:var(--theme-accent,var(--teal));text-decoration:underline}@media(max-width:760px){.catalog-offers .section-title{flex-wrap:wrap}}

/* Perfil da empresa: mesmos componentes do gerenciador. */
.company-editor .company-fields{display:grid;gap:20px;max-width:800px}.company-fields>label{display:grid;gap:7px;font-weight:600}.company-fields input,.company-fields textarea,.company-fields select{width:100%;box-sizing:border-box;font:inherit;font-weight:400}.company-fields textarea{resize:vertical;min-height:80px}.company-fields small{font-weight:400}.company-visibility{display:flex;align-items:center;gap:10px}.company-visibility input{width:auto;flex:0 0 auto}.company-save{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:22px}.company-saved{padding:16px;border:1px solid currentColor;border-radius:12px}.company-fields select{max-width:180px}

.company-fields textarea{background:white;border:1px solid #cbd5d1;border-radius:12px;padding:12px 15px;color:var(--ink);line-height:1.5}.company-fields textarea:focus-visible{outline:3px solid #ffb523;outline-offset:3px}
.company-seo-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:28px;align-items:start}.company-seo-grid .company-fields{max-width:none}.seo-preview-card{display:flex;flex-direction:column;gap:9px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.seo-preview-card>span{font-size:.7rem;font-weight:800;letter-spacing:1.2px;color:var(--muted)}.seo-preview-card>strong{font-size:1.15rem;line-height:1.35;color:var(--teal)}.seo-preview-card>small{color:var(--muted);overflow-wrap:anywhere}.seo-preview-card>p{margin:4px 0 0;line-height:1.55}@media(max-width:800px){.company-seo-grid{grid-template-columns:1fr}.seo-preview-card{padding:18px}}

.product-editor-form{max-width:none;gap:16px}.product-editor-form .settings-section{margin:0}.editor-fields{display:flex;flex-direction:column;gap:12px}.editor-fields>label{font-weight:600}.product-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-photo-grid .manual-photo-slot{min-width:0;display:flex;flex-direction:column;gap:12px}.product-photo-grid input[type=file]{max-width:100%;font-size:.85rem}.product-edit-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border-radius:12px;border:1px solid var(--line);color:var(--teal)}.product-edit-link:hover{background:var(--line)}.editor-success{padding:16px;border:1px solid var(--teal);border-radius:12px}.thumbs{flex-wrap:wrap;gap:8px}.editor-fields input[readonly],.editor-fields textarea[readonly]{background:#f3f5f4;color:var(--muted)}
@media(max-width:600px){.product-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-photo-grid .photo-preview{height:150px}}
@media(max-width:380px){.product-photo-grid{grid-template-columns:1fr}}

/* Product editor: publication first, proportional fields and responsive groups. */
.product-editor-form{max-width:1060px}.product-editor-form .settings-section{padding:26px}.product-editor-form h2{margin:0 0 8px}.editor-field{display:flex;flex-direction:column;gap:7px;min-width:0}.editor-field>label{font-weight:600}.editor-field textarea{width:100%;resize:vertical;min-height:140px}.editor-data-grid{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(260px,1.2fr);gap:24px;margin-top:10px}.editor-data-grid .header-actions{flex-wrap:wrap;gap:10px}.editor-data-grid select{flex:1;min-width:160px;max-width:100%}.editor-publication{border-left:4px solid var(--teal)}.editor-publication .check-line{margin:0;font-size:1.05rem}.editor-publication p{margin:8px 0 0}.editor-normal-price{max-width:240px}.editor-prices .manual-photo-fields{margin-top:6px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.editor-prices .manual-photo-fields>label:not(.check-line){font-weight:600;margin-top:8px}.editor-prices .manual-photo-fields>input:not([type=hidden]){max-width:240px}.editor-prices .manual-photo-fields .check-line{margin:0}.editor-prices .manual-photo-fields p{margin:4px 0;max-width:720px}.product-editor-form input,.product-editor-form select,.product-editor-form textarea{min-width:0}.product-editor-form input[type=checkbox]{flex:none}@media(max-width:680px){.editor-data-grid{grid-template-columns:1fr;gap:18px}.product-editor-form .settings-section{padding:18px}.editor-normal-price,.editor-prices .manual-photo-fields>input:not([type=hidden]){max-width:100%;width:100%}}
.danger-button{background:#b42318;border-color:#b42318;color:#fff}.danger-button:hover{background:#912018;filter:none}.editor-actions{justify-content:flex-start;flex-wrap:wrap}
@media(min-width:761px){.stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
.hero-copy h1{font-size:1.85rem}@media(max-width:760px){.hero-copy h1{font-size:1.6rem}}

.photo-upload-area{position:relative}.photo-upload-card .photo-picker{display:block;position:relative;width:100%;padding:0;overflow:hidden;border:2px dashed var(--line);border-radius:16px;background:var(--surface,#fff);color:var(--text);aspect-ratio:1;cursor:pointer}.photo-upload-card .photo-preview{display:flex;width:100%;height:100%;min-height:0;aspect-ratio:auto;border:0;border-radius:0;align-items:center;justify-content:center}.photo-upload-card .photo-preview img{width:100%;height:100%;object-fit:contain}.photo-empty{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:16px}.photo-empty>span{font-size:38px;font-weight:400;color:var(--teal)}.photo-empty small{font-size:12px;font-weight:400;color:var(--muted)}.photo-picker-hint{position:absolute;bottom:0;left:0;right:0;background:#10263ed9;color:#fff;font-size:13px;padding:9px;opacity:0;transition:opacity .15s}.photo-picker:hover .photo-picker-hint,.photo-picker:focus-visible .photo-picker-hint{opacity:1}.photo-upload-card .photo-remove{position:absolute;right:10px;top:10px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:#fff;color:#a02232;border:1px solid #e6c7cc;font-size:27px;box-shadow:0 2px 8px #0002;cursor:pointer}.photo-upload-card .photo-remove:hover{background:#a02232;color:#fff}.photo-upload-card button:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.photo-upload-card [hidden]{display:none!important}.photo-upload-card .photo-status{font-size:13px;margin:0;min-height:1.4em}.photo-upload-card .photo-undo{align-self:flex-start;font-size:13px;padding:8px 12px}@media(hover:none){.photo-picker-hint{opacity:1}}

/* Company navigation uses the selected appearance and accessible link semantics. */
.admin-button-menu{gap:10px;flex-wrap:wrap;border-bottom:0;padding-top:20px;padding-bottom:12px}.admin-button-menu a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 18px;border:1px solid var(--line);border-radius:13px;background:var(--theme-surface,#fff);color:var(--ink);font-weight:600;text-decoration:none;box-shadow:0 2px 5px #10263e06;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.admin-button-menu a svg{flex:none;color:var(--teal)}.admin-button-menu a:hover{border-color:var(--teal);box-shadow:0 5px 14px #10263e12;transform:translateY(-1px);text-decoration:none}.admin-button-menu a[aria-current=page]{background:var(--teal);border-color:var(--teal);color:var(--theme-button-text,#fff);font-weight:700;text-decoration:none;box-shadow:0 4px 12px #10263e18}.admin-button-menu a[aria-current=page] svg{color:inherit}.admin-button-menu a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}@media(max-width:600px){.admin-button-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:14px}.admin-button-menu a{padding:11px 10px;font-size:.86rem;gap:7px}.admin-button-menu a:last-child{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.admin-button-menu a{transition:none}.admin-button-menu a:hover{transform:none}}

.quota-progress{width:100%;height:12px;accent-color:var(--teal)}
.admin-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));align-items:stretch;gap:18px;margin:24px 0}.admin-overview>.sync-panel,.admin-overview>.settings-section{margin:0;height:100%}.admin-overview>.sync-panel{padding:28px 22px}.admin-overview h2{font-size:1.35rem;margin:0 0 12px}.admin-overview .quota-progress{display:block;margin:18px 0}@media(max-width:820px){.admin-overview{grid-template-columns:1fr;margin:18px 0}.admin-overview>.sync-panel,.admin-overview>.settings-section{padding:20px}}
@media(min-width:821px){.admin-overview>.capacity-panel{order:-1}}
.sync-options{margin-top:18px;padding-top:16px;border-top:1px solid #cbded7}.sync-options>p{margin:7px 0 0}.removal-confirmation{margin-top:18px;padding:16px;border:1px solid #e6c67b;border-radius:13px;background:#fff6dc}.removal-confirmation[hidden]{display:none}.removal-confirmation>p{margin:8px 0 12px}.removal-confirmation .muted{margin:10px 0 0}
.card-size-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.card-size-option{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;cursor:pointer}.card-size-option:has(input:checked){border-color:var(--teal);box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 20%,transparent)}.card-size-option span{display:flex;flex-direction:column;gap:5px}.card-size-option small{color:var(--muted);line-height:1.4}.card-size-preview{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}.card-size-preview-title{margin:0 0 14px}.card-size-preview-grid{display:grid;gap:12px;transition:grid-template-columns .18s}.card-size-preview.size-medium .card-size-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-size-preview.size-small .card-size-preview-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.card-size-sample{display:flex;flex-direction:column;gap:6px;padding:9px;background:var(--theme-surface,#fff);border:1px solid var(--line);border-radius:12px;min-width:0}.card-size-sample-image{display:grid;place-items:center;aspect-ratio:1;background:#edf1ef;border-radius:8px;color:var(--muted);font-size:.75rem}.card-size-sample small{color:var(--teal)}.card-size-sample strong{font-size:.78rem;line-height:1.25;overflow-wrap:anywhere}.card-size-sample span{font-size:.9rem;font-weight:800;color:var(--teal)}@media(max-width:680px){.card-size-options{grid-template-columns:1fr}.card-size-preview.size-medium .card-size-preview-grid,.card-size-preview.size-small .card-size-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-size-preview-grid .card-size-sample:nth-child(n+5){display:none}}
.catalog-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;padding:28px 0 10px;text-align:center}.catalog-loader p{margin:0}.catalog-loader #catalog-load-sentinel{display:block;width:100%;height:1px}.catalog-loader [hidden]{display:none!important}
.product-order-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.product-order-preview{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.product-order-preview>p{margin-top:0}.product-order-preview ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style-position:inside;padding:0;margin:0}.product-order-preview li{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:10px;background:var(--theme-surface,#fff);border:1px solid var(--line);font-size:.82rem}.product-order-preview li>span{color:var(--teal)}.product-order-preview li>small{color:var(--muted)}@media(max-width:680px){.product-order-options,.product-order-preview ol{grid-template-columns:1fr}}
.search-clear{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:30px;background:var(--theme-surface,#fff);color:var(--ink);font-size:.875rem;font-weight:700;text-decoration:none}.search-clear:hover{border-color:var(--teal);text-decoration:none}.search-clear span{font-size:1.25rem;line-height:1}@media(max-width:760px){.searchbar{padding:12px 0}.searchform{display:grid;grid-template-columns:1fr;gap:10px;padding-top:0;padding-bottom:0}.searchform input,.searchform select,.searchform button,.searchform .search-clear{display:flex;width:100%;max-width:none;min-height:50px;margin:0}.searchform input{font-size:1rem;border-radius:14px}.searchform select{font-size:1rem;border-radius:14px;padding-right:42px}.searchform .search-submit{border-radius:14px;font-size:1rem}.searchform .search-clear{border-radius:14px;background:transparent;color:var(--teal)}}

/* Keep product photos inside a stable square, regardless of source dimensions. */
.card{min-width:0}.card .product-image,.detail-image{position:relative;display:block;width:100%;height:auto;min-width:0;min-height:0;aspect-ratio:1 / 1;overflow:hidden;flex:none}.card .product-image>img,.detail-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.card .product-image>.no-photo,.detail-image>.no-photo{position:absolute;inset:0}.detail>div{min-width:0}.thumbnail{flex:0 0 80px;overflow:hidden}.thumbnail img{display:block;object-fit:contain;object-position:center}

.customer-share-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;position:relative;z-index:1}.customer-share-button{gap:8px;white-space:normal;text-align:center}.card .customer-share-button,.detail-info>.customer-share-button{margin-top:12px;width:100%;font-size:.85rem}.customer-share-button svg{flex:none}
.clipp-price-reference{width:100%;box-sizing:border-box;margin-top:8px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.clipp-price-reference p{margin:7px 0 0}
.editor-title-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.editor-title-row h1{margin-bottom:8px}.editor-title-row p{margin:0}.editor-catalog-link{flex:none}@media(max-width:620px){.editor-title-row{align-items:stretch;flex-direction:column;gap:14px}.editor-catalog-link{width:100%}}
.manual-photo-fields input:disabled{background:#eef1f0;color:var(--muted);cursor:not-allowed;opacity:.7}.pricing-consult-active label:has([data-price-control]){color:var(--muted)}
.saas-module-option{display:grid;gap:12px;margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:14px}.saas-module-option legend{padding:0 8px;font-weight:800;color:var(--teal)}.saas-module-option select{width:100%}.marketplace-page{max-width:1400px}.marketplace-capacity{padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--white);white-space:nowrap}.marketplace-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.marketplace-overview>.settings-section{margin:0}.marketplace-connection{border-top:4px solid #ffe600}.marketplace-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.marketplace-mini-stats span{display:flex;align-items:baseline;gap:7px;padding:13px;border-radius:12px;background:var(--paper)}.marketplace-mini-stats strong{font-size:1.45rem}.marketplace-rules{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:14px;align-items:end}.marketplace-rules label,.marketplace-field-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700}.marketplace-rules button{height:46px}.marketplace-search{display:flex;gap:10px}.marketplace-progress{display:block;width:130px;height:10px;margin-top:8px;accent-color:var(--teal)}.marketplace-product-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:22px;align-items:start}.marketplace-product-layout>.settings-section{margin:0}.marketplace-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.marketplace-score{display:flex;flex-direction:column;align-items:center;justify-content:center;width:92px;height:92px;border:6px solid var(--teal);border-radius:50%;background:var(--white)}.marketplace-score strong{font-size:1.35rem}.marketplace-score span{font-size:.75rem;color:var(--muted)}.marketplace-checklist{position:sticky;top:18px}.marketplace-checklist .marketplace-progress{width:100%;height:13px}.marketplace-checklist ul{display:grid;gap:9px;padding:0;list-style:none}.marketplace-checklist li{display:flex;align-items:center;gap:9px}.marketplace-checklist li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-weight:900}.check-ok span{background:#ddf2e7;color:#176449}.check-pending span{background:#fff1ca;color:#806013}@media(max-width:950px){.marketplace-rules{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-product-layout{grid-template-columns:1fr}.marketplace-checklist{position:static}}@media(max-width:680px){.marketplace-overview,.marketplace-field-grid,.marketplace-rules{grid-template-columns:1fr}.marketplace-search{width:100%;flex-direction:column}.marketplace-capacity{white-space:normal}}
