/* Onliweb Smart Cart — página de carrinho Norma */
body.woocommerce-cart .owsc-cart-page,
.owsc-cart-page{
  --owsc-cart-ink:#322922;
  --owsc-cart-brown:#6F380D;
  --owsc-cart-blush:#EBDAD3;
  --owsc-cart-line:#E3DAD4;
  --owsc-cart-muted:#887E78;
  width:min(calc(100% - 64px),1420px);
  margin:34px auto 64px;
  color:var(--owsc-cart-ink);
  font-family:Montserrat, sans-serif;
  box-sizing:border-box;
}
.owsc-cart-page *,
.owsc-cart-page *:before,
.owsc-cart-page *:after{box-sizing:border-box}
.owsc-cart-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1.95fr) minmax(340px, .95fr);
  gap:24px;
  align-items:start;
}
.owsc-cart-main-column{min-width:0}
.owsc-cart-page-heading{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 26px;
  margin:0 0 22px;
  border:1px solid var(--owsc-cart-line);
  border-radius:12px;
  background:#fff;
}
.owsc-cart-page-heading-title{display:flex;align-items:center;gap:13px}
.owsc-cart-heading-icon{display:flex;align-items:center;justify-content:center;color:var(--owsc-cart-ink)}
.owsc-cart-page-heading h1{margin:0;color:var(--owsc-cart-ink);font-size:23px;font-weight:750;line-height:1.2}
.owsc-cart-product-count{color:#77716d;font-size:15px;white-space:nowrap}
.owsc-cart-items-list{display:flex;flex-direction:column;gap:14px}
.owsc-cart-product{
  display:grid;
  grid-template-columns:92px minmax(0,1fr) auto;
  gap:20px;
  align-items:start;
  padding:22px;
  border:1px solid var(--owsc-cart-line);
  border-radius:12px;
  background:#fff;
}
.owsc-cart-product-image{width:92px;aspect-ratio:3/4;overflow:hidden;border:1px solid #eee7e2;border-radius:8px;background:#faf8f6}
.owsc-cart-product-image a,.owsc-cart-product-image img{display:block;width:100%;height:100%}
.owsc-cart-product-image img{object-fit:cover}
.owsc-cart-product-details{min-width:0}
.owsc-cart-product-title{margin:2px 0 7px;font-size:15px;font-weight:700;line-height:1.4}
.owsc-cart-product-title a{color:var(--owsc-cart-ink);text-decoration:none}
.owsc-cart-product-reference{margin:0 0 5px;color:var(--owsc-cart-muted);font-size:12px}
.owsc-cart-product-variation{margin:0;color:var(--owsc-cart-ink);font-size:14px;font-weight:650}
.owsc-cart-product-variation dl{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0}
.owsc-cart-product-variation dt,.owsc-cart-product-variation dd{display:inline;margin:0}
.owsc-cart-product-variation dd p{display:inline;margin:0}
.owsc-cart-product-controls{display:flex;align-items:center;gap:18px;margin-top:18px}
.owsc-cart-quantity{display:inline-flex;align-items:center;height:44px;border:1px solid #d9d1cc;border-radius:9px;overflow:hidden;background:#fff}
.owsc-cart-quantity button{width:42px;height:42px;border:0;background:#faf9f8;color:var(--owsc-cart-ink);font-size:21px;cursor:pointer}
.owsc-cart-quantity button:hover{background:var(--owsc-cart-blush)}
.owsc-cart-quantity input{width:54px;height:42px;padding:0 4px;border:0;border-left:1px solid #e4ded9;border-right:1px solid #e4ded9;border-radius:0;text-align:center;color:var(--owsc-cart-ink);font:600 15px Montserrat,sans-serif;appearance:textfield;-moz-appearance:textfield}
.owsc-cart-quantity input::-webkit-inner-spin-button,.owsc-cart-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.owsc-cart-remove{display:inline-flex;align-items:center;gap:5px;color:#766d67;text-decoration:none;font-size:12px}
.owsc-cart-remove:hover{color:#9b342b}
.owsc-cart-remove>span:first-child{font-size:20px;line-height:1}
.owsc-cart-product-price{padding-top:3px;color:#171310;font-size:16px;font-weight:750;white-space:nowrap}
.owsc-cart-form-actions{height:0;overflow:hidden}
.owsc-cart-update-button{position:absolute;left:-9999px}
.owsc-cart-trust-badges{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin:30px 0 0;padding:0 12px}
.owsc-cart-trust-badges img{display:block;width:98px;max-width:98px;max-height:39px;height:auto;object-fit:contain}
.owsc-cart-summary{
  padding:30px;
  border:1px solid #e2dfe5;
  border-radius:14px;
  background:#f7f6f8;
}
.owsc-cart-summary h2{margin:0 0 24px;color:var(--owsc-cart-ink);font-size:19px;font-weight:750}
.owsc-cart-preparation{margin:0 0 22px;color:#4da95b;text-align:center;font-size:14px;font-weight:700;line-height:1.5}
.owsc-cart-summary-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:0 0 18px;color:#282321;font-size:13px;line-height:1.45}
.owsc-cart-summary-row>strong{text-align:right;font-weight:600}
.owsc-cart-summary-row .amount{white-space:nowrap}
.owsc-cart-coupon{margin:0 0 18px}
.owsc-coupon-toggle{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:0;border:0;background:transparent;color:#282321;text-align:left;font:500 14px Montserrat,sans-serif;cursor:pointer}
.owsc-coupon-toggle-label{color:#5f5751;white-space:nowrap}
.owsc-coupon-form{display:flex;gap:8px;margin:13px 0 0}
.owsc-coupon-form[hidden]{display:none!important}
.owsc-coupon-form input{min-width:0;flex:1;height:43px;padding:0 12px;border:1px solid #d8cec7;border-radius:8px;background:#fff;font:14px Montserrat,sans-serif}
.owsc-coupon-form button{padding:0 15px;border:0;border-radius:8px;background:var(--owsc-cart-brown);color:#fff;font:650 13px Montserrat,sans-serif;cursor:pointer}
.owsc-cart-applied-coupon{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:13px}
.owsc-cart-shipping{margin:0 0 17px}
.owsc-cart-shipping-heading{margin-bottom:8px}
.owsc-cart-shipping-methods{font-size:13px}
.owsc-cart-shipping-methods ul{margin:0;padding:0;list-style:none}
.owsc-cart-shipping-methods li{margin:7px 0}
.owsc-cart-shipping-methods label{display:inline-flex;gap:7px;align-items:center}
.owsc-cart-shipping-methods .woocommerce-shipping-destination{margin:8px 0;color:var(--owsc-cart-muted);font-size:12px;line-height:1.5}
.owsc-cart-shipping-methods .shipping-calculator-button{color:var(--owsc-cart-brown);font-weight:650;text-decoration:underline}
.owsc-cart-shipping-methods .shipping-calculator-form{margin-top:12px}
.owsc-cart-shipping-methods .form-row{margin:8px 0}
.owsc-cart-shipping-methods select,.owsc-cart-shipping-methods input{width:100%;min-height:40px;border:1px solid #d8cec7;border-radius:7px;background:#fff;padding:8px}
.owsc-cart-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin:22px 0 8px;padding-top:18px;border-top:1px solid #ded8d4;color:#171310;font-size:16px;font-weight:750}
.owsc-cart-summary-total>strong{font-size:22px;text-align:right}
.owsc-cart-summary-total small{font-size:12px}
.owsc-cart-checkout-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:60px;margin:32px 0 0;padding:15px 20px;border:0;border-radius:10px;background:#322922;color:#fff;text-align:center;text-decoration:none;font:650 14px Montserrat,sans-serif;transition:background .2s,transform .2s}
.owsc-cart-checkout-button:hover{background:#6F380D;color:#fff;transform:translateY(-1px)}
.owsc-cart-continue{display:block;margin:22px 0 0;color:#514943;text-align:center;text-decoration:none;font-size:13px;font-weight:550}
.owsc-cart-continue:hover{color:var(--owsc-cart-brown);text-decoration:underline}
.owsc-cart-empty-state{max-width:540px;margin:70px auto;padding:50px 24px;border:1px solid var(--owsc-cart-line);border-radius:14px;text-align:center}
.owsc-cart-empty-icon{font-size:42px;color:var(--owsc-cart-brown)}
.owsc-cart-empty-state h1{margin:12px 0;font-size:26px}
.owsc-cart-empty-state p{color:var(--owsc-cart-muted)}
.owsc-cart-empty-state .owsc-cart-checkout-button{max-width:300px;margin:25px auto 0}
.owsc-cart-page-message{max-width:900px;margin:30px auto;padding:20px;border:1px solid #eadfda;border-radius:10px}
@media(max-width:1024px){
  .owsc-cart-page{width:min(calc(100% - 40px),900px);margin:26px auto 48px}
  .owsc-cart-page-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px}
  .owsc-cart-product{grid-template-columns:78px minmax(0,1fr);gap:14px;padding:17px}
  .owsc-cart-product-image{width:78px;grid-row:1 / span 2}
  .owsc-cart-product-price{grid-column:2;padding:0;font-size:18px}
  .owsc-cart-summary{padding:23px}
}
@media(max-width:767px){
  .owsc-cart-page{
    width:calc(100vw - 24px);
    max-width:none;
    position:relative;
    left:50%;
    transform:translateX(-50%);
    margin:0;
    padding:12px 10px 26px;
  }
  .owsc-cart-page-grid{display:flex;flex-direction:column;gap:12px}
  .owsc-cart-main-column,.owsc-cart-summary-column{width:100%}
  .owsc-cart-page-heading{min-height:66px;margin-bottom:14px;padding:13px 15px;border-radius:10px}
  .owsc-cart-page-heading-title{gap:9px}
  .owsc-cart-heading-icon svg{width:25px;height:25px}
  .owsc-cart-page-heading h1{font-size:21px}
  .owsc-cart-product-count{font-size:13px}
  .owsc-cart-items-list{gap:11px}
  .owsc-cart-product{grid-template-columns:62px minmax(0,1fr);gap:11px;padding:13px;border-radius:10px}
  .owsc-cart-product-image{width:62px;grid-column:1;grid-row:1 / span 3;border-radius:7px}
  .owsc-cart-product-details{grid-column:2;grid-row:1 / span 2}
  .owsc-cart-product-title{margin:0 0 5px;font-size:14px;line-height:1.35}
  .owsc-cart-product-reference{font-size:12px;margin-bottom:4px}
  .owsc-cart-product-variation{font-size:12px}
  .owsc-cart-product-price{grid-column:2;grid-row:3;padding:0;font-size:16px}
  .owsc-cart-product-controls{gap:12px;margin-top:12px}
  .owsc-cart-quantity{height:37px}
  .owsc-cart-quantity button{width:34px;height:35px;font-size:18px}
  .owsc-cart-quantity input{width:42px;height:35px;font-size:13px}
  .owsc-cart-remove{font-size:11px}
  .owsc-cart-trust-badges{gap:10px;margin:14px 0 2px;padding:0 3px}
  .owsc-cart-trust-badges img{max-width:105px;max-height:38px}
  .owsc-cart-summary{width:100%;padding:19px 16px;border-radius:12px}
  .owsc-cart-summary h2{margin-bottom:16px;font-size:19px}
  .owsc-cart-preparation{margin-bottom:18px;font-size:14px}
  .owsc-cart-summary-row,.owsc-coupon-toggle{font-size:14px}
  .owsc-cart-summary-total{font-size:16px}
  .owsc-cart-summary-total>strong{font-size:23px}
  .owsc-cart-checkout-button{min-height:52px;margin-top:20px;border-radius:9px;font-size:15px}
  .owsc-cart-continue{margin-top:15px;font-size:13px}
}


/* 0.7.2 — notificações discretas estilo macOS, sem alertas em faixa larga. */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper{
  position:fixed!important;
  top:22px!important;
  right:22px!important;
  left:auto!important;
  z-index:999999!important;
  width:min(410px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  margin:0!important;
  pointer-events:none!important;
}
body.woocommerce-cart .woocommerce-notices-wrapper ul,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error{
  position:relative!important;
  display:block!important;
  margin:0 0 9px!important;
  padding:15px 18px 15px 46px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.82)!important;
  color:#322922!important;
  box-shadow:0 12px 36px rgba(35,27,22,.16),0 2px 8px rgba(35,27,22,.08)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
  backdrop-filter:blur(22px) saturate(150%)!important;
  font:500 13px/1.45 Montserrat,sans-serif!important;
  list-style:none!important;
  pointer-events:auto!important;
  animation:owscToastIn .32s cubic-bezier(.2,.8,.2,1) both;
}
body.woocommerce-cart .woocommerce-notices-wrapper ul:before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message:before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info:before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error:before{
  position:absolute!important;
  left:16px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:19px!important;
  height:19px!important;
  border:0!important;
  border-radius:50%!important;
  background:#69a86d!important;
  color:#fff!important;
  content:"✓"!important;
  font:700 12px/1 Arial,sans-serif!important;
}
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error:before{
  content:"!"!important;
  background:#b85b50!important;
}
body.woocommerce-cart .woocommerce-notices-wrapper a{
  color:#9a5572!important;
  text-decoration:none!important;
  font-weight:650!important;
}
body.woocommerce-cart .woocommerce-notices-wrapper a:hover{text-decoration:underline!important}
body.woocommerce-cart .woocommerce-notices-wrapper .restore-item{font-weight:650!important}
body.woocommerce-cart .woocommerce-notices-wrapper .button,
body.woocommerce-cart .woocommerce-notices-wrapper .wc-forward{
  float:none!important;
  margin:0 0 0 7px!important;
}
@keyframes owscToastIn{
  from{opacity:0;transform:translate3d(18px,-5px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@media(max-width:767px){
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper{
    top:12px!important;
    right:12px!important;
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
  body.woocommerce-cart .woocommerce-notices-wrapper ul,
  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error{
    padding:13px 14px 13px 42px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }
}


.owsc-cart-trust-badges{align-items:center}
.owsc-cart-trust-badges img{width:130px;max-width:130px;max-height:48px;object-fit:contain}
@media(max-width:767px){
  .owsc-cart-trust-badges img{width:clamp(82px,26vw,112px);max-width:112px;max-height:42px}
}

.owsc-cart-trust-badges-mobile{display:none}
@media(max-width:767px){
  .owsc-cart-trust-badges-desktop{display:none!important}
  .owsc-cart-trust-badges-mobile{
    display:flex!important;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;
    gap:10px;
    width:100%;
    margin:10px auto 0;
    padding:0 2px;
  }
  .owsc-cart-trust-badges-mobile img{
    display:block;
    width:clamp(54px,17vw,70px);
    max-width:70px;
    max-height:27px;
    height:auto;
    object-fit:contain;
  }
  /* Break out of narrow Elementor/theme inner wrappers and use the viewport width. */
  .owsc-cart-page{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    margin-right:0!important;
    padding:10px 8px 24px!important;
  }
  .owsc-cart-page-grid{width:100%;gap:12px}
  .owsc-cart-main-column,.owsc-cart-summary-column{width:100%;min-width:0}
}


/* 0.7.4 — refinamento exclusivo do desktop */
@media(min-width:768px){
  .owsc-cart-page-heading h1{
    font-size:20px!important;
  }
  .owsc-cart-trust-badges-desktop{
    gap:14px!important;
    margin-top:24px!important;
    padding-left:10px!important;
  }
  .owsc-cart-trust-badges-desktop img{
    width:68px!important;
    max-width:68px!important;
    max-height:28px!important;
  }
}


/* 0.9.9 — remoção AJAX integrada e notificações próprias do carrinho. */
.owsc-cart-product{transition:opacity .22s ease,transform .22s ease}
.owsc-cart-product.owsc-cart-product-removing{opacity:.42;transform:scale(.99);pointer-events:none}
.owsc-cart-remove[aria-disabled="true"]{pointer-events:none;opacity:.55}
.owsc-cart-toast{
  position:fixed;top:22px;right:22px;z-index:1000005;
  display:flex;align-items:center;gap:12px;width:min(390px,calc(100vw - 32px));
  padding:14px 15px;border:1px solid rgba(255,255,255,.8);border-radius:13px;
  background:rgba(255,255,255,.94);color:#322922;
  box-shadow:0 14px 38px rgba(35,27,22,.17),0 2px 9px rgba(35,27,22,.07);
  -webkit-backdrop-filter:blur(22px) saturate(155%);backdrop-filter:blur(22px) saturate(155%);
  font-family:Montserrat,Arial,sans-serif;opacity:0;transform:translate3d(12px,-5px,0);
  transition:opacity .24s ease,transform .24s ease;
}
.owsc-cart-toast.is-visible{opacity:1;transform:translate3d(0,0,0)}
.owsc-cart-toast-icon{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#70a85a;color:#fff;font:700 13px/1 Arial,sans-serif}
.owsc-cart-toast--error .owsc-cart-toast-icon{background:#b85b50}
.owsc-cart-toast-content{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;font-size:12px;line-height:1.45}
.owsc-cart-toast-content strong{font-size:12px;font-weight:700}
.owsc-cart-toast-close{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#786b63;font-size:21px;line-height:1;cursor:pointer}
.owsc-cart-toast-close:hover{background:#f2eeeb;color:#322922}
@media(max-width:767px){
  .owsc-cart-toast{top:12px;right:12px;width:calc(100vw - 24px);padding:12px;border-radius:12px}
}
