.loja-hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.58),rgba(0,0,0,.18)),
    url('/assets/img/loja-hero.jpg');
  background-size:cover;
  background-position:center;
}

/* LISTAGEM DA LOJA */

.shop-page-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
  align-items:stretch;
}

.shop-product-card{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 16px 45px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.shop-product-image{
  display:block;
  background:#eee;
  aspect-ratio:1/1;
  overflow:hidden;
}

.shop-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.shop-product-card:hover .shop-product-image img{
  transform:scale(1.04);
}

.shop-product-content{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

.shop-product-top,
.product-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:14px;
}

.product-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  background:#ffd400;
  color:#000;
  font-size:12px;
  font-weight:950;
  line-height:1.1;
  text-transform:uppercase;
}

.product-badge-dark{
  background:#000;
  color:#fff;
}

.product-badge-outline{
  background:#fff;
  border:1px solid #ddd;
  color:#111;
}

.shop-product-card h2{
  font-size:30px;
  line-height:.95;
  margin:0 0 10px;
  text-transform:uppercase;
  letter-spacing:-.5px;
  word-break:normal;
}

.shop-product-card p{
  font-size:15px;
  line-height:1.35;
  color:#333;
  margin:0 0 14px;
}

.shop-product-bottom{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-start;
}

.shop-product-price{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:baseline;
}

.shop-product-price strong{
  font-size:20px;
  color:#000;
}

.shop-product-price span{
  font-size:15px;
  color:#555;
}

.shop-product-bottom .btn{
  min-width:170px;
}

/* PÁGINA DE PRODUTO */

.product-page-section{
  padding:70px 0;
  background:#f4f4f4;
}

.back-link{
  display:inline-flex;
  margin-bottom:24px;
  color:#111;
  font-weight:900;
  text-decoration:none;
}

.product-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  gap:42px;
  align-items:start;
}

.product-gallery-card,
.product-detail-card{
  background:#fff;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 22px 60px rgba(0,0,0,.08);
}

.product-gallery-card{
  padding:18px;
}

.product-main-image{
  border-radius:26px;
  overflow:hidden;
  background:#eee;
  aspect-ratio:4/5;
}

.product-main-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-thumbs{
  display:flex;
  gap:12px;
  margin-top:14px;
  overflow-x:auto;
  padding-bottom:4px;
}

.product-thumb{
  width:86px;
  height:86px;
  min-width:86px;
  border:2px solid transparent;
  border-radius:18px;
  padding:0;
  overflow:hidden;
  background:#eee;
  cursor:pointer;
}

.product-thumb.is-active{
  border-color:#ffd400;
}

.product-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-detail-card{
  padding:38px;
}

.product-detail-card h1{
  font-size:48px;
  line-height:.95;
  margin:0 0 16px;
  letter-spacing:-1px;
  text-transform:uppercase;
}

.product-description{
  color:#333;
  font-size:18px;
  line-height:1.6;
  margin-bottom:22px;
}

.product-price-box{
  margin:22px 0;
}

.product-price{
  font-size:36px;
  font-weight:950;
  color:#000;
}

.product-member-price{
  margin-top:4px;
  color:#666;
  font-weight:800;
}

.eligibility-box{
  margin:24px 0;
  padding:18px;
  border-radius:20px;
  background:#fff8c7;
  border:1px solid #ffe36a;
}

.eligibility-box strong{
  display:block;
  margin-bottom:6px;
  color:#000;
}

.eligibility-box p{
  margin:0;
  color:#333;
  line-height:1.5;
}

.product-actions-box{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid #eee;
}

.product-actions-box label{
  display:block;
  margin:14px 0 8px;
  font-weight:950;
  color:#000;
}

.product-select,
.quantity-input{
  width:100%;
  height:54px;
  border-radius:16px;
  border:1px solid #ddd;
  background:#f7f7f7;
  padding:0 16px;
  font-size:16px;
  font-weight:800;
}

.quantity-input{
  max-width:160px;
}

.product-hint,
.stock-message{
  margin-top:8px;
  color:#666;
  font-size:14px;
}

.product-buttons{
  display:flex;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}

.product-buttons .btn{
  min-width:210px;
  justify-content:center;
}

/* INFO LOJA */

.shop-info-section{
  background:#fff;
  padding:60px 0;
}

.shop-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.shop-info-card{
  background:#f4f4f4;
  border-radius:28px;
  padding:28px;
}

.shop-info-card h3{
  margin:0 0 12px;
  font-size:26px;
}

.shop-info-card p{
  margin:6px 0;
  color:#333;
}

.shop-info-card a{
  display:block;
  color:#111;
  text-decoration:none;
  font-weight:900;
  margin:8px 0;
}

/* RESPONSIVE */

@media(max-width:1200px){
  .shop-page-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .shop-product-card h2{
    font-size:28px;
  }
}

@media(max-width:900px){
  .shop-page-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .product-page-grid,
  .shop-info-grid{
    grid-template-columns:1fr;
  }

  .product-detail-card{
    padding:26px;
  }

  .product-detail-card h1{
    font-size:38px;
  }
}

@media(max-width:620px){
  .shop-page-grid{
    grid-template-columns:1fr;
  }

  .shop-product-card h2{
    font-size:32px;
  }

  .product-buttons .btn{
    width:100%;
  }
}

.cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:28px;
  align-items:start;
}

.cart-items{
  display:grid;
  gap:18px;
}

.cart-item{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  box-shadow:0 18px 50px rgba(0,0,0,.07);
  border:1px solid rgba(0,0,0,.06);
}

.cart-item-media{
  background:#eee;
  min-height:220px;
}

.cart-item-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cart-item-body{
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.cart-item-top{
  display:flex;
  justify-content:space-between;
  gap:18px;
}

.cart-item-top h2{
  font-size:34px;
  line-height:.95;
  margin:0 0 6px;
  text-transform:uppercase;
}

.cart-item-top span{
  color:#555;
  font-weight:800;
}

.cart-remove{
  border:0;
  background:#111;
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
  align-self:flex-start;
}

.cart-benefit{
  background:#fff8c7;
  border:1px solid #ffe36a;
  border-radius:20px;
  padding:16px;
}

.cart-benefit strong{
  display:block;
  margin-bottom:6px;
}

.cart-benefit p{
  margin:0;
  color:#333;
  line-height:1.45;
}

.cart-item-bottom{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:18px;
  align-items:center;
}

.cart-price strong{
  display:block;
  font-size:22px;
}

.cart-price span{
  display:block;
  color:#555;
  font-weight:800;
  margin-top:4px;
}

.cart-qty{
  display:flex;
  align-items:center;
  gap:8px;
}

.cart-qty button{
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.cart-qty input{
  width:64px;
  height:38px;
  border:1px solid #ddd;
  border-radius:999px;
  text-align:center;
  font-weight:900;
}

.cart-total{
  font-size:22px;
  font-weight:950;
}

.cart-summary{
  position:sticky;
  top:110px;
}

.cart-summary-card{
  background:#fff;
  border-radius:30px;
  padding:28px;
  box-shadow:0 18px 50px rgba(0,0,0,.07);
}

.cart-summary-card h2{
  font-size:34px;
  line-height:.95;
  margin:0 0 20px;
  text-transform:uppercase;
}

.summary-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
  border-top:1px solid #eee;
}

.summary-row strong{
  font-size:22px;
}

.cart-summary-card p{
  color:#555;
  line-height:1.5;
  margin:18px 0;
}

.cart-summary-card .btn{
  width:100%;
  margin-top:10px;
}

@media(max-width:900px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-summary{
    position:static;
  }

  .cart-item{
    grid-template-columns:1fr;
  }

  .cart-item-media{
    min-height:260px;
  }

  .cart-item-bottom{
    grid-template-columns:1fr;
  }
}

.success-wrap{
  max-width:860px;
}

.success-card{
  background:#fff;
  border-radius:34px;
  padding:42px;
  box-shadow:0 22px 60px rgba(0,0,0,.08);
}

.success-badge{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:#ffd400;
  color:#000;
  font-weight:950;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:18px;
}

.success-card h2{
  font-size:52px;
  line-height:.95;
  margin:0 0 14px;
  text-transform:uppercase;
}

.success-card p{
  color:#444;
  font-size:18px;
  line-height:1.6;
  margin:0 0 28px;
}

.success-summary{
  display:grid;
  gap:0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  margin:28px 0;
}

.success-summary .summary-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid #eee;
}

.success-summary .summary-row:last-child{
  border-bottom:0;
}

.success-summary span{
  color:#555;
  font-weight:800;
}

.success-summary strong{
  color:#000;
  text-align:right;
}

.success-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

@media(max-width:700px){
  .success-card{
    padding:28px;
  }

  .success-card h2{
    font-size:38px;
  }

  .success-summary .summary-row{
    flex-direction:column;
    gap:6px;
  }

  .success-summary strong{
    text-align:left;
  }

  .success-actions .btn{
    width:100%;
  }
}