/* Shop Page - Festive Rosh Hashanah Theme (Apple & Honey) */
body { 
  background: #fafafa;
  color:#333; 
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
}
.shop-wrap { max-width: 1200px; margin: 100px auto 50px; padding: 0 20px; }
.shop-title { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  font-weight: 900; 
  letter-spacing:1px; 
  margin-bottom: 30px; 
  color: #333;
  text-align: center;
}

/* Festive Banner */
.halloween-banner {
  background: linear-gradient(135deg, #ffe08a, #ffb347, #ff6f61);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 0 0 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(255, 179, 71, .35);
  animation: holidayPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
@keyframes holidayPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(255, 179, 71, .35); }
  50% { transform: scale(1.015); box-shadow: 0 16px 56px rgba(255, 179, 71, .5); }
}
.pumpkin-icon {
  font-size: 56px; /* now apples & honey */
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.1));
  animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-6deg) translateY(-3px); }
  50% { transform: rotate(0deg) translateY(0); }
  75% { transform: rotate(6deg) translateY(-3px); }
}
.halloween-text {
  flex: 1;
  color: #432c00;
}
.halloween-title {
  font-weight: 900;
  font-size: 30px;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(255,255,255,.35);
}
.halloween-discount {
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #7b3f00, #b8860b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 2.2s ease-in-out infinite;
}
.halloween-sub {
  font-size: 15px;
  opacity: .9;
  color: #5e3b00;
}
@keyframes shimmer {
  0% { filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
  50% { filter: drop-shadow(0 0 8px rgba(255, 215, 0, .35)); }
  100% { filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
}

/* Honey drips decoration */
.honey-drips, .honey-drips::before, .honey-drips::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 10%;
  width: 140px; height: 140px;
  background: radial-gradient(circle at 60% 20%, rgba(255, 215, 0, .85), rgba(255, 166, 0, .7));
  border-radius: 50% 50% 60% 60%;
  filter: blur(10px) opacity(.35);
  animation: drip 6s ease-in-out infinite;
}
.honey-drips::before { right: 26%; width: 100px; height: 100px; animation-delay: 1s; }
.honey-drips::after  { right: 40%; width: 80px; height: 80px;  animation-delay: 2s; }
@keyframes drip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

.shop-sub { color:#666; margin-bottom: 24px; font-size: 16px; text-align: center; }

/* Grid & Cards */
.grid { 
  display:grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); 
  gap:24px; 
  margin-top: 24px; 
}
.card { 
  position:relative; 
  background: #ffffff;
  border: 2px solid #e0e0e0; 
  border-radius: 20px; 
  padding: 24px; 
  display:flex; 
  flex-direction:column; 
  gap:16px; 
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.card:hover { 
  transform: translateY(-10px) rotate(0.5deg) scale(1.03); 
  box-shadow: 0 20px 60px rgba(255, 179, 71, .28);
  border-color: #ffb347;
}

/* Shine sweep on hover */
.card::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -40%;
  width: 60%;
  height: 300%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.card:hover::after {
  transform: translateX(260%) rotate(25deg);
}

/* Product icon wrapper */
.img-wrap { 
  display:grid; 
  place-items:center; 
  height:180px; 
  background: linear-gradient(135deg, #f5f5f5, #fafafa); 
  border-radius: 14px; 
  border: 1px solid #e0e0e0; 
  overflow: hidden;
  padding: 0;
}
.card img { 
  width:90%; 
  height:90%; 
  object-fit:contain; 
  transform: translateZ(0);
  transition: transform .3s ease;
}
.card:hover .card img { transform: scale(1.05) translateY(-1px); }

/* Text styles */
.name { 
  font-weight:900; 
  font-size: 20px; 
  color:#333;
  min-height: 28px;
}
.qty { 
  opacity:.7; 
  min-height: 44px; 
  font-size: 14px; 
  color:#666;
}

/* Price section */
.price-row { 
  display:flex; 
  align-items:center; 
  gap:12px; 
  flex-wrap:wrap; 
}
.price { 
  font-weight:900; 
  color:#333; 
  font-size: 28px;
}
.price-old { 
  text-decoration:line-through; 
  opacity:.4; 
  font-size:18px; 
  color:#999; 
}
.discount-badge {
  background: linear-gradient(135deg, #ffd700, #ffb000);
  color:#4a2f00;
  padding:6px 14px;
  border-radius:12px;
  font-weight:900;
  font-size:13px;
  box-shadow: 0 6px 16px rgba(255, 176, 0, .35);
  position: relative;
  overflow: hidden;
}
.discount-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  animation: badgeShine 2.8s ease-in-out infinite;
}
@keyframes badgeShine {
  0% { transform: translateX(-120%); }
  60% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.act { display:flex; gap:12px; }
.btn { 
  border:0; 
  border-radius: 12px; 
  padding:14px 20px; 
  font-weight:900; 
  font-size:16px;
  cursor:pointer; 
  transition: all .3s ease;
  font-family: 'Rubik', sans-serif;
}
.btn:hover { 
  transform: translateY(-2px);
}
.btn.buy { 
  padding:14px 20px; 
  border-radius: 12px; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  gap:8px;
  width:100%;
}
.paypal-btn { 
  background: linear-gradient(135deg, #ffb347, #ff6f61);
  color:#ffffff;
  box-shadow: 0 6px 20px rgba(255, 111, 97, .25);
  font-weight: 800;
}
.paypal-btn:hover {
  box-shadow: 0 8px 28px rgba(255, 111, 97, .35);
  transform: translateY(-3px) scale(1.02);
}
.btn .icon { width:20px; height:20px; display:inline-block; }
.note { opacity:.6; margin-top: 16px; font-size: 13px; text-align:center; color:#999; }
h3 { 
  color:#333; 
  font-weight:900; 
  font-size:22px; 
  margin-top:32px;
  padding-bottom: 12px;
}

@media (max-width: 640px) {
  .shop-wrap { margin-top: 80px; }
  .halloween-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  .pumpkin-icon {
    font-size: 40px;
  }
  .halloween-title {
    font-size: 24px;
  }
}

/* Purchase Modal - Bright & Clean */
.modal-overlay { 
  position: fixed; 
  inset: 0; 
  display: grid; 
  place-items: center; 
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  z-index: 5000; 
  animation: fadeIn .2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content { 
  width: min(92vw, 650px); 
  max-height: 90vh;
  border-radius: 24px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color:#333; 
  box-shadow: 0 24px 80px rgba(0,0,0,.15);
  overflow-y: auto;
  overflow-x: hidden;
  animation: popIn .3s ease;
}
@keyframes popIn { 
  from { transform:scale(.9) translateY(20px); opacity:.7; } 
  to { transform:scale(1) translateY(0); opacity:1; } 
}
.modal-body input { 
  background:#fafafa;
  border:2px solid #e0e0e0; 
  color:#333; 
  border-radius: 12px; 
  padding:14px 16px; 
  width:100%;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  transition: all .2s ease;
}
.modal-body input:focus {
  outline: none;
  border-color: #6c5ce7;
  background:#ffffff;
  box-shadow: 0 0 0 3px rgba(108,92,231,.1);
}
.modal-body input::placeholder {
  color:#999;
  font-size: 15px;
}
.modal-actions .btn { min-width: 130px; }
.modal-header { 
  display:flex; 
  align-items:center; 
  gap:14px; 
  padding: 20px 24px; 
  background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
  border-radius: 22px 22px 0 0;
}
.modal-icon { width:32px; height:32px; font-size: 32px; }
.modal-title { font-weight: 900; font-size: 22px; color:#fff; }
.modal-close { 
  margin-inline-start:auto; 
  background: rgba(255,255,255,.15); 
  border:0; 
  color:#fff; 
  font-size: 22px; 
  cursor: pointer; 
  border-radius: 10px; 
  padding: 6px 12px;
  transition: background .2s ease;
}
.modal-close:hover { background: rgba(255,255,255,.25); }
.modal-body { padding: 28px; display:flex; flex-direction:column; gap:18px; }
.modal-package { font-weight: 900; color:#6c5ce7; font-size: 18px; }
.modal-text { opacity: .75; line-height: 1.8; font-size: 15px; color:#666; }
.modal-footnote { opacity: .65; font-size: 13px; color:#999; }
.contact-link { color:#6c5ce7; text-decoration: underline; font-weight:600; }
.modal-actions { display: flex; justify-content: flex-end; gap:12px; padding: 0 28px 24px; }
.btn-ghost { 
  background:transparent;
  border:2px solid #6c5ce7;
  color:#6c5ce7;
}
.btn-ghost:hover {
  background:rgba(108,92,231,.05);
  border-color: #5f3dc4;
}

/* Package Display Styles */
.modal-package-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border-radius: 14px;
  border: 2px solid #e0e0e0;
}
.package-icon {
  font-size: 40px;
  line-height: 1;
}
.package-info {
  flex: 1;
}
.package-name {
  font-weight: 900;
  color: #333;
  font-size: 20px;
  margin-bottom: 8px;
}
.package-price {
  font-size: 17px;
  color: #666;
}
.package-price strong {
  color: #6c5ce7;
  font-size: 19px;
}
.username-label {
  display: block;
  font-weight: 700;
  color: #333;
  font-size: 16px;
  margin-bottom: 10px;
}
.warning-box {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-radius: 14px;
  border: 2px solid #ff8c00;
  margin-top: 8px;
}
.warning-icon {
  font-size: 32px;
  line-height: 1.2;
}
.warning-content {
  flex: 1;
}
.warning-title {
  font-weight: 800;
  color: #ff8c00;
  margin-bottom: 6px;
  font-size: 18px;
}
.warning-content div:not(.warning-title) {
  font-size: 14px;
  line-height: 1.6;
  color:#666;
}
#paypal-button-container { 
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
#paypal-button-container > * {
  max-width: 100%;
}
