/* ==========================
   SHOP
========================== */

.shop-hero {
  background: #fff;
  padding: 52px 0;
  border-bottom: 1px solid #eee;
}

.shop-hero h1 {
  font-size: 34px;
  color: var(--texto-marrom);
  margin-bottom: 8px;
}

.shop-hero p {
  color: #555;
}

/* ==========================
   GRID
========================== */
.shop-grid-section {
  padding: 60px 0;
  background: var(--bg-papel);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* ==========================
   CARD
========================== */
.shop-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.shop-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f7f7f7;
  display: block;
}

.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.shop-card-media {
  position: relative;
}

.shop-card-media .media-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card-media .media-btn.prev { left: 10px; }
.shop-card-media .media-btn.next { right: 10px; }

.shop-card-media .media-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.shop-card-media .media-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
}

.shop-card-media .media-dot.active {
  background: #fff;
}

/* ==========================
   CARD BODY
========================== */
.shop-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-badges span {
  background: #fff8ed;
  border: 1px solid #eadfca;
  border-radius: 999px;
  color: #6a481f;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  text-transform: uppercase;
}

.shop-card-body h3 {
  font-size: 18px;
  color: #1a1a1a;
  min-height: 44px;
}

.shop-card-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.45;
  min-height: 62px;
}

/* ==========================
   PRICE & ACTIONS
========================== */
.shop-price {
  font-weight: 700;
  color: var(--texto-marrom);
  font-size: 16px;
}

.shop-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.btn-outline,
.btn-solid {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all .25s ease;
}

.btn-outline {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
}

.btn-solid {
  border: none;
  background: linear-gradient(135deg, #f5c451, #c9972b);
  color: #1a1a1a;
}

.btn-outline:hover {
  background: #f6f6f6;
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

/* ==========================
   PROMO POPUP
========================== */
body.shop-promo-open {
  overflow: hidden;
}

.shop-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shop-promo-modal.is-open {
  display: flex;
}

.shop-promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.58);
  backdrop-filter: blur(2px);
}

.shop-promo-dialog {
  position: relative;
  width: min(92vw, 460px);
  border-radius: 18px;
  padding: 34px 32px 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%),
    linear-gradient(145deg, #ffe9a8 0%, #f6c95a 48%, #c58a24 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  color: #231506;
  text-align: center;
  overflow: hidden;
}

.shop-promo-dialog::before {
  content: "";
  position: absolute;
  top: -72px;
  left: 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.26);
  transform: translateX(-50%);
}

.shop-promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(35, 21, 6, 0.16);
  color: #231506;
  font-size: 16px;
  cursor: pointer;
}

.shop-promo-close:hover {
  background: rgba(35, 21, 6, 0.24);
}

.shop-promo-kicker {
  position: relative;
  margin-bottom: 10px;
  color: #6a481f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.shop-promo-dialog h2 {
  position: relative;
  margin-bottom: 12px;
  color: #1f1407;
  font-size: 34px;
  line-height: 1.08;
}

.shop-promo-text {
  position: relative;
  max-width: 360px;
  margin: 0 auto 22px;
  color: #402a0d;
  font-size: 16px;
  line-height: 1.45;
}

.shop-promo-coupon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px dashed rgba(35, 21, 6, 0.45);
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
}

.shop-promo-coupon strong {
  flex: 1;
  color: #231506;
  font-size: 18px;
  letter-spacing: 1px;
}

.shop-promo-copy {
  border: none;
  border-radius: 10px;
  background: #231506;
  color: #fff;
  font-weight: 800;
  padding: 11px 16px;
  cursor: pointer;
}

.shop-promo-copy.is-copied {
  background: #2f7d32;
}

.shop-promo-note {
  position: relative;
  color: #4d3414;
  font-size: 13px;
  line-height: 1.45;
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .shop-hero h1 {
    font-size: 28px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-promo-dialog {
    padding: 32px 20px 26px;
  }

  .shop-promo-dialog h2 {
    font-size: 28px;
  }

  .shop-promo-coupon {
    flex-direction: column;
    align-items: stretch;
  }
}
