/* Unified product-card actions: solid purchase button plus outlined cart icon. */
.sv-card-actions{
  display:flex!important;
  align-items:stretch;
  gap:8px;
  width:100%;
  margin-top:auto;
}
.sv-card-actions .sv-card-buy,
.sv-card-actions .sv-card-cart{
  min-height:42px;
  margin:0!important;
  border:2px solid #b77a3d!important;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-decoration:none!important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.sv-card-actions .sv-card-buy{
  display:flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  background:#b77a3d!important;
  color:#fff!important;
  text-transform:uppercase;
}
.sv-card-actions .sv-card-cart{
  display:grid;
  flex:0 0 42px;
  width:42px;
  padding:0;
  place-items:center;
  background:transparent!important;
  color:#9a5d2b!important;
}
.sv-card-actions .sv-card-cart svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sv-card-actions .sv-card-buy:hover,
.sv-card-actions .sv-card-buy:focus-visible{
  border-color:#93551f!important;
  background:#93551f!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.sv-card-actions .sv-card-cart:hover,
.sv-card-actions .sv-card-cart:focus-visible{
  border-color:#93551f!important;
  background:#fff4e5!important;
  color:#7b431f!important;
  transform:translateY(-1px);
}
.post-type-archive-product .products .product-small .add-to-cart-button,
.tax-product_cat .products .product-small .add-to-cart-button{
  width:100%;
}
.post-type-archive-product .products .product-small .add-to-cart-button>.sv-card-actions,
.tax-product_cat .products .product-small .add-to-cart-button>.sv-card-actions{
  padding-top:0;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  width:auto!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border:2px solid #b77a3d!important;
  border-radius:999px!important;
  background:#b77a3d!important;
  color:#fff!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  border:2px solid #b77a3d!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#9a5d2b!important;
}
.sv-home .sv-product-info>.sv-card-actions{
  margin-top:auto;
  padding-top:10px;
}
@media(max-width:767px){
  .sv-card-actions{gap:6px}
  .sv-card-actions .sv-card-buy{min-height:40px;padding:9px 10px;font-size:11px}
  .sv-card-actions .sv-card-cart{flex-basis:40px;width:40px;min-height:40px}
}

/* Match the approved two-button reference: outlined cart action, then solid purchase action. */
.sv-card-actions{
  gap:12px!important;
}
.sv-card-actions .sv-card-cart,
.sv-card-actions .sv-card-buy{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:48px!important;
  padding:10px 12px!important;
  border:1px solid #f04b32!important;
  border-radius:2px!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-transform:none!important;
  white-space:nowrap;
  box-shadow:none!important;
}
.sv-card-actions .sv-card-cart{
  flex:1.2 1 0!important;
  gap:7px;
  background:transparent!important;
  color:#f04b32!important;
}
.sv-card-actions .sv-card-buy{
  flex:1 1 0!important;
  background:#f04b32!important;
  color:#fff!important;
}
.sv-card-actions .sv-card-cart svg{
  flex:0 0 19px;
  width:19px!important;
  height:19px!important;
  stroke:currentColor!important;
  stroke-width:1.6!important;
}
.sv-card-actions .sv-card-cart:hover,
.sv-card-actions .sv-card-cart:focus-visible{
  background:#fff3ef!important;
  border-color:#d93f29!important;
  color:#d93f29!important;
}
.sv-card-actions .sv-card-buy:hover,
.sv-card-actions .sv-card-buy:focus-visible{
  background:#d93f29!important;
  border-color:#d93f29!important;
  color:#fff!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
  flex:1.2 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:48px!important;
  padding:10px 8px!important;
  border-radius:2px!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:48px!important;
  padding:10px 8px!important;
  border-radius:2px!important;
}
@media(max-width:767px){
  .sv-card-actions{gap:6px!important}
  .sv-card-actions .sv-card-cart,
  .sv-card-actions .sv-card-buy{
    min-height:42px!important;
    padding:8px 6px!important;
    font-size:10px!important;
  }
  .sv-card-actions .sv-card-cart{gap:4px}
  .sv-card-actions .sv-card-cart svg{flex-basis:16px;width:16px!important;height:16px!important}
}

/* Approved brown two-button layout. */
.sv-card-actions{
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  margin-top:auto!important;
}
.sv-card-actions .sv-card-cart,
.sv-card-actions .sv-card-buy{
  display:flex!important;
  flex:1 1 0!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:46px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #8a4b20!important;
  border-radius:4px!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  text-align:center!important;
  text-transform:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.sv-card-actions .sv-card-cart{
  gap:7px!important;
  background:#fff!important;
  color:#8a4b20!important;
}
.sv-card-actions .sv-card-buy{
  background:#8a4b20!important;
  color:#fff!important;
}
.sv-card-actions .sv-card-cart i{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  color:inherit!important;
  font-size:18px!important;
  line-height:1!important;
}
.sv-card-actions .sv-card-cart i::before{
  margin:0!important;
  color:inherit!important;
  font-size:18px!important;
  line-height:1!important;
}
.sv-card-actions .sv-card-cart:hover,
.sv-card-actions .sv-card-cart:focus-visible{
  border-color:#6f3817!important;
  background:#fff7f0!important;
  color:#6f3817!important;
}
.sv-card-actions .sv-card-buy:hover,
.sv-card-actions .sv-card-buy:focus-visible{
  border-color:#6f3817!important;
  background:#6f3817!important;
  color:#fff!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  display:flex!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:46px!important;
  padding:9px 7px!important;
  border:1px solid #8a4b20!important;
  border-radius:4px!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
  background:#fff!important;
  color:#8a4b20!important;
}
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  background:#8a4b20!important;
  color:#fff!important;
}
@media(max-width:767px){
  .sv-card-actions{gap:6px!important}
  .sv-card-actions .sv-card-cart,
  .sv-card-actions .sv-card-buy{
    min-height:42px!important;
    padding:8px 5px!important;
    font-size:10px!important;
  }
  .sv-card-actions .sv-card-cart{gap:4px!important}
  .sv-card-actions .sv-card-cart i,
  .sv-card-actions .sv-card-cart i::before{
    width:15px!important;
    height:15px!important;
    font-size:15px!important;
  }
}

/* Final approved caramel, flat pill treatment. */
.sv-card-actions .sv-card-cart,
.sv-card-actions .sv-card-buy,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  border-color:#b77a3d!important;
  border-radius:999px!important;
  box-shadow:none!important;
  transform:none!important;
}
.sv-card-actions .sv-card-cart,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
  background:transparent!important;
  color:#b77a3d!important;
}
.sv-card-actions .sv-card-buy,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  background:#b77a3d!important;
  color:#fff!important;
}
.sv-card-actions .sv-card-cart:hover,
.sv-card-actions .sv-card-cart:focus-visible{
  border-color:#9d6530!important;
  background:#fff8f1!important;
  color:#9d6530!important;
  box-shadow:none!important;
  transform:none!important;
}
.sv-card-actions .sv-card-buy:hover,
.sv-card-actions .sv-card-buy:focus-visible{
  border-color:#9d6530!important;
  background:#9d6530!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Song Vang shop archive refinements 2026-11-13 */

/* Keep long sidebar product names and sale prices in separate rows. */
#shop-sidebar .product_list_widget li>del{
  grid-column:2;
  grid-row:2;
  justify-self:start;
  display:inline-block!important;
  margin:0!important;
  color:#9a8170!important;
  text-decoration:line-through!important;
}
#shop-sidebar .product_list_widget li>ins{
  grid-column:2;
  grid-row:3;
  justify-self:start;
  display:inline-block!important;
  margin:0!important;
  color:#b96f24!important;
  text-decoration:none!important;
}

/* Category list: stronger labels, no item-count noise. */
#shop-sidebar .product-categories li>a{
  font-weight:600!important;
}
#shop-sidebar .product-categories li.current-cat>a,
#shop-sidebar .product-categories li.current-cat-parent>a{
  font-weight:800!important;
}
#shop-sidebar .product-categories .count{
  display:none!important;
}

/* Red price-tag badge with the actual discount percentage. */
.post-type-archive-product .products .badge-container,
.tax-product_cat .products .badge-container{
  top:10px!important;
  left:10px!important;
  margin:0!important;
}
.post-type-archive-product .products .badge-circle,
.tax-product_cat .products .badge-circle{
  width:72px!important;
  height:30px!important;
}
.post-type-archive-product .products .badge-circle .badge-inner,
.tax-product_cat .products .badge-circle .badge-inner{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  width:72px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 18px 0 10px!important;
  border:2px solid #fff!important;
  border-radius:6px!important;
  background:#c90000!important;
  color:#fff!important;
  clip-path:polygon(0 0,82% 0,100% 50%,82% 100%,0 100%);
  box-shadow:0 2px 5px rgba(88,0,0,.28);
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
}
.post-type-archive-product .products .badge-circle .badge-inner::after,
.tax-product_cat .products .badge-circle .badge-inner::after{
  content:"";
  position:absolute;
  top:50%;
  right:7px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#fff;
  transform:translateY(-50%);
}
.post-type-archive-product .products .badge-circle .onsale,
.tax-product_cat .products .badge-circle .onsale{
  display:block;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap;
}
.post-type-archive-product .products .badge-container>.onsale,
.tax-product_cat .products .badge-container>.onsale{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  width:72px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 18px 0 10px!important;
  border:2px solid #fff!important;
  border-radius:6px!important;
  background:#c90000!important;
  color:#fff!important;
  clip-path:polygon(0 0,82% 0,100% 50%,82% 100%,0 100%);
  box-shadow:0 2px 5px rgba(88,0,0,.28);
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap;
}
.post-type-archive-product .products .badge-container>.onsale::after,
.tax-product_cat .products .badge-container>.onsale::after{
  content:"";
  position:absolute;
  top:50%;
  right:7px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#fff;
  transform:translateY(-50%);
}

/* Single-product layout fixes 2026-11-13. */
.single-product .product-info form.cart{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:auto!important;
  margin:0 8px 0 0!important;
  vertical-align:top!important;
}
.single-product .product-info form.cart .quantity{
  flex:0 0 auto!important;
  margin:0!important;
}
.single-product .product-info form.cart .single_add_to_cart_button,
.single-product .product-info form.cart + p .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  margin:0!important;
  border-radius:999px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.single-product .product-info form.cart + p{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  vertical-align:top!important;
}
.single-product .product-info form.cart + p .button{
  padding:0 16px!important;
  font-size:12px!important;
}
@media(max-width:1499px){
  .single-product .product-info form.cart .single_add_to_cart_button{
    width:44px!important;
    min-width:44px!important;
    padding:0!important;
    overflow:hidden!important;
    font-size:0!important;
  }
  .single-product .product-info form.cart .single_add_to_cart_button::before{
    content:"🛒";
    font-size:18px!important;
    line-height:1!important;
  }
}
@media(max-width:420px){
  .single-product .product-info form.cart{
    gap:6px!important;
    margin-right:6px!important;
  }
  .single-product .product-info form.cart .quantity{
    width:82px!important;
  }
  .single-product .product-info form.cart + p .button{
    padding:0 11px!important;
    font-size:11px!important;
  }
}

/* Keep bestselling products readable in the single-product sidebar. */
#product-sidebar .product_list_widget li{
  position:relative!important;
  min-height:80px!important;
  padding:8px 0 8px 72px!important;
  overflow:visible!important;
}
#product-sidebar .product_list_widget li>a{
  display:block!important;
  min-height:0!important;
  overflow:visible!important;
  line-height:1.35!important;
}
#product-sidebar .product_list_widget li img{
  position:absolute!important;
  top:8px!important;
  left:0!important;
  width:60px!important;
  height:60px!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:6px!important;
}
#product-sidebar .product_list_widget .product-title{
  display:block!important;
  min-width:0!important;
  padding:0!important;
  color:#3d2a20!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}
#product-sidebar .product_list_widget li>.amount,
#product-sidebar .product_list_widget li>del,
#product-sidebar .product_list_widget li>ins{
  display:inline-block!important;
  margin:4px 5px 0 0!important;
  line-height:1.25!important;
}
#product-sidebar .product_list_widget li>ins{
  color:#b96f24!important;
  text-decoration:none!important;
}

/* Make related-product thumbnails and actions reliable on product pages. */
.single-product .related .product-small{
  display:flex!important;
  min-width:0!important;
}
.single-product .related .product-small>.col-inner{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#fcf8f1!important;
  border:1px solid #e6ded4!important;
  border-radius:12px!important;
}
.single-product .related .product-small .box{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
.single-product .related .product-small .box-image{
  flex:0 0 auto!important;
  width:calc(100% - 16px)!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  margin:8px!important;
  overflow:hidden!important;
  border-radius:9px!important;
  background:#fff!important;
}
.single-product .related .product-small .box-image>div{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.single-product .related .product-small .box-image a{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.single-product .related .product-small .box-image img{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:10px!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.single-product .related .product-small .box-text{
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  padding:12px 14px 14px!important;
}
.single-product .related .product-small .sv-card-actions{
  margin-top:auto!important;
}
.single-product .related .product-small .sv-card-cart{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  padding:0!important;
}
.single-product .related .product-small .sv-card-cart span{
  display:none!important;
}

/* Approved single-product actions: outlined cart icon plus direct checkout. */
.single-product .product-info form.cart{
  display:grid!important;
  grid-template-columns:auto 44px minmax(126px,auto)!important;
  align-items:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
}
.single-product .product-info form.cart .quantity{
  width:88px!important;
  margin:0!important;
}
.single-product .product-info form.cart .single_add_to_cart_button,
.single-product .product-info form.cart .sv-buy-now{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  height:42px!important;
  margin:0!important;
  border:1px solid #b77a3d!important;
  border-radius:999px!important;
  box-shadow:none!important;
  line-height:1!important;
}
.single-product .product-info form.cart .single_add_to_cart_button{
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  padding:0!important;
  overflow:hidden!important;
  background:transparent!important;
  color:#b77a3d!important;
  font-size:0!important;
}
.single-product .product-info form.cart .single_add_to_cart_button::before{
  content:"\e908"!important;
  color:currentColor!important;
  font-family:"fl-icons"!important;
  font-size:19px!important;
  font-style:normal!important;
  font-weight:400!important;
  line-height:1!important;
}
.single-product .product-info form.cart .single_add_to_cart_button:hover,
.single-product .product-info form.cart .single_add_to_cart_button:focus-visible{
  border-color:#9d6530!important;
  background:#fff8f1!important;
  color:#9d6530!important;
}
.single-product .product-info form.cart .sv-buy-now{
  min-width:126px!important;
  padding:0 20px!important;
  background:#b77a3d!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:700!important;
  text-transform:none!important;
}
.single-product .product-info form.cart .sv-buy-now:hover,
.single-product .product-info form.cart .sv-buy-now:focus-visible{
  border-color:#9d6530!important;
  background:#9d6530!important;
  color:#fff!important;
}
.single-product .product-info form.cart + p{
  display:none!important;
}
@media(max-width:420px){
  .single-product .product-info form.cart{
    grid-template-columns:82px 42px minmax(116px,1fr)!important;
    gap:6px!important;
    width:100%!important;
  }
  .single-product .product-info form.cart .quantity{
    width:82px!important;
  }
  .single-product .product-info form.cart .single_add_to_cart_button{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
  }
  .single-product .product-info form.cart .sv-buy-now{
    min-width:116px!important;
    padding:0 14px!important;
    font-size:12px!important;
  }
}

/* Use a true circular cart icon and stronger purchase label on every product card. */
.sv-card-actions .sv-card-cart,
.sv-home .sv-card-actions .sv-card-cart,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
  flex:0 0 44px!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  min-height:44px!important;
  height:44px!important;
  padding:0!important;
  gap:0!important;
  border-radius:50%!important;
}
.sv-card-actions .sv-card-cart span{
  display:none!important;
}
.sv-card-actions .sv-card-buy,
.sv-home .sv-card-actions .sv-card-buy,
.post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
.tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
  min-height:44px!important;
  font-size:14px!important;
  font-weight:800!important;
}
@media(max-width:767px){
  .sv-card-actions .sv-card-cart,
  .sv-home .sv-card-actions .sv-card-cart,
  .post-type-archive-product .products .product-small .sv-card-actions .sv-card-cart,
  .tax-product_cat .products .product-small .sv-card-actions .sv-card-cart{
    flex-basis:42px!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    height:42px!important;
  }
  .sv-card-actions .sv-card-buy,
  .sv-home .sv-card-actions .sv-card-buy,
  .post-type-archive-product .products .product-small .sv-card-actions .sv-card-buy,
  .tax-product_cat .products .product-small .sv-card-actions .sv-card-buy{
    min-height:42px!important;
    font-size:14px!important;
    font-weight:800!important;
  }
}

/* Place the single-product sidebar on the right on desktop. */
@media(min-width:850px){
  .single-product .product-main > .row.content-row{
    flex-direction:row-reverse;
  }
  .single-product .product-main > .row.row-divided > .col.large-9{
    border-left:0!important;
  }
  .single-product .product-main > .row.row-divided > #product-sidebar{
    border-left:1px solid #ececec!important;
    border-right:0!important;
  }
}
