/* Shop: la ilustración enmarca una vitrina de compra frontal, sin perspectiva CSS. */
#view-shop.shop-arcana.shop-commerce {
  height: auto;
  animation: none;
  min-height: max(880px,100svh);
  padding: 205px clamp(24px,5vw,82px) 44px;
  background-color: #e7dcc6;
  background-image: url('assets/shop-tarot/salon-estampa-horizontal-v3.webp');
  background-position: center;
  background-size: 100% 100%;
  color: #302d23;
}
#view-shop.shop-commerce::before { background: linear-gradient(#f7e9c306,#29190c0b); }
#view-shop.shop-commerce::after { display: none; }
#view-shop .shop-catalog {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: 18px;
  perspective: none;
}
#view-shop .shop-offer {
  --card-accent: #384d3b;
  --card-tint: #ddd6be;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  padding: 24px;
  grid-template-columns: minmax(100px,.34fr) minmax(0,.66fr);
  align-items: center;
  gap: 22px;
  border: 1px solid #bca77c;
  border-radius: 3px;
  background: #f3ead6;
  box-shadow: 0 10px 28px #23170c2e;
  transform: none;
  perspective: none;
  animation: shop-commerce-enter 220ms ease-out both;
}
#view-shop .shop-offer::before { position: absolute; inset: 5px; border: 1px solid #9c805c3b; border-radius: 1px; pointer-events: none; content: ''; }
#view-shop .shop-offer > * { position: relative; z-index: 1; min-width: 0; }
#view-shop .shop-offer-art {
  display: flex;
  min-height: 230px;
  height: 100%;
  padding: 15px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid #a48b622b;
  background: radial-gradient(ellipse at 50% 45%,#d9c59255,transparent 75%);
}
#view-shop .shop-offer-arcana { display: flex; width: 100%; justify-content: space-between; gap: 8px; color: #7b6849; font: 500 12px/1.3 'Cormorant Garamond',Georgia,serif; }
#view-shop .shop-offer-arcana > span { align-self: center; font: 500 8px/1.4 'Work Sans',sans-serif; letter-spacing: .08em; text-transform: uppercase; }
#view-shop .shop-offer-book-cover { display: block; width: min(100%,132px); height: auto; margin-block: auto; border-radius: 1px; box-shadow: 2px 1px #b4a48e,4px 3px #d7cab5,6px 7px 10px #3c2b2544; }
#view-shop .shop-offer-symbol { display: block; width: 100%; height: auto; max-height: 190px; margin-block: auto; }
#view-shop .shop-offer-category { margin: 0 0 8px; color: #77674d; font: 500 10px/1.5 'Work Sans',sans-serif; }
#view-shop .shop-offer h2 { margin: 0; color: #293a2c; font: 500 clamp(33px,3vw,43px)/.98 'Cormorant Garamond',Georgia,serif; letter-spacing: -.025em; text-wrap: balance; }
#view-shop .shop-offer-description { margin: 15px 0; color: #504735; font: 500 22px/1.2 'Cormorant Garamond',Georgia,serif; }
#view-shop .shop-offer-summary { margin: 12px 0 0; color: #665c48; font: 400 12px/1.55 'Work Sans',sans-serif; }
#view-shop .shop-offer-meta, #view-shop .shop-offer-location { margin: 13px 0 17px; color: #665c48; font: 400 12px/1.6 'Work Sans',sans-serif; }
#view-shop .shop-offer-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 17px 0 0; }
#view-shop .shop-offer-prices > div { min-width: 0; }
#view-shop .shop-offer-prices dt { margin: 0 0 5px; color: #6b604b; font: 400 11px/1.4 'Work Sans',sans-serif; }
#view-shop .shop-offer-prices dd { margin: 0; color: #263b2a; font: 500 26px/1.1 'Cormorant Garamond',Georgia,serif; white-space: nowrap; }
#view-shop .shop-offer-prices dd > span { font: 400 8px/1 'Work Sans',sans-serif; }
#view-shop .shop-offer--tarot .shop-offer-location { margin-block: 12px; font-size: 11px; }
#view-shop .shop-offer-availability { display: inline-block; margin: 0 0 14px; padding: 4px 7px; border: 1px solid #b7a17b66; color: #79633d; font: 500 10px/1.4 'Work Sans',sans-serif; }
#view-shop :is(.shop-commerce-primary,.shop-commerce-secondary) {
  display: flex;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #2d4935;
  border-radius: 2px;
  background: #2d4935;
  color: #fff7e5;
  cursor: pointer;
  font: 500 13px/1.4 'Work Sans',sans-serif;
  text-decoration: none;
  transition: background 140ms ease,box-shadow 140ms ease;
}
#view-shop .shop-commerce-primary:hover { background: #3d5b43; box-shadow: 0 3px 10px #253c2126; }
#view-shop .shop-commerce-secondary { border-color: #86734f; background: #f7efdd; color: #384633; }
#view-shop .shop-commerce-secondary:hover { background: #e6ddc6; }
#view-shop .shop-offer-secondary { display: flex; margin-top: 8px; align-items: center; flex-wrap: wrap; gap: 3px 12px; }
#view-shop .shop-commerce-text { display: inline-flex; min-height: 44px; padding: 8px 0; align-items: center; gap: 8px; border: 0; background: transparent; color: #49593e; cursor: pointer; font: 500 11px/1.45 'Work Sans',sans-serif; text-decoration: underline; text-underline-offset: 3px; }
#view-shop .shop-commerce-text:hover { color: #223b27; }
#view-shop :is(.shop-commerce-paperback-pending,.shop-commerce-tickets):disabled { display: inline-flex; min-height: 44px; padding: 8px 0; align-items: center; justify-content: flex-start; border: 0; background: transparent; color: #82745c; cursor: not-allowed; font: 400 10px/1.45 'Work Sans',sans-serif; }
#view-shop .shop-offer--compact { min-height: 172px; padding: 18px 22px; grid-template-columns: 90px minmax(0,1fr); gap: 18px; }
#view-shop .shop-offer--compact .shop-offer-art { min-height: 0; padding: 8px 5px; gap: 5px; }
#view-shop .shop-offer--compact .shop-offer-symbol { max-height: 88px; }
#view-shop .shop-offer--compact .shop-offer-arcana > span { display: none; }
#view-shop .shop-offer--compact .shop-offer-category { margin-bottom: 4px; font-size: 9px; }
#view-shop .shop-offer--compact h2 { font-size: 30px; }
#view-shop .shop-offer--compact .shop-offer-meta { margin-block: 6px 9px; font-size: 11px; }
#view-shop .shop-offer--compact .shop-commerce-secondary { min-height: 44px; padding-block: 10px; font-size: 11px; }
#view-shop .shop-offer-event-actions { display: flex; margin-top: 7px; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
#view-shop .shop-commerce-tickets:disabled { color: #786347; }
#view-shop .shop-catalog :is(a,button):focus-visible { outline: 3px solid #957438; outline-offset: 4px; }
#view-shop .shop-reading .shop-reading-picture { background-image: linear-gradient(#e8dcc391,#e8dcc361),url('assets/shop-tarot/salon-estampa-vertical-v3.webp'); }
@keyframes shop-commerce-enter { from { opacity: .85; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@media (min-width:901px) and (max-height:760px) {
  #view-shop.shop-arcana.shop-commerce { min-height: 810px; padding-top: 155px; padding-bottom: 32px; }
  #view-shop .shop-offer { min-height: 340px; padding: 20px; gap: 17px; }
  #view-shop .shop-offer h2 { font-size: 36px; }
  #view-shop .shop-offer--compact { min-height: 155px; padding: 16px 20px; }
  #view-shop .shop-offer--compact h2 { font-size: 28px; }
}
@media (min-width:901px) and (max-width:1150px) {
  #view-shop.shop-arcana.shop-commerce { padding-inline: 32px; }
  #view-shop .shop-offer { padding: 20px; gap: 15px; grid-template-columns: 110px minmax(0,1fr); }
  #view-shop .shop-offer-arcana > span { font-size: 7px; }
  #view-shop .shop-offer h2 { font-size: 33px; }
  #view-shop .shop-offer-prices dd { font-size: 24px; }
  #view-shop .shop-offer--compact { grid-template-columns: 70px minmax(0,1fr); }
}
@media (max-width:900px) {
  #view-shop.shop-arcana.shop-commerce {
    min-height: 100svh;
    height: auto;
    padding: 220px 34px 40px;
    background-image: url('assets/shop-tarot/salon-estampa-tablet-v3.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
  #view-shop.shop-commerce::before { background: linear-gradient(transparent 700px,#e7dcc6 1100px); }
  #view-shop .shop-catalog { max-width: 650px; grid-template-columns: minmax(0,1fr); gap: 16px; }
  #view-shop .shop-offer { min-height: 310px; padding: 24px; grid-template-columns: 160px minmax(0,1fr); }
  #view-shop .shop-offer h2 { font-size: 40px; }
  #view-shop .shop-offer--compact { min-height: 168px; grid-template-columns: 100px minmax(0,1fr); }
  #view-shop .shop-offer--compact h2 { font-size: 30px; }
}
@media (max-width:520px) {
  #view-shop.shop-arcana.shop-commerce {
    padding: 205px 16px 28px;
    background-image: url('assets/shop-tarot/salon-estampa-vertical-v3.webp');
    background-position: center -50px;
  }
  #view-shop.shop-commerce::before { background: linear-gradient(transparent calc(100vw * 1.55),#e7dcc6 calc(100vw * 2.17)); }
  #view-shop .shop-catalog { gap: 14px; }
  #view-shop .shop-offer { min-height: 0; padding: 21px 20px; grid-template-columns: 80px minmax(0,1fr); align-items: start; gap: 15px; }
  #view-shop .shop-offer-art { min-height: 165px; height: 100%; padding: 10px 6px; gap: 10px; }
  #view-shop .shop-offer-arcana { font-size: 11px; }
  #view-shop .shop-offer-arcana > span { font-size: 6px; letter-spacing: 0; }
  #view-shop .shop-offer-book-cover { width: 100%; margin-block: 7px auto; }
  #view-shop .shop-offer-symbol { margin-block: 15px auto; }
  #view-shop .shop-offer h2 { font-size: 32px; }
  #view-shop .shop-offer-category { font-size: 10px; }
  #view-shop .shop-offer-description { margin-block: 12px; font-size: 21px; }
  #view-shop .shop-offer-meta { font-size: 11px; }
  #view-shop :is(.shop-commerce-primary,.shop-commerce-secondary) { min-height: 46px; padding: 11px 12px; font-size: 12px; }
  #view-shop .shop-offer-prices { grid-template-columns: minmax(0,1fr); gap: 10px; margin-top: 15px; }
  #view-shop .shop-offer-prices > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  #view-shop .shop-offer-prices dd { font-size: 25px; }
  #view-shop .shop-offer--tarot .shop-offer-art { height: auto; min-height: 160px; }
  #view-shop .shop-offer--compact { padding: 18px 20px; grid-template-columns: 64px minmax(0,1fr); gap: 14px; }
  #view-shop .shop-offer--compact .shop-offer-art { min-height: 95px; }
  #view-shop .shop-offer--compact h2 { font-size: 29px; }
  #view-shop .shop-offer--compact .shop-offer-meta { font-size: 11px; }
  #view-shop .shop-offer-event-actions { gap: 0; flex-direction: column; align-items: flex-start; }
}
@media (max-width:350px) {
  #view-shop.shop-arcana.shop-commerce { padding: 180px 12px 24px; }
  #view-shop .shop-offer { padding: 18px 16px; grid-template-columns: 60px minmax(0,1fr); gap: 12px; }
  #view-shop .shop-offer h2 { font-size: 29px; }
  #view-shop .shop-offer-art { padding-inline: 4px; }
  #view-shop .shop-offer-arcana > span { display: none; }
  #view-shop .shop-offer--compact { grid-template-columns: 50px minmax(0,1fr); }
  #view-shop .shop-offer-prices > div { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion:reduce) {
  #view-shop .shop-offer { animation: none; }
}
