/* ========== PRODUKT DETAIL ========== */
.product-detail {
  display: flex;
  gap: 60px;
  padding: 70px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 30px;
  box-shadow: 0 15px 45px rgba(63, 224, 190, 0.15), 0 0 0 1px rgba(255,255,255,0.1) inset;
  max-width: 1300px;
  margin: 80px auto;
  animation: fadeIn 1.4s ease forwards;
}

.product-image img {
  width: 500px;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: transform 0.4s ease;
}

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

        .product-info {
            flex: 1 1 50%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        .product-info h1 {
            font-size: 2rem;
            margin-bottom: 15px;
        }
        .product-description {
            font-size: 1.1rem;
            line-height: 1.5;
            margin-bottom: 25px;
            color: #444;
        }

.options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 35px;
}

.options label {
  font-weight: bold;
  color: #2DC9A7;
  font-size: 1.1em;
  text-transform: uppercase;
}

.options select {
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 1em;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.options select:hover {
  border-color: #3FE0BE;
  box-shadow: 0 0 0 3px rgba(63, 224, 190, 0.25);
}

.price {
  font-size: 1.8em;
  color: #3FE0BE;
  font-weight: 700;
  margin-bottom: 30px;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #3FE0BE, #2DC9A7);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 30px rgba(63, 224, 190, 0.3);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn:hover {
  background-color: #444;
}

.add-to-cart-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-30deg);
  transition: left 0.5s ease;
}

/* ========== CATEGORIES SECTION ========== */
.categories {
  background: linear-gradient(135deg, #3FE0BE 0%, #2DC9A7 100%);
  padding: 100px 0;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  top: -200px;
  left: -200px;
  z-index: 0;
  animation: floatGlow 16s ease-in-out infinite;
}

.categories .cta-text {
  font-size: 3em;
  margin-bottom: 50px;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  letter-spacing: 4px;
  animation: fadeInDown 1.5s ease-in-out;
  z-index: 1;
  position: relative;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

.category-btn {
  background-color: #ffffff10;
  color: #fff;
  padding: 22px 60px;
  font-size: 1.4em;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.category-btn:hover {
  background-color: white;
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(63, 224, 190, 0.4);
  color: #2DC9A7;
}

        .product-image {
            flex: 1 1 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 600px;
        }
        .product-image img {
            width: 100%;
            max-width: 600px;
            height: auto;
            object-fit: contain;
            border: 1px solid #eee;
            border-radius: 6px;
        }
        .product-thumbnails {
            margin-top: 12px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .product-thumbnails img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border: 2px solid transparent;
            border-radius: 4px;
            cursor: pointer;
            transition: border-color 0.3s ease;
        }

/* ========== ANIMACE ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(20px) rotate(15deg);
  }
}

        /* Responsive */
        @media (max-width: 600px) {
            .product-detail {
                flex-direction: column;
                max-width: 100%;
                margin: 20px;
            }

        }
        .description-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}
#descToggle {
  background: transparent;
  color: #8b8b8b;
  border: none;
  border-radius: 4px;
  padding: 0.2em 0.8em;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.2s;
}
#descToggle:hover {
  background: #444;
}
.product-description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
  margin: 0;
  display: block;
}

        /* Responsive */
  @media (max-width: 600px) {
  .product-detail {
    flex-direction: column;
    max-width: 100%;
    margin: 20px;
  }
  .product-detail {
    max-width: 100vw;
    padding: 0.5em;
    border-radius: 0;
    box-shadow: none;
  }
  .product-image img#mainImage {
    max-width: 100vw;
    border-radius: 0;
  }
  .product-thumbnails img {
    width: 38px;
    height: 38px;
  }
  .product-description {
    max-width: 120px;
    font-size: 0.98em;
  }
  .add-to-cart-btn {
    font-size: 1em;
    padding: 0.8em 0;
  }
  .nav-buttons, .nav-buttons-left {
    font-size: 0.98em;
    gap: 0.5em;
  }
}
.share-btn {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
  margin-top: 1em;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.share-btn:hover {
  background: #444;
}