.maz-catalog,.maz-single,.maz-manage{--maz-green:#245c35;--maz-line:#dce3dd;color:#1d2d23;line-height:1.6;max-width:1240px;margin:0 auto;font-family:inherit}.maz-catalog *,.maz-single *,.maz-manage *{box-sizing:border-box}.maz-grid{display:grid;grid-template-columns:repeat(var(--maz-columns,3),minmax(0,1fr));gap:24px}.maz-card{border:1px solid var(--maz-line);border-radius:16px;background:#fff;overflow:hidden}.maz-card-photo{position:relative;display:block;background:#edf1ec;aspect-ratio:4/3}.maz-card-photo img{width:100%;height:100%;object-fit:cover}.maz-card-body{padding:24px}.maz-card h3{margin:0 0 12px;font-size:1.35rem}.maz-card h3 a{color:inherit;text-decoration:none}.maz-badge{display:inline-block;padding:5px 12px;border-radius:6px;font-size:.82rem;font-weight:700;background:#e2f2e6;color:#205a32}.maz-card-photo .maz-badge{position:absolute;left:14px;top:14px}.maz-state-sold{background:#e9e9e9;color:#363636}.maz-state-reserved{background:#fff0c5;color:#654607}.maz-specs{display:flex;gap:14px;list-style:none;padding:0;margin:12px 0;color:#536258;font-size:.95rem}.maz-price{font-size:1.55rem;font-weight:750;margin:16px 0}.maz-button,.maz-manage button.maz-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 19px;border:1px solid var(--maz-green);border-radius:8px;background:var(--maz-green);color:#fff;text-decoration:none;font:inherit;font-weight:650;cursor:pointer;line-height:1.4}.maz-button:hover{background:#184124;color:#fff}.maz-button-alt{background:#fff!important;color:var(--maz-green)!important}.maz-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.maz-actions form{margin:0}.maz-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:22px;background:#f0f4ef;border-radius:12px}.maz-filters label{flex:1;min-width:150px}.maz-filters label,.maz-edit-form label,.maz-form-grid label{display:flex;flex-direction:column;font-weight:650;gap:6px}.maz-filters input,.maz-filters select,.maz-manage input:not([type=checkbox]),.maz-manage select,.maz-manage textarea,.maz-form-grid input:not([type=checkbox]),.maz-form-grid select,.maz-form-grid textarea{display:block;width:100%;min-height:46px;padding:10px;border:1px solid #9aa99d;border-radius:6px;background:#fff;color:#1d2d23;font:inherit}.maz-manage input[type=file]{padding:12px}.maz-edit-form>label{margin:18px 0}.maz-manage small,.maz-form-grid small{font-weight:400;color:#526056}.maz-empty{padding:40px 20px;text-align:center;background:#f3f5f1;border-radius:12px;margin:20px 0}.maz-pagination{display:flex;gap:12px;justify-content:center;margin:32px 0}.maz-pagination>*{padding:8px 14px;border:1px solid var(--maz-line);border-radius:5px}.maz-pagination .current{background:var(--maz-green);color:#fff}.maz-placeholder{display:grid;place-content:center;min-height:230px;color:#58665a;padding:20px;text-align:center}.maz-single-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;margin-top:28px}.maz-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-content:start}.maz-gallery a{display:block;overflow:hidden;border-radius:10px;background:#edf1ec}.maz-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.maz-gallery-cover{grid-column:1/-1}.maz-details{margin:28px 0}.maz-details>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--maz-line)}.maz-details dt{color:#556458}.maz-details dd{margin:0;text-align:right;font-weight:650}.maz-description{margin:28px 0}.maz-manage{padding:30px 0}.maz-manage-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.maz-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.maz-form-grid .maz-check{display:flex;flex-direction:row;align-items:center;gap:10px}.maz-check input{width:20px;height:20px}.maz-media{padding:20px;border:1px solid #ccd7ce;border-radius:8px;margin:25px 0}.maz-media-list{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.maz-media-item{width:150px;padding:8px;border:1px solid #bccbbe;border-radius:8px;background:#fff}.maz-media-item img{width:100%;height:110px;object-fit:cover}.maz-media-item button{min-height:36px;cursor:pointer;padding:3px 8px}.maz-media-item:first-child:before{content:'Capa';font-weight:700;color:#245c35}.maz-manage-list{margin-top:24px}.maz-manage-item{display:flex;align-items:center;gap:22px;padding:22px 0;border-bottom:1px solid var(--maz-line)}.maz-manage-item>img{width:110px;height:90px;object-fit:cover;border-radius:8px}.maz-manage-item>div:nth-child(2){flex:1}.maz-manage-item h2{font-size:1.2rem;margin:0}.maz-manage-item p{margin:5px 0}.maz-notice{background:#e0f1e2;border-left:5px solid #245c35;padding:18px}.maz-error{background:#fff1e4;border-color:#a65d19}.maz-catalog :focus-visible,.maz-single :focus-visible,.maz-manage :focus-visible{outline:3px solid #c79613;outline-offset:3px}.maz-featured{font-size:.82rem;color:#245c35;font-weight:700}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}@media(max-width:900px){.maz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maz-single-grid{grid-template-columns:1fr}.maz-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.maz-grid,.maz-form-grid{grid-template-columns:1fr}.maz-filters{padding:16px}.maz-filters label{flex-basis:100%}.maz-manage-item{flex-wrap:wrap}.maz-manage-item .maz-actions{width:100%}.maz-manage-header h1{font-size:1.7rem}.maz-button{width:auto}.maz-single-grid{gap:24px}.maz-details>div{font-size:.95rem}}
.maz-summary{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.maz-summary>div{flex:1;min-width:140px;padding:18px;border:1px solid #dce3dd;border-radius:10px;background:#f4f7f2}.maz-summary strong{font-size:1.8rem;display:block;color:#245c35}.maz-optional{border:1px solid #dce3dd;border-radius:8px;padding:18px;margin:18px 0}.maz-optional summary{font-weight:700;cursor:pointer}
.maz-card-contact{display:block;margin-top:14px;color:#245c35;font-size:.9rem;font-weight:650}.maz-gallery-thumb{display:block;border:2px solid transparent;padding:0;background:#edf1ec;cursor:pointer;border-radius:10px;overflow:hidden}.maz-gallery-thumb[aria-pressed=true]{border-color:#245c35;outline:2px solid #245c35;outline-offset:2px}.maz-gallery-thumb img{width:100%;display:block}.maz-catalog[aria-busy=true] .maz-grid{opacity:.55}.maz-results-status:focus{outline:2px solid #245c35;outline-offset:4px}.maz-filters label{min-width:145px;max-width:100%}

/* Card presentation: badges stay separate from the full-size gallery. */
.maz-card{display:flex;flex-direction:column;min-width:0}
.maz-card-photo{flex-shrink:0;isolation:isolate;overflow:hidden}
.maz-card-body{display:flex;flex-direction:column;flex:1}
.maz-card-footer{margin-top:auto;display:flex;flex-direction:column;gap:12px;padding-top:12px}
.maz-card-footer .maz-card-contact{margin:0}
.maz-card-footer .maz-button{width:100%}
.maz-sold-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(158,25,32,.35);color:#fff;font-size:clamp(1.6rem,3vw,2.3rem);font-weight:800;letter-spacing:.12em;text-shadow:0 2px 8px #651016;pointer-events:none;z-index:1}
.maz-brand-badge{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:100px;height:58px;padding:9px;background:#fff;border-radius:9px;box-shadow:0 2px 10px #0002;z-index:2;pointer-events:none}
.maz-card-photo .maz-brand-badge img{width:100%;height:100%;object-fit:contain}
.maz-state-sold{background:#b4232c;color:#fff}

/* Accessible named contact choices on tractor detail pages. */
.maz-team{margin:26px 0;padding:22px;background:#f2f5ef;border:1px solid #dce3dd;border-radius:16px}
.maz-team h2{font-size:1.35rem;margin:0 0 9px;letter-spacing:-.02em}
.maz-team-help{font-size:.9rem;color:#526056;margin:0 0 18px;line-height:1.5}
.maz-team-list{display:grid;gap:12px}
.maz-person{background:#fff;border:1px solid #dce3dd;border-radius:12px;padding:16px}
.maz-person-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.maz-person-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e7efe3;color:#245c35;flex-shrink:0}
.maz-person-icon svg{width:25px;height:25px}
.maz-person h3{font-size:1rem;line-height:1.3;margin:0 0 3px;letter-spacing:0}
.maz-person-number{font-size:1.05rem;font-weight:700;margin:0;letter-spacing:.025em;color:#243b2c}
.maz-person-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.maz-person-actions .maz-button{width:100%;padding:9px;font-size:.9rem}
@media(max-width:400px){.maz-team{padding:14px}.maz-person{padding:12px}.maz-person-number{font-size:1rem}}

.maz-team{--maz-green:#245c35;--maz-line:#dce3dd}.motorazibo-footer .maz-team-list{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:850px){.motorazibo-footer .maz-team-list{grid-template-columns:1fr}}
.maz-brand-form{padding:24px;background:#f3f6f0;border:1px solid #dce3dd;border-radius:12px;max-width:650px}.maz-brand-form label{display:block;font-weight:700;margin:0 0 18px}.maz-brand-form p{font-size:.9rem}.maz-brand-preview{width:120px;height:72px;object-fit:contain;background:#fff;border-radius:8px;padding:10px;margin-bottom:12px}.maz-brand-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}.maz-brand-list article{padding:22px;border:1px solid #dce3dd;border-radius:12px;background:#fff}.maz-brand-list h3{font-size:1.1rem}

/* Full-size photo stays in a dismissible modal, never behind the WordPress toolbar. */
html.maz-photo-open{overflow:hidden}
.maz-lightbox{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:20px;border:0;background:rgba(9,16,12,.95);color:#fff}
.maz-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px}
.maz-lightbox::backdrop{background:rgba(0,0,0,.85)}
.maz-lightbox-toolbar{display:flex;justify-content:flex-end;pointer-events:none}
.maz-lightbox-close{pointer-events:auto;min-height:48px;padding:10px 22px;border:1px solid #fff;border-radius:8px;background:#fff;color:#183e2b;font:700 17px/1.4 Arial,sans-serif;cursor:pointer}
.maz-lightbox-close:hover{background:#ebc63a}.maz-lightbox-close:focus-visible{outline:3px solid #ebc63a;outline-offset:4px}
.maz-lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;align-self:center;justify-self:center;object-fit:contain}
.maz-lightbox-error{position:absolute;left:24px;right:24px;top:100px;text-align:center;color:#fff}
@media(max-width:600px){.maz-lightbox{padding:12px;gap:12px}.maz-lightbox-close{min-height:48px}}
/* Small decorative icons accompany, never replace, visible labels. */
.maz-icon{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle}
.maz-details dt,.maz-specs li,.maz-icon-heading{display:flex;align-items:center;gap:9px}
.maz-details dt .maz-icon,.maz-specs .maz-icon,.maz-icon-heading .maz-icon{color:var(--maz-green)}
.maz-specs{flex-wrap:wrap}
.maz-specs li{gap:6px}
.maz-button{gap:8px}
.maz-card-contact{display:inline-flex;align-items:center;gap:8px}
.maz-card-contact span{min-width:0}
/* Tractor identity and photos on the left; details before contacts on the right. */
.maz-single-media,.maz-single-info{min-width:0}
.maz-single-heading{margin-bottom:22px}
.maz-single-heading h1{font-size:clamp(2rem,3.2vw,3rem);line-height:1.15;margin:14px 0;overflow-wrap:anywhere}
.maz-single-heading .maz-price{margin:0}
.maz-single-info>.maz-description{margin:0 0 28px}
.maz-single-info h2{font-size:1.45rem;line-height:1.25;margin:0 0 16px}
.maz-single-info .maz-details{margin:0 0 28px}
.maz-single-info .maz-equipment{margin-bottom:28px}
.maz-single-info .maz-details dd{min-width:0;overflow-wrap:anywhere}
/* Contacts form a shared full-width next step after the two-column overview. */
.maz-single-grid{align-items:start}
.maz-single-contact{margin-top:32px}
.maz-single-contact .maz-team{margin:0}
.maz-single-contact .maz-person{display:flex;flex-direction:column;min-width:0}
.maz-single-contact .maz-person-actions{margin-top:auto}
.maz-single-contact .maz-person-heading>div{min-width:0}
.maz-single-contact .maz-person-number{white-space:nowrap}
@media(min-width:1000px){.maz-single-contact .maz-team-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:600px){.maz-single-contact{margin-top:24px}}
