:root {
  --primary-color: #0a0a0a;
  --secondary-color: #1a1a1a;
  --accent-color: #ffffff;
  --text-color: #f0f0f0;
  --light-text: #ffffff;
  --dark-gray: #121212;
  --border-color: #333333;
  --glow-color: rgba(255, 255, 255, 0.7);
  --shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  --glow-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatingLight {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  75% {
    transform: translateY(20px) translateX(-10px);
  }
}

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

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes noiseAnimation {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(-15%, 0); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(0, 0); }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Soft vignette effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Floating orbs layer */
.background-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
  animation: floatingLight 8s ease-in-out infinite;
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noise)" opacity="0.08"/%3E%3C/svg%3E');
  opacity: 0.08;
  z-index: 3;
  pointer-events: none;
  animation: noiseAnimation 1s steps(2) infinite;
}

/* Dot matrix overlay */
.dot-matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  opacity: 0.05;
  z-index: 4;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced header with shimmer effect */
header {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--light-text);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 5s linear infinite;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  width: 50px;
  height: auto;
  margin-right: 15px;
  filter: drop-shadow(0 0 5px var(--glow-color));
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 0 0 8px var(--glow-color);
  letter-spacing: 1px;
  margin-right: 20px;
}

/* Shipping banner */
.shipping-banner {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.8) 0%, rgba(40, 40, 40, 0.8) 50%, rgba(26, 26, 26, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  padding-top: 3px;
}

.shipping-banner p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.shipping-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    transform: translateX(100%);
  }
}

/* Navigation container */
.nav-container {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0 20px 30px 20px;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 
    0 0 20px rgba(0, 0, 0, 0.3),
    0 0 2px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-nav {
  padding: 0;
  margin: 0;
}

.category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin: 0;
  height: 40px;
  display: flex;
}

.category-list a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1.2;
}

.category-list a:hover, 
.category-list a.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.1),
    0 0 5px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

/* Product section */
.product-section {
  margin-top: 0;
}

.section-title {
  text-align: center;
  margin: 20px 0;
  font-size: 2rem;
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--glow-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 20px rgba(0, 0, 0, 0.3),
    0 0 2px rgba(255, 255, 255, 0.1);
}

.product-card {
  background: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

.product-image {
  position: relative;
  width: 100%;
  height: 350px;
  background-color: var(--dark-gray);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add styles for sold items */
.product-image.sold {
  position: relative;
}

.product-image.sold img {
  filter: blur(3px);
}

.product-image.sold::after {
  content: 'SOLD';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 8px var(--glow-color);
  z-index: 2;
  background: rgba(10, 10, 10, 0.8);
  padding: 15px 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 20px rgba(0, 0, 0, 0.3),
    0 0 2px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.25);
}

/* Specific styling for Baccarat Rouge 540 */
.product-image img[src*="Baccarat Rouge 540"] {
  transform: scale(1.5);
}

/* Specific styling for perfumes */
#kvepalai .product-image img {
  transform: scale(1.1);
  padding: 15px;
}

#kvepalai .product-image img:hover {
  transform: scale(1.15);
}

/* Specific styling for Versace Eros perfumes */
.product-image img[src*="versace-eros-edt"],
.product-image img[src*="versace-eros-edp"],
.product-image img[src*="versace-eros-flame"] {
  transform: scale(1.1);
  padding: 15px;
}

.product-image img[src*="versace-eros-edt"]:hover,
.product-image img[src*="versace-eros-edp"]:hover,
.product-image img[src*="versace-eros-flame"]:hover {
  transform: scale(1.15);
}

/* Specific styling for Valentino */
.product-image img[src*="valentino-uomo"] {
  transform: scale(1.1);
  padding: 15px;
}

.product-image img[src*="valentino-uomo"]:hover {
  transform: scale(1.15);
}

.airpods-image {
  width: 110%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.speaker-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  padding: 20px;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.speaker-image:hover {
  transform: scale(1.15);
}

.clothing-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  padding: 15px;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.clothing-image:hover {
  transform: scale(1.2);
}

.shoes-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  padding: 10px;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.shoes-image:hover {
  transform: scale(1.3);
}

.perfume-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  padding: 15px;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.perfume-image:hover {
  transform: scale(1.2);
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--accent-color);
  font-weight: 600;
}

.product-price {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 12px;
  opacity: 0.9;
}

.product-sizes {
  margin-top: 10px;
}

.product-sizes span {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 5px;
  margin-bottom: 5px;
  background-color: var(--dark-gray);
  border-radius: 4px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
}

.product-info p {
  display: none; /* Hide description by default */
}

/* Show descriptions for perfume section */
#kvepalai .product-info p {
  display: block;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
}

.social-link img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--glow-color));
}

.social-link img:hover {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--glow-color));
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--light-text);
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .product-price {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .product-info {
    padding: 8px;
  }

  .product-info p {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .section-title {
    font-size: 1.8rem;
    margin: 20px 0;
  }

  .category-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    gap: 8px;
    justify-content: flex-start;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  .category-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .category-list li {
    flex: 0 0 auto;
    height: 36px;
    display: flex;
  }

  .category-list a {
    padding: 8px 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .nav-container {
    margin: 0 10px 15px 10px;
    padding: 5px;
  }

  .product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .product-sizes span {
    padding: 3px 8px;
    font-size: 0.8rem;
    margin: 0;
  }

  .clothing-image {
    transform: scale(1.2);
  }

  .clothing-image:hover {
    transform: scale(1.3);
  }

  .product-image img[src*="denim tears"],
  .product-image img[src*="ralph lauren polo"] {
    transform: scale(1.2);
  }

  .product-image img[src*="denim tears"]:hover,
  .product-image img[src*="ralph lauren polo"]:hover {
    transform: scale(1.3);
  }

  /* Valentino mobile adjustments */
  #kvepalai .product-image img {
    transform: scale(1.0);
    padding: 12px;
  }

  #kvepalai .product-image img:hover {
    transform: scale(1.05);
  }

  /* Versace mobile adjustments */
  .product-image img[src*="versace-eros-edt"],
  .product-image img[src*="versace-eros-edp"],
  .product-image img[src*="versace-eros-flame"],
  .product-image img[src*="valentino-uomo"] {
    transform: scale(1.0);
    padding: 12px;
  }

  .product-image img[src*="versace-eros-edt"]:hover,
  .product-image img[src*="versace-eros-edp"]:hover,
  .product-image img[src*="versace-eros-flame"]:hover,
  .product-image img[src*="valentino-uomo"]:hover {
    transform: scale(1.05);
  }

  .modal-content {
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    width: 75%;
    max-width: 320px;
    margin: 15px auto;
  }

  .modal-product-image {
    padding: 0.6rem;
  }

  .modal-product-image img {
    max-height: 180px;
  }

  .modal-product-info {
    padding: 0.6rem;
  }

  .modal-product-info h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .modal-product-info .product-price {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .modal-product-info p {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .modal-order-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }

  .close-modal {
    right: 0.6rem;
    top: 0.6rem;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 3px;
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    margin: 0;
  }

  .product-image {
    height: 120px;
  }

  .product-info {
    padding: 4px;
  }

  .product-title {
    font-size: 0.75rem;
    margin-bottom: 2px;
    line-height: 1.1;
  }

  .product-price {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .nav-container {
    margin: 0 3px 8px 3px;
    padding: 2px;
    max-width: 95%;
    margin: 0 auto 8px auto;
  }

  .category-list {
    padding: 4px 0;
    gap: 4px;
  }

  .category-list a {
    padding: 6px 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 15px 0;
    padding: 0 8px;
  }

  .site-title {
    font-size: 1.6rem;
  }

  .logo-container img {
    width: 35px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link img {
    width: 32px;
    height: 32px;
  }

  .shipping-banner p {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  /* Product sizes */
  .product-sizes span {
    padding: 2px 4px;
    font-size: 0.7rem;
    margin: 0 2px 2px 0;
  }

  /* Modal adjustments */
  .modal-content {
    width: 80%;
    padding: 0.8rem;
    gap: 0.6rem;
    margin: 10px auto;
  }

  .modal-product-image {
    padding: 0.4rem;
  }

  .modal-product-image img {
    max-height: 150px;
  }

  .modal-product-info {
    padding: 0.4rem;
  }

  .modal-product-info h2 {
    font-size: 1.1rem;
  }

  .modal-product-info .product-price {
    font-size: 1rem;
  }

  .modal-product-info p {
    font-size: 0.8rem;
  }

  .modal-order-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .close-modal {
    right: 0.4rem;
    top: 0.4rem;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
  }

  /* Image scaling adjustments */
  .airpods-image,
  .speaker-image,
  .clothing-image,
  .shoes-image {
    transform: scale(1.1);
    padding: 3px;
  }

  .airpods-image:hover,
  .speaker-image:hover,
  .clothing-image:hover,
  .shoes-image:hover {
    transform: scale(1.15);
  }

  /* Specific image adjustments */
  .product-image img[src*="Baccarat Rouge 540"],
  .product-image img[src*="valentino-uomo"],
  .product-image img[src*="denim tears"] {
    transform: scale(1.1);
    padding: 3px;
  }

  .product-image img[src*="Baccarat Rouge 540"]:hover,
  .product-image img[src*="valentino-uomo"]:hover,
  .product-image img[src*="denim tears"]:hover {
    transform: scale(1.15);
  }

  /* Header adjustments */
  .header-content {
    padding: 5px;
    max-width: 95%;
    margin: 0 auto;
  }

  .product-image img[src*="denim tears"] {
    transform: scale(0.85);
    padding: 12px;
  }

  .product-image img[src*="denim tears"]:hover {
    transform: scale(0.9);
  }

  .product-image img[src*="ralph lauren polo"] {
    transform: scale(0.85);
    padding: 12px;
  }

  .product-image img[src*="ralph lauren polo"]:hover {
    transform: scale(0.9);
  }

  .clothing-image {
    transform: scale(1.2);
    padding: 8px;
  }

  .clothing-image:hover {
    transform: scale(1.25);
  }

  .product-image img[src*="denim tears"],
  .product-image img[src*="ralph lauren polo"] {
    transform: scale(1.2);
    padding: 8px;
  }

  .product-image img[src*="denim tears"]:hover,
  .product-image img[src*="ralph lauren polo"]:hover {
    transform: scale(1.25);
  }

  /* Valentino small mobile adjustments */
  #kvepalai .product-image img {
    transform: scale(0.9);
    padding: 10px;
  }

  #kvepalai .product-image img:hover {
    transform: scale(0.95);
  }

  /* Versace small mobile adjustments */
  .product-image img[src*="versace-eros-edt"],
  .product-image img[src*="versace-eros-edp"],
  .product-image img[src*="versace-eros-flame"],
  .product-image img[src*="valentino-uomo"] {
    transform: scale(0.9);
    padding: 10px;
  }

  .product-image img[src*="versace-eros-edt"]:hover,
  .product-image img[src*="versace-eros-edp"]:hover,
  .product-image img[src*="versace-eros-flame"]:hover,
  .product-image img[src*="valentino-uomo"]:hover {
    transform: scale(0.95);
  }

  .category-list li {
    height: 34px;
    display: flex;
  }
}

.order-button {
  display: none;
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.3s ease-out;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  background: #0a0a0a;
  padding: 2rem;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  position: relative;
  display: flex;
  gap: 2rem;
  box-shadow: 
    0 0 40px rgba(0, 0, 0, 0.5),
    0 0 2px rgba(255, 255, 255, 0.1);
  border: 1px solid #1a1a1a;
  color: var(--text-color);
  animation: modalSlideIn 0.4s ease-out;
}

.modal-product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f0f0f;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #1a1a1a;
  animation: modalSlideIn 0.5s ease-out;
}

.modal-product-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  transform: scale(1.1);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.modal-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: modalSlideIn 0.6s ease-out;
  padding: 1rem;
  background: #0a0a0a;
}

.modal-product-info h2 {
  font-size: 2rem;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.modal-product-info .product-price {
  font-size: 1.8rem;
  color: #ffffff;
  opacity: 0.9;
  font-weight: 600;
}

.modal-product-info p {
  color: #f0f0f0;
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.9;
}

.modal-order-button {
  margin-top: auto;
  padding: 1.2rem 2rem;
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #333333;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: inline-block;
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 1px;
  animation: modalSlideIn 0.7s ease-out;
}

.modal-order-button:hover {
  background: #333333;
  border-color: #444444;
  box-shadow: 
    0 0 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: #ffffff;
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0.8;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #333333;
}

.close-modal:hover {
  color: #ffffff;
  transform: scale(1.1);
  opacity: 1;
  background: #333333;
}

@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    width: 75%;
    max-width: 320px;
    margin: 15px auto;
  }

  .modal-product-image {
    padding: 0.6rem;
  }

  .modal-product-image img {
    max-height: 180px;
  }

  .modal-product-info {
    padding: 0.6rem;
  }

  .modal-product-info h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .modal-product-info .product-price {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .modal-product-info p {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .modal-order-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }

  .close-modal {
    right: 0.6rem;
    top: 0.6rem;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 80%;
    padding: 0.8rem;
    gap: 0.6rem;
    margin: 10px auto;
  }

  .modal-product-image {
    padding: 0.4rem;
  }

  .modal-product-image img {
    max-height: 150px;
  }

  .modal-product-info {
    padding: 0.4rem;
  }

  .modal-product-info h2 {
    font-size: 1.1rem;
  }

  .modal-product-info .product-price {
    font-size: 1rem;
  }

  .modal-product-info p {
    font-size: 0.8rem;
  }

  .modal-order-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .close-modal {
    right: 0.4rem;
    top: 0.4rem;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
  }
}

/* Make product cards clickable */
.product-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.vendor-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: var(--dark-gray);
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s ease;
}

.vendor-image:hover {
  transform: scale(1.05);
}

#vendoriai .product-card {
  /* Removing custom size styles to use default product card size */
}

#vendoriai .product-title {
  font-size: 1.2rem;
}

#vendoriai .product-price {
  font-size: 1.1rem;
}

#vendoriai .product-info p {
  font-size: 0.9rem;
}

.add-to-cart-btn {
  background-color: var(--dark-gray);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.add-to-cart-btn:hover {
  background-color: var(--accent-color);
  color: var(--dark-gray);
}

.cart-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--dark-gray);
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border: 1px solid var(--accent-color);
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background-color: var(--accent-color);
  color: var(--dark-gray);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-color);
  color: var(--dark-gray);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.cart-modal {
  max-width: 400px;
  padding: 20px;
  background: var(--darker-gray);
  border: 1px solid var(--accent-color);
  color: var(--text-color);
}

.cart-modal h2 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-color);
  color: var(--text-color);
}

.cart-item span {
  color: var(--text-color);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  font-size: 16px;
  padding: 0 5px;
  transition: color 0.3s ease;
}

.remove-btn:hover {
  color: var(--glow-color);
}

.cart-total {
  margin-top: 20px;
  text-align: right;
  font-weight: bold;
  color: var(--accent-color);
}

.checkout-btn {
  background-color: var(--darker-gray);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background-color: var(--accent-color);
  color: var(--darker-gray);
}

.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--darker-gray);
  color: var(--accent-color);
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1001;
  animation: slideUp 0.3s ease, fadeOut 0.3s ease 1.7s;
  border: 1px solid var(--accent-color);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

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