/* LIV Skin Lab shop page — uses the existing site design system. */

.shop-intro-section{
  padding-bottom:20px;
}

.shop-availability{
  opacity:.88;
}

.shop-category-section{
  padding-top:48px;
}

.shop-category-section + .shop-category-section{
  padding-top:30px;
}

.shop-status{
  padding:22px;
  border:1px solid var(--line, #eaded6);
  border-radius:18px;
  background:#fff;
  color:#6a5e59;
  text-align:center;
}

.shop-product-grid{
  align-items:stretch;
}

.shop-product-card{
  display:flex;
  flex-direction:column;
}

.shop-product-card .card-media{
  min-height:250px;
  background:#f5efea;
}

.shop-product-card .card-media img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}

.shop-product-card .card-body{
  display:flex;
  flex:1;
  flex-direction:column;
}

.shop-product-description{
  display:-webkit-box;
  overflow:hidden;
  margin:0 0 18px;
  color:#6a5e59;
  font-size:14px;
  line-height:1.58;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
}

.shop-product-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) 76px;
  gap:12px;
  align-items:end;
  margin-top:auto;
}

.shop-product-controls .shop-add{
  grid-column:1/-1;
  width:100%;
  border:0;
  cursor:pointer;
}

.shop-field{
  display:grid;
  gap:7px;
  color:#6a5e59;
  font-size:12px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.shop-field select,
.shop-field input{
  width:100%;
  min-height:44px;
  padding:0 12px;
  border:1px solid #e7d7cd;
  border-radius:12px;
  background:#fff;
  color:#493d38;
  font:inherit;
  letter-spacing:0;
  text-transform:none;
}

.shop-qty input{
  text-align:center;
}

.shop-cart-toggle{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  min-height:50px;
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:#b47d65;
  box-shadow:0 14px 30px rgba(78,48,37,.22);
  color:#fff;
  cursor:pointer;
  font:700 14px Inter,sans-serif;
}

.shop-cart-toggle span{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:24px;
  margin-left:7px;
  padding:0 6px;
  border-radius:999px;
  background:#fff;
  color:#9b6650;
}

.shop-cart-backdrop{
  position:fixed;
  inset:0;
  z-index:70;
  background:rgba(34,26,23,.42);
}

.shop-cart{
  position:fixed;
  top:0;
  right:0;
  z-index:80;
  display:grid;
  grid-template-rows:auto 1fr auto;
  width:min(440px,100%);
  height:100dvh;
  background:#fffaf7;
  box-shadow:-18px 0 42px rgba(58,38,29,.18);
  transform:translateX(105%);
  transition:transform .25s ease;
}

.shop-cart.open{
  transform:translateX(0);
}

.shop-cart-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding:24px;
  border-bottom:1px solid #eaded6;
}

.shop-cart-header h2{
  margin:0;
  font-size:34px;
}

.shop-cart-close{
  border:0;
  background:transparent;
  color:#8c6c5d;
  cursor:pointer;
  font-size:34px;
  line-height:1;
}

.shop-cart-items{
  overflow:auto;
  padding:0 24px;
}

.shop-empty-cart{
  padding:32px 0;
  color:#74655e;
  text-align:center;
}

.shop-cart-item{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
  padding:18px 0;
  border-bottom:1px solid #eaded6;
}

.shop-cart-item > img{
  width:64px;
  height:64px;
  border-radius:12px;
  object-fit:cover;
  background:#efe2da;
}

.shop-cart-item-main{
  display:grid;
  gap:4px;
  color:#6a5e59;
  font-size:13px;
}

.shop-cart-item-main strong{
  color:#3f3531;
  font-size:14px;
}

.shop-cart-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
}

.shop-cart-actions button{
  min-width:28px;
  height:28px;
  border:1px solid #dfcdc1;
  border-radius:8px;
  background:#fff;
  color:#76584b;
  cursor:pointer;
}

.shop-cart-actions .shop-remove{
  width:auto;
  padding:0 2px;
  border:0;
  background:transparent;
  color:#a06d58;
}

.shop-cart-footer{
  padding:22px 24px 28px;
  border-top:1px solid #eaded6;
  background:#fff;
}

.shop-cart-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#3f3531;
  font-size:18px;
}

.shop-cart-total strong{
  color:#a16c57;
  font-size:23px;
}

.shop-cart-note{
  margin:9px 0 16px;
  color:#766860;
  font-size:12px;
  line-height:1.5;
}

.shop-checkout{
  width:100%;
  border:0;
  cursor:pointer;
}

.shop-checkout:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.shop-checkout-status{
  min-height:20px;
  margin-top:10px;
  color:#9c4f45;
  font-size:13px;
  line-height:1.4;
}

.shop-cta-button{
  border-color:rgba(255,255,255,.34)!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

.cart-open{
  overflow:hidden;
}

@media (max-width:760px){
  .shop-product-controls{
    grid-template-columns:minmax(0,1fr) 72px;
  }

  .shop-cart-toggle{
    right:14px;
    bottom:14px;
  }

  .shop-cart-item{
    grid-template-columns:54px minmax(0,1fr);
  }

  .shop-cart-item > img{
    width:54px;
    height:54px;
  }

  .shop-cart-item > strong{
    grid-column:2;
    text-align:left;
  }

  .shop-availability{
    display:none;
  }
}

.shop-success-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
