/* v1.9.9 - Premium mobile shopping polish */
.woocommerce ul.products li.product a img{
  aspect-ratio:5/4!important;
  object-fit:contain!important;
  background:linear-gradient(180deg,#f8f3eb,#fffaf3)!important;
}

.woocommerce-cart .cart_totals{
  overflow:hidden;
}

.woocommerce-cart .cart_totals table.shop_table{
  border:0!important;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td{
  border-color:#eadfce!important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td{
  padding-top:18px!important;
  color:#17140f;
  font-size:1.16rem!important;
  font-weight:900!important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  width:100%;
  box-shadow:0 12px 26px rgba(23,20,15,.14);
}

.woocommerce-cart table.cart .product-remove a.remove{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  min-width:44px;
  padding:0 13px!important;
  border:1px solid #efd7dc!important;
  border-radius:999px!important;
  background:#fff6f7!important;
  color:#9b1f31!important;
  font-size:0!important;
  line-height:1!important;
  text-indent:0!important;
  text-decoration:none!important;
}

.woocommerce-cart table.cart .product-remove a.remove:after{
  content:"Remove";
  font-family:var(--sm-sans);
  font-size:.72rem;
  font-weight:900;
}

.sm-cart-drawer-remove,
.sm-text-button[data-sm-account-wishlist-remove],
.sm-text-button[data-sm-guest-wishlist-remove],
.sm-box-remove,
[data-sm-delete-saved-box]{
  min-height:44px!important;
  border-color:#e7bec6!important;
  background:#fff7f8!important;
  color:#8f2731!important;
  box-shadow:0 6px 18px rgba(143,39,49,.06);
}

.sm-cart-drawer-remove:active,
.sm-text-button[data-sm-account-wishlist-remove]:active,
.sm-text-button[data-sm-guest-wishlist-remove]:active,
.sm-box-remove:active,
[data-sm-delete-saved-box]:active,
.woocommerce-cart table.cart .product-remove a.remove:active{
  transform:scale(.98);
}

@media(min-width:901px){
  .woocommerce-cart .cart-collaterals{
    position:sticky!important;
    top:28px;
  }

  .admin-bar.woocommerce-cart .cart-collaterals{
    top:60px;
  }
}

@media(max-width:900px){
  .woocommerce-cart .cart-collaterals{
    position:static!important;
  }
}

@media(max-width:767px){
  body.shopmattey-site{
    padding-bottom:calc(var(--sm-mobile-fixed-content-pad,88px) + var(--sm-safe-bottom,0px));
  }

  .woocommerce-cart .shopmattey-shop-main,
  .woocommerce-checkout .shopmattey-shop-main,
  .sm-wishlist-main,
  .sm-builder-page .shopmattey-main,
  .woocommerce-account .shopmattey-main{
    padding-bottom:calc(108px + var(--sm-safe-bottom,0px))!important;
  }

  .woocommerce-cart .sm-whatsapp-fab,
  .woocommerce-checkout .sm-whatsapp-fab,
  .sm-wishlist-page .sm-whatsapp-fab,
  .page-template-page-build-your-own-box .sm-whatsapp-fab,
  .woocommerce-account .sm-whatsapp-fab{
    bottom:calc(var(--sm-nav-bottom-height,72px) + var(--sm-safe-bottom,0px) + 18px)!important;
  }

  .sm-public-wishlist{
    padding:28px 0 calc(118px + var(--sm-safe-bottom,0px))!important;
  }

  .sm-public-wishlist-hero{
    margin-bottom:18px!important;
  }

  .sm-public-wishlist-hero h1{
    font-size:38px!important;
    line-height:1.04!important;
  }

  .sm-public-wishlist .sm-account-product-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  .sm-public-wishlist .sm-account-product-card{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    overflow:hidden!important;
    border:1px solid #e5d8c7!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 14px 36px rgba(31,25,19,.065)!important;
  }

  .sm-public-wishlist .sm-account-product-image{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/3!important;
    grid-row:auto!important;
    background:linear-gradient(180deg,#f8f3eb,#fffaf3)!important;
  }

  .sm-public-wishlist .sm-account-product-image img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  .sm-public-wishlist .sm-account-product-copy{
    padding:16px 16px 8px!important;
  }

  .sm-public-wishlist .sm-account-product-copy h3{
    margin-bottom:9px!important;
    font-size:1.05rem!important;
    line-height:1.34!important;
  }

  .sm-public-wishlist .sm-account-product-copy .price{
    display:flex!important;
    align-items:baseline;
    flex-wrap:wrap;
    gap:4px 9px;
    margin:0!important;
    font-size:.96rem!important;
    line-height:1.35!important;
  }

  .sm-public-wishlist .sm-account-product-copy .price del{
    color:#8a8075;
    font-size:.88em;
  }

  .sm-public-wishlist .sm-account-product-copy .price ins{
    color:#9b762e;
    text-decoration:none;
    font-weight:900;
  }

  .sm-public-wishlist .sm-account-product-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:9px 16px 16px!important;
  }

  .sm-public-wishlist .sm-account-product-actions .sm-button,
  .sm-public-wishlist .sm-account-product-actions .sm-text-button{
    width:100%!important;
    justify-self:stretch!important;
    min-height:46px!important;
    border-radius:10px!important;
    font-size:.72rem!important;
    text-align:center;
  }

  .sm-public-wishlist .sm-account-product-actions .sm-text-button{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    border:1px solid #e7bec6!important;
    background:#fff7f8!important;
    color:#8f2731!important;
    text-decoration:none!important;
    font-weight:900!important;
  }

  .woocommerce-cart .woocommerce{
    display:block!important;
  }

  .woocommerce-cart .woocommerce-cart-form{
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .woocommerce-cart table.shop_table.cart{
    display:block!important;
    border:0!important;
    background:transparent!important;
  }

  .woocommerce-cart table.cart thead{
    display:none!important;
  }

  .woocommerce-cart table.cart tbody{
    display:block!important;
  }

  .woocommerce-cart table.cart tr.cart_item{
    position:relative;
    display:grid!important;
    grid-template-columns:86px minmax(0,1fr);
    gap:8px 13px;
    width:100%!important;
    margin:0 0 14px!important;
    padding:14px 14px 16px!important;
    border:1px solid #eadfce!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 14px 36px rgba(31,25,19,.06)!important;
  }

  .woocommerce-cart table.cart tr.cart_item td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    border:0!important;
    padding:0!important;
    text-align:left!important;
  }

  .woocommerce-cart table.cart .product-thumbnail{
    grid-column:1;
    grid-row:1 / span 5;
    padding:0!important;
  }

  .woocommerce-cart table.cart .product-thumbnail a{
    display:block;
    width:86px;
    aspect-ratio:1/1;
    border-radius:13px;
    background:#f8f3eb;
    overflow:hidden;
  }

  .woocommerce-cart table.cart img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  .woocommerce-cart table.cart .product-name{
    grid-column:2;
    padding-right:76px!important;
  }

  .woocommerce-cart table.cart .product-name a{
    display:block;
    font-family:var(--sm-sans)!important;
    font-size:.96rem!important;
    font-weight:900!important;
    line-height:1.32!important;
  }

  .woocommerce-cart table.cart .variation{
    margin:9px 0 2px!important;
    padding:9px 10px!important;
    border:1px solid #efe4d6;
    border-radius:11px;
    background:#fbf7f1;
    font-size:.68rem!important;
    line-height:1.45;
  }

  .woocommerce-cart table.cart .product-price,
  .woocommerce-cart table.cart .product-quantity,
  .woocommerce-cart table.cart .product-subtotal{
    grid-column:2;
  }

  .woocommerce-cart table.cart .product-price,
  .woocommerce-cart table.cart .product-subtotal{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:#5f554b;
    font-size:.82rem;
  }

  .woocommerce-cart table.cart .product-price:before{
    content:"Price";
    color:#83786d;
    font-size:.68rem;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
  }

  .woocommerce-cart table.cart .product-subtotal:before{
    content:"Subtotal";
    color:#83786d;
    font-size:.68rem;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.08em;
  }

  .woocommerce-cart table.cart .product-subtotal{
    color:#9b762e;
    font-weight:900;
  }

  .woocommerce-cart table.cart .product-quantity{
    margin:3px 0;
  }

  .woocommerce-cart table.cart .quantity,
  .woocommerce-cart table.cart .sm-quantity-control{
    min-height:46px!important;
  }

  .woocommerce-cart table.cart .sm-quantity-control button{
    width:44px!important;
    height:44px!important;
  }

  .woocommerce-cart table.cart .sm-quantity-control input,
  .woocommerce-cart table.cart .sm-quantity-control .qty{
    height:44px!important;
    font-size:16px!important;
  }

  .woocommerce-cart table.cart .product-remove{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    width:auto!important;
    padding:0!important;
  }

  .woocommerce-cart table.cart .product-remove a.remove{
    display:inline-flex!important;
    min-height:40px!important;
    padding:0 12px!important;
    font-size:0!important;
  }

  .woocommerce-cart table.cart .product-remove a.remove:before{
    font-size:17px!important;
  }

  .woocommerce-cart table.cart .product-remove a.remove:after{
    font-size:.68rem;
  }

  .woocommerce-cart table.cart tr:not(.cart_item){
    display:block!important;
  }

  .woocommerce-cart table.cart td.actions{
    display:block!important;
    margin-top:6px!important;
    padding:14px!important;
    border:1px solid #eadfce!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(31,25,19,.045)!important;
  }

  .woocommerce-cart table.cart .coupon{
    display:grid!important;
    grid-template-columns:1fr;
    gap:10px!important;
    margin-bottom:10px!important;
  }

  .woocommerce-cart table.cart .coupon .input-text,
  .woocommerce-cart table.cart button.button{
    width:100%!important;
    min-height:48px!important;
    border-radius:10px!important;
    font-size:.82rem!important;
  }

  .woocommerce-cart .cart-collaterals{
    margin-top:18px!important;
  }

  .woocommerce-cart .cart_totals{
    padding:18px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#fff,#fbf7f1)!important;
  }

  .woocommerce-cart .cart_totals h2{
    margin-bottom:12px!important;
    font-size:1.72rem!important;
  }

  .woocommerce-cart .cart_totals table th,
  .woocommerce-cart .cart_totals table td{
    display:table-cell!important;
    width:auto!important;
    padding:12px 0!important;
    font-size:.84rem!important;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    min-height:54px!important;
    font-size:.84rem!important;
  }

  .sm-cart-confidence{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .sm-cart-confidence span{
    padding:12px 13px!important;
    border-radius:12px!important;
  }

  .sm-cart-drawer-header h2{
    font-size:28px!important;
  }

  .sm-cart-drawer-item{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:11px!important;
  }

  .sm-cart-drawer-thumb img{
    width:72px!important;
    height:82px!important;
    object-fit:contain!important;
  }

  .sm-cart-drawer-remove{
    width:100%!important;
    margin-top:9px!important;
  }

  .woocommerce-checkout form.checkout{
    display:block!important;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout form.checkout #customer_details{
    padding:16px!important;
    border-radius:16px!important;
  }

  .woocommerce-checkout #order_review_heading{
    margin:16px 0 -1px!important;
    padding:18px 16px 10px!important;
    border-radius:16px 16px 0 0!important;
    font-size:1.48rem!important;
  }

  .woocommerce-checkout #order_review{
    padding:14px 16px 16px!important;
    border-radius:0 0 16px 16px!important;
  }

  .woocommerce-checkout form.checkout label{
    font-size:.72rem!important;
    line-height:1.35!important;
  }

  .woocommerce-checkout form.checkout input.input-text,
  .woocommerce-checkout form.checkout textarea,
  .woocommerce-checkout form.checkout select,
  .woocommerce-checkout form.checkout .select2-container .select2-selection--single{
    min-height:50px!important;
    font-size:16px!important;
    border-radius:10px!important;
  }

  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td{
    padding:12px 6px!important;
    font-size:.78rem!important;
    line-height:1.45!important;
  }

  .woocommerce-checkout #payment{
    border-radius:13px!important;
  }

  .woocommerce-checkout #place_order{
    min-height:54px!important;
    border-radius:10px!important;
    font-size:.84rem!important;
  }

  .sm-purchase-trust{
    margin:0 0 18px!important;
    padding:12px 14px!important;
    border-radius:13px!important;
  }

  .woocommerce ul.products li.product{
    min-height:100%;
  }

  .woocommerce ul.products li.product a img{
    aspect-ratio:4/3!important;
    margin-bottom:10px!important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    min-height:2.72em!important;
    font-size:.78rem!important;
  }

  .woocommerce ul.products li.product .price{
    min-height:1.8em;
    font-size:.82rem!important;
  }

  .sm-product-packaging-note,
  .sm-product-delivery-note{
    font-size:.6rem!important;
  }

  .woocommerce ul.products li.product .button,
  .sm-add-to-box-link{
    min-height:42px!important;
    border-radius:9px!important;
  }

  .sm-footer{
    padding-top:36px!important;
    padding-bottom:calc(106px + var(--sm-safe-bottom,0px))!important;
  }

  .sm-footer-cta{
    padding-bottom:24px!important;
  }

  .sm-footer-cta h2{
    font-size:1.8rem!important;
    line-height:1.08!important;
  }

  .sm-footer-cta p{
    font-size:.9rem!important;
    line-height:1.6!important;
  }

  .sm-footer-cta-actions{
    display:grid!important;
    grid-template-columns:1fr;
    gap:10px!important;
  }

  .sm-footer-cta-actions .sm-button{
    width:100%!important;
    min-height:46px!important;
    justify-content:center!important;
  }

  .sm-footer-grid{
    gap:22px!important;
  }

  .sm-footer-logo{
    max-width:150px!important;
    height:auto!important;
    margin-bottom:10px!important;
  }

  .sm-footer p{
    max-width:32rem;
  }

  .sm-footer-bottom{
    gap:12px!important;
    margin-top:22px!important;
    padding-top:18px!important;
    line-height:1.55!important;
  }
}

@media(max-width:430px){
  .sm-public-wishlist .sm-account-product-copy{
    padding-inline:14px!important;
  }

  .sm-public-wishlist .sm-account-product-actions{
    padding-inline:14px!important;
  }

  .woocommerce-cart table.cart tr.cart_item{
    grid-template-columns:78px minmax(0,1fr);
    padding:12px!important;
  }

  .woocommerce-cart table.cart .product-thumbnail a{
    width:78px;
  }

  .woocommerce-cart table.cart .product-name{
    padding-right:68px!important;
  }

  .woocommerce-cart table.cart .product-name a{
    font-size:.9rem!important;
  }
}

@media(max-width:360px){
  .woocommerce-cart table.cart tr.cart_item{
    grid-template-columns:1fr;
  }

  .woocommerce-cart table.cart .product-thumbnail{
    grid-column:1;
    grid-row:auto;
  }

  .woocommerce-cart table.cart .product-thumbnail a{
    width:100%;
    aspect-ratio:4/3;
  }

  .woocommerce-cart table.cart .product-name,
  .woocommerce-cart table.cart .product-price,
  .woocommerce-cart table.cart .product-quantity,
  .woocommerce-cart table.cart .product-subtotal{
    grid-column:1;
  }

  .woocommerce-cart table.cart .product-name{
    padding-right:76px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .sm-cart-drawer-remove:active,
  .sm-text-button[data-sm-account-wishlist-remove]:active,
  .sm-text-button[data-sm-guest-wishlist-remove]:active,
  .sm-box-remove:active,
  [data-sm-delete-saved-box]:active,
  .woocommerce-cart table.cart .product-remove a.remove:active{
    transform:none;
  }
}
