/*
=======================================================================================
SUNHO K-BEAUTY
=======================================================================================
*/

/* ============================================
   GLOBAL CONTAINER OVERRIDE FOR CATALOG
   (Excludes Navbar to keep header standard)
   ============================================ */
main .container, 
.catalog-hero .container,
.catalog-filters-wrapper .container,
.catalog-section .container,
.pick-section .container,
.catalog-bottom-strip .container {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--sp-10) !important;
  padding-right: var(--sp-10) !important;
}

/* ============================================
   CATALOG HERO
   ============================================ */
.catalog-hero {
  padding: 200px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--off-white) 100%);
}

.catalog-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.catalog-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.catalog-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-bg-deep);
  top: -80px;
  left: -100px;
  animation: blobFloat1 12s ease-in-out infinite;
}

.catalog-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(168, 230, 207, 0.35);
  bottom: -60px;
  right: -80px;
  animation: blobFloat2 10s ease-in-out infinite;
}

.catalog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.catalog-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.catalog-hero-title .italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.catalog-hero-subtitle {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeInUp 0.7s var(--ease-out) 0.15s both;
}

/* ============================================
   CATALOG SECTION — PRODUCTS
   ============================================ */
.catalog-section {
  padding: var(--sp-10) 0 0;
}

/* --- Section Headers (outside cards) --- */
.catalog-section-header {
  margin-bottom: var(--sp-5);
  margin-top: var(--sp-10);
  text-align: center;
}

.catalog-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
}

.catalog-section-title::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-left: var(--sp-1);
  vertical-align: middle;
}

/* --- 3-Column Grid --- */
.catalog-grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-bottom: var(--sp-2);
  justify-content: center;
}

.cat-card-link {
  flex: 0 1 calc(25% - var(--sp-6));
  min-width: 220px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-2xl);
}

/* --- Catalog Product Card --- */
.cat-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cat-card-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Product Background Colors */
.bg-cat-lavender {
  background: linear-gradient(145deg, #CDB4FA 0%, #B58AF5 50%, #9053E5 100%);
}

.bg-cat-mint {
  background: linear-gradient(145deg, #9AEAC5 0%, #6BD2A1 50%, #46B580 100%);
}

.bg-cat-lilac {
  background: linear-gradient(145deg, #DAB4FA 0%, #C48CED 50%, #A256D6 100%);
}

.bg-cat-warm {
  background: linear-gradient(145deg, #F0C47E 0%, #E8AD4A 50%, #CC8A20 100%);
}

.bg-cat-peach {
  background: linear-gradient(145deg, #FFC1A3 0%, #FC9E76 50%, #E56E3E 100%);
}

/* CSS Product Shapes — Silhouette placeholders */
.cat-product-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-slow);
}

.cat-card:hover .cat-product-shape {
  transform: translateY(-6px) scale(1.02);
}

.shape-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Bottle Round Shape */
.shape-bottle-round {
  width: 65px;
  height: 110px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.2) 100%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.shape-bottle-round::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 4px 4px 0 0;
}

/* Tube Shape */
.shape-tube {
  width: 55px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.25) 100%);
  border-radius: 22px 22px 10px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.shape-tube::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 14px;
  background: rgba(255,255,255,0.3);
  border-radius: 6px 6px 0 0;
}

/* Spray Shape */
.shape-spray {
  width: 60px;
  height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.2) 100%);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.shape-spray::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 22px;
  background: rgba(255,255,255,0.35);
  border-radius: 6px 6px 0 0;
}

.shape-spray::after {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

/* Dropper Shape */
.shape-dropper {
  width: 45px;
  height: 110px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.2) 100%);
  border-radius: 8px 8px 14px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.shape-dropper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  border-radius: 8px 8px 3px 3px;
}

/* Jar Shape */
.shape-jar {
  width: 85px;
  height: 75px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.25) 100%);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.shape-jar::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 14px;
  background: rgba(255,255,255,0.35);
  border-radius: 8px 8px 0 0;
}

/* Tall Bottle (Featured) */
.shape-bottle-tall {
  width: 55px;
  height: 145px;
  background: linear-gradient(180deg, #D4A76A 0%, #B8834A 40%, #A06B30 100%);
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.shape-bottle-tall::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(180deg, #E8C894, #D4A76A);
  border-radius: 4px 4px 0 0;
}

/* --- Card Info --- */
.cat-card-info {
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.cat-card-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-top: 2px;
}

.cat-card-reviews-text {
  font-size: 0.68rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

.cat-card-info h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: var(--sp-1);
}




/* Global Quick Add Button styles moved to style.css */

/* ============================================
   FEATURED PRODUCT — WIDE CARD
   ============================================ */
.catalog-section .container .catalog-featured {
  max-width: 100%;
}
.catalog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  margin-bottom: var(--sp-6);
  transition: all var(--transition-base);
}

.catalog-featured:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.featured-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-info {
  padding: var(--sp-8) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(232,168,56,0.15);
  color: #C28B20;
  margin-bottom: var(--sp-4);
}

.featured-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}

.featured-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.featured-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}

.featured-price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.featured-price-original {
  font-size: 0.85rem;
  color: var(--gray-300);
  text-decoration: line-through;
}

/* ============================================
   BOTTOM STRIP — GLOW CLUB + INFO CARDS
   ============================================ */
.catalog-bottom-strip {
  padding: var(--sp-10) 0 var(--sp-16);
}

.bottom-strip-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-5);
  align-items: stretch;
}

/* --- Glow Club Card (Dark Green Gradient) --- */
.bottom-glow-card {
  background: linear-gradient(135deg, #1A8C55 0%, #11683E 100%);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bottom-glow-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(30px);
}

.bottom-glow-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  filter: blur(20px);
}

.bottom-glow-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.bottom-glow-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}

.bottom-glow-form {
  display: flex;
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

.bottom-glow-form input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  color: var(--white);
  outline: none;
  transition: background var(--transition-fast);
  font-family: var(--font-primary);
}

.bottom-glow-form input::placeholder {
  color: rgba(255,255,255,0.45);
}

.bottom-glow-form input:focus {
  background: rgba(255,255,255,0.25);
}

.bottom-glow-btn {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
  white-space: nowrap;
}

.bottom-glow-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Info Cards (Free Shipping + Vegan & Pure) --- */
.bottom-info-card {
  border-radius: var(--radius-2xl);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-base);
}

.bottom-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bottom-info-white {
  background: linear-gradient(145deg, #FF8C42 0%, #F96D1A 100%);
  border: 1px solid rgba(255, 109, 26, 0.2);
}

.bottom-info-lilac {
  background: linear-gradient(145deg, #9B6FDF 0%, #7B4FBF 100%);
  border: 1px solid rgba(123, 79, 191, 0.2);
}

.bottom-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: rgba(255, 255, 255, 0.9);
}

.bottom-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-1);
}

.bottom-info-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ============================================
   RECOMENDADO DEL MES
   ============================================ */
.pick-section {
  padding: var(--sp-2) 0 var(--sp-10);
}

.pick-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(100, 50, 200, 0.18);
  min-height: 280px;
  max-width: 950px;
  margin: 0 auto;
}

/* ── Left Visual Panel ── */
.pick-visual {
  background: linear-gradient(145deg, #4A1FA8 0%, #6B3FCC 40%, #9055E8 75%, #B47BF5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.pick-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.pick-month-label {
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-6);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.pick-product-blob {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pick-product-blob img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  filter: none !important;
  animation: pickFloat 6s ease-in-out infinite;
}

@keyframes pickFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.03) translateY(-6px); }
}

.pick-bottle {
  width: 90px;
  height: 170px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.12) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3);
}

.pick-bottle span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.pick-stars {
  font-size: 1.1rem;
  color: #FFD460;
  letter-spacing: 2px;
  margin-bottom: var(--sp-1);
  filter: drop-shadow(0 2px 6px rgba(255,212,96,0.4));
}

.pick-reviews {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ── Right Info Panel ── */
.pick-info {
  background: var(--white);
  padding: var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
}

.pick-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.pick-eyebrow-text {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.pick-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pick-description {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.pick-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.pick-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pick-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.pick-benefits li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.pick-benefits li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.pick-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.pick-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}




.pick-price-old {
  font-size: 0.95rem;
  color: var(--gray-300);
  text-decoration: line-through;
}

.pick-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1A8C55;
  background: rgba(26,140,85,0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pick-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.pick-add-btn {
  padding: var(--sp-4) var(--sp-8);
  font-size: 0.9rem;
}

.pick-link-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.pick-link-btn:hover {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .pick-card {
    grid-template-columns: 1fr;
  }
  .pick-visual {
    min-height: 280px;
    padding: 0;
  }
  .pick-info {
    padding: var(--sp-8);
  }
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */
.nav-links a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background: var(--primary);
}

/* ============================================
   RESPONSIVE — CATALOG
   ============================================ */
@media (max-width: 1024px) {
  .cat-card-link {
    flex: 0 1 calc(50% - var(--sp-6));
  }

  .catalog-featured {
    grid-template-columns: 1fr;
  }

  .featured-info {
    padding: var(--sp-6) var(--sp-8);
  }

  .bottom-strip-grid {
    grid-template-columns: 1fr;
  }

  .bottom-glow-card {
    padding: var(--sp-8);
  }

  .bottom-info-card {
    padding: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .cat-quick-add {
    display: none;
  }
  
  main .container, 
  .catalog-hero .container,
  .catalog-filters-wrapper .container,
  .catalog-section .container,
  .pick-section .container,
  .catalog-bottom-strip .container {
    padding-left: var(--sp-4) !important;
    padding-right: var(--sp-4) !important;
  }

  .cat-card-link {
    flex: 0 1 calc(50% - var(--sp-4));
  }

  .bottom-strip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cat-card-link {
    flex: 0 1 calc(50% - var(--sp-3));
    min-width: 140px; /* Smaller min-width for mobile columns */
  }

  .cat-card-info h3 {
    font-size: 0.8rem; /* Smaller text for 2-column mobile */
  }

  .cat-card-price {
    font-size: 0.75rem;
  }

  .bottom-glow-form {
    flex-direction: column;
  }

  .featured-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

