/* ===================================
   LUXURY FURNITURE CATALOG STYLES
   =================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #ffd439;
  --secondary-color: #cc9a00;
  --accent-gold: #e0a800;
  --dark: #1a1a1a;
  --dark-gray: #2d2d2d;
  --light-gray: #f9f4df;
  --white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #5c5c5c;
  --border-light: #e6d8a8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header-top {
  background: var(--dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left,
.header-top-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-top-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-top-left i {
  color: var(--primary-color);
}

.header-top-right a {
  color: var(--white);
  text-decoration: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.header-top-right a:hover {
  background: var(--primary-color);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Main Header */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  overflow: visible;
}

.header-main {
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  white-space: nowrap;
}

.logo i {
  font-size: 32px;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo span {
  display: inline-block;
}

/* Main Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
  width: 100%;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--primary-color);
}

.main-nav > ul > li > a i {
  font-size: 10px;
  transition: transform 0.3s;
}

.main-nav > ul > li:hover > a i {
  transform: rotate(180deg);
}

/* Desktop Navigation (legacy support) */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 35px;
  flex: 1;
  justify-content: center;
}

.nav-desktop > a,
.nav-dropdown > a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-desktop > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-desktop > a:hover::after,
.nav-desktop > a.active::after {
  width: 100%;
}

.nav-desktop > a:hover,
.nav-desktop > a.active {
  color: var(--primary-color);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a i {
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover > a i {
  transform: rotate(180deg);
}

.nav-dropdown > a:hover {
  color: var(--primary-color);
}

/* Dropdown Panel */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 35px;
  min-width: 750px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  margin-top: 15px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 35px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
}

.column-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.column-title:hover {
  color: var(--primary-color);
}

.column-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: var(--transition);
}

.column-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

/* ===================================
   FLYOUT DROPDOWN MENU (Vertical Main, Horizontal Sub)
   =================================== */

.mega-dropdown {
  position: relative;
}

.mega-dropdown > a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
}

.mega-dropdown > a i {
  font-size: 10px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-dropdown:hover > a {
  background: rgba(255, 212, 57, 0.1);
  color: var(--primary-color);
}

.mega-dropdown:hover > a i {
  transform: rotate(180deg);
}

.mega-dropdown > a.active {
  color: var(--primary-color);
}

/* Main Dropdown Panel (Vertical List) */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0; /* Align left with parent */
  width: 260px; /* Fixed width for vertical menu */
  background: var(--white);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 8px 8px;
  border-top: 4px solid var(--primary-color);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  margin-top: 0;
  overflow: visible; /* Allow flyouts to show */
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu .container {
  padding: 0;
  width: 100%;
  max-width: none;
}

.mega-menu-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Main Category Items */
.mega-column {
  position: relative; /* Anchor for sub-menu */
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-column:last-child {
  border-bottom: none;
}

.mega-heading {
  margin: 0;
  padding: 0;
}

.mega-heading a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-heading a:hover {
  background: rgba(255, 212, 57, 0.1);
  color: var(--primary-color);
  padding-left: 24px;
}

/* Arrow indicator for main categories */
.mega-heading a::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.2s ease;
}

.mega-column:hover > .mega-heading a::after {
  transform: translateX(4px);
  color: var(--primary-color);
}

/* Subcategory Flyout (Level 2) */
.mega-list {
  position: absolute;
  top: -1px;
  left: 100%;
  width: 260px;
  background: var(--white);
  box-shadow:
    4px 0 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 0 8px 8px 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0; /* Important: Remove default padding */
  border-top: 4px solid #ffd439; /* Move from inline style */
}

/* Remove connector triangles for cleaner look */
.mega-list::before,
.mega-list::after {
  display: none;
  margin: 0;
  padding: 0;
}

.mega-column:hover > .mega-list {
  opacity: 1;
  visibility: visible;
}

.mega-list > li {
  position: relative;
  width: 100%;
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
  border-bottom: 1px solid black; /* Move from inline style */
}

/* Remove bottom border from last item for cleaner look */
.mega-list > li:last-child {
  border-bottom: none;
}

.mega-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: none;
  line-height: 1; /* Prevent extra vertical space */
}

.mega-list > li > a:hover {
  background: rgba(255, 212, 57, 0.1);
  color: var(--primary-color);
  padding-left: 24px; /* Match main category hover slide */
}

/* Arrow for subcategories with children */
.mega-list > li:has(.mega-sublist) > a::after {
  content: "›";
  font-size: 18px;
  color: var(--secondary-color);
  transition: transform 0.2s ease;
}

.mega-list > li:has(.mega-sublist) > a:hover::after {
  color: var(--primary-color);
  transform: translateX(4px); /* Match main category arrow slide */
}

/* Sub-subcategory Flyout (Level 3) */
.mega-sublist {
  position: absolute;
  top: -1px;
  left: 100%;
  width: 260px; /* Match main menu width */
  background: var(--white);
  box-shadow:
    4px 0 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 0 8px 8px 8px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Remove connector triangles */
.mega-sublist::before,
.mega-sublist::after {
  display: none;
}

.mega-list > li:hover > .mega-sublist {
  opacity: 1;
  visibility: visible;
}

.mega-sublist li {
  width: 100%;
  position: relative;
}

.mega-sublist li a {
  display: flex; /* Flex to match others */
  justify-content: space-between; /* Consistent alignment */
  align-items: center;
  padding: 12px 20px; /* Match main category padding */
  color: var(--dark); /* Match main category color */
  text-decoration: none;
  font-size: 14px; /* Match main category size */
  font-weight: 600; /* Match main category weight */
  transition: all 0.2s ease;
  text-transform: uppercase; /* Match main category transform */
  letter-spacing: 0.5px; /* Match main category spacing */
  width: 100%; /* Ensure full width */
  box-sizing: border-box;
}

/* Simple hover state */
.mega-sublist li a:hover {
  background: rgba(255, 212, 57, 0.1);
  color: var(--primary-color);
  padding-left: 24px; /* Match main category hover slide */
}

/* Remove bullet point animation for cleaner look */
.mega-sublist li a::before {
  display: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.btn-icon:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

.btn-mobile-menu {
  display: none;
}

/* Search Overlay */
.search-overlay {
  background: var(--light-gray);
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  display: none;
  animation: slideDown 0.3s ease;
}

.search-overlay.active {
  display: block;
}

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

.search-box {
  display: flex;
  gap: 12px;
  max-width: 750px;
  margin: 0 auto;
  align-items: center;
}

.search-box input {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.search-box input:focus {
  border-color: var(--primary-color);
  background: var(--white);
}

.search-box button {
  padding: 14px 28px;
  background: var(--primary-color);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.search-box .btn-close {
  width: 45px;
  height: 45px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--border-light);
}

.search-box .btn-close:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* Search Bar */
.search-bar {
  background: var(--light-gray);
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  display: none;
  animation: slideDown 0.3s ease;
}

.search-bar.active {
  display: block;
}

.search-form {
  display: flex;
  gap: 12px;
  max-width: 750px;
  margin: 0 auto;
  align-items: center;
}

.search-form input {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.search-form input:focus {
  border-color: var(--primary-color);
  background: var(--white);
}

.search-form button {
  padding: 14px 28px;
  background: var(--primary-color);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.search-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.search-close {
  width: 45px;
  height: 45px;
  padding: 0 !important;
  background: var(--white) !important;
  border: 2px solid var(--border-light) !important;
  min-width: 45px;
}

.search-close:hover {
  background: var(--dark) !important;
  color: var(--white) !important;
  border-color: var(--dark) !important;
}

.search-toggle,
.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 0;
  animation: slideDown 0.3s ease;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu > a {
  display: block;
  padding: 16px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-menu > a:hover {
  background: var(--light-gray);
  color: var(--primary-color);
  padding-left: 25px;
}

.mobile-dropdown {
  border-bottom: 1px solid var(--border-light);
}

.mobile-dropdown-btn {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.mobile-dropdown-btn i {
  transition: transform 0.3s;
  font-size: 12px;
}

.mobile-dropdown.active .mobile-dropdown-btn i {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--light-gray);
}

.mobile-dropdown-content.active {
  max-height: 600px;
}

.mobile-cat {
  display: block;
  padding: 12px 30px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.mobile-cat:hover {
  background: var(--white);
  color: var(--primary-color);
  padding-left: 35px;
}

/* Main Content */
.main-content {
  min-height: 60vh;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 212, 57, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 35px;
  opacity: 0.95;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--primary-color);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: var(--secondary-color);
}

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

.slider-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.slider-btn:hover {
  background: var(--primary-color);
  color: var(--dark);
  transform: scale(1.1);
}

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

.indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-color);
  width: 60px;
}

/* ===================================
   FEATURES BAR
   =================================== */

.features-bar {
  background: var(--light-gray);
  padding: 50px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.feature-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   CATEGORIES SHOWCASE
   =================================== */

.categories-showcase {
  padding: 100px 0;
}

.categories-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.category-showcase-card {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.category-showcase-card.large {
  grid-column: span 2;
  grid-row: span 2;
  height: 824px;
}

.category-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px;
  transition: var(--transition);
}

.category-info {
  color: var(--white);
}

.category-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-count {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.category-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--dark);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.category-showcase-card:hover .category-showcase-image {
  transform: scale(1.1);
}

.category-showcase-card:hover .category-link-btn {
  opacity: 1;
  transform: translateY(0);
}

.category-showcase-card:hover {
  box-shadow: var(--shadow-lg);
}

/* ===================================
   PRODUCTS CATALOG GRID
   =================================== */

.featured-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-catalog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image-container {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: var(--light-gray);
}

.product-catalog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-catalog-card:hover .product-catalog-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.sale {
  background: #e74c3c;
  color: var(--white);
}

.product-badge.featured {
  background: var(--accent-gold);
  color: var(--dark);
}

.product-quick-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition);
}

.product-catalog-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.quick-action-btn:hover {
  background: var(--primary-color);
  color: var(--dark);
  transform: scale(1.1);
}

.product-catalog-info {
  padding: 24px;
}

.product-category {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.product-catalog-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.product-meta-item {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-original {
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

.btn-view-product {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-view-product:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.section-cta {
  text-align: center;
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--white);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-secondary-large:hover {
  background: var(--primary-color);
  color: var(--dark);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   NEW ARRIVALS BANNER
   =================================== */

.arrivals-banner {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--dark);
}

.arrivals-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.arrivals-text {
  color: var(--dark);
}

.arrivals-label {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.arrivals-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.arrivals-description {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 30px;
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 35px;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-white-outline:hover {
  background: var(--dark);
  color: var(--primary-color);
}

.arrivals-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.arrival-mini-card {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.arrival-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.arrival-mini-card:hover img {
  transform: scale(1.1);
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-luxury {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-luxury-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ddd;
  font-size: 18px;
  margin-right: 4px;
}

.testimonial-rating i.active {
  color: var(--accent-gold);
}

.testimonial-luxury-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar,
.testimonial-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-avatar-placeholder {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
}

.testimonial-author-info h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.testimonial-author-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===================================
   NEWSLETTER
   =================================== */

.newsletter-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.newsletter-content {
  background: var(--primary-color);
  padding: 60px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.newsletter-text {
  color: var(--dark);
  flex: 1;
}

.newsletter-text h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.newsletter-text p {
  font-size: 16px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
}

.btn-newsletter {
  padding: 16px 32px;
  background: var(--dark);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-newsletter:hover {
  background: var(--dark-gray);
  transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.footer-section p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  padding: 0;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--dark);
  transform: translateY(-3px);
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-info i {
  color: var(--primary-color);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
  font-size: 14px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }

  .dropdown-panel {
    min-width: 650px;
  }

  .categories-masonry {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .category-showcase-card.large {
    grid-column: span 1;
    grid-row: span 1;
    height: 400px;
  }
}

@media (max-width: 968px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 60px 0 20px 0;
  }

  .main-nav > ul > li {
    border-bottom: 1px solid var(--border-light);
  }

  .main-nav > ul > li > a {
    padding: 16px 20px;
    display: block;
  }

  .main-nav > ul > li > a::after {
    display: none;
  }

  .mega-dropdown > a i {
    margin-left: auto;
  }

  .mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(249, 244, 223, 0.4);
    max-height: 0;
    overflow: hidden; /* Restore hidden for animation */
    transition: max-height 0.4s ease;
    transform: none;
    width: 100%;
    margin-top: 0;
  }

  .mega-dropdown.open .mega-menu {
    max-height: 2000px;
  }

  .mega-menu .container {
    padding: 0;
  }

  .mega-menu-inner {
    gap: 0;
  }

  .mega-column {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mega-column:last-child {
    border-bottom: none;
  }

  .mega-heading a {
    font-size: 14px;
    padding: 14px 20px;
    pointer-events: none;
  }

  /* Mobile: Reset flyout styles to static accordion */
  .mega-list {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    background: rgba(249, 244, 223, 0.3);
    padding: 0;
    transition: max-height 0.3s ease;
    display: block;
    margin: 0; /* Reset margin */
  }

  /* Hide desktop connectors on mobile */
  .mega-list::before,
  .mega-list::after,
  .mega-sublist::before,
  .mega-sublist::after {
    display: none;
  }

  .mega-column.open .mega-list {
    max-height: 1000px;
    padding: 5px 0;
  }

  .mega-sublist {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: none; /* Always show sub-sub if parent is open */
    overflow: visible;
    background: rgba(255, 212, 57, 0.05);
    padding: 0 0 0 15px;
    display: block;
    margin: 0;
  }

  .mega-list > li > a {
    padding: 12px 20px;
  }

  .mega-sublist li {
    width: auto;
    position: static;
  }

  .mega-sublist li a {
    padding: 10px 20px;
    font-size: 13px;
    width: auto;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-mobile-menu {
    display: flex;
  }

  .hero-title {
    font-size: 42px;
  }

  .arrivals-content,
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .arrivals-products {
    justify-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button,
  .search-box .btn-close {
    width: 100%;
  }

  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-form button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 8px 0;
    font-size: 12px;
  }

  .header-top .container {
    flex-direction: column;
    gap: 8px;
  }

  .header-wrapper {
    padding: 15px 0;
  }

  .logo {
    font-size: 22px;
  }

  .logo i {
    font-size: 26px;
  }

  .hero-section {
    height: 70vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid,
  .products-catalog-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .arrivals-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-content {
    padding: 40px 24px;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .slider-controls {
    bottom: 20px;
    right: 20px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header-top-left span:not(:first-child),
  .header-top-right a:not(:first-child):not(:nth-child(2)) {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .arrivals-title {
    font-size: 36px;
  }

  .newsletter-text h2 {
    font-size: 28px;
  }
}

/* ===================================
   FLOATING SOCIAL MEDIA ICONS
   =================================== */
.floating-social {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.floating-social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(1.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.floating-social-btn:hover::before {
  opacity: 1;
}

.floating-social-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-social-btn i {
  position: relative;
  z-index: 1;
}

.floating-social-btn.facebook {
  background: linear-gradient(135deg, #3b5998, #2d4373);
}

.floating-social-btn.instagram {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.floating-social-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-social-btn.linkedin {
  background: linear-gradient(135deg, #0077b5, #005885);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffd439, #f4c430, #daa520);
  color: var(--dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(255, 212, 57, 0.4);
  z-index: 998;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 212, 57, 0.6);
}

.scroll-to-top.show {
  display: flex;
}

/* Mobile adjustments for floating elements */
@media (max-width: 768px) {
  .floating-social {
    right: 15px;
    gap: 12px;
  }

  .floating-social-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .floating-social {
    right: 10px;
    gap: 10px;
  }

  .floating-social-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
