/**
 * Hydrangea Commerce - Frontpage Modules & Sliders Stylesheet
 */

/* ==========================================================================
   HERO BANNER SLIDER MODULE
   ========================================================================== */
.hydrangea-hero-slider-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.hydrangea-slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.hero-slide-item {
  min-width: 100%;
  padding: 80px 60px;
  position: relative;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  min-height: 480px;
}

@media (max-width: 768px) {
  .hero-slide-item { padding: 40px 24px; min-height: 380px; }
}

.slide-content-box {
  max-width: 620px;
  z-index: 2;
}

.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.slide-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .slide-title { font-size: 28px; }
}

.slide-subtitle {
  font-size: 16px;
  color: var(--hydrangea-blush);
  line-height: 1.6;
  margin-bottom: 28px;
}

.slider-controls {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: #FFFFFF;
  color: var(--hydrangea-dark);
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  background: var(--hydrangea-rose);
}

/* ==========================================================================
   CATEGORY GRID MODULE
   ========================================================================== */
.hydrangea-category-grid-section {
  margin-bottom: 48px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title-wrap h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.section-title-wrap p {
  color: var(--hydrangea-text-muted);
  font-size: 14px;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

@media (max-width: 1200px) {
  .category-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-card-item {
  background: #FFFFFF;
  border: 1px solid var(--hydrangea-border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-fast);
}

.category-card-item:hover {
  border-color: var(--hydrangea-orchid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--hydrangea-canvas);
  border: 1px solid var(--hydrangea-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 24px;
  transition: var(--transition-fast);
}

.category-card-item:hover .cat-icon-circle {
  background: var(--hydrangea-gradient-glow);
  transform: scale(1.1);
}

.cat-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12px;
  color: var(--hydrangea-text-muted);
}

/* ==========================================================================
   FLASH DEALS & LIVE COUNTDOWN MODULE
   ========================================================================== */
.hydrangea-flash-deals-section {
  background: var(--hydrangea-gradient-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
  color: #FFFFFF;
}

.flash-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.flash-title-wrap h2 {
  color: #FFFFFF;
  font-size: 26px;
  font-weight: 800;
}

.flash-title-wrap p {
  color: var(--hydrangea-blush);
  font-size: 14px;
}

/* Countdown Timer */
.countdown-timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  min-width: 54px;
}

.countdown-val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  color: var(--hydrangea-blossom);
}

.countdown-lbl {
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.countdown-sep {
  font-size: 20px;
  font-weight: 800;
  color: var(--hydrangea-rose);
}

/* ==========================================================================
   PRODUCT MATRIX MODULE (TABBED)
   ========================================================================== */
.hydrangea-product-matrix-section {
  margin-bottom: 48px;
}

.matrix-tabs-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.matrix-tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--hydrangea-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--hydrangea-text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.matrix-tab-btn.active,
.matrix-tab-btn:hover {
  background: var(--hydrangea-orchid);
  color: #FFFFFF;
  border-color: var(--hydrangea-orchid);
}

.matrix-tab-panel {
  display: none;
}

.matrix-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* ==========================================================================
   PROMOTIONAL BANNERS GRID
   ========================================================================== */
.hydrangea-promo-banners-section {
  margin-bottom: 48px;
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .promo-banners-grid { grid-template-columns: 1fr; }
}

.promo-banner-card {
  border-radius: var(--radius-md);
  padding: 36px 28px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.promo-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.promo-banner-card.banner-1 {
  background: linear-gradient(135deg, #1F102B 0%, #4B1E63 100%);
}

.promo-banner-card.banner-2 {
  background: linear-gradient(135deg, #2D1438 0%, #73286E 100%);
}

.promo-banner-card.banner-3 {
  background: linear-gradient(135deg, #1A0D24 0%, #521C54 100%);
}

.promo-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hydrangea-blossom);
  margin-bottom: 8px;
  display: block;
}

.promo-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.promo-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--hydrangea-rose);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   VALUE PROPS BAR
   ========================================================================== */
.hydrangea-value-props-section {
  background: #FFFFFF;
  border: 1px solid var(--hydrangea-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .value-props-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .value-props-grid { grid-template-columns: 1fr; }
}

.value-prop-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.prop-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--hydrangea-gradient-glow);
  color: var(--hydrangea-orchid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prop-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.prop-desc {
  font-size: 12px;
  color: var(--hydrangea-text-muted);
}
