/* ============================================================
   INITHAN CUSTOM GIFTS — Category & Occasion Pages Stylesheet
   Pages: Love & Romance, Birthday, Special Occasions,
          For Her & Him, Corporate Gifts, Personalize Studio
   ============================================================ */

/* ── Base Container & Spacing ────────────────────────────── */
.cat-page-wrapper {
  padding-top: 85px;
  background: #fdfbfb;
  min-height: 100vh;
  font-family: var(--font-body);
}

.cat-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Hero Banners ────────────────────────────────────────── */
.cat-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 16px auto 36px auto;
  padding: 60px 40px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Theme Gradients */
.cat-hero.theme-romance {
  background: linear-gradient(135deg, #7c0a2b 0%, #c41e3a 50%, #e11d48 100%);
}

.cat-hero.theme-birthday {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #c41e3a 100%);
}

.cat-hero.theme-occasions {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #b45309 100%);
}

.cat-hero.theme-her-him {
  background: linear-gradient(135deg, #371b26 0%, #6d2842 50%, #1e293b 100%);
}

.cat-hero.theme-corporate {
  background: linear-gradient(135deg, #0b192c 0%, #1e3e62 60%, #000000 100%);
}

.cat-hero.theme-personalize {
  background: linear-gradient(135deg, #3b0764 0%, #7e22ce 55%, #c41e3a 100%);
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cat-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cat-hero-title .gold-text {
  color: var(--gold-light, #ffd572);
}

.cat-hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 620px;
}

.cat-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cat-btn-primary {
  background: #ffffff;
  color: var(--primary, #c41e3a);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cat-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #fff8f8;
  color: #a1142c;
}

.cat-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cat-btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

/* Hero Decorative Floating Icons */
.cat-hero-decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.9;
}

.cat-hero-decor-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
  animation: floatDecor 5s ease-in-out infinite;
}

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

/* ── Interactive Category Pills Bar ──────────────────────── */
.cat-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 18px 4px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.cat-pills-bar::-webkit-scrollbar {
  height: 4px;
}
.cat-pills-bar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

.cat-pill {
  padding: 10px 22px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cat-pill:hover {
  border-color: var(--primary, #c41e3a);
  color: var(--primary, #c41e3a);
  transform: translateY(-1px);
}

.cat-pill.active {
  background: var(--primary, #c41e3a);
  border-color: var(--primary, #c41e3a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.25);
}

/* ── Curated Showcase Cards (Grid of Subcategories) ───────── */
.curated-showcase-section {
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.section-head-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head-sub {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 4px;
}

.curated-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.curated-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.curated-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary, #c41e3a);
}

.curated-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.curated-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.curated-card:hover .curated-card-icon img {
  transform: scale(1.1);
}

.curated-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.curated-card-sub {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ── Product Grid Section ────────────────────────────────── */
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

/* ── Unique Feature Blocks ───────────────────────────────── */
/* Dual Tab Switcher for Her & Him */
.gender-switch-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.gender-switch {
  display: inline-flex;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
}

.gender-tab-btn {
  padding: 12px 34px;
  border-radius: 40px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.gender-tab-btn.active.her {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.gender-tab-btn.active.him {
  background: #1e293b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

.gender-tab-btn.active.couple {
  background: #8b5cf6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

/* Corporate Quotation Calculator / Banner */
.corp-calc-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  padding: 36px 30px;
  margin: 40px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.corp-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.corp-form-group {
  margin-bottom: 16px;
}

.corp-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.corp-input, .corp-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.corp-input:focus, .corp-select:focus {
  border-color: #0b192c;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.1);
}

/* Personalize 3-Step Wizard Preview */
.pers-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.pers-step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.2s ease;
}

.pers-step-card:hover {
  transform: translateY(-4px);
}

.pers-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #c41e3a) 0%, #e11d48 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.pers-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.pers-step-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Trust / Why Choose Us Strip */
.cat-trust-strip {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.cat-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff1f2;
  color: var(--primary, #c41e3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cat-trust-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.cat-trust-sub {
  font-size: 0.78rem;
  color: #6b7280;
}

/* ── Responsive Rules ────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-hero {
    padding: 40px 24px;
  }
  .cat-hero-decor {
    display: none;
  }
  .corp-calc-grid {
    grid-template-columns: 1fr;
  }
  .pers-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cat-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cat-page-wrapper {
    padding-top: 65px;
  }
  .cat-hero {
    padding: 30px 18px;
    margin: 10px auto 20px auto;
  }
  .cat-hero-title {
    font-size: 1.8rem;
  }
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .curated-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-trust-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gender-switch-wrap {
    width: 100%;
  }
  .gender-switch {
    width: 100%;
    justify-content: space-around;
  }
  .gender-tab-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}
