/* ===================================
   HERO PRODUCT SHOWCASE
   =================================== */

/* Brand Colors */
:root {
  --brand-pink: rgb(216, 82, 132);
  --brand-pink-light: rgb(230, 120, 160);
  --brand-pink-dark: rgb(180, 60, 110);
  --brand-black: #000;
  --brand-white: #fff;
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #404040;
  --gray-600: #666;
  --gray-500: #808080;
  --gray-400: #999;
  --gray-300: #b3b3b3;
  --gray-200: #ccc;
  --gray-100: #e6e6e6;
}

/* Reset body for dark theme */
body {
  background: var(--brand-black);
  color: var(--brand-white);
}

/* Full-width showcase container */
.fullwidth-showcase {
  width: 100%;
}

/* Individual product hero section */
.product-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  margin: 0;
  padding: 0;
}

.product-hero__image {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  position: relative;
  background: var(--gray-900);
}

.product-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-hero__content {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.product-hero__info {
  text-align: center;
  width: 100%;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--brand-white);
}

.product-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--gray-200);
}

.product-price {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.price-old {
  text-decoration: line-through;
  color: var(--gray-400);
  margin-right: 10px;
}

.price-new {
  color: var(--brand-pink);
}

.price {
  color: var(--brand-white);
}

/* Product Options (Size Selector) */
.product-options {
  margin: 30px 0;
  text-align: center;
}

.option-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--gray-300);
}

.option-label .required {
  color: var(--brand-pink);
  margin-left: 3px;
}

/* Size Selector */
.size-selector {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.size-btn {
  min-width: 60px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gray-400);
  color: var(--brand-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.size-btn:hover:not(:disabled) {
  border-color: var(--brand-pink);
  color: var(--brand-pink);
  background: rgba(216, 82, 132, 0.1);
  transform: translateY(-2px);
}

.size-btn.selected {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: var(--brand-white);
}

.size-btn:disabled {
  border-color: var(--gray-800);
  color: var(--gray-700);
  cursor: not-allowed;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.size-btn:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gray-700);
  transform: rotate(-45deg);
}

.size-price {
  font-size: 0.75rem;
  display: block;
  margin-top: 2px;
  opacity: 0.8;
}

.size-btn.low-stock {
  border-color: orange;
  color: orange;
}

.size-btn.low-stock::before {
  content: '!';
  position: absolute;
  top: -5px;
  right: -5px;
  background: orange;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Size Error Message */
.size-error {
  color: #ff6666;
  font-size: 0.85rem;
  margin-top: 10px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--brand-pink);
  color: var(--brand-white);
}

.btn-primary:hover {
  background: var(--brand-pink-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 82, 132, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-white);
  border: 2px solid var(--brand-white);
}

.btn-secondary:hover {
  background: var(--brand-white);
  color: var(--brand-black);
  transform: translateY(-2px);
}

.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--brand-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cart Messages */
.cart-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  animation: slideDown 0.3s ease;
}

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

.cart-message.success {
  background: rgba(216, 82, 132, 0.2);
  border: 1px solid var(--brand-pink);
  color: var(--brand-pink);
}

.cart-message.error {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff4444;
  color: #ff6666;
}

/* Responsive Design */
@media (max-width: 767px) {
  .product-title {
    font-size: 1.8rem !important;
    margin: 4px 10px 10px 10px;
    padding: 0;
  }
  
  .product-description {
    font-size: 1rem;
    margin: 4px 10px 10px 10px;
    padding: 0;
  }

  .product-price {
    font-size: 1rem;
    margin: 4px 10px 10px 10px;
    padding: 0;
  }
  
  .size-selector {
    gap: 8px;
  }
  
  .size-btn {
    min-width: 50px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .product-hero__content {
    padding: 30px 30px;
    max-width: 90vw;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .product-hero__image,
  .product-hero__image img {
    min-height: 100vh;
  }
}
