
html,body{overflow-x:clip!important}

.elementor-widget-glowie_bestsellers_cardmatch,
.elementor-widget-glowie_bestsellers_cardmatch>.elementor-widget-container{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important
}

.gbm-section{
  --gbm-screen-width:100%;
  --gbm-breakout:0px;
  --gbm-bg-1:#E9F0E7;
  --gbm-bg-2:#F4EBDD;
  width:var(--gbm-screen-width);
  max-width:none;
  position:relative;
  left:var(--gbm-breakout);
  margin:0;
  overflow:hidden;
  box-sizing:border-box;
  padding:36px 0;
  font-family:Manrope,Arial,sans-serif;
  background:
    radial-gradient(circle at 9% 15%,rgba(215,182,126,.22),transparent 29%),
    radial-gradient(circle at 88% 12%,rgba(116,165,137,.20),transparent 28%),
    linear-gradient(135deg,var(--gbm-bg-1) 0%,#F5F7F2 50%,var(--gbm-bg-2) 100%)
}
.gbm-section:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:-170px;
  bottom:-165px;
  border:1px solid rgba(36,88,59,.08);
  border-radius:50%;
  pointer-events:none
}
.gbm-shell{width:100%;max-width:none;padding:0 24px;box-sizing:border-box;position:relative;z-index:2}
.gbm-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:26px
}
.gbm-eyebrow{
  color:#15563F;
  font-size:11px;
  line-height:1;
  letter-spacing:.22em;
  font-weight:850;
  margin-bottom:8px
}
.gbm-title{
  margin:0;
  color:#432F26;
  font-family:Prata,Georgia,serif;
  font-size:52px;
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:400
}
.gbm-shop{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 17px;
  border:1px solid #164F3A;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  color:#164F3A;
  text-decoration:none;
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  transition:.28s ease
}
.gbm-shop svg{
  width:16px;height:16px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .28s ease
}
.gbm-shop:hover{
  background:#164F3A;
  color:#FFFFFF;
  transform:translateY(-2px);
  box-shadow:0 9px 22px rgba(22,79,58,.18)
}
.gbm-shop:hover svg{transform:translateX(4px)}

.gbm-grid{
  --gbm-cols:4;
  width:100%;
  display:grid;
  grid-template-columns:repeat(var(--gbm-cols),minmax(0,1fr));
  gap:16px
}

/* CARD PROPORTION: compact like collection card */
.gbm-card{
  min-width:0;
  border:1px solid #C7D7CB;
  border-radius:26px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 12px 34px rgba(34,63,49,.075);
  display:flex;
  flex-direction:column;
  opacity:0;
  transform:translateY(18px) scale(.99);
  transition:
    opacity .55s ease,
    transform .38s cubic-bezier(.2,.75,.2,1),
    box-shadow .38s ease,
    border-color .38s ease
}
.gbm-section.gbm-ready .gbm-card{opacity:1;transform:none}
.gbm-section.gbm-ready .gbm-card:nth-child(2){transition-delay:.05s}
.gbm-section.gbm-ready .gbm-card:nth-child(3){transition-delay:.10s}
.gbm-section.gbm-ready .gbm-card:nth-child(4){transition-delay:.15s}

/* Image is ALWAYS square */
.gbm-image{
  width:100%;
  aspect-ratio:1/1;
  min-height:0;
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:24px 24px 0 0;
  background:#DCE6D9;
  flex:0 0 auto
}
.gbm-card:nth-child(4n+1) .gbm-image{background:#E8D7B8}
.gbm-card:nth-child(4n+2) .gbm-image{background:#D5E5D8}
.gbm-card:nth-child(4n+3) .gbm-image{background:#E6D6D0}
.gbm-card:nth-child(4n+4) .gbm-image{background:#E2D0AD}
.gbm-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  margin:0;
  padding:0;
  transition:transform .48s cubic-bezier(.2,.75,.2,1),filter .38s ease
}
.gbm-size-label{
  position:absolute;
  left:12px;
  top:11px;
  z-index:3;
  color:#14573E;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
  background:rgba(255,255,255,.70);
  padding:5px 8px;
  border-radius:999px;
  backdrop-filter:blur(5px)
}

/* No white bottom: GLOWIE sage/ivory tinted panel */
.gbm-info{
  background:
    linear-gradient(180deg,#EAF1E9 0%,#E3ECE4 100%);
  padding:14px 15px 15px;
  display:flex;
  flex-direction:column;
  flex:1
}
.gbm-product-title{
  color:#214D3A;
  font-family:Prata,Georgia,serif;
  font-size:22px;
  line-height:1.1;
  letter-spacing:-.02em;
  text-decoration:none;
  font-weight:500
}
.gbm-size-chips{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:7px
}
.gbm-size-chips span{
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(29,86,59,.17);
  background:rgba(255,255,255,.42);
  color:#365A49;
  font-size:9px;
  font-weight:750
}
.gbm-desc{
  margin-top:7px;
  color:#625F57;
  font-size:12px;
  line-height:1.4;
  font-weight:560;
  min-height:34px
}
.gbm-price{
  margin-top:7px;
  color:#114D37;
  font-size:18px;
  line-height:1.2;
  font-weight:850
}
.gbm-price del{opacity:.45;font-weight:500;margin-right:5px}
.gbm-price ins{text-decoration:none}
.gbm-dash{opacity:.45}

.gbm-actions{
  margin-top:auto;
  padding-top:11px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:7px
}
.gbm-btn{
  min-width:0;
  min-height:40px;
  border-radius:999px;
  border:1px solid #164F3A;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 10px;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  font-size:10px;
  line-height:1;
  font-weight:850;
  transition:.25s ease
}
.gbm-btn svg{
  width:15px;height:15px;flex:0 0 15px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
.gbm-primary{background:#164F3A;color:#FFFFFF}
.gbm-secondary{background:rgba(255,255,255,.48);color:#164F3A}
.gbm-disabled{
  grid-column:1/-1;
  background:#DEDCD5;
  border-color:#D3D0C8;
  color:#8B857B;
  cursor:not-allowed
}
.gbm-btn.is-loading{opacity:.72;cursor:wait}
.gbm-btn.is-added{background:#CDE3D4;color:#15583C;border-color:#8EB79A}

/* Never let Woo's injected View Cart alter layout */
.gbm-card a.added_to_cart,
.gbm-card .added_to_cart,
.gbm-card .wc-forward,
.gbm-info>a.added_to_cart{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important
}

@media(hover:hover) and (pointer:fine){
  .gbm-card:hover{
    transform:translateY(-10px) scale(1.008)!important;
    box-shadow:0 26px 58px rgba(31,65,48,.14)!important;
    border-color:rgba(28,85,58,.28)!important
  }
  .gbm-card:hover .gbm-image img{
    transform:scale(1.045)!important;
    filter:saturate(1.04) contrast(1.015)
  }
  .gbm-card:hover .gbm-product-title{color:#0F5A3B}
  .gbm-btn:hover{transform:translateY(-2px)}
  .gbm-primary:hover{box-shadow:0 8px 18px rgba(22,79,58,.20)}
  .gbm-secondary:hover{background:rgba(255,255,255,.78)}
}

/* QUICK CART */
.gbm-drawer{
  position:fixed;inset:0;z-index:999999;pointer-events:none;opacity:0;transition:opacity .28s ease
}
.gbm-drawer.is-open{opacity:1;pointer-events:auto}
.gbm-overlay{position:absolute;inset:0;border:0;background:rgba(27,31,28,.30);backdrop-filter:blur(2px);cursor:pointer}
.gbm-drawer-panel{
  position:absolute;top:0;right:0;width:min(430px,92vw);height:100%;
  background:#FFFDF9;display:flex;flex-direction:column;
  box-shadow:-24px 0 70px rgba(18,37,28,.18);
  transform:translateX(105%);transition:transform .38s cubic-bezier(.2,.75,.2,1)
}
.gbm-drawer.is-open .gbm-drawer-panel{transform:translateX(0)}
.gbm-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid #E6E6DF}
.gbm-drawer-head small{display:block;color:#15563F;font-size:9px;letter-spacing:.18em;font-weight:850;margin-bottom:3px}
.gbm-drawer-head strong{font-family:Prata,Georgia,serif;font-size:27px;font-weight:400;color:#3D2B23}
.gbm-close{border:0;background:#EFF4EF;width:38px;height:38px;border-radius:50%;font-size:26px;cursor:pointer;color:#2B4C3D}
.gbm-cart-content{flex:1;overflow:auto;padding:18px}
.gbm-cart-content .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.gbm-cart-content .woocommerce-mini-cart-item{position:relative;padding:12px 0 12px 78px;min-height:66px;border-bottom:1px solid #E9E7E1}
.gbm-cart-content .woocommerce-mini-cart-item img{position:absolute;left:0;top:10px;width:62px;height:62px;object-fit:cover;border-radius:12px}
.gbm-cart-content .remove{position:absolute;right:0;top:10px;text-decoration:none;color:#7C6C62}
.gbm-cart-content .woocommerce-mini-cart__buttons{display:none}
.gbm-cart-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px;border-top:1px solid #E5E3DD;background:#FFFDF9}
.gbm-cart-footer a{min-height:46px;border-radius:999px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:850;color:#164F3A;border:1px solid #164F3A}
.gbm-cart-footer .checkout{background:#164F3A;color:#FFFFFF}

/* Elementor */
body.elementor-editor-active .gbm-card,
.elementor-editor-preview .gbm-card,
.elementor-element-edit-mode .gbm-card{
  opacity:1!important;
  transform:none!important
}
body.elementor-editor-active .gbm-card:hover,
.elementor-editor-preview .gbm-card:hover,
.elementor-element-edit-mode .gbm-card:hover{
  transform:translateY(-10px) scale(1.008)!important
}

@media(max-width:1024px){
  .gbm-grid{--gbm-cols:2}
}
@media(max-width:767px){
  .gbm-section{width:100%!important;left:0!important;padding:24px 0}
  .gbm-shell{padding:0 10px}
  .gbm-top{align-items:flex-start;margin-bottom:18px}
  .gbm-shop{padding:9px 11px;font-size:8px}
  .gbm-grid{--gbm-cols:2;gap:10px}
  .gbm-card{border-radius:20px}
  .gbm-image{border-radius:18px 18px 0 0}
  .gbm-info{padding:10px 9px 10px}
  .gbm-product-title{font-size:17px}
  .gbm-desc{font-size:10.5px;min-height:30px}
  .gbm-price{font-size:15px}
  .gbm-actions{grid-template-columns:1fr 1fr;gap:5px;padding-top:9px}
  .gbm-btn{min-height:36px;font-size:8.5px;padding:7px 6px;gap:5px}
  .gbm-btn svg{width:13px;height:13px;flex-basis:13px}
  .gbm-size-label{font-size:7.5px;left:8px;top:8px}
  .gbm-size-chips span{font-size:7.5px}
}
@media(max-width:390px){
  .gbm-title{font-size:29px}
  .gbm-btn{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .gbm-card,.gbm-image img,.gbm-btn,.gbm-shop,.gbm-drawer-panel{transition:none!important}
  .gbm-card{opacity:1!important;transform:none!important}
}


/* =========================================================
   v1.1.0 — MOBILE 100% REBUILD
   Keeps the desktop design, fixes 2×2 mobile readability.
   ========================================================= */

@media(max-width:767px){

  .gbm-section{
    width:100%!important;
    max-width:100%!important;
    left:0!important;
    margin:0!important;
    padding:24px 0 28px!important;
    overflow:hidden!important;
  }

  .gbm-shell{
    width:100%!important;
    max-width:none!important;
    padding-left:8px!important;
    padding-right:8px!important;
    box-sizing:border-box!important;
  }

  .gbm-grid{
    --gbm-cols:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
  }

  .gbm-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    border-radius:19px!important;
    overflow:hidden!important;
  }

  /* Square product image that fills the card width cleanly */
  .gbm-image{
    width:100%!important;
    aspect-ratio:1/1!important;
    min-height:0!important;
    border-radius:18px 18px 0 0!important;
  }

  .gbm-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
    display:block!important;
  }

  .gbm-info{
    padding:11px 9px 10px!important;
    min-width:0!important;
  }

  /* Titles: readable, complete, natural wrapping */
  .gbm-product-title{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:17px!important;
    line-height:1.12!important;
    letter-spacing:-.018em!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
    min-height:38px!important;
  }

  /* More description visible; no tiny clipped copy */
  .gbm-desc{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:4!important;
    overflow:hidden!important;
    width:100%!important;
    min-height:50px!important;
    max-height:none!important;
    margin-top:6px!important;
    font-size:11px!important;
    line-height:1.32!important;
    font-weight:590!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  .gbm-price{
    margin-top:7px!important;
    font-size:16px!important;
    line-height:1.15!important;
    font-weight:850!important;
  }

  .gbm-size-label{
    left:8px!important;
    top:8px!important;
    font-size:7.5px!important;
  }

  .gbm-size-chips{
    gap:4px!important;
  }

  .gbm-size-chips span{
    padding:3px 6px!important;
    font-size:7.5px!important;
  }

  /* Buttons stay beside each other and ALL text stays visible */
  .gbm-actions{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
    gap:4px!important;
    padding-top:10px!important;
    margin-top:auto!important;
  }

  .gbm-btn{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:38px!important;
    padding:7px 4px!important;
    gap:3px!important;
    border-radius:999px!important;
    font-size:8.5px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:-.01em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  .gbm-btn svg{
    width:10px!important;
    height:10px!important;
    min-width:10px!important;
    flex:0 0 10px!important;
  }

  /* Out of stock remains full width and readable */
  .gbm-disabled{
    grid-column:1/-1!important;
    width:100%!important;
    min-height:38px!important;
    font-size:9px!important;
    padding:7px 8px!important;
  }

  /* Woo must never inject "View cart" into the mobile button row */
  .gbm-card a.added_to_cart,
  .gbm-card .added_to_cart,
  .gbm-card .wc-forward,
  .gbm-info>a.added_to_cart{
    display:none!important;
    visibility:hidden!important;
    position:absolute!important;
    inset:auto!important;
    width:0!important;
    height:0!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
}

@media(max-width:430px){

  .gbm-shell{
    padding-left:6px!important;
    padding-right:6px!important;
  }

  .gbm-grid{
    gap:7px!important;
  }

  .gbm-info{
    padding:10px 7px 9px!important;
  }

  .gbm-product-title{
    font-size:16px!important;
    line-height:1.1!important;
    min-height:36px!important;
  }

  .gbm-desc{
    font-size:10.5px!important;
    line-height:1.3!important;
    min-height:54px!important;
    -webkit-line-clamp:4!important;
  }

  .gbm-price{
    font-size:15px!important;
  }

  .gbm-actions{
    grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)!important;
    gap:3px!important;
  }

  .gbm-btn{
    min-height:36px!important;
    padding:6px 3px!important;
    gap:2px!important;
    font-size:7.9px!important;
  }

  .gbm-btn svg{
    width:9px!important;
    height:9px!important;
    min-width:9px!important;
    flex-basis:9px!important;
  }
}

@media(max-width:360px){
  .gbm-grid{gap:6px!important}

  .gbm-product-title{
    font-size:15px!important;
  }

  .gbm-desc{
    font-size:10px!important;
  }

  .gbm-btn{
    font-size:7.4px!important;
    letter-spacing:-.02em!important;
  }

  .gbm-btn svg{
    width:8px!important;
    height:8px!important;
    min-width:8px!important;
    flex-basis:8px!important;
  }
}
