/* =========================================================
   GAZAPO MANAGER · OFERTAS 0.2.2
   ========================================================= */

:root{
  --gz-ink:#30302f;
  --gz-text:#66625d;
  --gz-muted:#817b74;
  --gz-sand:#d4a373;
  --gz-sand-dark:#b98255;
  --gz-cream:#f9f5e7;
  --gz-green:#6f8f72;
  --gz-green-dark:#55745b;
  --gz-green-soft:#e8efe6;
  --gz-border:rgba(48,48,47,.10);
  --gz-shadow-sm:0 8px 24px rgba(53,44,36,.07);
  --gz-shadow:0 18px 48px rgba(53,44,36,.10);
  --gz-danger:#a65143;
}

.gz-offer-toolbar,
.gz-manage,
.gz-outlet-empty,
.gz-offer-grid,
.gz-single-offer,
.gz-single-adminbar{
  font-family:inherit;
  box-sizing:border-box;
}

.gz-offer-toolbar *,
.gz-manage *,
.gz-outlet-empty *,
.gz-offer-grid *,
.gz-single-offer *,
.gz-single-adminbar *{
  box-sizing:border-box;
}

.gz-offer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:var(--gz-green);
  color:#fff!important;
  font:inherit;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(111,143,114,.20);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.gz-offer-btn:hover{
  transform:translateY(-2px);
  background:var(--gz-green-dark);
}

.gz-offer-btn--secondary{
  background:#fff;
  color:var(--gz-ink)!important;
  border:1px solid var(--gz-border);
  box-shadow:none;
}

.gz-offer-btn--secondary:hover{background:var(--gz-cream)}
.gz-offer-btn--edit{
  background:#f1e5d6;
  color:#6b4d34!important;
  border:1px solid rgba(185,130,85,.24);
  box-shadow:none;
}
.gz-offer-btn--edit:hover{
  background:#e8d5c0;
  color:#553b29!important;
}
.gz-offer-btn--danger{background:var(--gz-danger)}
.gz-offer-btn--small{min-height:36px;padding:0 14px;font-size:12px}

.gz-offer-notice{
  max-width:1100px;
  margin:18px auto;
  padding:14px 18px;
  border-radius:12px;
  font-size:14px;
}

.gz-offer-notice--success{background:#eaf3e9;color:#36573a;border:1px solid #cfe3ce}
.gz-offer-notice--error{background:#f7e7e4;color:#7d372e;border:1px solid #ebc8c1}

/* Toolbar pública */
.gz-offer-toolbar{
  width:min(1180px,calc(100% - 32px));
  margin:24px auto 30px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(111,143,114,.18);
  border-radius:18px;
  background:linear-gradient(135deg,#eef3eb,#fffaf2);
  box-shadow:var(--gz-shadow-sm);
}

.gz-offer-toolbar strong{display:block;color:var(--gz-ink);font-size:14px}
.gz-offer-toolbar span{display:block;margin-top:3px;color:var(--gz-muted);font-size:12px}
.gz-offer-toolbar__actions{display:flex;flex-wrap:wrap;gap:8px}
.gz-offer-toolbar--top{
  margin-top:18px;
  margin-bottom:18px;
}

/* Estado vacío */
.gz-outlet-empty{
  position:relative;
  max-width:850px;
  margin:45px auto;
  padding:48px 42px;
  overflow:hidden;
  border:1px solid #e7ded2;
  border-radius:26px;
  background:#f8f6f3;
  text-align:center;
  box-shadow:var(--gz-shadow-sm);
}

.gz-outlet-empty::after{
  content:"";
  position:absolute;
  right:-90px;
  top:-90px;
  width:210px;
  height:210px;
  border-radius:50%;
  background:rgba(212,163,115,.10);
}

.gz-outlet-empty__icon{
  width:64px;
  height:64px;
  margin:0 auto 24px;
  display:grid;
  place-items:center;
  border:1px solid #e7ded2;
  border-radius:50%;
  background:#fff;
  color:#7a6a58;
}
.gz-outlet-empty__icon svg{width:28px;height:28px}
.gz-outlet-empty__label{margin-bottom:13px;color:#7a6a58;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.gz-outlet-empty h2{margin:0;color:var(--gz-ink);font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15}
.gz-outlet-empty p{max-width:650px;margin:20px auto;color:var(--gz-text);font-size:15px;line-height:1.75}
.gz-outlet-empty__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:25px}
.gz-outlet-empty small{display:block;margin-top:22px;color:var(--gz-muted)}

/* Grid público */
.gz-offer-grid{
  width:min(1180px,calc(100% - 32px));
  margin:42px auto 70px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.gz-offer-grid--single{width:min(560px,calc(100% - 32px));grid-template-columns:minmax(0,1fr)}
.gz-offer-grid--double{width:min(900px,calc(100% - 32px));grid-template-columns:repeat(2,minmax(0,1fr))}

.gz-offer-card{
  overflow:hidden;
  border:1px solid var(--gz-border);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--gz-shadow-sm);
  transition:transform .25s ease,box-shadow .25s ease;
}
.gz-offer-card:hover{transform:translateY(-4px);box-shadow:var(--gz-shadow)}
.gz-offer-card__image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#eee}
.gz-offer-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gz-offer-card:hover .gz-offer-card__image img{transform:scale(1.025)}
.gz-offer-card__placeholder{width:100%;height:100%;display:grid;place-items:center;background:#f3f0ea;color:#9d9387;font-weight:800}
.gz-offer-card__body{padding:24px}
.gz-offer-card h3{margin:0 0 10px;color:var(--gz-ink);font-size:1.25rem;line-height:1.25}
.gz-offer-card h3 a{color:inherit!important;text-decoration:none!important}
.gz-offer-card p{margin:0 0 18px;color:var(--gz-text);font-size:13.5px;line-height:1.7}
.gz-offer-card__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}

.gz-offer-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.gz-offer-card__image .gz-offer-pill{position:absolute;z-index:3;left:14px;top:14px;box-shadow:0 6px 14px rgba(0,0,0,.10)}
.gz-offer-pill--offer{background:#efe1cf;color:#765638}
.gz-offer-pill--liquidation{background:#e7b5a5;color:#6e3328}
.gz-offer-pill--last_units{background:#f1d79d;color:#6c531a}
.gz-offer-pill--last_unit{background:#cb7865;color:#fff}

.gz-offer-price{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.gz-offer-price small{display:block;margin-bottom:2px;color:var(--gz-muted);font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.gz-price-old,.gz-price-current{display:block}
.gz-offer-price del{color:#9d968e;font-size:13px}
.gz-offer-price strong{color:var(--gz-green-dark);font-size:1.42rem}
.gz-price-saving{width:100%;margin-top:1px;color:var(--gz-sand-dark);font-size:11px;font-weight:800}

/* Gestión */
.gz-manage{
  width:min(1180px,calc(100% - 32px));
  margin:35px auto 80px;
}
.gz-manage__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:28px;
  padding:30px;
  border-radius:24px;
  background:linear-gradient(135deg,#faf3e9,#edf2ec);
  border:1px solid rgba(212,163,115,.15);
  box-shadow:var(--gz-shadow-sm);
}
.gz-manage__eyebrow,.gz-editor-section__eyebrow{display:block;margin-bottom:7px;color:var(--gz-sand-dark);font-size:10px;line-height:1;font-weight:800;letter-spacing:.10em;text-transform:uppercase}
.gz-manage__head h2{margin:0;color:var(--gz-ink);font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.1}
.gz-manage__head p{max-width:620px;margin:10px 0 0;color:var(--gz-text);line-height:1.7}
.gz-manage__head-actions{display:flex;flex-wrap:wrap;gap:9px}

.gz-manage-list{display:flex;flex-direction:column;gap:12px}
.gz-manage-empty{padding:30px;border:1px dashed #d8d1c8;border-radius:18px;text-align:center;color:var(--gz-text)}
.gz-manage-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--gz-border);border-radius:18px;background:#fff;box-shadow:var(--gz-shadow-sm)}
.gz-manage-row__thumb{width:90px;height:72px;overflow:hidden;border-radius:12px;background:#f1eee9;display:grid;place-items:center;color:var(--gz-muted);font-size:10px}
.gz-manage-row__thumb img{width:100%;height:100%;object-fit:cover}
.gz-manage-row__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gz-manage-status{font-size:11px;color:var(--gz-muted)}
.gz-manage-row h3{margin:8px 0 4px;color:var(--gz-ink);font-size:1rem}
.gz-manage-price{color:var(--gz-green-dark);font-size:13px}
.gz-manage-row__actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.gz-inline-form{display:inline-flex;margin:0}

/* Editor */
.gz-offer-editor{display:flex;flex-direction:column;gap:20px}
.gz-editor-section{padding:30px;border:1px solid var(--gz-border);border-radius:22px;background:#fff;box-shadow:var(--gz-shadow-sm)}
.gz-editor-section--compact{background:#fbfaf8}
.gz-editor-section h3{margin:0 0 20px;color:var(--gz-ink);font-size:1.35rem;line-height:1.2}
.gz-editor-help{margin:-10px 0 20px;color:var(--gz-muted);font-size:13px;line-height:1.65}
.gz-field-grid{display:grid;gap:14px}
.gz-field-grid--3{grid-template-columns:repeat(3,1fr)}
.gz-field{display:flex;flex-direction:column;gap:7px}
.gz-field--full{margin-bottom:16px}
.gz-field span,.gz-type-selector legend{color:var(--gz-ink);font-size:12px;font-weight:700}
.gz-field small{color:var(--gz-muted);font-weight:400}
.gz-field input,.gz-field textarea,
.gz-repeater__row input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #d9d4ce;
  border-radius:10px;
  background:#fff;
  color:var(--gz-ink);
  font:inherit;
  font-size:14px;
  box-shadow:none;
}
.gz-field textarea{min-height:110px;resize:vertical}
.gz-field input:focus,.gz-field textarea:focus,.gz-repeater__row input:focus{outline:0;border-color:var(--gz-sand);box-shadow:0 0 0 3px rgba(212,163,115,.10)}

.gz-type-selector{margin:20px 0 0;padding:0;border:0}
.gz-type-selector legend{margin-bottom:10px}
.gz-type-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gz-type-selector legend{grid-column:1/-1}
.gz-type-selector label{position:relative;cursor:pointer}
.gz-type-selector input{position:absolute;opacity:0;pointer-events:none}
.gz-type-card{display:flex;align-items:center;justify-content:center;min-height:50px;padding:9px;border:2px solid transparent;border-radius:14px;font-size:11px;font-weight:800;text-align:center;text-transform:uppercase;letter-spacing:.04em;transition:transform .15s ease,border-color .15s ease}
.gz-type-card--offer{background:#f2e6d7;color:#725335}
.gz-type-card--liquidation{background:#f0d1c7;color:#73382d}
.gz-type-card--last_units{background:#f5e6ba;color:#6a541f}
.gz-type-card--last_unit{background:#d58b79;color:#fff}
.gz-type-selector input:checked + .gz-type-card{border-color:var(--gz-ink);transform:translateY(-1px)}

.gz-gallery-editor{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}
.gz-gallery-editor__item{position:relative;aspect-ratio:1/1;overflow:hidden;border:1px solid var(--gz-border);border-radius:14px;background:#eee}
.gz-gallery-editor__item img{width:100%;height:100%;object-fit:cover}
.gz-gallery-editor__controls{position:absolute;left:6px;right:6px;bottom:6px;display:flex;justify-content:center;gap:4px}
.gz-gallery-editor__controls button{width:28px;height:28px;border:0;border-radius:999px;background:rgba(35,35,35,.78);color:#fff;font-weight:800;cursor:pointer}
.gz-gallery-remove{background:#9f493d!important}

.gz-repeater{display:flex;flex-direction:column;gap:12px}
.gz-repeater__rows{display:flex;flex-direction:column;gap:9px}
.gz-repeater__row{display:grid;align-items:center;gap:8px}
.gz-repeater__row--single{grid-template-columns:minmax(0,1fr) 36px}
.gz-repeater__row--two{grid-template-columns:1fr 1fr 36px}
.gz-repeater__row--three{grid-template-columns:1.1fr 1fr .45fr 36px}
.gz-repeater-remove{width:34px;height:34px;border:0;border-radius:50%;background:#f3e4e1;color:#883e34;font-size:20px;line-height:1;cursor:pointer}
.gz-repeater-add{align-self:flex-start}
.gz-editor-footer{position:sticky;bottom:12px;z-index:10;display:flex;justify-content:flex-end;gap:10px;padding:14px;border:1px solid rgba(48,48,47,.10);border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);box-shadow:var(--gz-shadow)}

/* Single oferta */
.gz-single-offer{width:100%;overflow:hidden;color:var(--gz-text);background:#fff}
.gz-single-shell{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.gz-single-adminbar{width:min(1180px,calc(100% - 36px));margin:22px auto;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(111,143,114,.18);border-radius:16px;background:#edf3eb}
.gz-single-adminbar span{font-size:12px;color:var(--gz-green-dark);font-weight:700}
.gz-single-adminbar div{display:flex;gap:8px;flex-wrap:wrap}
.gz-single-offer__hero{padding:70px 0 48px;background:linear-gradient(135deg,#faf3e8,#edf2ec)}
.gz-single-offer__hero .gz-single-shell{text-align:center}
.gz-single-offer__hero h1{max-width:900px;margin:16px auto 10px;color:var(--gz-ink);font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.05;letter-spacing:-.04em}
.gz-single-offer__hero p{max-width:720px;margin:0 auto;color:var(--gz-text);font-size:15.5px;line-height:1.8}
.gz-single-price{display:flex;justify-content:center;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-top:22px}
.gz-single-price__old,.gz-single-price__current{display:block;text-align:left}
.gz-single-price small{display:block;margin-bottom:3px;color:var(--gz-muted);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.gz-single-price del{color:#938c84;font-size:1rem}
.gz-single-price strong{color:var(--gz-green-dark);font-size:clamp(1.8rem,4vw,3rem)}
.gz-single-price__saving{flex-basis:100%;margin-top:-4px;color:var(--gz-sand-dark);font-size:12px;font-weight:800;text-align:center}

.gz-single-offer__main{padding:62px 0 78px;background:#fff}
.gz-single-offer__grid{display:grid;grid-template-columns:1.08fr .92fr;gap:30px;align-items:start}
.gz-single-gallery{min-width:0}
.gz-single-gallery__stage{position:relative;overflow:hidden;aspect-ratio:4/3;border-radius:24px;background:#eee;box-shadow:var(--gz-shadow)}
.gz-single-gallery__slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none;transition:opacity .25s ease}
.gz-single-gallery__slide.is-active{opacity:1;pointer-events:auto}
.gz-gallery-prev,.gz-gallery-next{
  position:absolute;
  z-index:4;
  top:50%;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  display:grid!important;
  place-items:center;
  transform:translateY(-50%);
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(48,48,47,.10)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.88)!important;
  color:#3f3d3a!important;
  line-height:0!important;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(0,0,0,.14)!important;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
.gz-gallery-prev svg,.gz-gallery-next svg{width:18px;height:18px;display:block;pointer-events:none}
.gz-gallery-prev:hover,.gz-gallery-next:hover{
  background:#fff!important;
  transform:translateY(-50%) scale(1.05);
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}
.gz-gallery-prev{left:14px}.gz-gallery-next{right:14px}
.gz-single-gallery__thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.gz-gallery-thumb{padding:0;overflow:hidden;aspect-ratio:1/1;border:2px solid transparent;border-radius:11px;background:#eee;cursor:pointer}
.gz-gallery-thumb.is-active{border-color:var(--gz-sand)}
.gz-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.gz-single-gallery__empty{display:grid;place-items:center;min-height:420px;border-radius:24px;background:#f2efea;color:#aaa}

.gz-offer-panel{padding:32px;border:1px solid var(--gz-border);border-radius:24px;background:#fbfaf8;box-shadow:var(--gz-shadow-sm)}
.gz-offer-panel__eyebrow{display:block;margin-bottom:7px;color:var(--gz-sand-dark);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.gz-offer-panel h2{margin:0 0 20px;color:var(--gz-ink);font-size:1.5rem;line-height:1.2}
.gz-feature-list{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:11px}
.gz-feature-list li{display:flex;align-items:flex-start;gap:9px;margin:0!important;color:var(--gz-text);font-size:14px;line-height:1.55}
.gz-feature-list__icon{flex:0 0 auto;width:21px;height:21px;display:grid;place-items:center;margin-top:1px;border-radius:50%;font-weight:900;font-size:12px}
.gz-feature-list--include .gz-feature-list__icon{background:#dcebd9;color:#4f7c4e}
.gz-feature-list--exclude{margin-top:18px!important}
.gz-feature-list--exclude .gz-feature-list__icon{background:#f3deda;color:#98493f}
.gz-feature-list strong{color:var(--gz-ink)}
.gz-offer-panel__price{margin:24px 0 0;padding:18px;border-radius:15px;background:#eef3eb;display:grid;grid-template-columns:auto 1fr;gap:7px 14px;align-items:end}
.gz-offer-panel__price>span{grid-column:1/-1;color:var(--gz-green-dark);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.gz-offer-panel__price-old,.gz-offer-panel__price-current{display:flex;flex-direction:column;gap:2px}
.gz-offer-panel__price small{color:var(--gz-muted);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.gz-offer-panel__price del{color:#918a82;font-size:13px}
.gz-offer-panel__price strong{color:var(--gz-green-dark);font-size:1.75rem}
.gz-offer-panel__saving{grid-column:1/-1;margin-top:2px;color:var(--gz-sand-dark);font-size:11px;font-weight:800}
.gz-offer-options{margin-top:24px;padding-top:22px;border-top:1px solid var(--gz-border)}
.gz-offer-options h3{margin:0 0 13px;color:var(--gz-ink);font-size:1.05rem}
.gz-option-price{display:inline-block;margin-left:5px;color:var(--gz-green-dark);font-weight:800}
.gz-offer-panel__cta{display:flex;align-items:center;justify-content:center;margin-top:26px;min-height:50px;padding:10px 18px;border-radius:999px;background:var(--gz-sand);color:#fff!important;font-size:13px;font-weight:800;text-align:center;box-shadow:0 10px 22px rgba(212,163,115,.22)}

.gz-single-contact{scroll-margin-top:110px;padding:60px 0 66px;background:linear-gradient(180deg,#f5f6f4,#eef1ee)}
.gz-single-contact__head{max-width:720px;margin:0 auto 24px;text-align:center}
.gz-single-contact__head h2{margin:8px 0 12px;color:var(--gz-ink);font-size:clamp(2rem,4vw,3.2rem);line-height:1.08}
.gz-single-contact__head p{margin:0;color:var(--gz-text);line-height:1.75}
.gz-single-contact__form{max-width:760px;margin:auto;padding:30px;border:1px solid rgba(212,163,115,.18);border-radius:24px;background:#fffaf2;box-shadow:var(--gz-shadow)}
.gz-single-contact__form .wpforms-container{margin:0!important}
.gz-single-contact__form input:not([type="checkbox"]):not([type="radio"]),
.gz-single-contact__form textarea,
.gz-single-contact__form select{max-width:none!important;width:100%!important;border-radius:8px!important;background:#fff!important}
.gz-single-contact__form button[type="submit"],.gz-single-contact__form .wpforms-submit{border:0!important;border-radius:999px!important;background:var(--gz-green)!important;color:#fff!important;font-weight:700!important}

@media(max-width:991px){
  .gz-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gz-field-grid--3{grid-template-columns:1fr 1fr}
  .gz-type-selector{grid-template-columns:1fr 1fr}
  .gz-gallery-editor{grid-template-columns:repeat(4,1fr)}
  .gz-manage-row{grid-template-columns:74px minmax(0,1fr)}
  .gz-manage-row__thumb{width:74px;height:66px}
  .gz-manage-row__actions{grid-column:1/-1;justify-content:flex-start;padding-left:92px}
  .gz-single-offer__grid{grid-template-columns:1fr}
}

@media(max-width:767px){
  .gz-offer-toolbar,.gz-manage__head,.gz-single-adminbar{flex-direction:column;align-items:stretch}
  .gz-offer-toolbar__actions,.gz-manage__head-actions,.gz-single-adminbar div{width:100%}
  .gz-offer-toolbar__actions .gz-offer-btn,.gz-manage__head-actions .gz-offer-btn{flex:1}
  .gz-outlet-empty{margin:28px auto;padding:34px 20px}
  .gz-offer-grid,.gz-offer-grid--single,.gz-offer-grid--double{width:calc(100% - 32px);grid-template-columns:1fr}
  .gz-manage{width:calc(100% - 20px);margin-top:18px}
  .gz-manage__head,.gz-editor-section{padding:22px 16px;border-radius:18px}
  .gz-manage-row{grid-template-columns:62px minmax(0,1fr);gap:12px}
  .gz-manage-row__thumb{width:62px;height:58px}
  .gz-manage-row__actions{padding-left:74px}
  .gz-field-grid--3{grid-template-columns:1fr}
  .gz-type-selector{grid-template-columns:1fr 1fr}
  .gz-gallery-editor{grid-template-columns:repeat(3,1fr)}
  .gz-repeater__row--two,.gz-repeater__row--three{grid-template-columns:1fr 36px}
  .gz-repeater__row--two input:nth-child(2),.gz-repeater__row--three input:nth-child(2),.gz-repeater__row--three input:nth-child(3){grid-column:1/2}
  .gz-repeater__row--two .gz-repeater-remove,.gz-repeater__row--three .gz-repeater-remove{grid-column:2;grid-row:1/span 3}
  .gz-editor-footer{justify-content:stretch}
  .gz-editor-footer .gz-offer-btn{flex:1}
  .gz-single-offer__hero{padding:52px 0 38px}
  .gz-single-offer__main{padding:40px 0 55px}
  .gz-single-gallery__stage{aspect-ratio:1/1}
  .gz-single-gallery__thumbs{grid-template-columns:repeat(4,1fr)}
  .gz-offer-panel{padding:24px 18px}
  .gz-single-contact{padding:52px 0}
  .gz-single-contact__form{padding:22px 16px}
}

/* =========================================================
   COMPARTIR OFERTAS · 0.3.0
   ========================================================= */
.gz-share-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.gz-offer-btn--share,.gz-offer-btn--poster{display:inline-flex!important;align-items:center!important;gap:8px!important}
.gz-offer-btn--share svg,.gz-offer-btn--poster svg{width:16px;height:16px;display:block}
.gz-offer-btn--share{background:#fff!important;color:var(--gz-green-dark)!important;border:1px solid rgba(111,143,114,.24)!important;box-shadow:0 8px 20px rgba(53,44,36,.06)!important}
.gz-offer-btn--share:hover{background:#f6faf5!important}
.gz-offer-btn--poster{background:#3d3c39!important;color:#fff!important}
.gz-offer-btn--poster:hover{background:#292826!important}

.gz-share-is-open{overflow:hidden}
.gz-share-modal[hidden]{display:none!important}
.gz-share-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}
.gz-share-modal__backdrop{position:absolute;inset:0;background:rgba(22,22,20,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.gz-share-dialog{position:relative;z-index:1;width:min(760px,100%);max-height:min(90vh,920px);overflow:auto;padding:30px;border:1px solid rgba(255,255,255,.65);border-radius:26px;background:#fbfaf8;box-shadow:0 32px 90px rgba(0,0,0,.25)}
.gz-share-dialog__close{position:absolute;right:15px;top:15px;width:38px;height:38px;padding:0;border:1px solid var(--gz-border);border-radius:50%;background:#fff;color:var(--gz-ink);font-size:25px;line-height:1;cursor:pointer}
.gz-share-dialog__eyebrow{display:block;margin:0 44px 7px 0;color:var(--gz-sand-dark);font-size:10px;line-height:1;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.gz-share-dialog h2{margin:0;color:var(--gz-ink);font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.1}
.gz-share-dialog__offer{margin:8px 0 22px;color:var(--gz-muted);font-size:14px}
.gz-share-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gz-share-choice{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:2px;padding:16px;border:1px solid var(--gz-border);border-radius:16px;background:#fff;color:var(--gz-ink)!important;text-decoration:none!important;text-align:left;cursor:pointer;box-shadow:0 7px 18px rgba(53,44,36,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.gz-share-choice:hover{transform:translateY(-2px);border-color:rgba(111,143,114,.25);box-shadow:0 10px 22px rgba(53,44,36,.08)}
.gz-share-choice:disabled{opacity:.62;cursor:wait;transform:none;box-shadow:0 7px 18px rgba(53,44,36,.045)}
.gz-share-choice__icon{width:32px;height:32px;display:grid;place-items:center;margin-bottom:5px;border-radius:50%;background:#edf3eb;color:var(--gz-green-dark);font-weight:900}
.gz-share-choice strong{font-size:13px}
.gz-share-choice small{color:var(--gz-muted);font-size:10px;line-height:1.3}
.gz-share-instagram-note{margin:12px 2px 0;padding:11px 13px;border:1px solid rgba(111,143,114,.18);border-radius:13px;background:#f5f8f3;color:var(--gz-muted);font-size:11px;line-height:1.5;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.gz-share-instagram-note.is-highlighted{background:#edf3eb;border-color:rgba(111,143,114,.38);transform:translateY(-1px)}

.gz-share-poster{margin-top:24px;padding-top:22px;border-top:1px solid var(--gz-border)}
.gz-share-poster__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.gz-share-poster__head>div:first-child span{display:block;margin-bottom:3px;color:var(--gz-sand-dark);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.gz-share-poster__head strong{color:var(--gz-ink);font-size:16px}
.gz-share-format{display:flex;padding:3px;border-radius:999px;background:#eeeae4}
.gz-share-format button{min-height:34px;padding:0 13px;border:0;border-radius:999px;background:transparent;color:var(--gz-muted);font-size:11px;font-weight:800;cursor:pointer}
.gz-share-format button.is-active{background:#fff;color:var(--gz-ink);box-shadow:0 3px 8px rgba(0,0,0,.08)}
.gz-share-canvas-wrap{display:grid;place-items:center;overflow:hidden;min-height:310px;padding:16px;border:1px solid var(--gz-border);border-radius:18px;background:#efede8}
.gz-share-canvas-wrap canvas{display:block;max-width:100%;max-height:52vh;width:auto;height:auto;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.15)}
.gz-share-poster__actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:14px}

@media (max-width:767px){
  .gz-share-actions{margin-top:20px}
  .gz-share-actions .gz-offer-btn{width:auto}
  .gz-share-modal{padding:10px;align-items:end}
  .gz-share-dialog{max-height:92vh;padding:24px 16px 18px;border-radius:22px 22px 14px 14px}
  .gz-share-links{grid-template-columns:1fr}
  .gz-share-choice{flex-direction:row;align-items:center;gap:10px}
  .gz-share-choice__icon{margin:0;flex:0 0 auto}
  .gz-share-choice small{margin-left:auto;text-align:right}
  .gz-share-poster__head{align-items:flex-start;flex-direction:column}
  .gz-share-canvas-wrap{padding:10px;min-height:260px}
  .gz-share-poster__actions .gz-offer-btn{flex:1}
}

/* 0.3.6 · navegación contextual de gestión */
#gz-offer-management,
#gz-offer-editor{
  scroll-margin-top:120px;
}
