/* Geometry matches Talaweb portfolio: gallery-3d.css + final polish.css rules. */
.showcase-section { padding-block: 70px 65px; overflow: hidden; background: radial-gradient(ellipse at 50% 48%,#244c3433,transparent 66%),var(--bg); border-bottom: 1px solid var(--line); }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.showcase-heading > p { max-width: 370px; color: var(--muted); font-size: 14px; }
.showcase-viewport { position: relative; perspective: 1600px; perspective-origin: 50% 45%; height: 730px; overflow: hidden; padding: 0; touch-action: pan-y; direction: ltr; }
.showcase-belt { position: absolute; inset: 0; display: block; width: 100%; transform-style: preserve-3d; }
.showcase-card { position: absolute; top: 22px; left: 50%; width: 410px; margin-left: -205px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.22,1,.36,1),opacity .8s,filter .8s; cursor: pointer; outline-offset: 8px; will-change: transform; direction: rtl; }
.showcase-card[data-position="0"] { transform: translate3d(0,0,90px); z-index: 5; opacity: 1; filter: none; }
.showcase-card[data-position="-1"] { transform: translate3d(-330px,30px,-100px) rotateY(32deg) rotateZ(-2deg) scale(.88); z-index: 3; opacity: .95; }
.showcase-card[data-position="1"] { transform: translate3d(330px,30px,-100px) rotateY(-32deg) rotateZ(2deg) scale(.88); z-index: 3; opacity: .95; }
.showcase-card[data-position="-2"] { transform: translate3d(-560px,40px,-240px) rotateY(38deg) scale(.82); z-index: 2; opacity: .65; }
.showcase-card[data-position="2"] { transform: translate3d(560px,40px,-240px) rotateY(-38deg) scale(.82); z-index: 2; opacity: .65; }
.showcase-card[data-position="3"] { transform: translate3d(0,60px,-500px) scale(.7); opacity: 0; pointer-events: none; z-index: 0; }
.showcase-art { aspect-ratio: 2/3; border-radius: 22px; border: 1px solid #e8c46130; background: var(--surface); overflow: hidden; box-shadow: 0 18px 60px #0003; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.showcase-photo { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #14120f; user-select: none; -webkit-user-drag: none; }
.showcase-product-info { padding: 22px 24px 25px; background: linear-gradient(135deg,#fffdf7,#f3eee3); }
.showcase-product-info h3 { color: #193e2e; font-size: 24px; font-weight: 500; margin-bottom: 5px; }
.showcase-product-info > p { color: #64705e; font-size: 13px; margin-bottom: 16px; }
.showcase-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; color: #234b35; font-size: 19px; }
.showcase-price small { font-size: 12px; color: #64705e; }
.showcase-toolbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 14px 18px 0; }
.showcase-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; direction: ltr; }
.showcase-dots button { position: relative; padding: 0; width: 21px; height: 44px; background: transparent; }
.showcase-dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%,-50%); border-radius: 50%; background: #65745d; }
.showcase-dots button[aria-pressed=true]::before { background: var(--gold); box-shadow: 0 0 0 4px #f3cc4520; }
.showcase-count { min-width: 56px; text-align: center; direction: ltr; color: var(--muted); font-size: 12px; }
.showcase-prev .icon { transform: rotate(180deg); }
.showcase-action { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin: 25px 18px 0; }
.showcase-action .button { min-width: 220px; }
.showcase-pause { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; border-radius: 5px; font-size: 12px; color: var(--gold-light); }
.showcase-help { text-align: center; margin: 18px 18px 0; font-size: 12px; color: var(--muted); }
@media(max-width:1100px) {
  .showcase-card { width: 350px; margin-left: -175px; }
  .showcase-card[data-position="-1"] { transform: translate3d(-270px,30px,-120px) rotateY(35deg) scale(.85); }
  .showcase-card[data-position="1"] { transform: translate3d(270px,30px,-120px) rotateY(-35deg) scale(.85); }
  .showcase-card[data-position="-2"] { transform: translate3d(-440px,40px,-260px) rotateY(40deg) scale(.75); }
  .showcase-card[data-position="2"] { transform: translate3d(440px,40px,-260px) rotateY(-40deg) scale(.75); }
  .showcase-viewport { height: 640px; }
}
@media(max-width:800px) {
  .showcase-card { width: 320px; margin-left: -160px; }
  .showcase-viewport { height: 590px; }
  .showcase-product-info { padding: 18px 20px; }
  .showcase-product-info h3 { color: #193e2e; font-size: 21px; }
  .showcase-price { font-size: 17px; }
}
@media(max-width:700px) {
  .showcase-heading { display: block; }
  .showcase-heading > p { margin-top: 14px; font-size: 13px; }
}
@media(max-width:560px) {
  .showcase-section { padding-block: 50px 45px; }
  .showcase-heading { margin-bottom: 24px; }
  .showcase-viewport { height: calc(72vw + 65px); min-height: 320px; max-height: 425px; perspective: 950px; perspective-origin: 50% 45%; }
  .showcase-card { width: clamp(168px,48vw,235px); margin-left: 0; left: 50%; top: 22px; }
  .showcase-card[data-position="0"] { transform: translateX(-50%) translateZ(30px); }
  .showcase-card[data-position="-1"] { transform: translateX(calc(-50% - 33vw)) translateY(18px) translateZ(-85px) rotateY(32deg) scale(.86); opacity: 1; }
  .showcase-card[data-position="1"] { transform: translateX(calc(-50% + 33vw)) translateY(18px) translateZ(-85px) rotateY(-32deg) scale(.86); opacity: 1; }
  .showcase-card[data-position="-2"] { transform: translateX(calc(-50% - 53vw)) translateY(27px) translateZ(-160px) rotateY(38deg) scale(.76); opacity: .8; }
  .showcase-card[data-position="2"] { transform: translateX(calc(-50% + 53vw)) translateY(27px) translateZ(-160px) rotateY(-38deg) scale(.76); opacity: .8; }
  .showcase-card[data-position="3"] { transform: translateX(-50%) translateZ(-400px) scale(.6); opacity: 0; }
  .showcase-art { border-radius: 16px; }
  .showcase-product-info { padding: 10px 11px 13px; }
  .showcase-product-info h3 { color: #193e2e; font-size: 15px; margin-bottom: 3px; }
  .showcase-product-info > p { font-size: 10px; margin-bottom: 7px; }
  .showcase-price { font-size: 13px; gap: 4px; }
  .showcase-price small { font-size: 9px; }
  .showcase-price .trial { font-size: 8px; padding-inline: 4px; }
  .showcase-toolbar { gap: 10px; margin-top: 0; }
  .showcase-dots { max-width: 126px; }
  .showcase-count { flex-basis: 100%; margin-top: 6px; font-size: 11px; }
  .showcase-action { margin-top: 20px; gap: 10px; }
  .showcase-action .button { font-size: 13px; min-width: 210px; }
}
@media(prefers-reduced-motion:reduce) {
  .showcase-card { transition: none !important; }
}


.showcase-product-info .trial { color: #7b602d; border-color: #ad8a4d77; background: #b99d5810; }

