/* A dimensional storefront; product controls stay on their normal layout plane. */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  min-height: 430px;
  padding: 35px 40px;
  background: radial-gradient(ellipse at 80% 0%,#edceb3aa,transparent 60%),linear-gradient(120deg,#fff9f1,#f4dfce);
  border: 1px solid #d3af93;
  border-radius: 26px;
  box-shadow: 0 22px 40px #56321e12,0 4px 0 #e2c4ad,inset 0 1px 0 #fff;
}
.hero::before { content: ''; position: absolute; width: 440px; height: 440px; right: -110px; top: -140px; border: 1px solid #b9845b33; border-radius: 50%; box-shadow: 0 0 0 30px #fff4e921,0 0 0 60px #b9845b0a; pointer-events: none; }
.hero-content { position: relative; z-index: 3; grid-column: 1; grid-row: 1; width: 100%; min-width: 0; padding: 0; }
.hero h1 { font-size: clamp(47px,4.6vw,66px); line-height: .99; }
.hero-description { max-width: 330px; }
.hero-actions { gap: 10px; }
.hero-actions .button { padding-inline: 19px; border-radius: 11px; }
.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  inset: auto;
  z-index: 1;
  height: 338px;
  width: 100%;
  min-width: 0;
  border: 7px solid #fff8ef;
  border-radius: 80px 21px 70px 21px;
  background: #b27b51;
  transform: perspective(1100px) rotateY(-7deg) rotateZ(1deg);
  box-shadow: 8px 9px 0 #cda382,18px 24px 32px #603a2730,inset 0 0 0 1px #fff;
  transition: transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease;
}
.hero-visual > img { position: absolute; right: 0; width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: right center; transform-origin: right center; }
.hero .hero-shade { background: linear-gradient(180deg,#fff5de0a,transparent 60%,#3c241b30); }
.hero-visual::after { content: ''; position: absolute; inset: -60% -30%; pointer-events: none; background: linear-gradient(115deg,transparent 35%,#fff5d34a 48%,#fff9e55e 50%,transparent 62%); transform: translateX(-90%); opacity: 0; }
.hero-caption { z-index: 4; right: 35px; bottom: 32px; padding: 14px 20px; color: #513022; background: linear-gradient(145deg,#fffffff5,#fcead7ed); border: 1px solid #fff8; border-radius: 15px 15px 15px 4px; box-shadow: 0 10px 20px #3f231d25,inset 0 1px 0 #fff; transform: rotate(-3deg); }
.hero-caption .handwritten { font-size: 23px; }
.hero-ambience { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.atelier-pearl { position: absolute; display: block; border-radius: 50%; background: radial-gradient(circle at 28% 23%,#fffdf3 0%,#ffe9ca 18%,#d7a271 48%,#9a5e3b 76%,#c4946b 100%); box-shadow: inset -5px -8px 15px #73402540,inset 2px 2px 6px #fff9,7px 12px 17px #6b402223; }
.pearl-one { width: 50px; height: 50px; top: 15px; right: 48%; }
.pearl-two { width: 25px; height: 25px; bottom: 19px; right: 47%; background: radial-gradient(circle at 28% 23%,#ffe9df,#bd7f72 35%,#753837 72%,#9c5c4d); }
.atelier-orbit { position: absolute; width: 190px; height: 190px; right: -48px; bottom: -104px; border: 23px solid transparent; border-radius: 50%; background: linear-gradient(#efd6bf,#f4e2d2) padding-box,conic-gradient(from 30deg,#e8bf8f,#fff5d8,#b77b4b,#f3d2aa,#e8bf8f) border-box; box-shadow: 6px 7px 14px #6743291c,inset 2px 4px 8px #9b633137; transform: rotate(-24deg) scaleY(.72); }
.motion-enabled.hero-in-view .pearl-one { animation: pearl-drift 7s ease-in-out infinite; }
.motion-enabled.hero-in-view .pearl-two { animation: pearl-drift 9s ease-in-out -3s infinite reverse; }
.motion-enabled.hero-in-view .hero-caption { animation: label-drift 8s ease-in-out infinite; }
.motion-enabled.hero-in-view .hero-visual::after { animation: window-reflection 11s ease-in-out infinite; }
.motion-enabled.hero-in-view .hero-visual > img { animation-duration: 22s; }
.motion-enabled .motion-enter { animation-name: atelier-arrive; animation-duration: .65s; }
:is(#witryna,#kalendarz,#sklep,#sezon) .product-card { position: relative; isolation: isolate; box-shadow: 0 8px 15px #4e2c1d12,0 3px 0 #d9bcaa70,inset 0 1px 0 #fff; }
:is(#witryna,#kalendarz,#sklep,#sezon) .product-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; background: radial-gradient(circle at var(--light-x,50%) var(--light-y,25%),#fff9,transparent 65%); transition: opacity .4s; }
.motion-enabled :is(.product-card,.favorite-card,.promo-card) { transition: transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .3s ease; }
.product-image-wrap > img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.motion-enabled .calendar-day.is-selected { animation: date-settle .42s ease-out; }
.motion-enabled .button,.motion-enabled .card-add,.motion-enabled .card-stepper button { transition: transform .18s ease,box-shadow .18s ease,background .2s ease; }
.motion-enabled .button:active,.motion-enabled .card-add:active,.motion-enabled .card-stepper button:not(:disabled):active { transform: translateY(2px) scale(.985); }
.motion-enabled .bottom-nav > .is-active .icon { animation: menu-settle .35s ease-out; }
.motion-enabled .cart-confirmation:not([hidden]) { animation: confirmation-arrive .35s cubic-bezier(.2,.8,.2,1); }
.motion-enabled .button-dark:not(:disabled):hover .icon,.motion-enabled .text-button:hover .icon { transform: translateX(3px); }
.button .icon,.text-button .icon { transition: transform .25s ease; }
@keyframes pearl-drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(5px,-10px,0); } }
@keyframes label-drift { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(-1deg); } }
@keyframes window-reflection { 0%,12% { opacity: 0; transform: translateX(-85%); } 28% { opacity: .7; } 48%,100% { opacity: 0; transform: translateX(85%); } }
@keyframes atelier-arrive { from { opacity: .15; transform: perspective(1000px) translateY(16px) rotateX(3deg); } to { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0); } }
@keyframes date-settle { from { transform: translateY(4px); } to { transform: translateY(0); } }
@keyframes menu-settle { 50% { transform: translateY(-3px); } }
@keyframes confirmation-arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .motion-enabled .hero.has-depth-pointer .hero-visual { transform: perspective(1100px) rotateX(var(--depth-x,0deg)) rotateY(calc(-7deg + var(--depth-y,0deg))) rotateZ(1deg); }
  .motion-enabled :is(#witryna,#kalendarz,#sklep,#sezon) .product-card.has-depth-pointer { transform: perspective(900px) rotateX(var(--depth-x,0deg)) rotateY(var(--depth-y,0deg)) translateY(-5px); box-shadow: 0 17px 28px #4e2c1d23,0 3px 0 #caa78d80,inset 0 1px 0 #fff; }
  .motion-enabled .product-card.has-depth-pointer::after { opacity: .24; }
  .motion-enabled .product-card.has-depth-pointer .product-image-wrap > img { transform: scale(1.055); }
}
@media (max-width:1100px) {
  .hero { padding: 30px; gap: 24px; }
  .hero-visual { height: 315px; border-radius: 60px 18px 55px 18px; }
  .hero-actions .button { padding-inline: 13px; font-size: 11px; gap: 8px; }
  .hero-caption { right: 25px; bottom: 28px; }
}
@media (min-width:601px) and (max-width:899px) {
  .hero { min-height: 385px; padding: 26px; grid-template-columns: 1.1fr 1fr; gap: 18px; }
  .hero h1 { font-size: 47px; }
  .hero-visual { height: 300px; border-width: 5px; }
  .hero-actions { flex-wrap: wrap; gap: 8px; }
  .hero-actions .button { min-height: 44px; }
  .hero-caption { bottom: 24px; right: 20px; padding: 10px 13px; }
  .hero-caption .handwritten { font-size: 20px; }
}
@media (max-width:600px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 23px 20px 24px; gap: 21px; border-radius: 20px; overflow: hidden; }
  .hero-content { grid-column: 1; grid-row: 1; padding: 0; }
  .hero h1 { font-size: clamp(39px,10.5vw,48px); }
  .hero-content .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .hero-description { margin-top: 12px; max-width: 290px; font-size: 13px; line-height: 1.65; }
  .hero-actions { margin-top: 16px; gap: 8px; }
  .hero-actions .button { padding-inline: 10px; font-size: 11px; gap: 8px; min-height: 46px; }
  .hero-location { margin-top: 12px; font-size: 11px; }
  .hero-visual { grid-column: 1; grid-row: 2; height: 145px; width: calc(100% - 7px); margin: 0 0 0 1px; border-width: 4px; border-radius: 36px 13px 32px 13px; transform: perspective(800px) rotateY(-5deg) rotateZ(-1deg); box-shadow: 5px 6px 0 #cda382,9px 12px 15px #603a2725; }
  .hero-caption { display: flex; bottom: 14px; right: 16px; padding: 9px 12px; border-radius: 10px 10px 10px 2px; }
  .hero-caption .handwritten { font-size: 17px; }
  .hero-caption .icon { width: 14px; height: 14px; }
  .pearl-one { width: 30px; height: 30px; right: 10px; top: 20px; opacity: .65; }
  .pearl-two { width: 22px; height: 22px; right: 8px; left: auto; bottom: 170px; }
  .atelier-orbit { width: 120px; height: 120px; border-width: 15px; right: -32px; bottom: -68px; }
  .motion-enabled.hero-in-view .hero-visual::after { animation-duration: 14s; }
}
@media (max-width:359px) {
  .hero { padding-inline: 17px; gap: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { min-height: 44px; }
  .hero-visual { height: 125px; }
  .pearl-one { width: 23px; height: 23px; right: 8px; top: 16px; }
}
.motion-paused .has-depth-pointer { --depth-x: 0deg; --depth-y: 0deg; }
@media (prefers-reduced-motion:reduce) {
  .hero-visual { transform: none; }
  .hero-visual::after { display: none; }
  .hero-caption,.atelier-pearl,.motion-enter,.cart-confirmation,.calendar-day,.bottom-nav .icon { animation: none !important; }
}
