/* SALUZ | Central de campanhas — legibilidade, foco e autonomia. */
#tab-campaigns{max-width:1540px}
.market-page-intro{margin-top:25px}
.market-view-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.market-view-nav button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:12px 22px;background:#fff;color:#62505a;border:1px solid #e4d6d8;border-radius:12px;font-size:16px;font-weight:750}
.market-view-nav button span{font-size:23px;color:#a87985}
.market-view-nav button.selected{background:#795462;color:#fff;border-color:#795462;box-shadow:0 6px 18px #5f3b4b22}
.market-view-nav button.selected span{color:#fce4e9}
.market-view[hidden],.market-editor-form[hidden],.market-offer-edit[hidden]{display:none!important}
.market-status-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:white;border:1px solid #eaddd9;border-radius:12px;padding:15px 18px;margin-bottom:15px}
.market-status-row>div{display:flex;align-items:center;flex-wrap:wrap;gap:13px}
.market-status-pill{display:inline-flex;padding:9px 13px;border-radius:999px;background:#f5e7eb;color:#80515d;font-size:14px;font-weight:750}
.market-status-row small{font-size:13px;color:#74646a}
.market-status-row a{color:#855963;text-decoration:none;font-weight:750;font-size:14px}
.market-guide{padding:15px 18px;border:1px solid #e8d9d6;background:#fffaf8;color:#5e4e57;border-radius:11px;font-size:14px;line-height:1.65}
.market-top-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:23px 0 15px}
.market-top-actions h3{margin:0;font-size:22px;font-weight:750;color:#392d34}
.market-top-actions h3 span{font-size:14px;font-weight:500;margin-left:9px;color:#7a6871}
.market-layout{display:grid;grid-template-columns:minmax(260px,31%) minmax(0,1fr);align-items:start;gap:17px}
.market-catalog,.market-editor-area{background:#fff;border:1px solid #eaddda;border-radius:15px;overflow:hidden;box-shadow:0 4px 20px #67404a09}
.market-catalog-heading{padding:20px;border-bottom:1px solid #eee4e2;display:grid;gap:4px}
.market-catalog-heading strong{font-size:17px;color:#3b3036}
.market-catalog-heading small{font-size:13px;color:#84717b;line-height:1.5}
.market-list{display:flex;flex-direction:column;gap:0;padding:9px}
.market-list-card{display:flex;gap:6px;border-bottom:1px solid #f0e5e3;align-items:center;padding:7px;border-radius:9px}
.market-list-card:last-child{border:0}
.market-list-card.is-selected{background:#f8eef1}
.market-list-open{display:flex;align-items:center;gap:11px;text-align:left;padding:7px;min-width:0;flex:1;background:transparent;border:0}
.market-list-thumb{display:grid;place-items:center;width:74px;min-width:74px;height:72px;background:#f2e2df;background-size:cover;background-position:center;border-radius:9px;color:#9e727b;font-size:26px}
.market-list-thumb.has-image{color:transparent}
.market-list-info{display:grid;gap:4px;min-width:0}
.market-list-info strong{font-size:15px;line-height:1.28;color:#46353e;overflow-wrap:anywhere}
.market-list-info small{font-size:12px;line-height:1.35;color:#7b6973}
.market-list-tag{justify-self:start;display:inline-flex;padding:3px 9px;border-radius:99px;background:#f0e5e6;color:#80626e;font-size:11px;font-weight:750}
.market-list-tag.is-ativo{background:#e8f2e8;color:#4a7b55}
.market-list-tag.is-programado{background:#f4ecdc;color:#896b36}
.market-list-tag.is-encerrado{background:#eeeaea;color:#756b6b}
.market-list-order{display:flex;flex-direction:column;gap:5px}
.market-list-order button{display:grid;place-items:center;width:34px;height:30px;background:#fff;border:1px solid #decfd0;border-radius:6px;color:#80606a;font-size:18px;font-weight:700}
.market-list-order button:disabled{opacity:.36}
.market-empty{padding:25px 16px;color:#7c6c74;line-height:1.55;font-size:14px}
.market-empty strong{display:block;color:#664c59;font-size:16px}
.market-editor-form{padding:clamp(20px,2.5vw,31px)}
.market-form-head{display:flex;align-items:start;justify-content:space-between;gap:15px;border-bottom:1px solid #eee3e1;padding-bottom:21px;margin-bottom:21px}
.market-form-head .eyebrow{font-size:11px;color:#986c79}
.market-form-head h3{font:700 26px/1.2 "DM Sans",sans-serif;letter-spacing:-.03em;margin:7px 0}
.market-form-head p{margin:0;color:#766a72;font-size:14px;line-height:1.5}
.market-editor-form>label,.market-form-grid label,.market-images label,.market-schedule label{display:grid;gap:8px;margin:15px 0;font-size:14px;font-weight:700;color:#61515b;min-width:0}
.market-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.market-editor-form input:not([type=checkbox]),.market-editor-form select,.market-editor-form textarea,.market-offer-edit input{width:100%;box-sizing:border-box;font-size:15px!important;min-height:47px;border:1px solid #ddcfd0;border-radius:9px;padding:11px 13px;color:#413640}
.market-editor-form textarea{min-height:86px!important}
.market-images{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 18px;padding:20px;background:#fcf8f7;border:1px solid #f0e2e0;border-radius:12px;margin-top:19px}
.market-images label{margin:0!important}
.market-upload{align-self:stretch;border:1px dashed #bc91a1;border-radius:10px;padding:13px;background:#fff;cursor:pointer}
.market-upload input[type=file]{width:100%;font-size:13px!important;min-height:38px!important;padding:5px!important;border:0!important;background:transparent}
.market-upload small{font-size:12px;font-weight:400;color:#786974}
.market-preview{display:grid;grid-template-columns:minmax(130px,40%) minmax(0,1fr);margin:22px 0;min-height:170px;border:1px solid #e9d8d5;border-radius:12px;overflow:hidden;background:#f2e8e5}
.market-preview-visual{display:grid;place-items:center;background:#e4cbc8;background-size:cover;background-position:center;color:#fff8;font-family:"DM Serif Display",serif;font-size:56px}
.market-preview-visual.has-image span{visibility:hidden}
.market-preview>div:last-child{display:flex;flex-direction:column;justify-content:center;align-items:start;gap:10px;padding:21px;min-width:0}
.market-preview small{font-size:10px;letter-spacing:.1em;color:#927280;font-weight:800}
.market-preview strong{font:400 clamp(20px,2vw,27px)/1.18 "DM Serif Display",serif;overflow-wrap:anywhere}
.market-preview p{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.market-preview>div span:last-child{font-size:13px;font-weight:700;color:#795162}
.market-schedule{border:1px solid #eadcda;border-radius:12px;padding:15px 19px 18px;margin:18px 0}
.market-schedule legend{font-size:16px;font-weight:750;padding:0 5px;color:#493843}
.market-schedule p{font-size:13px;color:#7c6d75;line-height:1.5;margin:3px 0 0}
.market-schedule .market-switch{display:flex;flex-direction:row;gap:11px;align-items:center;margin:4px 0 15px}
.market-switch input{width:20px;height:20px;min-height:20px}
.market-editor-actions{display:flex;gap:9px;flex-wrap:wrap;border-top:1px solid #eee4e1;margin-top:21px;padding-top:20px}
.market-delete,.market-end-offer{border:1px solid #ebc7c6;background:#fff7f7;color:#ad5857;padding:11px 16px;border-radius:10px;min-height:45px;font-size:14px;font-weight:700}
.market-delete:hover,.market-end-offer:hover{background:#ffeded}
.market-publish-bar{position:sticky;bottom:12px;z-index:6;margin-top:19px;padding:17px 22px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;border:1px solid #e2d3d1;box-shadow:0 8px 30px #482d3c13;border-radius:14px}
.market-publish-bar>div:first-child{display:grid;gap:4px}
.market-publish-bar strong{font-size:16px;color:#4f3542}
.market-publish-bar small{font-size:13px;color:#81717a;line-height:1.4}
.market-publish-actions{display:flex;flex-wrap:wrap;gap:9px}
.market-publish-actions button{min-height:45px;font-size:14px}
.market-publish-bar button:disabled{opacity:.5;cursor:not-allowed}
.market-feedback{min-height:24px;color:#397c60;font-size:14px;line-height:1.6;margin:16px 4px}
.market-feedback.is-error{color:#a13d47}
.market-offers-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:23px 0}
.market-offers-head h3{font-size:23px;margin:0 0 7px;color:#47333f}
.market-offers-head p{font-size:14px;line-height:1.6;color:#74656d;max-width:760px;margin:0}
.market-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(185px,1fr);gap:16px;padding:20px;background:#fff;border:1px solid #e8d9d6;border-radius:12px}
.market-filters label{display:grid;gap:7px;font-size:14px}
.market-offers-summary{font-size:14px;color:#675360;padding:18px 0}
.market-offers-list{display:grid;gap:12px}
.market-offer-card{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:10px;background:#fff;padding:16px 20px;border:1px solid #e9dcda;border-radius:12px}
.market-offer-photo{display:grid;place-items:center;width:86px;height:88px;background:#f4eae5;border-radius:9px;color:#b88e9a;font-size:32px;overflow:hidden}
.market-offer-photo img{width:100%;height:100%;object-fit:cover}
.market-offer-info{display:grid;gap:5px;min-width:0}
.market-offer-info strong{color:#40303a;font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.market-offer-info small{font-size:13px;color:#816b75}
.market-offer-price{display:flex;align-items:center;gap:10px}
.market-offer-price s{font-size:13px;color:#897984}
.market-offer-price b{font-size:18px;color:#573745}
.market-offer-tags{display:flex;gap:5px;flex-wrap:wrap}
.market-tag{background:#f1e9e6;color:#7f666a;padding:4px 9px;border-radius:50px;font-size:12px;font-weight:750}
.market-tag.is-sale{background:#fbe6dc;color:#994b32}
.market-tag.is-hidden{background:#eee8e5;color:#6a6363}
.market-offer-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.market-offer-actions button{font-size:13px!important;padding:9px 12px!important;min-height:40px!important}
.market-offer-edit{grid-column:1/-1;background:#fbf6f5;border:1px solid #ebdcda;border-radius:11px;padding:17px 20px;display:grid;gap:13px}
.market-offer-edit .market-form-grid{max-width:670px}
.market-offer-help{margin:0;font-size:14px;line-height:1.5;color:#66515d}
.market-offer-edit label{display:grid;gap:7px;color:#66505a;font-size:14px;font-weight:650}
.market-offer-edit .market-checkbox{display:flex;flex-direction:row;align-items:center;gap:9px}
.market-checkbox input{width:19px;height:19px;min-height:19px}
.market-offer-note{font-size:13px;color:#81686b;margin:0}
.market-offer-foot{display:flex;gap:9px;flex-wrap:wrap}
.market-offer-foot button{font-size:14px!important}
#offers-load-more{display:block;margin:20px auto}
#offers-load-more[hidden]{display:none!important}
@media(max-width:1250px){.market-layout{grid-template-columns:1fr}.market-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-list-card{border:1px solid #f0e5e3}.market-catalog{position:static}}
@media(max-width:830px){.market-images{grid-template-columns:1fr}.market-publish-bar{position:static}.market-offer-actions{grid-column:2/-1;flex-direction:row;justify-content:flex-start}.market-offer-card{grid-template-columns:76px minmax(0,1fr)}.market-offer-photo{width:76px;height:80px}}
@media(max-width:680px){.market-view-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.market-view-nav button{padding:10px 12px;min-height:49px;font-size:13px;gap:7px}.market-view-nav button span{font-size:19px}.market-status-row{align-items:flex-start}.market-guide{font-size:14px}.market-top-actions{flex-wrap:wrap}.market-top-actions h3{font-size:21px}.market-list{grid-template-columns:1fr}.market-list-thumb{width:62px;min-width:62px;height:62px}.market-form-head{flex-direction:column}.market-form-grid,.market-filters{grid-template-columns:1fr}.market-images{padding:14px}.market-preview{grid-template-columns:minmax(100px,40%) minmax(0,1fr)}.market-preview>div:last-child{padding:14px}.market-preview strong{font-size:20px}.market-preview p{font-size:12px}.market-publish-bar{padding:17px 14px}.market-publish-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.market-publish-actions #campaign-publish{grid-column:1/-1}.market-offer-card{padding:13px;gap:11px}.market-offer-info strong{font-size:15px}.market-offer-actions{flex-wrap:wrap}.market-offer-edit{padding:13px}.market-offers-head{align-items:flex-start;flex-direction:column}}

/* Edicao das secoes fixas da pagina inicial, sem editor livre de paginas. */
.studio-block-details{border:1px solid #ebdfdc;border-radius:12px;background:#fff;overflow:hidden;margin:13px 0}
.studio-block-details summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;list-style:none;cursor:pointer;font-size:16px;font-weight:750;color:#60424e;padding:18px 20px;background:#faf5f4}
.studio-block-details summary::-webkit-details-marker{display:none}
.studio-block-details[open] summary{border-bottom:1px solid #eadcda}
.studio-block-details summary span{font-size:13px;font-weight:500;color:#86747b}
.studio-block-inside{padding:17px 21px 24px}
.studio-block-inside h4{font-size:16px;color:#493944;margin:23px 0 9px}
.studio-block-help{font-size:13px;color:#76656d;line-height:1.55;margin:0 0 13px}
.studio-kit-card{border:1px solid #eadbd8;border-radius:11px;background:#fdf9f7;padding:15px 17px;margin-top:14px}
.studio-kit-card h4{margin:0 0 12px}
.studio-block-inside .studio-pair{gap:13px}
.studio-block-inside .studio-pair label{min-width:0}
