/* Simple Gravel Material Units */
.sgmu-widget{
  --sgmu-orange:#ff5a1f;
  --sgmu-orange-2:#ff6a2b;
  --sgmu-ink:#111827;
  --sgmu-muted:#6b7280;
  --sgmu-border:#e5e7eb;
  --sgmu-soft:#fff8f3;
  --sgmu-green:#3dbb72;
  background:#fff;
  border:1px solid #ececec;
  border-radius:18px;
  box-shadow:0 12px 35px rgba(17,24,39,.06);
  padding:20px;
  margin:0 0 16px;
  color:var(--sgmu-ink);
  font-family:inherit;
}
.sgmu-widget *{box-sizing:border-box}
.sgmu-widget svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.sgmu-title{font-size:17px;font-weight:700;line-height:1.25;margin:0 0 12px;color:#111827}
.sgmu-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}
.sgmu-unit-option{
  appearance:none!important;-webkit-appearance:none!important;position:relative;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;width:100%;min-height:108px;
  padding:14px 42px 13px 15px!important;background:#fff!important;border:1.5px solid #dfe3e8!important;border-radius:12px!important;color:#1f2937!important;text-align:left!important;
  cursor:pointer;outline:none!important;box-shadow:none!important;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
/* Keep theme / Elementor button hover colors from bleeding into the selector. */
.sgmu-unit-option:hover,.sgmu-unit-option:focus{background:#fff!important;color:#1f2937!important;border-color:#cfd5dc!important;transform:translateY(-1px)}
.sgmu-unit-option:focus-visible{box-shadow:0 0 0 3px rgba(255,90,31,.14)!important}
.sgmu-unit-option.is-selected,.sgmu-unit-option.is-selected:hover,.sgmu-unit-option.is-selected:focus{border-color:var(--sgmu-orange)!important;background:linear-gradient(135deg,#fffaf6 0%,#fff4ec 100%)!important;color:#1f2937!important;box-shadow:0 0 0 1px rgba(255,90,31,.04)!important}
.sgmu-unit-icon{display:flex;align-items:center;justify-content:flex-start;flex:0 0 36px;width:36px;height:36px;color:var(--sgmu-orange)!important;margin:0}
.sgmu-unit-icon svg{width:34px!important;height:34px!important;color:var(--sgmu-orange)!important;stroke:var(--sgmu-orange)!important}
.sgmu-unit-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.15;margin:0}
.sgmu-unit-copy strong{font-size:16px;font-weight:700;color:#111827!important;margin:0}
.sgmu-unit-copy small{font-size:13px;color:#7b8390!important;margin-top:5px;font-weight:500;white-space:nowrap}
.sgmu-radio-dot{position:absolute;top:11px;right:11px;width:20px;height:20px;border:2px solid #d7dce2;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#fff;transition:.18s}
.sgmu-radio-dot span{font-size:12px;line-height:1;opacity:0;transform:scale(.7);transition:.18s}
.sgmu-unit-option.is-selected .sgmu-radio-dot{background:var(--sgmu-orange);border-color:var(--sgmu-orange)}
.sgmu-unit-option.is-selected .sgmu-radio-dot span{opacity:1;transform:scale(1)}
.sgmu-qty-label{display:block!important;font-size:15px!important;font-weight:700!important;color:#1f2937!important;margin:0 0 9px!important}
.sgmu-qty-control{display:grid;grid-template-columns:66px 1fr 66px;align-items:stretch;height:54px;border:1.5px solid #e2e5e9;border-radius:10px;overflow:hidden;background:#fff;box-shadow:inset 0 1px 0 rgba(17,24,39,.01)}
.sgmu-qty-btn{appearance:none!important;-webkit-appearance:none!important;position:relative!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:#f7f8fa!important;color:#111827!important;font-size:0!important;font-weight:300!important;line-height:0!important;cursor:pointer!important;box-shadow:none!important;display:block!important;align-self:stretch!important;min-width:0!important;min-height:0!important;transition:background .18s,color .18s}
/* Draw the +/- ourselves so both symbols are mathematically centered, independent of font glyph metrics. */
.sgmu-qty-btn::before,.sgmu-qty-btn::after{content:""!important;position:absolute!important;left:50%!important;top:50%!important;display:block!important;background:currentColor!important;border:0!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important;pointer-events:none!important}
.sgmu-qty-btn::before{width:14px!important;height:1.6px!important}
.sgmu-qty-btn::after{width:1.6px!important;height:14px!important}
.sgmu-minus::after{display:none!important}
.sgmu-qty-btn:hover,.sgmu-qty-btn:focus{background:#f1f3f5!important;color:var(--sgmu-orange)!important;transform:none!important;outline:none!important}
.sgmu-plus,.sgmu-plus:hover,.sgmu-plus:focus{background:#fff3ea!important;color:var(--sgmu-orange)!important;border-left:1px solid #eceff2!important}
.sgmu-minus{border-right:1px solid #eceff2!important}
.sgmu-qty-center{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;background:#fff}
.sgmu-qty-input{width:auto!important;min-width:40px!important;max-width:130px!important;height:100%!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#111827!important;font-size:22px!important;font-weight:750!important;line-height:1!important;text-align:right!important;padding:0!important;margin:0!important;-moz-appearance:textfield}
.sgmu-qty-input::-webkit-outer-spin-button,.sgmu-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sgmu-qty-suffix{font-size:14px;color:#7b8390;font-weight:600;white-space:nowrap}
.sgmu-error{display:none;margin-top:8px;color:#b42318;font-size:12px;font-weight:600;line-height:1.35}
.sgmu-error.is-visible{display:block}
.sgmu-divider{height:1px;background:#eceff2;margin:15px 0 13px}
.sgmu-total-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.sgmu-total-copy{display:flex;flex-direction:column;min-width:0}
.sgmu-total-copy small{font-size:13px;color:#77808d;font-weight:600;margin-bottom:2px}
.sgmu-total{font-size:32px!important;line-height:1.05!important;font-weight:800!important;color:#0b1320!important;letter-spacing:-.6px;white-space:nowrap}
.sgmu-total .woocommerce-Price-amount,.sgmu-total .woocommerce-Price-currencySymbol{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}
.sgmu-delivery{display:flex;align-items:center;gap:8px;color:#7b8390;font-size:13px;font-weight:600;padding-bottom:4px;white-space:nowrap}
.sgmu-delivery-check{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--sgmu-green);color:#fff;font-size:14px;font-weight:800;box-shadow:0 4px 10px rgba(61,187,114,.22)}

/* Only replace the WooCommerce controls when our widget exists. */
.sgmu-widget + table.variations,
.sgmu-form table.variations{display:none!important}
.sgmu-form .woocommerce-variation.single_variation{min-height:0!important;margin:0!important;padding:0!important}
.sgmu-form .woocommerce-variation-price,.sgmu-form .woocommerce-variation-description,.sgmu-form .woocommerce-variation-availability{display:none!important}
.sgmu-form .woocommerce-variation-add-to-cart .quantity,
.sgmu-form > .quantity{display:none!important}
.sgmu-form .single_variation_wrap{margin:0!important;padding:0!important}
.sgmu-form .woocommerce-variation-add-to-cart{display:block!important}
.sgmu-form .single_add_to_cart_button{width:100%!important;min-height:50px;margin:0!important}
.sgmu-hide-product-price .elementor-widget-woocommerce-product-price{display:none!important}
.sgmu-cart-material-qty{font-weight:700;white-space:nowrap}

@media (max-width:767px){
  .sgmu-widget{padding:16px;border-radius:15px;margin-bottom:14px}
  .sgmu-unit-grid{gap:9px}
  .sgmu-unit-option{min-height:102px;padding:12px 34px 12px 12px!important;gap:4px!important}
  .sgmu-unit-icon{flex-basis:32px;width:32px;height:32px}
  .sgmu-unit-icon svg{width:30px!important;height:30px!important}
  .sgmu-unit-copy strong{font-size:14px}
  .sgmu-unit-copy small{font-size:11.5px;white-space:normal;margin-top:5px}
  .sgmu-radio-dot{top:9px;right:9px;width:18px;height:18px}
  .sgmu-qty-control{grid-template-columns:56px 1fr 56px;height:52px}
  .sgmu-qty-input{font-size:21px!important;max-width:100px!important}
  .sgmu-total-row{align-items:center}
  .sgmu-total{font-size:29px!important}
  .sgmu-delivery{font-size:12px;white-space:normal;justify-content:flex-end;text-align:right}
}
@media (max-width:420px){
  .sgmu-unit-grid{grid-template-columns:1fr 1fr}
  .sgmu-unit-option{min-height:102px}
  .sgmu-unit-copy small{max-width:100px}
  .sgmu-total-row{align-items:flex-end}
  .sgmu-total{font-size:27px!important}
  .sgmu-delivery{max-width:120px}
}
