/* IREMA 1.7.330 — independent SVG pattern overlay Toolbar */
irema-element-toolbar .irema-tool-pattern-fill .irema-icon-pattern-fill{
  width:28px;
  height:28px;
  display:block;
  margin-left:auto;
  margin-right:auto;
  border-radius:4px;
  border:1px solid currentColor;
  background:
    linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%),
    linear-gradient(45deg,currentColor 25%,transparent 25%,transparent 75%,currentColor 75%);
  background-size:10px 10px;
  background-position:0 0,5px 5px;
  opacity:.8;
}
irema-element-toolbar .irema-panel-pattern-fill{
  box-sizing:border-box;
  width:100%;
}
irema-element-toolbar .irema-pattern-title{
  font-weight:600;
  margin:0 0 12px;
}
irema-element-toolbar .irema-pattern-library{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(68px,1fr));
  gap:10px;
  max-height:320px;
  overflow:auto;
  padding:2px;
}
irema-element-toolbar .irema-pattern-library-item{
  appearance:none;
  border:1px solid rgba(0,0,0,.14);
  border-radius:5px;
  height:72px;
  min-height:72px;
  padding:0;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
  box-shadow:none;
  position:relative;
}
irema-element-toolbar .irema-pattern-library-item.irema-active{
  outline:2px solid var(--irema-primary-color,#485563);
  outline-offset:1px;
}
irema-element-toolbar .irema-pattern-thumbnail{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
  user-select:none;
}
irema-element-toolbar .irema-pattern-empty{
  padding:12px 0;
  opacity:.65;
}

irema-element-toolbar .irema-pattern-editor-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
irema-element-toolbar .irema-pattern-back{
  appearance:none;
  border:0;
  background:transparent;
  padding:6px 0;
  cursor:pointer;
  font-weight:600;
}
irema-element-toolbar .irema-pattern-back::before{
  content:"‹";
  display:inline-block;
  margin-right:5px;
  font-size:20px;
  line-height:12px;
  vertical-align:-1px;
}
irema-element-toolbar .irema-pattern-current{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  overflow:hidden;
}
irema-element-toolbar .irema-pattern-current img{
  width:38px;
  height:38px;
  flex:0 0 38px;
  object-fit:cover;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.12);
}
irema-element-toolbar .irema-pattern-current span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
irema-element-toolbar .irema-pattern-controls{
  display:flex;
  flex-direction:column;
  gap:14px;
}
irema-element-toolbar .irema-pattern-control-row{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin:0;
}
irema-element-toolbar .irema-pattern-control-label{
  font-size:12px;
  font-weight:600;
}
irema-element-toolbar .irema-pattern-color-control,
irema-element-toolbar .irema-pattern-range-control,
irema-element-toolbar .irema-pattern-color-control input[type="color"]{
  width:42px;
  height:32px;
  padding:2px;
}
irema-element-toolbar .irema-pattern-original,
irema-element-toolbar .irema-pattern-remove{
  appearance:none;
  border:1px solid rgba(0,0,0,.18);
  border-radius:4px;
  background:#fff;
  min-height:32px;
  padding:5px 10px;
  cursor:pointer;
}
irema-element-toolbar .irema-pattern-original.irema-active{
  border-color:var(--irema-primary-color,#485563);
  box-shadow:0 0 0 1px var(--irema-primary-color,#485563) inset;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]{
  flex:1 1 auto;
  min-width:0;
}
irema-element-toolbar .irema-pattern-range-control output{
  flex:0 0 45px;
  font-size:12px;
  text-align:right;
}
irema-element-toolbar .irema-pattern-remove{
  width:100%;
  margin-top:3px;
}

@media (max-width:1024px) and (orientation:portrait), (max-height:599px) and (hover:none) and (pointer:coarse){
  body.irema-3d-mobile-runtime-ready irema-element-toolbar .irema-pattern-library{
    max-height:230px;
    grid-template-columns:repeat(3,minmax(62px,1fr));
  }
  body.irema-3d-mobile-runtime-ready irema-element-toolbar .irema-pattern-control-row{
    grid-template-columns:68px minmax(0,1fr);
  }
}


/* IREMA 1.7.330 — vector SVG path colour handlers */
irema-element-toolbar .irema-pattern-vector-colors{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:2px 0 4px;
}
irema-element-toolbar .irema-pattern-vector-colors-title{
  font-size:12px;
  font-weight:700;
  margin-bottom:2px;
}
irema-element-toolbar .irema-pattern-vector-colors-status{
  font-size:12px;
  opacity:.65;
  padding:4px 0;
}
irema-element-toolbar .irema-pattern-vector-colors
.irema-pattern-control-row{
  grid-template-columns:minmax(92px,1fr) 44px;
}
irema-element-toolbar .irema-pattern-vector-colors
input[type="color"]{
  width:42px;
  height:32px;
  padding:2px;
  justify-self:end;
}
irema-element-toolbar .irema-pattern-vector-colors
.irema-pattern-original{
  width:100%;
  margin-top:2px;
}


/* IREMA 1.7.330 — Pattern sidebar scroll in Shortcode MainBar */
irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  max-height:min(72vh, 640px) !important;
  min-height:0 !important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:var(--irema-scrollbar-width);
  scrollbar-color:var(--irema-scrollbar-thumb-color) var(--irema-scrollbar-track-color);
}
irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active::-webkit-scrollbar{
  width:var(--irema-scrollbar-width);
}
irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active::-webkit-scrollbar-track{
  background:var(--irema-scrollbar-track-color);
}
irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active::-webkit-scrollbar-thumb{
  background:var(--irema-scrollbar-thumb-color);
  border-radius:10px;
}
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-controls{
  flex:0 0 auto;
  min-height:min-content;
}


/* IREMA 1.7.330 — reliable vertical scroll for Pattern sidebar / Shortcode MainBar */
irema-element-toolbar .irema-sub-panel .irema-panel-pattern-fill{
  box-sizing:border-box !important;
  max-height:calc(100dvh - 130px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
@supports not (height:100dvh){
  irema-element-toolbar .irema-sub-panel .irema-panel-pattern-fill{
    max-height:calc(100vh - 130px) !important;
  }
}
irema-element-toolbar .irema-panel-pattern-fill::-webkit-scrollbar{
  width:10px;
}
irema-element-toolbar .irema-panel-pattern-fill::-webkit-scrollbar-track{
  background:rgba(0,0,0,.05);
}
irema-element-toolbar .irema-panel-pattern-fill::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.25);
  border-radius:10px;
}


/* IREMA 1.7.330 — Pattern scale/rotation sliders */
irema-element-toolbar .irema-pattern-control-row{
  grid-template-columns:72px minmax(0,1fr) !important;
}

irema-element-toolbar .irema-pattern-range-control{
  display:grid !important;
  grid-template-columns:minmax(110px,1fr) 52px !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  min-width:0 !important;
}

irema-element-toolbar .irema-pattern-range-control input[type="range"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:block !important;
  width:100% !important;
  min-width:110px !important;
  height:24px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer !important;
}

irema-element-toolbar .irema-pattern-range-control input[type="range"]::-webkit-slider-runnable-track{
  width:100%;
  height:4px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.18);
}

irema-element-toolbar .irema-pattern-range-control input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:16px;
  height:16px;
  margin-top:-6px;
  border:0;
  border-radius:50%;
  background:var(--irema-secondary-color,#029EEB);
  box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.10);
}

irema-element-toolbar .irema-pattern-range-control input[type="range"]::-moz-range-track{
  width:100%;
  height:4px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.18);
}

irema-element-toolbar .irema-pattern-range-control input[type="range"]::-moz-range-thumb{
  width:16px;
  height:16px;
  border:0;
  border-radius:50%;
  background:var(--irema-secondary-color,#029EEB);
  box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.10);
}

irema-element-toolbar .irema-pattern-range-control output{
  display:block !important;
  width:52px !important;
  min-width:52px !important;
  padding:0 !important;
  margin:0 !important;
  text-align:right !important;
  white-space:nowrap !important;
  font-size:12px !important;
  line-height:24px !important;
  overflow:visible !important;
}


/* IREMA 1.7.330 — per-layer Color/Pattern Link opt-out */
irema-element-toolbar .irema-pattern-link-optout{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
irema-element-toolbar .irema-pattern-link-optout input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  accent-color:var(--irema-secondary-color,#029EEB);
  cursor:pointer;
}
irema-element-toolbar .irema-pattern-link-optout span{
  font-size:12px;
  font-weight:700;
  line-height:1.25;
}


/* IREMA 1.7.330 — opt-out controls live in their own Toolbar panels */
irema-element-toolbar .irema-panel-color .irema-color-link-optout-row{
  box-sizing:border-box;
  width:100%;
  padding:12px 14px;
  border-top:1px solid rgba(0,0,0,.08);
}
irema-element-toolbar .irema-panel-color .irema-color-link-optout{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  cursor:pointer;
}
irema-element-toolbar .irema-panel-color .irema-color-link-optout input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  accent-color:var(--irema-secondary-color,#029EEB);
}
irema-element-toolbar .irema-panel-color .irema-color-link-optout span{
  font-size:12px;
  font-weight:700;
  line-height:1.25;
}


/* IREMA 1.7.330 — explicit X state for link opt-out checkboxes */
irema-element-toolbar .irema-panel-color
.irema-color-link-optout input[type="checkbox"],
irema-element-toolbar .irema-panel-pattern-fill
.irema-pattern-link-optout input[type="checkbox"]{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  flex:0 0 18px !important;
  margin:0 !important;
  border:1px solid rgba(0,0,0,.35) !important;
  border-radius:3px !important;
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  position:relative !important;
}

irema-element-toolbar .irema-panel-color
.irema-color-link-optout input[type="checkbox"]:checked,
irema-element-toolbar .irema-panel-pattern-fill
.irema-pattern-link-optout input[type="checkbox"]:checked{
  border-color:var(--irema-secondary-color,#029EEB) !important;
  background-color:#fff !important;

  /*
   * Two diagonal strokes form an unmistakable X while keeping the
   * checkbox background white.
   */
  background-image:
    linear-gradient(
      45deg,
      transparent 43%,
      var(--irema-secondary-color,#029EEB) 43%,
      var(--irema-secondary-color,#029EEB) 57%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      var(--irema-secondary-color,#029EEB) 43%,
      var(--irema-secondary-color,#029EEB) 57%,
      transparent 57%
    ) !important;
  background-size:100% 100%,100% 100% !important;
  background-position:center,center !important;
  background-repeat:no-repeat !important;
}

irema-element-toolbar .irema-panel-color
.irema-color-link-optout input[type="checkbox"]:focus-visible,
irema-element-toolbar .irema-panel-pattern-fill
.irema-pattern-link-optout input[type="checkbox"]:focus-visible{
  outline:2px solid var(--irema-secondary-color,#029EEB) !important;
  outline-offset:2px !important;
}


/* IREMA 1.7.330 — Product Builder flat Canvas Pattern panel
   Safe CSS-only scroll: no viewport observers/listeners or layout loops. */
#product-builder-container
irema-element-toolbar
.irema-panel-pattern-fill{
  max-height:min(420px, calc(100vh - 160px)) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  min-height:0 !important;
  box-sizing:border-box !important;
}

/* Modern mobile/browser viewport unit fallback. */
@supports (height: 100dvh){
  #product-builder-container
  irema-element-toolbar
  .irema-panel-pattern-fill{
    max-height:min(420px, calc(100dvh - 160px)) !important;
  }
}

/* IREMA 1.7.356 — Pattern sidebar visual integration with plugin UI */
irema-element-toolbar .irema-panel-pattern-fill{
  color:var(--irema-primary-color,#485563);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-title,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-vector-colors-title,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-control-label{
  color:var(--irema-primary-color,#485563);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-library-item{
  border-radius:var(--irema-border-radius,6px);
  border-color:var(--irema-border-color,#EBEBEB);
  transition:border-color .2s ease-out,box-shadow .2s ease-out,opacity .2s ease-out;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-library-item:hover{
  border-color:var(--irema-secondary-color,#029EEB);
  opacity:.9;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-library-item.irema-active{
  outline:2px solid var(--irema-secondary-color,#029EEB);
  outline-offset:1px;
}

/* Keep every editable SVG colour name on one visual line. */
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-vector-colors .irema-pattern-control-row{
  grid-template-columns:minmax(0,1fr) 44px !important;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-vector-colors .irema-pattern-control-label{
  display:block;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:32px;
}

irema-element-toolbar .irema-panel-pattern-fill input[type="color"]{
  border:1px solid var(--irema-border-color,#EBEBEB);
  border-radius:var(--irema-border-radius,6px);
  background:var(--irema-light-bg-color,#F6F6F6);
  box-shadow:0 0 4px rgba(110,111,114,.22);
  cursor:pointer;
}

irema-element-toolbar .irema-panel-pattern-fill input[type="color"]:focus-visible{
  outline:2px solid var(--irema-secondary-color,#029EEB);
  outline-offset:2px;
}

/* Match the plugin's .irema-btn sizing, radius, typography and transition. */
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-back,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-original,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-remove{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:5px 15px;
  margin:0;
  border:0;
  border-radius:var(--irema-border-radius,6px);
  font-size:14px;
  font-weight:400;
  line-height:24px;
  text-transform:uppercase;
  cursor:pointer;
  transition:all .2s ease-out;
  box-shadow:none;
}

/* Secondary brand action, same role as the plugin's normal primary button. */
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-original,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-remove{
  background:var(--irema-secondary-color,#029EEB);
  color:var(--irema-secondary-fg-color,#fff);
}

/* Navigation action uses the primary brand colour. */
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-back{
  background:var(--irema-primary-color,#485563);
  color:var(--irema-primary-fg-color,#fff);
  padding-left:12px;
  padding-right:12px;
  flex:0 0 auto;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-back:hover,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-original:hover,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-remove:hover{
  opacity:.8;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-back:focus-visible,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-original:focus-visible,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-remove:focus-visible{
  outline:2px solid var(--irema-secondary-color,#029EEB);
  outline-offset:2px;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-original,
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-remove{
  width:100%;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-current{
  color:var(--irema-primary-color,#485563);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-current img{
  border-radius:var(--irema-border-radius,6px);
  border-color:var(--irema-border-color,#EBEBEB);
}


/* IREMA 1.7.364 — warning before adding a second Pattern fill on 3D products */
irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning{
  box-sizing:border-box;
  width:100%;
  margin:10px 0 12px;
  padding:12px;
  border:1px solid var(--irema-border-color,#EBEBEB);
  border-left:4px solid var(--irema-secondary-color,#029EEB);
  border-radius:var(--irema-border-radius,6px);
  background:var(--irema-light-bg-color,#F6F6F6);
  color:var(--irema-primary-color,#485563);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning-text{
  margin:0 0 10px;
  font-size:12px;
  font-weight:600;
  line-height:1.45;
  color:var(--irema-primary-color,#485563);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning-actions .irema-btn{
  min-height:34px;
  padding:5px 15px;
  margin:0;
  border:0;
  border-radius:var(--irema-border-radius,6px);
  font-size:14px;
  font-weight:400;
  line-height:24px;
  text-transform:uppercase;
  cursor:pointer;
  transition:all .2s ease-out;
  box-shadow:none;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-warning-continue{
  background:var(--irema-secondary-color,#029EEB);
  color:var(--irema-secondary-fg-color,#fff);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-warning-exit{
  background:var(--irema-primary-color,#485563);
  color:var(--irema-primary-fg-color,#fff);
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning-actions .irema-btn:hover{
  opacity:.88;
}

irema-element-toolbar .irema-panel-pattern-fill .irema-pattern-multiple-warning-actions .irema-btn:focus-visible{
  outline:2px solid var(--irema-secondary-color,#029EEB);
  outline-offset:2px;
}

/* IREMA 1.7.478 — Gradient/Pattern sliders match native Transparency slider. */
irema-element-toolbar .irema-pattern-range-control input[type="range"]{
  --irema-range-progress:0%;
  height:24px !important;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-webkit-slider-runnable-track{
  height:var(--irema-track-height,8px) !important;
  border:1px solid var(--irema-border-color,#EBEBEB) !important;
  border-radius:4px !important;
  background:linear-gradient(var(--irema-secondary-color,#029EEB),var(--irema-secondary-color,#029EEB)) 0/var(--irema-range-progress) 100% no-repeat,var(--irema-light-bg-color,#F6F6F6) !important;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:20px !important;
  height:20px !important;
  margin-top:calc((var(--irema-track-height,8px) * .5 - 1px) - (20px * .5)) !important;
  border:2px solid var(--irema-secondary-color,#029EEB) !important;
  border-radius:1em !important;
  background:#fff !important;
  box-shadow:none !important;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-moz-range-track{
  height:var(--irema-track-height,8px) !important;
  border:1px solid var(--irema-border-color,#EBEBEB) !important;
  border-radius:4px !important;
  background:linear-gradient(var(--irema-secondary-color,#029EEB),var(--irema-secondary-color,#029EEB)) 0/var(--irema-range-progress) 100% no-repeat,var(--irema-light-bg-color,#F6F6F6) !important;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-moz-range-thumb{
  width:20px !important;
  height:20px !important;
  border:2px solid var(--irema-secondary-color,#029EEB) !important;
  border-radius:1em !important;
  background:#fff !important;
  box-shadow:none !important;
}

/* IREMA 1.7.478 — match native Transparency thumb hover exactly. */
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-webkit-slider-thumb:hover{
  scale:1.2 !important;
}
irema-element-toolbar .irema-pattern-range-control input[type="range"]::-moz-range-thumb:hover{
  scale:1.2 !important;
}

/* SVG Reset is available in frontend and all admin viewers/builders. */
irema-element-toolbar .irema-tool-reset.irema-svg-reset-enabled:not(.irema-hidden){
  display:flex !important;
  flex-direction:column;
  align-items:center;
  text-align:center;
  /* Icon and label retain the shared Toolbar typography and spacing. */
}


/* IREMA safe baseline 1.7.504 — Lightbox pattern library uses the full sidebar height. */
.irema-modal-product-designer .irema-container.irema-sidebar irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active{
  height:100% !important;
  max-height:none !important;
  min-height:0 !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
.irema-modal-product-designer .irema-container.irema-sidebar irema-element-toolbar .irema-sub-panel > .irema-panel-pattern-fill.irema-active .irema-pattern-library{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
