/* The Gazebo Store — rounded corners + Option 2 product tiles
   (shorter cards, price under the title, icon grid, text financing)
   + Dimension filter popover + fluid page width (max 1600px)
   + full-bleed homepage hero and services band (section 6).
   Apply site-wide on the Magento 2 theme (frontend/Thegazebo/base).
   Target look: /workspace/gazebo-redesign/implement/target-product-tiles.jpg
   Target width: /workspace/gazebo-redesign/implement/target-width-1920.jpg
   Target hero: /workspace/gazebo-redesign/implement/target-hero-2006.jpg
*/

/* ========================================================================
   1. Rounded corners on tiles, cards, buttons, inputs, pagination, dots
   ======================================================================== */

/* Category tiles on the homepage: 18px radius, inset white frame
   (replaces the old sharp L-shaped frame). */
.home-category-inner {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: inset 0 0 0 10px #fff, 0 2px 10px rgba(0,0,0,.06) !important;
}
.home-category-inner:before,
.home-category-inner:after,
.home-category-inner > a:before,
.home-category-inner > a:after {
  display: none !important;
  content: none !important;
}

/* Testimonials */
.testimonials-block-inner {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* Blog cards */
.blogs-block {
  border-radius: 20px !important;
  overflow: hidden !important;
}
.blogs-block .blog-img,
.blogs-block .blog-img img,
.blog-img,
.blog-img img {
  border-radius: 20px 20px 0 0 !important;
  overflow: hidden !important;
}
.blogs-block .blog-content,
.blog-content {
  border-radius: 0 0 20px 20px !important;
}

/* Pagination */
.pages a,
.pages .current,
.pages li a,
.pages .item a,
.pages .item.current span,
.pages strong,
.pages .action,
.pages .item .action,
.toolbar .pages a,
.toolbar .pages .current {
  border-radius: 8px !important;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea,
.input-text,
.control input {
  border-radius: 12px !important;
}

/* Buttons — keep the existing orange pill (25px). Don't force this
   on icon-only controls (qty, close, nav toggle, wishlist heart). */
button.action.primary,
button.action.secondary,
.action.primary,
.action.secondary,
.action.subscribe,
.action.tocart,
.action.login,
.action.create.primary,
.action.checkout,
.action.back,
.action.continue,
.action.send,
button.tocart,
.bundle-actions .action,
.product-add-form .action.tocart,
.box-tocart .action.tocart {
  border-radius: 25px !important;
  -webkit-border-radius: 25px !important;
  -moz-border-radius: 25px !important;
}

/* Owl carousel dots (Owl 1 uses .owl-page span) */
.owl-theme .owl-controls .owl-page span,
.owl-theme .owl-controls .owl-page.active span {
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  width: 10px !important;
  height: 10px !important;
  overflow: hidden !important;
}

/* ========================================================================
   2. Product tiles — shorter Option 2 layout (homepage + category)
   Same #f4f4f4 card, 20px corners. Price under the title, icon grid,
   concrete highlights, quiet financing row, hover lift.
   ======================================================================== */

.products-grid .product-items .product-item {
  /* inline-flex, not flex: flex is block-level and stacks
     category-grid items in a single column. */
  display: inline-flex !important;
  vertical-align: top !important;
  overflow: visible !important;
}

/* Let the hover lift and shadow paint outside the card. Do not set
   display:flex on .owl-stage — that breaks the homepage slider. */
.products-grid,
.products-grid .product-items,
.home-featured-products,
.home-featured-products .owl-carousel,
.home-featured-products .owl-wrapper-outer,
.home-featured-products .owl-wrapper,
.home-featured-products .owl-item {
  overflow: visible !important;
}

.products-grid .product-items .product-item .product-item-info {
  padding: 0 !important;
  background: #f4f4f4 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  position: relative !important;
  z-index: 1 !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.06) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              background-color 0.3s ease !important;
}

.products-grid .product-items .product-item .product-item-info:hover {
  transform: translateY(-6px) !important;
  background-color: #ffffff !important;
  box-shadow: 0 18px 40px rgba(40, 32, 24, 0.14),
              0 4px 10px rgba(40, 32, 24, 0.06) !important;
  z-index: 4 !important;
}

/* Photo well: white, flush with the rounded top.
   object-fit: cover fills the well; side padding avoids clipping tents. */
.products-grid .product-items .product-item .product-item-info .product-item-photo {
  display: block !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  background: #fff !important;
  padding: 6px 18px 2px !important;
  position: relative !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
}
.products-grid .product-item-photo .product-image-container,
.products-grid .product-item-photo [class*="product-image-container"] {
  width: 100% !important;
  max-width: 100% !important;
  height: 200px !important;
  aspect-ratio: auto !important;
  display: block !important;
}
.products-grid .product-item-photo .product-image-wrapper,
.products-grid .product-item-photo span.product-image-wrapper {
  height: 200px !important;
  width: 100% !important;
  padding-bottom: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}
.products-grid .product-item-photo .product-image-photo {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

@media (max-width: 767px) {
  .products-grid .product-item-photo .product-image-container,
  .products-grid .product-item-photo [class*="product-image-container"],
  .products-grid .product-item-photo .product-image-wrapper,
  .products-grid .product-item-photo span.product-image-wrapper {
    height: 180px !important;
  }
}

/* Sale badge (injected by gazebo-redesign.js) */
.products-grid .sale-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 3 !important;
  background: #F7A432 !important;
  color: #333 !important;
  font-family: "Proximanova-SemiBold", "Proxima Nova", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 7px 11px !important;
  border-radius: 20px !important;
  pointer-events: none !important;
}

/* Details */
.products-grid .product-items .product-item .product-item-info .product-item-details,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details {
  min-height: 0 !important;
  padding: 10px 16px 14px !important;
  float: none !important;
  width: 100% !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

/* Title — no reserved min-height; price sits right under it */
.products-grid .product-items .product-item .product-item-info .product-item-details .product-item-name,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-item-name {
  font-size: 16px !important;
  font-family: "Proximanova-Bold", "Proxima Nova", sans-serif !important;
  text-transform: capitalize !important;
  margin: 0 0 4px !important;
  min-height: 0 !important;
  color: #333 !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-item-name > a {
  color: #333 !important;
}

/* Hide Magento's "Special Price" / "Regular Price" labels */
.products-grid .price-label,
.home-featured-products .price-label {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Price moved under the title (JS). Strikethrough, sale price, Save $X. */
.products-grid .product-item-details > .product-price,
.home-featured-products .product-item-details > .product-price {
  margin: 0 0 8px !important;
  padding: 0 !important;
  float: none !important;
  max-width: 100% !important;
  width: 100% !important;
}
.products-grid .product-item-details > .product-price .price-box,
.home-featured-products .product-item-details > .product-price .price-box {
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
}
.products-grid .product-item-details > .product-price .old-price,
.home-featured-products .product-item-details > .product-price .old-price {
  order: 1 !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.products-grid .product-item-details > .product-price .old-price .price,
.home-featured-products .product-item-details > .product-price .old-price .price {
  font-size: 14px !important;
  color: #6d6e72 !important;
  text-decoration: line-through !important;
  display: inline-block !important;
  font-weight: 400 !important;
}
.products-grid .product-item-details > .product-price .special-price,
.home-featured-products .product-item-details > .product-price .special-price {
  order: 2 !important;
}
.products-grid .product-item-details > .product-price .special-price .price,
.home-featured-products .product-item-details > .product-price .special-price .price {
  font-size: 22px !important;
  line-height: 1 !important;
  display: inline-block !important;
  font-family: "Proximanova-Bold", "Proxima Nova", sans-serif !important;
  color: #f8a430 !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}
.products-grid .price-save,
.home-featured-products .price-save {
  display: inline-block !important;
  order: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Proximanova, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6b645e !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

/* One-line use case under the price (injected by JS) */
.products-grid .tile-desc,
.home-featured-products .tile-desc {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-family: Proximanova, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #5c564f !important;
}

/* Specs: icon grid first, then concrete highlights. Always stacked,
   including on wide homepage cards. */
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs {
  display: flex !important;
  flex-direction: column !important;
  font-size: 16px !important;
  margin: 0 0 4px !important;
  gap: 8px !important;
  flex: 0 1 auto !important;
}

/* Icon grid */
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right {
  order: 1 !important;
  font-size: 12px !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  vertical-align: top !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  gap: 6px 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  text-align: left !important;
  line-height: 1.25 !important;
  color: #3a3530 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li > img,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li > img {
  max-width: 16px !important;
  max-height: 16px !important;
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: 0 !important;
  flex: 0 0 16px !important;
  object-fit: contain !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li > span,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-right > ul > li > span {
  display: inline !important;
  color: #3a3530 !important;
  white-space: nowrap !important;
}

/* Concrete highlights — check marks, not orange bullets */
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left {
  order: 2 !important;
  font-size: 13px !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  vertical-align: top !important;
  padding-right: 0 !important;
  margin: 2px 0 0 !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li {
  font-size: 12px !important;
  line-height: 16px !important;
  margin-bottom: 3px !important;
  padding-left: 18px !important;
  position: relative !important;
  color: #3a3530 !important;
  list-style: none !important;
  background: none !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li:last-child,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li:last-child {
  margin-bottom: 0 !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li::before,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-specs .specs-left > ul > li::before {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  top: 4px !important;
  width: 8px !important;
  height: 5px !important;
  background: none !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: 1.8px solid #C4842A !important;
  border-bottom: 1.8px solid #C4842A !important;
  border-radius: 0 !important;
  transform: rotate(-45deg) !important;
}

/* CTA block: only the button remains here; price was moved up.
   Leftover equal-height space sits above the button. */
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  clear: both !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(40, 32, 24, 0.08) !important;
  gap: 0 !important;
  width: 100% !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart {
  float: none !important;
  max-width: 100% !important;
  width: 100% !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart .product-item-actions,
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart .product-item-actions .actions-primary,
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart .product-item-actions .actions-primary .tocart.primary,
.home-featured-products .products-grid .product-items .product-item .product-item-info .product-item-details .product-price-cart .product-cart .product-item-actions .actions-primary .tocart.primary {
  padding: 10px 18px !important;
  font-size: 13px !important;
  border-radius: 25px !important;
  -moz-border-radius: 25px !important;
  -webkit-border-radius: 25px !important;
  color: #333 !important;
  opacity: 1 !important;
  line-height: 16px !important;
  background: #f7a432 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  border: 0 !important;
  font-weight: 400 !important;
  font-family: "Proximanova-SemiBold", "Proxima Nova", sans-serif !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-sizing: border-box !important;
}

/* Financing: drop the peach slab. Quiet text row with a calendar icon
   (JS swaps the inner markup; these rules also tame the original copy). */
.products-grid .containerkal {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  text-align: left !important;
  box-shadow: none !important;
}
.products-grid .containerkal p {
  margin: 0 !important;
  padding: 0 !important;
}
.products-grid .containerkal a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 0 2px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #5c564f !important;
  text-decoration: none !important;
  font-family: Proximanova, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  transition: color 0.2s ease !important;
}
.products-grid .containerkal a:hover {
  color: #2f2b27 !important;
}
.products-grid .containerkal .fin-icon {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  color: #C4842A !important;
  display: block !important;
}
.products-grid .containerkal .fin-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1px !important;
  min-width: 0 !important;
}
.products-grid .containerkal .fin-copy .fin-title {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #3a3530 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.products-grid .containerkal .fin-copy .fin-sub {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: #7a726b !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.products-grid .containerkal .nowrap {
  white-space: nowrap !important;
}

/* ------------------------------------------------------------------
   4. DIMENSION FILTER — tap-to-open popover
   Replaces the tall size list with a compact “Any size” field.
   The panel is position:fixed (appended to the body) so sidebar
   overflow cannot clip it. On small screens it becomes a bottom sheet.
   ------------------------------------------------------------------ */

.sidebar.sidebar-main,
.sidebar.sidebar-main .block.filter,
#layered-filter-block,
#layered-filter-block .filter-content,
#layered-filter-block .filter-options,
#layered-filter-block .filter-options-item,
#layered-filter-block .filter-options-content {
  overflow: visible !important;
}

.filter-options-item[data-dim-pop-ready] .filter-options-content > ol.items {
  display: none !important;
}

.filter-current.gazebo-dim-current-hidden,
.filter-current .item.gazebo-dim-current-hidden,
.block.filter .filter-current.gazebo-dim-current-hidden,
.filter-actions.gazebo-dim-current-hidden,
.block-actions.filter-actions.gazebo-dim-current-hidden,
.action.clear.filter-clear.gazebo-dim-current-hidden {
  display: none !important;
}

.dim-pop-wrap,
.dim-pop-wrap * {
  box-sizing: border-box;
}

.dim-pop-wrap {
  position: relative;
  padding: 2px 0 8px;
}

.dim-pop-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff !important;
  border: 1px solid #e6e1db !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(40, 32, 24, 0.04);
  color: #3a3530 !important;
  min-height: 40px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none !important;
}

.dim-pop-trigger.is-open {
  border-color: #F7A432 !important;
  box-shadow: 0 0 0 3px rgba(247, 164, 50, 0.2);
}

.dim-pop-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dim-pop-summary {
  font-size: 13px;
  font-weight: 600;
  color: #3a3530;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dim-pop-picks {
  font-size: 11px;
  color: #7a726b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dim-pop-chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  color: #8a837c;
  transition: transform 0.15s ease;
}

.dim-pop-trigger.is-open .dim-pop-chevron {
  transform: rotate(180deg);
  color: #C4842A;
}

#gazebo-dim-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 32, 24, 0.35);
  z-index: 399;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#gazebo-dim-overlay.is-open {
  display: block;
}

#gazebo-dim-panel {
  display: none;
  position: fixed;
  width: 312px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(40, 32, 24, 0.14), 0 4px 10px rgba(40, 32, 24, 0.06);
  border: 1px solid rgba(40, 32, 24, 0.07);
  padding: 14px 14px 12px;
  z-index: 400;
  box-sizing: border-box;
  font-family: "Proxima Nova", Proximanova-Regular, "proxima-nova", Arial, sans-serif;
}

#gazebo-dim-panel.is-open {
  display: block;
}

#gazebo-dim-panel .dim-pop-caret {
  position: absolute;
  left: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px 2px 3px rgba(40, 32, 24, 0.05);
  border-left: 1px solid rgba(40, 32, 24, 0.07);
  border-bottom: 1px solid rgba(40, 32, 24, 0.07);
  z-index: 1;
}

#gazebo-dim-panel .dim-pop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

#gazebo-dim-panel .dim-pop-title {
  font-size: 13px;
  font-weight: 600;
  color: #3a3530;
}

#gazebo-dim-panel .dim-pop-clear {
  color: #C4842A !important;
  font-weight: 600;
  background: none !important;
  border: none !important;
  cursor: pointer;
  font-size: 12px;
  padding: 0 !important;
  font-family: inherit;
  line-height: 1.3;
  box-shadow: none !important;
}

#gazebo-dim-panel .dim-pop-clear[hidden] {
  display: none !important;
}

#gazebo-dim-panel .dim-pop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 2;
}

#gazebo-dim-panel .dim-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 11px;
  border-radius: 20px;
  border: 1px solid #e6e1db;
  background: #fff;
  font-size: 12px;
  color: #3a3530;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: 0 1px 1px rgba(40, 32, 24, 0.03);
  font-family: inherit;
  text-decoration: none !important;
}

#gazebo-dim-panel .dim-chip.is-on {
  background: #FFF4E5;
  border-color: #F7A432;
  color: #3a3530;
  font-weight: 600;
  box-shadow: none;
}

#gazebo-dim-panel .dim-chip .cnt {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: #9a938c;
  min-width: 14px;
  text-align: center;
}

#gazebo-dim-panel .dim-chip.is-on .cnt {
  color: #C4842A;
}

#gazebo-dim-panel .dim-pop-empty {
  font-size: 12px;
  color: #7a726b;
  padding: 8px 0;
}

#gazebo-dim-panel .dim-pop-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #efeae4;
  position: relative;
  z-index: 2;
}

#gazebo-dim-panel .dim-pop-done {
  background: #F7A432 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(40, 32, 24, 0.08);
  font-family: inherit;
  line-height: 1.2;
}

@media (max-width: 767px) {
  #gazebo-dim-panel {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 82vh;
    overflow: auto;
    border-radius: 20px 20px 0 0;
    /* Extra bottom padding so Done clears the store's Help launcher. */
    padding: 16px 16px calc(72px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(40, 32, 24, 0.16);
    z-index: 1000000;
  }
  #gazebo-dim-overlay {
    z-index: 999999;
  }
  #gazebo-dim-panel .dim-pop-caret {
    display: none;
  }
  #gazebo-dim-panel .dim-chip {
    padding: 8px 12px 8px 13px;
    font-size: 13px;
  }
  #gazebo-dim-panel .dim-pop-foot {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-bottom: 4px;
  }
  #gazebo-dim-panel .dim-pop-done {
    padding: 10px 22px !important;
    font-size: 14px;
    min-height: 40px;
  }
  body.dim-pop-open {
    overflow: hidden !important;
  }
  /* The Help iframe (z-index 999998) otherwise covers Done. */
  body.dim-pop-open iframe#launcher,
  body.dim-pop-open #launcher {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ========================================================================
   5. Fluid page width — grows with the window, caps at 1600px.
      Desktop/tablet only (min-width 768px). Mobile is unchanged.
   ======================================================================== */

@media (min-width: 768px) {
  .panel.header,
  .page-header .header.panel,
  .header.content,
  .page-main,
  #maincontent.page-main,
  .footer.content,
  .page-footer .footer.content,
  .breadcrumbs,
  .page-wrapper > .widget,
  .page-wrapper > .page-bottom,
  .block.category.event,
  .top-container,
  [data-content-type="row"][data-appearance="contained"],
  [data-content-type="row"][data-appearance="full-width"] > .row-full-width-inner {
    max-width: 1600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: clamp(16px, 2.5vw, 48px) !important;
    padding-right: clamp(16px, 2.5vw, 48px) !important;
  }

  /* footer-row uses negative margins to fill the parent padding — match the new gutters. */
  .page-footer .footer-row,
  .page-footer .footer-top .footer-row,
  .page-footer .footer-midddle .footer-row {
    margin-left: calc(-1 * clamp(16px, 2.5vw, 48px)) !important;
    margin-right: calc(-1 * clamp(16px, 2.5vw, 48px)) !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  /* Sit beside the 135px logo — width:100% wraps this column under the logo. */
  .header-middle-right,
  .page-wrapper .page-header .header.content .header-middle-right {
    width: calc(100% - 135px) !important;
    max-width: none !important;
    box-sizing: border-box !important;
    float: right !important;
  }
  .header-middle-right-top,
  .header-middle-right-bottom,
  .sections.nav-sections,
  .section-items.nav-sections-items,
  #store.menu,
  .navigation,
  .navigation .ui-menu {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}


/* ========================================================================
   6. Homepage hero full-bleed + services seam + Owl overflow clip.
      Desktop/tablet only (min-width 768px). Mobile is unchanged.
      The 1600 cap on .page-main boxed in a banner that used to be
      full-viewport. This breaks the hero (and the services gray band)
      out to the viewport edges. Services' -25px overlap is removed so
      the two meet in a clean seam instead of sitting on the photo.
   ======================================================================== */

@media (min-width: 768px) {
  /* Homepage hero: break out of the padded 1600px column and fill the viewport.
     Before the width work, homepage .page-main was max-width: 100%, so this
     banner was already full-bleed. The 1600 cap boxed it in. */
  .cms-index-index .top-banner-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }
  .cms-index-index .top-banner-wrapper .top-banner-main,
  .cms-index-index .top-banner-wrapper .item,
  .cms-index-index .top-banner-wrapper .item > div {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  /* Keep float and the 240/170 padding — they set the 674px height. */
  .cms-index-index .top-banner-wrapper .slider-content {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  /* "50% OFF" copy stays aligned with the header content column. */
  .cms-index-index .top-banner-wrapper .slider-content > .page-main {
    max-width: 1600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 2.5vw, 48px) !important;
    padding-right: clamp(16px, 2.5vw, 48px) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .cms-index-index .top-banner-wrapper .slider-content > .page-main::after {
    content: "";
    display: table;
    clear: both;
  }

  /* Services row: it had margin-top: -25px, which tucks it over the banner.
     Fine when both were the same width; messy once the hero is full-bleed.
     Sit it flush below, and stretch its gray band to the full window so
     it meets the photo as a clean seam. Icons stay in the 1600px column. */
  .cms-index-index .home-services-block {
    margin-top: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    background-color: #f6f6f6 !important;
    overflow-x: hidden !important;
  }
  .cms-index-index .home-services-block > .page-main {
    max-width: 1600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 2.5vw, 48px) !important;
    padding-right: clamp(16px, 2.5vw, 48px) !important;
    box-sizing: border-box !important;
  }

  /* Owl stages are thousands of pixels wide (clones). Clip them so they
     can't spill into the side margins or stretch the page. */
  #home-product-slider,
  #home-product-slider .owl-wrapper-outer,
  .testimonials-slider,
  .testimonials-slider .owl-wrapper-outer,
  .blogs-slider,
  .blogs-slider .owl-wrapper-outer,
  .owl-carousel .owl-wrapper-outer {
    overflow: hidden !important;
  }
}
