* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: #0A0E17; color: #F1FAEE; overflow-x: hidden; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0E17; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #E63946, #1D3557); border-radius: 5px; }

.gradient-text {
  background: linear-gradient(135deg, #E63946 0%, #F1FAEE 50%, #1D3557 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #D4A574 0%, #F4D03F 50%, #D4A574 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.gold-gradient-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(244, 208, 63, 0.3) 50%, rgba(212, 165, 116, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(8px);
  z-index: -1;
  opacity: 0.5;
}

.american-gradient-text {
  background: linear-gradient(90deg, #E63946 0%, #F1FAEE 50%, #1D3557 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-patriotic {
  background: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
  color: #F1FAEE;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-patriotic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-patriotic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-patriotic:hover::before { left: 100%; }
.btn-patriotic:hover::after { opacity: 1; }
.btn-patriotic:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
  border-color: rgba(255,255,255,0.2);
}

.btn-patriotic:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-patriotic svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-patriotic:hover svg {
  transform: translateX(4px);
}

.glass {
  background: rgba(29, 53, 87, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.star {
  position: absolute;
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.wave {
  animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: skewX(0deg); }
  50% { transform: skewX(1deg); }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatDelayed {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

.float-element {
  animation: float 5s ease-in-out infinite;
}

.float-element-delayed {
  animation: floatDelayed 6s ease-in-out infinite;
  animation-delay: 1s;
}

/* Navbar scroll styles - floating effect */
#nav-container {
  transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
}

#nav-inner {
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  #nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav-logo-container {
    justify-self: start;
  }

  .nav-links {
    justify-self: center;
  }

  .nav-actions {
    justify-self: end;
  }
}

.nav-logo-container, .nav-links, #nav-text {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

#nav-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
  white-space: nowrap;
  transform-origin: center center;
  min-height: 40px;
}

#nav-text > span {
  display: inline-flex;
  align-items: center;
}

.nav-scrolled {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 50px;
  margin: 16px auto 0;
  max-width: 1100px;
}

.nav-scrolled #nav-inner {
  height: 56px;
}

.nav-scrolled #nav-container {
  max-width: 1100px;
  padding: 0 32px;
}

.nav-scrolled .nav-logo-container {
  transform: none;
}

.nav-scrolled .nav-links {
  transform: none;
}

.nav-scrolled #nav-text {
  transform: none;
  opacity: 0.9;
  min-height: 32px;
}

/* Navbar load animation */
@keyframes navLoadIn {
  from {
    transform: translate3d(0, -100%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.nav-load-anim {
  animation: navLoadIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Enhanced Navbar scroll transition */
#navbar {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease, margin 0.4s ease, max-width 0.4s ease, padding 0.4s ease;
  border: 0;
}

#navbar a,
#navbar button,
#navbar img,
#navbar svg {
  border: 0;
}

.nav-scrolled {
  background: rgba(10, 14, 23, 0.95) !important;
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  border-radius: 16px;
  margin: 12px auto 0;
  max-width: 1000px;
}

/* Smooth link hover underline */
.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4A574, transparent);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #D4A574;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Cart button pulse when items added */
@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

#cart-count.animate {
  animation: cartPulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Shop Cards */
.package-item {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for cards */
.package-item:nth-child(1) { animation-delay: 0.1s; }
.package-item:nth-child(2) { animation-delay: 0.15s; }
.package-item:nth-child(3) { animation-delay: 0.2s; }
.package-item:nth-child(4) { animation-delay: 0.25s; }
.package-item:nth-child(5) { animation-delay: 0.3s; }
.package-item:nth-child(6) { animation-delay: 0.35s; }
.package-item:nth-child(7) { animation-delay: 0.4s; }
.package-item:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cart Page Animations */
@keyframes cartSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cartFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#cart-page {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cart-page.cart-animate-in {
  animation: cartFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#cart-page.cart-animate-in > div {
  animation: cartSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: 0.05s;
  animation-fill-mode: both;
}

/* Cart Page Exit Animation */
@keyframes cartSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}

@keyframes cartFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

#cart-page.cart-animate-out {
  animation: cartFadeOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#cart-page.cart-animate-out > div {
  animation: cartSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Patriotic Cards */
.card-patriotic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 165, 116, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card-patriotic:hover::before {
  opacity: 1;
}

/* Cart Notification Animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes notificationPop {
  0% { transform: translateY(100%) scale(0.8); opacity: 0; }
  60% { transform: translateY(0) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes notificationGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(212, 165, 116, 0.2); }
  50% { box-shadow: 0 4px 30px rgba(212, 165, 116, 0.4), 0 0 20px rgba(212, 165, 116, 0.1); }
}

.animate-slide-up {
  animation: notificationPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             notificationGlow 2s ease-in-out infinite 0.5s;
}

#package-modal {
  animation: modalBackdropIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#package-modal > div > div {
  animation: modalContentIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#package-modal.hidden {
  animation: modalBackdropOut 0.3s ease forwards;
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes modalContentIn {
  from { 
    opacity: 0; 
    transform: translateY(40px) scale(0.95) rotateX(-5deg);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1) rotateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Custom scrollbar for modal */
#package-modal .overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

#package-modal .overflow-y-auto::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

#package-modal .overflow-y-auto::-webkit-scrollbar-thumb {
  background: #D4A574;
  border-radius: 3px;
}

/* Logo sizing */
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-scrolled .nav-logo-img {
  width: 32px;
  height: 32px;
}

/* Nav links hover effect */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #D4A574;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

/* FAQ Enhanced Animations */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(212, 165, 116, 0.3);
  background: rgba(255,255,255,0.04);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-10px);
}

.faq-content.open {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.faq-content > div {
  transition: all 0.4s ease;
  transform: translateY(10px);
}

.faq-content.open > div {
  transform: translateY(0);
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

/* License Plate Cards */
/* VIP Product Cards - Elegant Premium Design */
.plate-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0) rotateX(0) rotateY(0);
  overflow: hidden;
  
  /* Clean elevated shadow */
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.03),
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.05);
}

/* Elegant gold accent line at top */
.plate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #d4a574 20%, 
    #f4d03f 50%, 
    #d4a574 80%, 
    transparent 100%
  );
  opacity: 0.8;
  z-index: 5;
}

/* Subtle gold border on hover */
.plate-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.plate-card:hover::after {
  border-color: rgba(212, 165, 116, 0.4);
}

.plate-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(212, 165, 116, 0.15);
}

/* Plate image zoom on hover */
.plate-image-wrap {
  margin: 0 8px;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.plate-image-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.plate-card:hover .plate-image-wrap img {
  transform: scale(1.05);
}

/* Hide corner bolts - not needed for this design */
.plate-card .corner-bolt {
  display: none;
}

/* VIP Category Filter Buttons - Minimal Premium */
.package-filter {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

/* Hover background effect */
.package-filter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

/* Elegant underline accent */
.package-filter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4a574, #f4d03f, #d4a574, transparent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-filter:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.package-filter:hover::before {
  opacity: 1;
}

.package-filter:hover::after {
  width: 70%;
}

.package-filter.active {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
}

.package-filter.active::after {
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #d4a574, #f4d03f, #d4a574);
}

/* Click ripple effect */
.package-filter:active {
  transform: translateY(0) scale(0.98);
}

/* Plate inner content border */
.plate-inner-border {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid #1D3557;
  border-radius: 4px;
  pointer-events: none;
}

/* Plate Header - Clean VIP style */
.plate-header {
  background: linear-gradient(180deg, #1D3557 0%, #0f1f33 100%);
  color: white;
  text-align: center;
  padding: 6px;
  margin: 8px 8px 0 8px;
  border-radius: 8px 8px 0 0;
  position: relative;
}

.plate-state {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.plate-tagline {
  font-size: 0.4rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* Plate Image */
.plate-image-wrap {
  margin: 0 8px;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.plate-image-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

/* Plate Number Area */
.plate-number-area {
  background: white;
  margin: 0 8px;
  padding: 10px 4px;
  text-align: center;
  border: 1px solid #e9ecef;
  border-top: none;
}

.plate-title {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.plate-desc {
  font-size: 0.6rem;
  color: #6c757d;
  margin-top: 2px;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Plate Footer */
.plate-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 8px 8px 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #E63946 0%, #c1121f 100%);
  border-radius: 0 0 8px 8px;
  color: white;
}

.plate-price {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.plate-original {
  font-size: 0.65rem;
  text-decoration: line-through;
  opacity: 0.7;
  margin-left: 4px;
}

.plate-year {
  font-size: 0.5rem;
  font-weight: 700;
  background: white;
  color: #1a1a2e;
  padding: 2px 6px;
  border-radius: 2px;
}

/* Quick Add Button */
.plate-add-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 4px 20px rgba(230, 57, 70, 0.5),
    0 0 0 1px rgba(255,255,255,0.2) inset;
  z-index: 10;
  border-radius: 6px;
  overflow: hidden;
}

.plate-add-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.plate-card:hover .plate-add-btn {
  transform: translate(-50%, -50%) scale(1);
}

.plate-add-btn:hover {
  background: linear-gradient(135deg, #1D3557 0%, #0f1f33 100%);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 
    0 6px 25px rgba(29, 53, 87, 0.5),
    0 0 0 1px rgba(255,255,255,0.2) inset;
}

.plate-add-btn:hover::before {
  left: 100%;
}

.plate-add-btn:active {
  transform: translate(-50%, -50%) scale(0.98);
}

/* Badges - VIP gold styling */
.plate-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  color: #1a1a2e;
  font-size: 0.5rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 20;
  transform: rotate(12deg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  50% { 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 15px 3px rgba(255, 215, 0, 0.2);
  }
}

.plate-card:hover .plate-badge {
  transform: rotate(12deg) scale(1.1);
  animation: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px 5px rgba(255, 215, 0, 0.3);
}

/* License Plate Modal Styles */
.plate-modal-frame {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 4px #1a1a2e,
    0 0 0 6px #1D3557;
  position: relative;
}

.plate-modal-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: #1a1a2e;
  border-radius: 50%;
  box-shadow: 
    calc(100% - 32px) 0 0 #1a1a2e,
    0 calc(100% - 32px) 0 #1a1a2e,
    calc(100% - 32px) calc(100% - 32px) 0 #1a1a2e;
}

.plate-modal-header {
  background: linear-gradient(180deg, #1D3557 0%, #0f1f33 100%);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 4px;
}

.plate-modal-state {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.plate-modal-tagline {
  font-size: 0.6rem;
  opacity: 0.8;
  letter-spacing: 2px;
  margin-top: 2px;
}

.plate-modal-content {
  background: white;
  border-radius: 0 0 6px 6px;
  min-height: 300px;
}

.plate-modal-footer {
  text-align: center;
  padding: 8px;
  margin-top: 4px;
}

.plate-modal-registration {
  font-family: 'Courier New', monospace;
  font-size: 0.5rem;
  color: #6c757d;
  letter-spacing: 2px;
}

/* License Plate Bolt Close Button */
.plate-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #6c757d 0%, #495057 50%, #343a40 100%);
  border: 3px solid #f8f9fa;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 0 #212529,
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

.plate-modal-close::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.plate-modal-close svg {
  width: 18px;
  height: 18px;
  color: white;
  position: relative;
  z-index: 2;
}

.plate-modal-close:hover {
  transform: translateY(-2px) rotate(90deg);
  background: linear-gradient(145deg, #E63946 0%, #c1121f 50%, #8b0000 100%);
  box-shadow: 
    0 6px 0 #8b0000,
    0 12px 25px rgba(230, 57, 70, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.plate-modal-close:active {
  transform: translateY(2px) rotate(90deg);
  box-shadow: 
    0 2px 0 #8b0000,
    0 4px 10px rgba(230, 57, 70, 0.3);
}

/* Modal Inner Content Styles */
.plate-modal-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .plate-modal-inner {
    flex-direction: row;
  }
}

.plate-modal-image-section {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: visible;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  border-radius: 0 0 0 6px;
}

@media (min-width: 768px) {
  .plate-modal-image-section {
    width: 50%;
    height: auto;
    min-height: 400px;
  }
}

.plate-modal-image-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(248, 249, 250, 0.3) 100%);
  z-index: 11;
  pointer-events: none;
}

.plate-modal-image-section::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid #1D3557;
  border-radius: 0 0 0 6px;
  border-right: none;
  z-index: 12;
  pointer-events: none;
}

.plate-modal-image-section img {
  width: 150%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scaleX(-1);
  margin-right: -50%;
  position: relative;
  z-index: 10;
  filter: drop-shadow(4px 0 15px rgba(0, 0, 0, 0.5));
}

.plate-modal-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #E63946;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.plate-modal-details {
  flex: 1;
  padding: 24px;
  background: linear-gradient(90deg, transparent 0%, #f8f9fa 15%, #f8f9fa 100%);
  position: relative;
  z-index: 5;
}

.plate-modal-title {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.plate-modal-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #dee2e6;
}

.plate-modal-price {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #E63946;
}

.plate-modal-original {
  font-size: 1rem;
  color: #adb5bd;
  text-decoration: line-through;
}

.plate-modal-desc {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 20px;
}

.plate-modal-perks-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #1D3557;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plate-modal-perks-title::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #dee2e6, transparent);
}

.plate-modal-perks {
  list-style: none;
  margin-bottom: 24px;
}

.plate-modal-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.85rem;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
}

.plate-modal-perks li:last-child {
  border-bottom: none;
}

.plate-modal-perks li svg {
  width: 18px;
  height: 18px;
  color: #E63946;
  flex-shrink: 0;
  margin-top: 1px;
}

.plate-modal-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid #dee2e6;
}

.plate-modal-btn-primary {
  flex: 1;
  background: linear-gradient(180deg, #E63946 0%, #c1121f 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 0 #8b0000, 0 6px 10px rgba(230, 57, 70, 0.3);
}

.plate-modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #8b0000, 0 8px 15px rgba(230, 57, 70, 0.4);
}

.plate-modal-btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8b0000, 0 3px 5px rgba(230, 57, 70, 0.3);
}

.plate-modal-btn-secondary {
  padding: 14px 20px;
  background: white;
  border: 2px solid #dee2e6;
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.plate-modal-btn-secondary:hover {
  border-color: #1D3557;
  color: #1D3557;
}

/* Eagle holding the container */
.eagle-container {
  position: relative;
  pointer-events: none;
  margin-top: -40px;
}

.eagle-image {
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.6));
  transform: scale(1.1);
}

/* Footer link enhancements */
footer a {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #D4A574, #F4D03F);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

footer a:hover {
  color: #D4A574;
}

footer a:hover::after {
  width: 100%;
}

/* Exclude social icons and View Packages button from underline effect */
footer a.w-10,
footer a.h-10,
footer a.no-underline,
footer a.w-10::after,
footer a.h-10::after,
footer a.no-underline::after {
  display: none;
}

/* Social icons enhanced hover */
footer .w-10.h-10 {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

footer .w-10.h-10:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

/* Cart item - clean static design, no hover animations */
.cart-item-card {
  position: relative;
  overflow: hidden;
}

.cart-item-card:hover {
  border-color: rgba(212, 165, 116, 0.2);
  background: rgba(255,255,255,0.02);
}

/* Quantity buttons - subtle color transition only */
.cart-item-card button {
  transition: color 0.2s ease, background-color 0.2s ease;
}


/* Section Dividers */
.section-divider {
  height: 80px;
  background: linear-gradient(180deg, #0A0E17 0%, #0d1117 50%, #0A0E17 100%);
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 165, 116, 0.2) 20%, rgba(212, 165, 116, 0.4) 50%, rgba(212, 165, 116, 0.2) 80%, transparent 100%);
}

.section-divider::after {
  content: '★';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(212, 165, 116, 0.4);
  font-size: 1.2rem;
  background: #0A0E17;
  padding: 0 1rem;
}

/* Typing Animation */
.typing-cursor {
  animation: blink 1s step-end infinite;
  color: #D4A574;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#typing-text {
  display: inline;
}

/* FAQ & TOS Section Animations */
.faq-item {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  border-color: rgba(212, 165, 116, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* TOS Content Animation */
#tos .max-w-2xl > * {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#tos .max-w-2xl.visible > * {
  opacity: 1;
  transform: translateY(0);
}

#tos .max-w-2xl.visible > *:nth-child(1) { transition-delay: 0.1s; }
#tos .max-w-2xl.visible > *:nth-child(2) { transition-delay: 0.15s; }
#tos .max-w-2xl.visible > *:nth-child(3) { transition-delay: 0.2s; }
#tos .max-w-2xl.visible > *:nth-child(4) { transition-delay: 0.25s; }
#tos .max-w-2xl.visible > *:nth-child(5) { transition-delay: 0.3s; }
#tos .max-w-2xl.visible > *:nth-child(6) { transition-delay: 0.35s; }
#tos .max-w-2xl.visible > *:nth-child(7) { transition-delay: 0.4s; }

/* Constitution-style drop cap for TOS */
.font-constitution p:first-of-type::first-letter {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  margin-top: -0.25rem;
  color: #8B0000;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ========================================
   PATRIOTIC NOTIFICATION - License Plate Style
   ======================================== */

.patriotic-notification {
  position: relative;
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
  padding: 6px;
  border-radius: 16px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 2px #D4A574,
    0 0 30px rgba(212, 165, 116, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  min-width: 320px;
  transform-origin: bottom right;
}

/* Corner Bolts */
.plate-bolt {
  position: absolute;
  width: 14px;
  height: 14px;
  background: linear-gradient(145deg, #6c757d 0%, #495057 50%, #343a40 100%);
  border: 2px solid #f8f9fa;
  border-radius: 50%;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.plate-bolt::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.bolt-tl { top: 8px; left: 8px; }
.bolt-tr { top: 8px; right: 8px; }
.bolt-bl { bottom: 8px; left: 8px; }
.bolt-br { bottom: 8px; right: 8px; }

/* License Plate Frame */
.plate-frame {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* Inner line border */
.plate-inner-line {
  position: absolute;
  inset: 4px;
  border: 2px solid #1D3557;
  border-radius: 6px;
  pointer-events: none;
  z-index: 5;
}

/* Header - Blue bar */
.notification-header {
  background: linear-gradient(180deg, #1D3557 0%, #0f1f33 100%);
  padding: 8px 16px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.header-stars {
  color: #D4A574;
  font-size: 0.5rem;
  letter-spacing: 2px;
  opacity: 0.9;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.notification-state {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notification-tagline {
  font-size: 0.35rem;
  color: rgba(212, 165, 116, 0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Content Area */
.notification-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f0f0f0 100%);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Big Star */
.notification-big-star {
  font-size: 2.5rem;
  color: #D4A574;
  text-shadow: 
    0 0 10px rgba(212, 165, 116, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.2);
  animation: starGlow 2s ease-in-out infinite;
  line-height: 1;
}

@keyframes starGlow {
  0%, 100% { 
    transform: scale(1);
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  50% { 
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.8), 0 0 30px rgba(212, 165, 116, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

/* Plate Text - License Plate Number Style */
.notification-plate-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plate-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #6c757d;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.plate-item {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Checkmark Seal */
.notification-seal {
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.seal-outer {
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, #E63946 0%, #c1121f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 3px 8px rgba(230, 57, 70, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: sealPulse 2s ease-in-out infinite;
}

.seal-inner {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-inner svg {
  width: 18px;
  height: 18px;
  color: #E63946;
}

@keyframes sealPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.6);
  }
}

/* Footer - Red bar with reg info */
.notification-footer {
  background: linear-gradient(180deg, #E63946 0%, #c1121f 100%);
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier New', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.notification-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.4) 50%, 
    transparent 100%
  );
}

.footer-center {
  background: white;
  color: #1a1a2e;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 800;
  font-size: 0.5rem;
}

/* Animation enhancements */
@keyframes notificationFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.9) rotate(3deg);
  }
}

/* Slide up animation */
.animate-slide-up .patriotic-notification {
  animation: notificationSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes notificationSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.8) rotateX(-15deg);
  }
  50% {
    transform: translateY(-8px) scale(1.02) rotateX(5deg);
  }
  70% {
    transform: translateY(4px) scale(0.99) rotateX(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}

/* Shine effect on frame */
.plate-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.2) 50%, 
    transparent 100%
  );
  animation: frameShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes frameShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

/* Tebex wrapper compatibility overrides */
.site {
display: block !important;
min-height: 100vh;
}

.site-header,
.site-footer,
.site-footer-inner {
margin: 0;
padding: 0;
width: 100%;
max-width: none;
background: transparent;
}

.site-content,
.site-content-widgets,
.store-sidebar,
.store-text {
display: block;
width: 100%;
margin: 0;
padding: 0;
background: transparent;
border: 0;
}

.package-inline-actions {
position: static;
}

.package-inline-actions .open-basket-cta[hidden] {
display: none;
}

.package-inline-actions .open-basket-cta:not([hidden]) {
transform: translate(-50%, -50%) scale(1);
}

.package-inline-actions.updating .plate-add-btn {
opacity: 0.5;
pointer-events: none;
}

#cart-page {
display: block;
}

#cart-page.hidden {
display: none;
}

.page-package .site-content-widgets {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 20px;
max-width: 1200px;
margin: 0 auto;
padding: 116px 16px 44px;
}

.page-package .wtp-product-shell {
background: linear-gradient(180deg, rgba(22, 28, 42, 0.96) 0%, rgba(13, 19, 32, 0.96) 100%);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
padding: 18px;
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.page-package .wtp-product-head {
margin-bottom: 16px;
padding-bottom: 14px;
border-bottom: 1px solid rgba(212, 165, 116, 0.35);
}

.page-package .wtp-eyebrow {
margin: 0 0 8px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 2.6px;
text-transform: uppercase;
color: rgba(212, 165, 116, 0.95);
}

.page-package .wtp-product-head .product-title {
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
font-family: 'Cinzel Decorative', serif;
font-size: 1.65rem;
line-height: 1.15;
color: #f1faee;
}

.page-package .wtp-product-head .countdown {
display: inline-flex;
padding: 4px 10px;
border-radius: 999px;
font-size: 0.72rem;
letter-spacing: 0.9px;
text-transform: uppercase;
background: rgba(230, 57, 70, 0.2);
border: 1px solid rgba(230, 57, 70, 0.45);
color: #ffd6dc;
}

.page-package .wtp-product-layout {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 18px;
}

.page-package .wtp-product-media {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 14px;
padding: 10px;
}

.page-package .wtp-product-media .image {
width: 100%;
display: block;
border-radius: 10px;
aspect-ratio: 16 / 10;
object-fit: cover;
}

.page-package .wtp-product-info {
display: flex;
flex-direction: column;
gap: 12px;
}

.page-package .wtp-product-info .plate-actions {
margin: 0;
}

.page-package .wtp-product-info .plate-actions .plate-footer {
margin: 0 0 10px;
}

.page-package .wtp-product-info .descr {
margin: 0;
padding: 14px 16px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(241, 250, 238, 0.92);
font-size: 0.95rem;
line-height: 1.7;
}

.page-package .wtp-product-info .descr p:first-child {
margin-top: 0;
}

.page-package .wtp-product-info .descr p:last-child {
margin-bottom: 0;
}

.page-package .store-sidebar {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 16px;
padding: 14px;
}

@media (min-width: 1024px) {
.page-package .site-content-widgets {
grid-template-columns: minmax(0, 1fr) 320px;
align-items: start;
padding-top: 124px;
}

.page-package .wtp-product-shell {
padding: 22px;
}

.page-package .wtp-product-layout {
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
gap: 22px;
}
}

@media (max-width: 640px) {
.page-package .wtp-product-head .product-title {
font-size: 1.35rem;
}
}

.page-options .site-content {
max-width: 980px;
margin: 0 auto;
padding: 120px 16px 48px;
}

.page-options .store-product-options,
.popup .store-product-options {
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
background: linear-gradient(180deg, rgba(22, 28, 42, 0.97) 0%, rgba(13, 19, 32, 0.97) 100%);
padding: 20px;
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
color: #f1faee;
}

.page-options .store-product-options .product-title,
.popup .store-product-options .product-title {
margin: 0 0 16px;
font-family: 'Cinzel Decorative', serif;
font-size: 1.25rem;
line-height: 1.25;
color: #f1faee;
}

.popup:not(.popup-media-slider) {
background: rgba(6, 10, 18, 0.74);
backdrop-filter: blur(8px);
}

.popup:not(.popup-media-slider) .popup-content {
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 18px;
background: linear-gradient(180deg, rgba(22, 28, 42, 0.97) 0%, rgba(13, 19, 32, 0.97) 100%);
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
color: #f1faee;
}

.popup:not(.popup-media-slider) .popup-close {
top: 14px;
right: 14px;
border: 1px solid rgba(212, 165, 116, 0.35);
border-radius: 999px;
background: rgba(10, 14, 23, 0.9);
color: #d4a574;
}

.popup:not(.popup-media-slider) .popup-close:hover {
border-color: rgba(212, 165, 116, 0.7);
background: rgba(16, 22, 35, 0.96);
color: #f1faee;
}

.popup .login-popup-content {
max-width: 520px;
}

.popup .store-form h1,
.popup .store-form h2,
.popup .store-form h3,
.popup .store-form h4,
.popup .store-form h5,
.popup .store-form h6 {
font-family: 'Cinzel Decorative', serif;
font-weight: 700;
letter-spacing: 0.4px;
color: #f1faee;
}

.popup .store-form p,
.popup .store-form .field > p,
.popup .store-form .input-group > p {
color: rgba(241, 250, 238, 0.84);
}

.popup .store-form input[type=text],
.popup .store-form input[type=password],
.popup .store-form input[type=email],
.popup .store-form input[type=number],
.popup .store-form input[type=search],
.popup .store-form input[type=url],
.popup .store-form input[type=tel],
.popup .store-form input[type=date],
.popup .store-form input[type=time],
.popup .store-form input[type=datetime-local],
.popup .store-form input[type=file],
.popup .store-form input[type=month],
.popup .store-form input[type=week],
.popup .store-form select,
.popup .store-form textarea,
.page-options .store-form input[type=text],
.page-options .store-form input[type=password],
.page-options .store-form input[type=email],
.page-options .store-form input[type=number],
.page-options .store-form input[type=search],
.page-options .store-form input[type=url],
.page-options .store-form input[type=tel],
.page-options .store-form input[type=date],
.page-options .store-form input[type=time],
.page-options .store-form input[type=datetime-local],
.page-options .store-form input[type=file],
.page-options .store-form input[type=month],
.page-options .store-form input[type=week],
.page-options .store-form select,
.page-options .store-form textarea {
background: rgba(10, 14, 23, 0.92);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
color: #f1faee;
}

.popup .store-form input:focus,
.popup .store-form select:focus,
.popup .store-form textarea:focus,
.page-options .store-form input:focus,
.page-options .store-form select:focus,
.page-options .store-form textarea:focus {
border-color: rgba(212, 165, 116, 0.95);
box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
}

.popup .store-form .actions,
.page-options .store-form .actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}

.popup .store-form .actions .btn-primary,
.popup .store-form .actions .btn-secondary,
.popup .store-form .actions .btn-tertiary,
.page-options .store-form .actions .btn-primary,
.page-options .store-form .actions .btn-secondary,
.page-options .store-form .actions .btn-tertiary {
border-radius: 12px;
font-weight: 700;
letter-spacing: 0.4px;
}

.popup .store-form .actions .btn-primary,
.page-options .store-form .actions .btn-primary {
background: linear-gradient(180deg, #E63946 0%, #c1121f 100%);
border-color: rgba(230, 57, 70, 0.35);
}

.popup .store-form .actions .btn-secondary,
.page-options .store-form .actions .btn-secondary {
background: rgba(241, 250, 238, 0.09);
border-color: rgba(241, 250, 238, 0.3);
color: #f1faee;
}

.popup .store-form .actions .link-text,
.page-options .store-form .actions .link-text {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 14px;
border-radius: 10px;
border: 1px solid rgba(212, 165, 116, 0.35);
color: #d4a574;
text-decoration: none;
font-weight: 600;
}

.popup .store-form .actions .link-text:hover,
.page-options .store-form .actions .link-text:hover {
border-color: rgba(212, 165, 116, 0.8);
color: #f1faee;
}

@media (max-width: 640px) {
.page-options .site-content {
padding-top: 108px;
}

.page-options .store-product-options,
.popup .store-product-options {
padding: 16px;
}
}
