﻿/*-----------------------------------*\
  #AKMART - Modern E-Commerce Design
  Inspired by ByteWebster Template
  Created: October 2025
\*-----------------------------------*/

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --spanish-gray: hsl(0, 0%, 60%);
  --sonic-silver: hsl(0, 0%, 47%);
  --eerie-black: hsl(0, 0%, 13%);
  --salmon-pink: hsl(0, 0%, 10%);
  --sandy-brown: hsl(0, 0%, 17%);
  --bittersweet: hsl(0, 0%, 10%);
  --ocean-green: hsl(152, 51%, 52%);
  --davys-gray: hsl(0, 0%, 33%);
  --cultured: hsl(0, 0%, 96%);
  --white: hsl(0, 100%, 100%);
  --onyx: hsl(0, 0%, 10%);

  /**
   * compatibility colors (for login/register pages)
   */
  --primary-color: hsl(0, 0%, 10%);
  --secondary-color: hsl(0, 0%, 17%);
  --accent-color: hsl(0, 0%, 25%);
  --success-color: hsl(152, 51%, 52%);
  --danger-color: hsl(0, 100%, 70%);
  --dark-color: hsl(0, 0%, 10%);
  --light-color: hsl(0, 0%, 96%);
  --border-color: hsl(0, 0%, 90%);
  --text-primary: hsl(0, 0%, 10%);
  --text-secondary: hsl(0, 0%, 40%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /**
   * typography
   */

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-1: 1.563rem;
  --fs-2: 1.375rem;
  --fs-3: 1.25rem;
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: 0.938rem;
  --fs-7: 0.875rem;
  --fs-8: 0.813rem;
  --fs-9: 0.75rem;
  --fs-10: 0.688rem;
  --fs-11: 0.625rem;

  /**
   * font-weight
   */

  --weight-300: 300;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;

  /**
   * border-radius
   */

  --border-radius-md: 10px;
  --border-radius-sm: 5px;

  /**
   * transition 
   */

  --transition-timing: 0.2s ease;

}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Global smooth transitions for interactive elements */
a,
button,
input,
select,
textarea {
  transition: all 0.25s ease-in-out;
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Cards and interactive elements hover transitions */
.product-card,
.category-card,
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

button {
  background: none;
  font: inherit;
  border: none;
  cursor: pointer;
}

img,
button,
a {
  display: block;
}

/* CRITICAL: ION-ICON MUST ALWAYS BE VISIBLE */
ion-icon {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
}

/* Force icon visibility in all contexts */
button ion-icon,
a ion-icon,
.action-btn ion-icon {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

span {
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  font-family: var(--font-family);
  overscroll-behavior: contain;
}

input {
  display: block;
  width: 100%;
  font: inherit;
}

input::placeholder {
  font: inherit;
}

body {
  background: var(--white);
  font-size: var(--fs-7);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * scrollbar style
 */

body::-webkit-scrollbar {
  width: 15px;
}

body::-webkit-scrollbar-track {
  background: var(--white);
  border-left: 1px solid var(--cultured);
}

body::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 80%);
  border: 3px solid var(--white);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: hsl(0, 0%, 70%);
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.has-scrollbar {
  padding-bottom: 5px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--salmon-pink);
  border: 2px solid var(--white);
  border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-button {
  height: 15px;
}

.title {
  color: var(--eerie-black);
  font-size: var(--fs-2);
  font-weight: var(--weight-600);
  letter-spacing: 0.4px;
  text-transform: capitalize;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cultured);
  margin-bottom: 30px;
}


/*-----------------------------------*\
  #ALERT MESSAGES
\*-----------------------------------*/

.alert {
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: var(--border-radius-sm);
  font-weight: var(--weight-500);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: hsl(152, 51%, 95%);
  color: var(--ocean-green);
  border-left: 4px solid var(--ocean-green);
}

.alert-danger {
  background: hsl(0, 100%, 95%);
  color: var(--bittersweet);
  border-left: 4px solid var(--bittersweet);
}

.alert-info {
  background: hsl(210, 100%, 95%);
  color: hsl(210, 100%, 50%);
  border-left: 4px solid hsl(210, 100%, 50%);
}


/*-----------------------------------*\
  #OVERLAY
\*-----------------------------------*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 180;
  transition: 0.5s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

header {
  position: relative;
  z-index: 220;
}

/**
 * header top 
 */

.header-top {
  background: var(--eerie-black);
  padding: 15px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-social-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social-container .social-link {
  color: var(--white);
  font-size: 18px;
  transition: all 0.3s ease;
}

/* Social link hover - color change and scale */
.header-social-container .social-link:hover {
  color: var(--salmon-pink);
  transform: translateY(-3px);
}

.header-alert-news {
  color: var(--white);
  font-size: var(--fs-9);
  text-transform: uppercase;
}

.header-alert-news b {
  font-weight: var(--weight-500);
  margin-right: 5px;
}

.header-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.header-top-selects {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-top-selects select {
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--white);
  font-size: var(--fs-9);
  cursor: pointer;
  transition: var(--transition);
}

.header-top-selects select:focus {
  outline: none;
  border-color: var(--salmon-pink);
  background: hsla(0, 0%, 100%, 0.2);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: hsla(0, 0%, 100%, 0.14);
  color: var(--white);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  font-size: var(--fs-9);
  font-weight: var(--weight-500);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: hsla(0, 0%, 100%, 0.22);
  border-color: hsla(0, 0%, 100%, 0.35);
  transform: translateY(-2px);
}

.theme-toggle__icon {
  font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-toggle[data-mode="light"] .theme-toggle__icon--dark {
  opacity: 0.4;
}

.theme-toggle[data-mode="dark"] .theme-toggle__icon--light {
  opacity: 0.4;
}

.theme-toggle[data-mode="dark"] span[data-theme-label] {
  color: rgba(255, 255, 255, 0.85);
}

.header-top-selects select:focus {
  outline: none;
  border-color: var(--salmon-pink);
  background: hsla(0, 0%, 100%, 0.2);
}

.header-top-selects option {
  color: var(--eerie-black);
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-welcome {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  font-size: var(--fs-8);
}

.header-action-btn {
  color: var(--white);
  font-size: var(--fs-8);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
}

/* Header action button hover */
.header-action-btn:hover {
  color: var(--salmon-pink);
  background: hsla(353, 100%, 78%, 0.1);
}

/**
 * header main
 */

.header-main {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--cultured);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-logo {
  display: flex;
  align-items: center;
  color: var(--eerie-black);
  font-weight: var(--weight-700);
  transition: var(--transition-timing);
}

.header-logo:hover {
  color: var(--salmon-pink);
}

.header-search-container {
  position: relative;
  flex-grow: 1;
  max-width: 500px;
}

.header-search-container {
  position: relative;
}

.header-search-container .header-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--white);
  border: 1.5px solid #dadce0;
  border-radius: 28px;
  min-height: 48px;
  padding: 4px 16px 4px 12px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-container .header-search-form:hover {
  border-color: #c4c6c9;
  box-shadow: 0 3px 8px rgba(60, 64, 67, 0.18);
}

.header-search-container .header-search-form:focus-within {
  border-color: #4285f4;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.18);
}

.header-search-container .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: none;
  color: #5f6368;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-search-container .search-btn:hover {
  color: #1a73e8;
  transform: scale(1.08);
}

.header-search-container .search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #202124;
}

.header-search-container .search-field:focus {
  outline: none;
}

.header-search-container .search-field::placeholder {
  color: #80868b;
}

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 500px;
  overflow-y: auto;
  z-index: 1000;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggestions-header {
  padding: 12px 15px;
  background: linear-gradient(135deg, var(--cultured) 0%, #f8f9fa 100%);
  border-bottom: 1px solid var(--cultured);
  font-size: 12px;
  font-weight: 600;
  color: var(--sonic-silver);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-suggestions-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-suggestions-item:last-child {
  border-bottom: none;
}

.search-suggestions-item:hover {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding-left: 20px;
}

.search-suggestions-item.active {
  background: linear-gradient(135deg, var(--salmon-pink) 0%, #ff99cc 100%);
  color: var(--white);
}

.search-suggestions-item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  border: 2px solid var(--cultured);
}

.search-suggestions-item:hover .search-suggestions-item-image {
  border-color: var(--salmon-pink);
  transform: scale(1.05);
}

.search-suggestions-item-info {
  flex: 1;
  min-width: 0;
}

.search-suggestions-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--eerie-black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestions-item.active .search-suggestions-item-name {
  color: var(--white);
}

.search-suggestions-item-meta {
  font-size: 12px;
  color: var(--sonic-silver);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-suggestions-item.active .search-suggestions-item-meta {
  color: rgba(255, 255, 255, 0.9);
}

.search-suggestions-item-price {
  font-weight: 600;
  color: var(--salmon-pink);
}

.search-suggestions-item.active .search-suggestions-item-price {
  color: var(--white);
}

.search-suggestions-category {
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-suggestions-category:hover {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  padding-left: 20px;
}

.search-suggestions-category-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--salmon-pink) 0%, #ff99cc 100%);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
}

.search-suggestions-category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--eerie-black);
}

/* Search History Styles */
.search-history-section {
  border-bottom: 1px solid var(--cultured);
  padding: 8px 0;
}

.search-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
}

.search-history-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--sonic-silver);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-history-title ion-icon {
  font-size: 16px;
  color: var(--salmon-pink);
}

.clear-history-btn {
  background: none;
  border: none;
  color: var(--salmon-pink);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.clear-history-btn:hover {
  background: rgba(26, 26, 26, 0.08);
  transform: scale(1.05);
}

.clear-history-btn ion-icon {
  font-size: 14px;
}

.search-history-list {
  padding: 4px 0;
}

.search-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: var(--eerie-black);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.search-history-item:hover {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-left-color: var(--salmon-pink);
  padding-left: 18px;
}

.search-history-item ion-icon {
  font-size: 18px;
  color: var(--sonic-silver);
  flex-shrink: 0;
}

.search-history-item:hover ion-icon {
  color: var(--salmon-pink);
}

.search-history-item span {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}

.search-suggestions-no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--sonic-silver);
}

.search-suggestions-no-results ion-icon {
  font-size: 48px;
  opacity: 0.3;
  margin-bottom: 10px;
}

.search-suggestions-view-all {
  padding: 15px;
  text-align: center;
  border-top: 2px solid var(--cultured);
  background: linear-gradient(135deg, #fafafa 0%, var(--white) 100%);
}

/* Color Box Filter Styles */
.color-box {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.color-box-item {
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-box-item:hover {
  border-color: var(--salmon-pink);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-box-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.color-box-item input[type="checkbox"]:checked~span::after {
  content: "âœ“";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.color-box-item span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

/* Show More Button */
.filter-show-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: transparent;
  color: var(--salmon-pink);
  border: 1px solid var(--salmon-pink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-show-more:hover {
  background: var(--salmon-pink);
  color: var(--white);
}

/* Flipkart-Style Accordion Filters */
.search-filter-group {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.filter-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #282c3f;
  text-transform: uppercase;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-accordion-header:hover {
  background: #fafafa;
}

.filter-accordion-header ion-icon {
  font-size: 18px;
  color: #535766;
  transition: transform 0.3s ease;
}

.search-filter-group.expanded .filter-accordion-header ion-icon {
  transform: rotate(180deg);
}

.filter-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.search-filter-group.expanded .filter-accordion-content {
  padding: 0 20px 20px 20px;
}

/* Filter Options Styling */
.search-filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #282c3f;
  transition: color 0.2s ease;
}

.search-filter-option:hover {
  color: var(--salmon-pink);
}

.search-filter-option input[type="checkbox"],
.search-filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--salmon-pink);
}

.search-filter-option input[type="checkbox"]:disabled,
.search-filter-option input[type="radio"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-filter-option span {
  flex: 1;
  font-size: 14px;
  color: #282c3f;
}

.search-filter-option:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Price Filter */
.search-filter-price {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.search-filter-price>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-filter-price label {
  font-size: 12px;
  color: #535766;
  font-weight: 500;
  text-transform: uppercase;
}

.search-filter-price input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d4d5d9;
  border-radius: 4px;
  font-size: 14px;
  color: #282c3f;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-filter-price input[type="number"]:focus {
  border-color: var(--salmon-pink);
}

.search-filter-price .price-separator {
  font-size: 12px;
  color: #535766;
  margin-top: 20px;
}

/* Color Grid in Accordion */
.search-filter-colors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 10px 0;
}

.search-filter-colors-grid .color-box-item {
  width: 36px;
  height: 36px;
}

/* Hidden filter items (show more functionality) */
.filter-item-hidden {
  display: none;
}

.search-suggestions-view-all a {
  color: var(--salmon-pink);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.search-suggestions-view-all a:hover {
  gap: 10px;
  transform: translateX(5px);
}

.header-user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-user-actions .action-btn {
  position: relative;
  font-size: 28px;
  color: var(--onyx);
  padding: 5px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

/* Action button hover - color change and scale */
.header-user-actions .action-btn:hover {
  color: var(--salmon-pink);
  transform: scale(1.1);
  background: var(--cultured);
}

.header-user-actions .count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--bittersweet);
  color: var(--white);
  font-size: 12px;
  font-weight: var(--weight-500);
  line-height: 1;
  padding: 2px 4px;
  border-radius: 20px;
}

.header-user-actions .notification-bell .count {
  display: none;
}

.header-user-actions .notification-bell.has-unread {
  color: var(--salmon-pink);
}

.notifications-open {
  overflow: hidden;
}

.notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1500;
}

.notification-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.notification-center {
  position: fixed;
  top: 96px;
  right: 24px;
  width: min(360px, calc(100% - 32px));
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  display: none;
  flex-direction: column;
  max-height: calc(100vh - 140px);
  overflow: hidden;
  z-index: 1600;
}

.notification-center.is-open {
  display: flex;
}

.notification-center__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--cultured);
}

.notification-center__header h2 {
  margin: 0;
  font-size: 18px;
  color: var(--onyx);
}

.notification-center__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--sonic-silver);
}

.notification-center__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-close {
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--sonic-silver);
  cursor: pointer;
  transition: color 0.2s ease;
}

.notification-close:hover {
  color: var(--salmon-pink);
}

.notification-pref-toggle {
  border: 1px solid var(--cultured);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--onyx);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-pref-toggle.is-active,
.notification-pref-toggle:hover {
  border-color: var(--salmon-pink);
  color: var(--salmon-pink);
}

.notification-preferences {
  padding: 14px 24px;
  border-bottom: 1px solid var(--cultured);
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.notification-pref {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--onyx);
}

.notification-pref input {
  width: 16px;
  height: 16px;
  accent-color: var(--salmon-pink);
}

.notification-pref__reset {
  border: none;
  background: transparent;
  color: var(--salmon-pink);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  justify-self: flex-start;
}

.notification-list {
  padding: 16px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notification-empty {
  text-align: center;
  font-size: 14px;
  color: var(--sonic-silver);
  padding: 40px 10px;
}

.notification-item {
  border: 1px solid var(--cultured);
  border-radius: 16px;
  padding: 16px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notification-item--new {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.notification-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.notification-item__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--salmon-pink);
}

.notification-item__time {
  font-size: 12px;
  color: var(--sonic-silver);
}

.notification-item__message {
  margin: 0;
  font-size: 14px;
  color: var(--onyx);
  line-height: 1.5;
}

.notification-item__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.notification-item__mark-read {
  border: none;
  background: var(--salmon-pink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notification-item__mark-read:hover {
  background: var(--sandy-brown);
}

.notification-item__status {
  font-size: 12px;
  font-weight: 600;
  color: var(--sonic-silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notification-center__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--cultured);
  background: var(--white);
}

.notification-action {
  flex: 1;
  border: 1px solid var(--cultured);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--onyx);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notification-action:hover {
  border-color: var(--salmon-pink);
  color: var(--salmon-pink);
}

.notification-action:first-child {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
  border-color: transparent;
  color: var(--salmon-pink);
}

@media (max-width: 768px) {
  .notification-center {
    top: 72px;
    right: 16px;
    width: min(320px, calc(100% - 32px));
  }

  .notification-center__header {
    padding: 16px 18px 12px;
  }

  .notification-center__subtitle {
    display: none;
  }

  .notification-list {
    padding: 14px 18px;
  }

  .notification-center__footer {
    padding: 12px 18px 18px;
  }
}

/**
 * header navigation
 */

.desktop-navigation-menu {
  background: var(--white);
  border-bottom: 1px solid var(--cultured);
}

.desktop-navigation-menu .container {
  display: flex;
  justify-content: center;
  padding: 0;
}

.desktop-menu-category-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-category {
  position: relative;
  padding: 0;
}

.menu-category .menu-title {
  position: relative;
  color: var(--onyx);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  padding: 12px 5px;
  transition: var(--transition-timing);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Menu hover - color change */
.menu-category .menu-title:hover {
  color: var(--salmon-pink);
}

/* Menu hover - animated underline */
.menu-category .menu-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--salmon-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.menu-category .menu-title:hover::after {
  transform: scaleX(1);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  padding: 20px 0;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(50px);
  transition: all 0.3s ease;
  z-index: 5;
}

/* Dropdown slide-down animation on hover */
/* Dropdown slide-down animation controlled by JS class */
.menu-category.dropdown-open .dropdown-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item {
  margin: 0;
}

.dropdown-item a {
  display: block;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  text-transform: capitalize;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

/* Dropdown item hover effect */
.dropdown-item a:hover {
  color: var(--salmon-pink);
  background: var(--cultured);
  padding-left: 25px;
}

/* Mega dropdown */

.menu-category.mega-menu {
  position: relative;
  display: inline-block;
}

.menu-category.mega-menu>.dropdown-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: max-content;
  max-width: 95vw;
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--cultured);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.1);
  padding: 20px 25px;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  margin-top: 0;
}

/* Single category dropdown */
.menu-category.mega-menu>.dropdown-panel.single-category {
  padding: 15px 20px;
}

/* Show dropdown ONLY when hovering the link directly */
/* REMOVED - Using JavaScript hover handler instead */
/* .menu-category.mega-menu > .menu-title-link:hover ~ .dropdown-panel { */
/*   opacity: 1; */
/*   visibility: visible; */
/*   pointer-events: auto; */
/*   z-index: 1001; */
/* } */

.dropdown-panel-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  padding: 0 20px;
  border-right: 1px solid #f0f0f0;
}

/* Last list no border */
.dropdown-panel-list:last-child {
  border-right: none;
  padding-right: 0;
}

/* First list less left padding */
.dropdown-panel-list:first-child {
  padding-left: 0;
}

/* Single category - no borders needed */
.dropdown-panel.single-category .dropdown-panel-list {
  padding: 0;
  border: none;
}

.dropdown-panel-list .menu-title span,
.dropdown-panel-list .menu-title a {
  display: block;
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  color: var(--onyx);
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
  white-space: nowrap;
}

.dropdown-panel-list .menu-title a:hover {
  color: var(--salmon-pink);
}

.panel-list-item a {
  display: block;
  color: var(--sonic-silver);
  font-size: var(--fs-8);
  padding: 4px 0;
  transition: var(--transition);
}

.panel-list-item a:hover {
  color: var(--salmon-pink);
  transform: translateX(4px);
}

.panel-description {
  font-size: var(--fs-9);
  color: var(--sonic-silver);
  line-height: 1.4;
  padding: 4px 0;
}

.panel-description a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.panel-description a:hover {
  color: var(--salmon-pink);
}

.panel-spotlight a {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background: var(--cultured);
  min-height: 180px;
}

.panel-spotlight img {
  width: 100%;
  height: auto;
}

.panel-spotlight-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: hsla(0, 0%, 0%, 0.45);
  color: var(--white);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(6px);
}

.panel-spotlight-caption h4 {
  font-size: var(--fs-6);
  margin-bottom: 4px;
}

.panel-spotlight-caption p {
  font-size: var(--fs-8);
  opacity: 0.85;
}

/**
 * mobile bottom navigation
 */

.mobile-bottom-navigation {
  background: var(--white);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 -2px 10px hsla(0, 0%, 0%, 0.1);
  z-index: 5;
  display: none;
}

.mobile-bottom-navigation .action-btn {
  position: relative;
  font-size: 26px;
  color: var(--onyx);
  padding: 10px;
  transition: var(--transition-timing);
}

.mobile-bottom-navigation .action-btn:hover {
  color: var(--salmon-pink);
}

.mobile-bottom-navigation .count {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--bittersweet);
  color: var(--white);
  font-size: 11px;
  font-weight: var(--weight-500);
  line-height: 1;
  padding: 2px 4px;
  border-radius: 20px;
}

/**
 * mobile navigation menu
 */

.mobile-navigation-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: 0.5s ease;
  z-index: 240;
}

.mobile-navigation-menu.active {
  left: 0;
  visibility: visible;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--cultured);
  margin-bottom: 20px;
}

.menu-top .menu-title {
  color: var(--onyx);
  font-size: var(--fs-3);
  font-weight: var(--weight-600);
}

.menu-close-btn {
  font-size: 30px;
  color: var(--onyx);
}

.mobile-menu-category-list .menu-category {
  border-bottom: 1px solid var(--cultured);
}

.mobile-menu-category-list .menu-title {
  color: var(--onyx);
  font-size: var(--fs-6);
  font-weight: var(--weight-500);
  padding: 15px 0;
  transition: var(--transition-timing);
}

.mobile-menu-category-list .menu-title:hover {
  color: var(--salmon-pink);
}

.menu-bottom {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 2px solid var(--cultured);
}

.menu-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.menu-social-container .social-link {
  background: var(--cultured);
  color: var(--onyx);
  font-size: 22px;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-timing);
}

.menu-social-container .social-link:hover {
  background: var(--salmon-pink);
  color: var(--white);
}

.accordion-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  color: var(--onyx);
  text-transform: uppercase;
  font-weight: var(--weight-700);
}

.accordion-menu .menu-title {
  padding: 0;
  margin: 0;
  font-size: var(--fs-5);
  font-weight: var(--weight-700);
  color: var(--eerie-black);
  letter-spacing: 0.5px;
}

.accordion-menu .caret-back {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-menu.active .caret-back {
  transform: rotate(-180deg);
}

.submenu-category-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 18px 10px;
}

.submenu-category-list.active {
  display: flex;
}

.submenu-category {
  padding: 4px 0;
}

.submenu-title {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  transition: var(--transition);
}

.submenu-title:hover {
  color: var(--salmon-pink);
}

.submenu-subcategory-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  padding-left: 15px;
}

.submenu-subcategory-list a {
  font-size: var(--fs-9);
  color: var(--sonic-silver);
}

.submenu-subcategory-list a:hover {
  color: var(--salmon-pink);
}


/*-----------------------------------*\
  #MAIN CONTENT
\*-----------------------------------*/

.search-results {
  padding-top: 60px;
}

.search-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.search-results__kicker {
  text-transform: uppercase;
  font-size: var(--fs-9);
  letter-spacing: 2px;
  color: var(--salmon-pink);
  font-weight: var(--weight-600);
  margin-bottom: 6px;
}

.search-results__title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  color: var(--onyx);
}

.search-results__count {
  background: var(--cultured);
  color: var(--onyx);
  padding: 8px 18px;
  border-radius: var(--border-radius-md);
  font-weight: var(--weight-600);
  font-size: var(--fs-7);
}

.filter-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.filter-pill {
  background: var(--cultured);
  color: var(--onyx);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-9);
  font-weight: var(--weight-500);
  letter-spacing: 0.2px;
}

.filter-reset {
  font-size: var(--fs-9);
  font-weight: var(--weight-600);
  color: var(--salmon-pink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.filter-reset:hover {
  text-decoration: underline;
}

.search-results__grid {
  margin-top: 25px;
}

.search-suggestion {
  margin: 0 0 18px;
  font-size: var(--fs-7);
  color: var(--text-secondary);
}

.search-suggestion a {
  color: var(--salmon-pink);
  font-weight: var(--weight-600);
  text-decoration: underline;
}

.search-suggestion a:hover {
  text-decoration: none;
}

.search-recommendations {
  margin-top: 48px;
  padding: 32px 28px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 138, 173, 0.2);
  background: linear-gradient(135deg, rgba(255, 233, 240, 0.45) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: var(--shadow-sm);
}

.search-recommendations__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.search-recommendations__header h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.8rem);
  color: var(--onyx);
  margin: 0;
}

.search-recommendations__header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-7);
}

.search-recently-viewed[hidden] {
  display: none !important;
}

.search-recently-viewed {
  margin-top: 48px;
}

.home-recently-viewed {
  padding: 70px 0 30px;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.home-recently-viewed[hidden] {
  display: none !important;
}

.home-recently-viewed__header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.home-recently-viewed__title h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-top: 4px;
}

.home-recently-viewed__kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--sonic-silver);
}

.home-recently-viewed__clear {
  align-self: center;
  font-size: 0.85rem;
  color: var(--salmon-pink);
  border: 1px solid rgba(235, 104, 120, 0.4);
  border-radius: 999px;
  padding: 8px 18px;
  transition: var(--transition);
}

.home-recently-viewed__clear:hover,
.home-recently-viewed__clear:focus-visible {
  background: var(--salmon-pink);
  color: var(--white);
  box-shadow: 0 10px 20px -12px rgba(235, 104, 120, 0.8);
}

.home-recently-viewed__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

@media (max-width: 768px) {
  .home-recently-viewed {
    padding: 48px 0 16px;
  }

  .home-recently-viewed__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-recently-viewed__clear {
    align-self: flex-start;
  }
}

.search-recently-viewed__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.search-recently-viewed__header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.6rem);
  color: var(--onyx);
}

.search-recently-viewed__clear {
  background: transparent;
  border: none;
  color: var(--salmon-pink);
  font-weight: var(--weight-600);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.search-recently-viewed__clear:hover {
  background: rgba(255, 138, 173, 0.1);
  color: var(--salmon-pink);
}

.search-empty {
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--cultured);
  background: linear-gradient(180deg, rgba(255, 233, 240, 0.5) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: var(--shadow-sm);
}

.search-empty h2 {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  margin-bottom: 10px;
  color: var(--onyx);
}

.search-empty p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.search-empty-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.search-empty-suggestions a {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 173, 0.35);
  color: var(--salmon-pink);
  font-weight: var(--weight-500);
  background: var(--white);
  transition: var(--transition);
}

.search-empty-suggestions a:hover {
  background: var(--salmon-pink);
  color: var(--white);
  transform: translateY(-3px);
}

.search-empty-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.search-empty-item {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--cultured);
  padding: 22px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-empty-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.search-empty-item img {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.search-empty-item h3 {
  font-size: var(--fs-4);
  color: var(--onyx);
  margin-bottom: 8px;
}

.search-empty-item p {
  font-size: var(--fs-7);
  color: var(--sonic-silver);
  margin-bottom: 12px;
}

.search-empty-item span {
  font-weight: var(--weight-600);
  color: var(--salmon-pink);
}

main {
  min-height: 60vh;
  padding: 40px 0;
}

/**
 * sections
 */

.section {
  padding: 60px 0;
}

/**
 * form elements
 */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--cultured);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-7);
  color: var(--onyx);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  position: relative;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--sonic-silver);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--salmon-pink);
  box-shadow: 0 0 0 4px rgba(255, 153, 153, 0.1);
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--white) 0%, #fefefe 100%);
}

label {
  display: block;
  color: var(--onyx);
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  margin-bottom: 8px;
}

/**
 * buttons
 */

.btn {
  background: linear-gradient(135deg, var(--salmon-pink) 0%, var(--sandy-brown) 100%);
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 153, 153, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, var(--sandy-brown) 0%, var(--ocean-green) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 153, 153, 0.4);
}

.btn:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-primary {
  background: var(--salmon-pink);
}

.btn-secondary {
  background: var(--ocean-green);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--salmon-pink);
  color: var(--salmon-pink);
}

.btn-outline:hover {
  background: var(--salmon-pink);
  color: var(--white);
}

/* Hero section outline button - white text/border */
.home-hero__actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.home-hero__actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  border-color: #ffffff;
}

.btn-outline.is-active {
  background: var(--salmon-pink);
  color: var(--white);
}

/**
 * cards
 */

.card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--salmon-pink), var(--sandy-brown), var(--ocean-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  border-color: var(--cultured);
}

.card:hover::before {
  transform: scaleX(1);
}

/**
 * homepage styles
 */

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--salmon-pink) 0%, var(--sandy-brown) 50%, var(--salmon-pink) 100%);
  background-size: 200% 100%;
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  animation: shimmer 3s linear infinite;
  position: relative;
  overflow: hidden;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.announcement-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: slide 2s linear infinite;
}

@keyframes slide {
  from {
    left: -100%;
  }

  to {
    left: 100%;
  }
}

.announcement-bar i {
  margin-right: 10px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/*-----------------------------------*\
  #HOME PAGE LAYOUT
\*-----------------------------------*/

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: var(--weight-700);
  color: var(--eerie-black);
}

.section-header p {
  color: var(--sonic-silver);
  font-size: var(--fs-6);
  max-width: 640px;
}

.section-header--center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center p {
  max-width: 580px;
}

.home-hero {
  padding: clamp(40px, 8vw, 80px) 0 clamp(30px, 6vw, 60px);
  background: linear-gradient(180deg, #ffffff 0%, #faf6f8 100%);
}

.home-hero__grid {
  display: grid;
  gap: clamp(16px, 4vw, 30px);
  align-items: stretch;
}

.home-hero__feature {
  position: relative;
  border-radius: clamp(16px, 3vw, 24px);
  overflow: hidden;
  /* Remove fixed height constraints to allow stretching to match tiles */
  min-height: clamp(300px, 60vw, 520px);
  height: 100%;
  /* aspect-ratio: 16 / 10; Removed to allow vertical stretch */
  box-shadow: 0 clamp(10px, 3vw, 30px) clamp(20px, 6vw, 60px) rgba(15, 23, 42, 0.12);
}

.home-hero__feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(22, 22, 22, 0.15) 0%, rgba(19, 19, 19, 0.75) 60%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--white);
  padding: clamp(30px, 8vw, 60px) clamp(20px, 6vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(8px, 2vw, 16px);
}

/* Make the hero feature area inert for pointer events so hovering/clicks
   on the overlay don't bubble to any parent handlers. Re-enable pointer
   events for actionable elements (links/buttons) inside the hero. */
.home-hero__feature {
  pointer-events: none;
}

.home-hero__feature .home-hero__overlay,
.home-hero__feature .home-hero__overlay *,
.home-hero__feature .home-hero__actions,
.home-hero__feature .home-hero__actions .btn,
.home-hero__feature a,
.home-hero__feature button {
  pointer-events: auto;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.65rem, 2vw, 0.875rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  padding: clamp(6px, 1.5vw, 10px) clamp(10px, 3vw, 16px);
  border-radius: 999px;
  width: fit-content;
}

.home-hero__title {
  font-size: clamp(1.5rem, 6vw, 3.4rem);
  line-height: 1.1;
}

.home-hero__description {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  max-width: 520px;
  opacity: 0.95;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 16px);
  margin-top: clamp(5px, 1vw, 10px);
}

.home-hero__tiles {
  display: grid;
  gap: clamp(12px, 3vw, 24px);
  /* Allow rows to size naturally based on content/aspect-ratio */
  height: 100%;
}

.hero-tile {
  position: relative;
  display: block;
  border-radius: clamp(12px, 2.5vw, 20px);
  overflow: hidden;
  /* Use aspect-ratio to ensure nice proportions (not squashed) */
  width: 100%;
  aspect-ratio: 3 / 4;
  color: var(--white);
  box-shadow: 0 clamp(8px, 2vw, 20px) clamp(20px, 4vw, 40px) rgba(15, 23, 42, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-tile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s ease;
}

.hero-tile__overlay {
  position: absolute;
  inset: 0;
  padding: clamp(12px, 3vw, 24px);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  transition: opacity 0.3s ease;
}

.hero-tile__overlay h3 {
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin-bottom: 4px;
}

.hero-tile__overlay span {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  opacity: 0.85;
}

.hero-tile__hover {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(6px, 1.5vw, 12px);
  background: linear-gradient(190deg, rgba(12, 12, 12, 0.2) 0%, rgba(10, 10, 10, 0.85) 100%);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-tile__hover p {
  font-size: clamp(0.7rem, 1.5vw, 0.875rem);
  opacity: 0.85;
}

.hero-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--weight-600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(0.65rem, 1.2vw, 0.875rem);
}

.hero-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 clamp(15px, 4vw, 25px) clamp(25px, 6vw, 45px) rgba(15, 23, 42, 0.2);
}

.hero-tile:hover .hero-tile__image {
  transform: scale(1.08);
}

.hero-tile:hover .hero-tile__overlay {
  opacity: 0;
}

.hero-tile:hover .hero-tile__hover {
  opacity: 1;
  transform: translateY(0);
}

.category-showcase {
  padding: clamp(40px, 10vw, 70px) 0;
  background: var(--white);
}

.category-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 260px), 1fr));
  gap: clamp(12px, 3vw, 24px);
}

.category-showcase__card {
  position: relative;
  display: block;
  border-radius: clamp(12px, 2.5vw, 20px);
  overflow: hidden;
  min-height: clamp(200px, 35vw, 260px);
  aspect-ratio: 4 / 5;
  color: var(--white);
  box-shadow: 0 clamp(10px, 3vw, 18px) clamp(15px, 4vw, 30px) rgba(15, 23, 42, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-showcase__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 clamp(15px, 4vw, 28px) clamp(20px, 5vw, 40px) rgba(15, 23, 42, 0.16);
}

.category-showcase__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.category-showcase__overlay {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 4vw, 28px);
  background: linear-gradient(200deg, rgba(17, 17, 17, 0.15) 0%, rgba(5, 5, 5, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-showcase__badge {
  display: inline-block;
  padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  letter-spacing: 0.25em;
  width: fit-content;
}

.category-showcase__meta h3 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin: clamp(6px, 1.5vw, 10px) 0 clamp(3px, 1vw, 6px);
}

.category-showcase__meta p {
  font-size: clamp(0.7rem, 1.5vw, 0.875rem);
  color: rgba(255, 255, 255, 0.85);
}

.category-showcase__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 1.5vw, 8px);
  margin-top: clamp(8px, 2vw, 14px);
}

.category-showcase__list li {
  padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  letter-spacing: 0.05em;
}

.category-showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.65rem, 1.2vw, 0.875rem);
}

.collection-section {
  padding: clamp(40px, 10vw, 80px) 0;
  background: var(--white);
}

.collection-section:nth-of-type(even) {
  background: var(--cultured);
}

.collection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 20px);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 5vw, 40px);
}

.collection-heading h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  margin-bottom: clamp(4px, 1vw, 8px);
}

.collection-heading p {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: var(--sonic-silver);
  max-width: 520px;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  font-weight: var(--weight-600);
  color: var(--onyx);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.65rem, 1.2vw, 0.875rem);
}

.collection-link:hover {
  color: var(--salmon-pink);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(160px, 25vw, 240px), 1fr));
  gap: clamp(12px, 3vw, 26px);
}

.collection-grid .product-card {
  cursor: pointer;
}

.collection-grid .product-actions .btn {
  padding: clamp(8px, 1.5vw, 12px);
}

.home-services {
  padding: clamp(40px, 10vw, 70px) 0 clamp(50px, 12vw, 90px);
  background: linear-gradient(180deg, var(--cultured) 0%, #ffffff 100%);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 25vw, 220px), 1fr));
  gap: clamp(12px, 3vw, 24px);
}

.home-service-card {
  background: var(--white);
  border-radius: clamp(12px, 2.5vw, 18px);
  padding: clamp(16px, 4vw, 32px) clamp(16px, 3vw, 28px);
  box-shadow: 0 clamp(6px, 2vw, 12px) clamp(15px, 3vw, 30px) rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-service-card:hover {
  transform: translateY(clamp(-3px, -1vw, -6px));
  box-shadow: 0 clamp(12px, 2.5vw, 18px) clamp(24px, 4vw, 35px) rgba(15, 23, 42, 0.12);
}

.home-service-card__icon {
  display: inline-flex;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: clamp(10px, 2vw, 14px);
  align-items: center;
  justify-content: center;
  background: rgba(255, 153, 153, 0.12);
  color: var(--salmon-pink);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: clamp(12px, 2vw, 18px);
}

.home-service-card h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: clamp(8px, 1.5vw, 12px);
  color: var(--onyx);
}

.home-service-card p {
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: var(--sonic-silver);
  line-height: 1.5;
}

@media (min-width: 992px) {
  .home-hero__grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .home-hero__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 991px) {
  .home-hero__overlay {
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 32px);
  }

  .home-hero__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-hero__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 16px);
  }

  .hero-tile {
    aspect-ratio: 4 / 5;
  }

  .category-showcase__card {
    aspect-ratio: 3 / 4;
  }
}

/* Ensure odd items span 2 columns on all screens wider than 640px (where grid is 2 cols) */
@media (min-width: 641px) {
  .home-hero__tiles>*:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: clamp(30px, 6vw, 60px) 0 clamp(20px, 4vw, 40px);
  }



  .home-hero__grid {
    gap: clamp(12px, 3vw, 20px);
  }

  .home-hero__tiles {
    grid-template-columns: 1fr;
    gap: clamp(8px, 2vw, 12px);
  }

  .home-hero__overlay {
    padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 20px);
    justify-content: center;
  }

  .home-hero__title {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .home-hero__description {
    font-size: clamp(0.75rem, 2vw, 0.95rem);
  }

  .home-hero__actions {
    gap: clamp(6px, 1.5vw, 10px);
  }

  .collection-heading {
    align-items: flex-start;
  }

  .collection-link {
    letter-spacing: 0.08em;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2vw, 16px);
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: clamp(20px, 5vw, 40px) 0 clamp(15px, 3vw, 30px);
    min-height: clamp(250px, 70vh, 400px);
  }

  .home-hero__feature {
    min-height: clamp(200px, 50vh, 300px);
    aspect-ratio: 4 / 3;
  }

  .home-hero__overlay {
    padding: clamp(15px, 4vw, 25px) clamp(12px, 3vw, 18px);
  }

  .home-hero__title {
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 1.2;
  }

  .home-hero__description {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  }

  .hero-tile {
    min-height: clamp(100px, 25vh, 150px);
    aspect-ratio: 1 / 1;
  }

  .hero-tile__overlay {
    padding: clamp(10px, 2.5vw, 15px);
  }

  .category-showcase__card {
    border-radius: clamp(8px, 1.5vw, 12px);
    aspect-ratio: 1 / 1;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(clamp(130px, 20vw, 160px), 1fr));
    gap: clamp(8px, 2vw, 12px);
  }

  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-services {
    padding: clamp(30px, 8vw, 50px) 0;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--salmon-pink) 0%, var(--sandy-brown) 50%, var(--ocean-green) 100%);
  color: var(--white);
  padding: 80px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: var(--fs-1);
  font-weight: var(--weight-700);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content p {
  font-size: var(--fs-4);
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-weight: var(--weight-700);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  background: var(--white);
  color: var(--salmon-pink);
  border-color: var(--white);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Category Section */
.category-section {
  padding: 60px 0;
}

.category-section .title {
  text-align: center;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.category-card {
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--salmon-pink) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.category-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 15px 40px rgba(255, 153, 153, 0.25);
  border-color: var(--salmon-pink);
}

.category-card:hover::before {
  width: 300px;
  height: 300px;
  opacity: 0.1;
}

.category-card i {
  font-size: 48px;
  color: var(--salmon-pink);
  margin-bottom: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.category-card:hover i {
  transform: scale(1.2) rotate(10deg);
  color: var(--sandy-brown);
  filter: drop-shadow(0 5px 15px rgba(255, 153, 153, 0.5));
}

.category-card h3 {
  font-size: var(--fs-3);
  color: var(--onyx);
  margin-bottom: 10px;
}

.category-card p {
  font-size: var(--fs-7);
  color: var(--sonic-silver);
}

/* Products Section */
.products-section {
  padding: 60px 0;
  background: var(--cultured);
}

.products-section .title {
  text-align: center;
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1.5px solid #e5e7eb;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--salmon-pink) 0%, var(--sandy-brown) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 153, 153, 0.3);
  border-color: var(--salmon-pink);
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-image {
  width: 100%;
  height: clamp(180px, 25vw, 250px);
  object-fit: cover;
  object-position: center 25%;
  background: var(--cultured);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.product-card:hover .product-image {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cultured) 0%, #f5f5f5 100%);
}

.product-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.product-card:hover .product-image-wrapper::after {
  left: 100%;
}

.product-info {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.product-title {
  font-size: var(--fs-4);
  color: var(--onyx);
  font-weight: var(--weight-600);
  margin-bottom: 10px;
  display: block;
  transition: var(--transition-timing);
}

.product-title:hover {
  color: var(--salmon-pink);
}

.product-description {
  font-size: var(--fs-8);
  color: var(--sonic-silver);
  margin-bottom: 15px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: var(--fs-3);
  color: var(--salmon-pink);
  font-weight: var(--weight-700);
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 3;
}

.product-actions .btn-add-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--salmon-pink) 0%, var(--sandy-brown) 100%);
  color: #fff;
  font-weight: var(--weight-600);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-actions .btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.2);
}

.product-actions .btn-add-cart i {
  font-size: 16px;
}

.product-actions .btn-add-cart ion-icon {
  font-size: 18px;
}

.product-actions .btn-add-cart .btn-label {
  font-weight: var(--weight-600);
}

.product-actions .btn-quick-view {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(26, 26, 26, 0.2);
  background: transparent;
  color: var(--salmon-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-actions .btn-quick-view:hover {
  background: rgba(26, 26, 26, 0.08);
  transform: translateY(-2px);
}

.product-actions .btn-quick-view i {
  font-size: 16px;
}

.product-actions .btn-quick-view ion-icon {
  font-size: 18px;
}

.product-actions .btn {
  flex: 1;
  font-size: var(--fs-8);
  padding: 10px;
  text-align: center;
}

.product-actions .btn-wishlist {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--sonic-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-timing);
  cursor: pointer;
}

.product-actions .btn-wishlist i {
  font-size: 16px;
}

.product-actions .btn-wishlist:hover,
.product-actions .btn-wishlist.is-active {
  color: var(--salmon-pink);
  border-color: var(--salmon-pink);
  background: rgba(26, 26, 26, 0.06);
}

/* ===========================================
   FOOTER STYLES
   =========================================== */

/* Main Footer Layout */
.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(26, 26, 26, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-shell {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo ion-icon {
  color: #ffffff;
}

.footer-brand h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.footer-brand p {
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social li a:hover {
  background: var(--salmon-pink);
  color: white;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--salmon-pink);
}

.footer-support-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-support-stack a,
.footer-support-stack span {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
}

.footer-support-stack a:hover {
  color: var(--salmon-pink);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--salmon-pink);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0;
}

.footer-bottom-left a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom-left a:hover {
  color: var(--salmon-pink);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bug-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(26, 26, 26, 0.1);
  color: var(--salmon-pink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-bug-link:hover {
  background: rgba(26, 26, 26, 0.15);
  color: var(--salmon-pink);
  text-decoration: none;
}

.footer-bug-link ion-icon {
  font-size: 14px;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

.footer-payments span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }

  .footer-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-actions {
    justify-content: center;
  }

  .footer-payments {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 20px 0;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .footer-brand h2 {
    font-size: 18px;
  }

  .footer-logo {
    font-size: 20px;
  }
}

/* ============================================================================
   ENHANCED SEARCH, CART & UI IMPROVEMENTS - Premium Design
   ============================================================================ */

/* SEARCH MAGNIFIER - Enhanced Styling */
.header-search-form {
  position: relative;
}

.header-search-form .search-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary-color, #1a1a1a);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-search-form .search-btn:hover {
  background: #2c2c2c;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-search-form .search-btn:active {
  transform: scale(0.98);
}

.header-search-form .search-btn ion-icon {
  font-size: 20px !important;
  color: #ffffff !important;
}

/* Search field improvements */
.header-search-form .search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-color, #1a1a1a);
  outline: none;
}

.header-search-form .search-field::placeholder {
  color: #888;
  font-weight: 400;
}

/* Search close button */
.header-search-form .search-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-search-form .search-close-btn:hover {
  background: #ff4444;
  color: #fff;
}

.header-search-form .search-close-btn ion-icon {
  font-size: 18px;
}

/* ============================================================================
   CART QUANTITY CONTROLS - Clean Modern Design
   ============================================================================ */

.qty-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary, #666);
  margin-bottom: 8px;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 4px;
  border: 1px solid #e0e0e0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-qty-control .qty-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: none;
  background: #ffffff;
  color: var(--primary-color, #1a1a1a);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-qty-control .qty-btn:hover {
  background: var(--primary-color, #1a1a1a);
  color: #ffffff;
  transform: scale(1.05);
}

.cart-qty-control .qty-btn:active {
  transform: scale(0.95);
}

.cart-qty-control .qty-input {
  width: 50px;
  height: 38px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-color, #1a1a1a);
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-qty-control .qty-input::-webkit-outer-spin-button,
.cart-qty-control .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Cart action buttons - Clean Grid */
.cart-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.action-btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-btn-card i,
.action-btn-card ion-icon {
  font-size: 14px;
}

.action-btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn-card:active {
  transform: translateY(0);
}

/* Action button colors - Premium palette */
.btn-save {
  background: #f5f5f5;
  color: #1a1a1a;
}

.btn-save:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-wish {
  background: #fdf2f8;
  color: #ec4899;
}

.btn-wish:hover {
  background: #ec4899;
  color: #fff;
}

.btn-share {
  background: #f0fdf4;
  color: #22c55e;
}

.btn-share:hover {
  background: #22c55e;
  color: #fff;
}

.btn-remove {
  background: #fef2f2;
  color: #ef4444;
}

.btn-remove:hover {
  background: #ef4444;
  color: #fff;
}

/* Cart price display */
.cart-price-row {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
}

.price-block,
.total-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary, #666);
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-color, #1a1a1a);
}

.total-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color, #1a1a1a);
}

/* Cart card enhancements */
.cart-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.cart-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: #e0e0e0;
}

.cart-card-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cart-card:hover .cart-card-image img {
  transform: scale(1.05);
}

.cart-product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-color, #1a1a1a);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.cart-product-title:hover {
  color: var(--primary-color, #1a1a1a);
  text-decoration: underline;
}

.cart-product-category {
  font-size: 13px;
  color: var(--text-secondary, #666);
  font-weight: 500;
}

/* Included badge */
.included-badge-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-color, #1a1a1a);
}

.included-badge-container ion-icon {
  font-size: 18px;
  color: var(--primary-color, #1a1a1a);
}

/* ============================================================================
   MOBILE LAYOUT FIXES - Stay Put Design
   ============================================================================ */

@media (max-width: 768px) {

  /* Search on mobile */
  .header-search-form {
    flex-direction: row;
    align-items: center;
  }

  .header-search-form .search-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    order: 1;
  }

  .header-search-form .search-field {
    order: 2;
    font-size: 14px;
    padding: 10px 12px;
  }

  .header-search-form .search-close-btn {
    order: 3;
    width: 32px;
    height: 32px;
  }

  /* Cart mobile layout */
  .cart-card {
    padding: 16px;
  }

  .cart-card-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-card-image {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
  }

  .cart-product-info {
    flex: 1;
    min-width: 0;
  }

  .cart-product-title {
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .cart-card-qty-wrapper {
    width: 100%;
    margin-top: 12px;
    align-items: flex-start !important;
  }

  .cart-qty-control {
    width: 100%;
    max-width: 150px;
    justify-content: space-between;
  }

  .cart-qty-control .qty-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
  }

  .cart-qty-control .qty-input {
    width: 40px;
    height: 36px;
    font-size: 15px;
  }

  /* Cart actions mobile - 2x2 grid */
  .cart-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .action-btn-card {
    padding: 10px 12px;
    font-size: 12px;
    justify-content: center;
  }

  .action-btn-card i,
  .action-btn-card ion-icon {
    font-size: 14px;
  }

  /* Price row mobile */
  .cart-price-row {
    padding: 14px 16px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .price-block,
  .total-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .price-value {
    font-size: 16px;
  }

  .total-value {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .cart-card {
    padding: 14px;
    border-radius: 12px;
  }

  .cart-card-image {
    width: 70px !important;
    height: 70px !important;
  }

  .cart-product-title {
    font-size: 14px;
  }

  .cart-product-category {
    font-size: 12px;
  }

  .qty-label {
    font-size: 10px;
  }

  .cart-qty-control .qty-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 14px;
  }

  .cart-qty-control .qty-input {
    width: 36px;
    height: 32px;
    font-size: 14px;
  }

  .action-btn-card {
    padding: 8px 10px;
    font-size: 11px;
  }

  .included-badge-container {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ============================================
   WISHLIST PAGE - Button Icon Styling
   ============================================ */

.wishlist-product-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.wishlist-product-actions .btn ion-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.wishlist-product-actions .btn.btn-primary {
  background: #1a1a1a;
  border: none;
}

.wishlist-product-actions .btn.btn-primary:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
}

.wishlist-product-actions .btn.btn-secondary {
  background: rgba(26, 26, 26, 0.08);
  color: #1a1a1a;
}

.wishlist-product-actions .btn.btn-secondary:hover {
  background: rgba(26, 26, 26, 0.15);
}

.wishlist-product-actions .btn.btn-outline {
  border: 2px solid #dc3545;
  color: #dc3545;
  background: transparent;
}

.wishlist-product-actions .btn.btn-outline:hover {
  background: #dc3545;
  color: white;
}

/* Wishlist empty state styling */
#wishlistEmptyState ion-icon {
  color: var(--border-color);
}

/* Mobile responsive for wishlist buttons */
@media (max-width: 768px) {
  .wishlist-product-actions {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .wishlist-product-actions .btn {
    width: 100% !important;
    padding: 10px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }

  .wishlist-product-actions .btn ion-icon {
    font-size: 18px;
  }
}

/* ============================================
   GLASSMORPHISM DESIGN SYSTEM
   Frosted glass effects for modern UI
   ============================================ */

/* Glass effect utility classes */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Search suggestions with glass effect */
.search-suggestions {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}

.search-suggestions-header {
  background: rgba(248, 249, 250, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Notification center with glass effect */
.notification-center {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

.notification-center__header {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Mobile bottom navigation with glass effect */
.mobile-bottom-nav,
.mobile-bottom-navigation {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08) !important;
}

/* Mobile menu with glass effect */
.mobile-navigation-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Product card hover glass overlay */
.product-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* Product badges with glass effect */
.product-badge,
.badge-discount,
.badge-new,
.badge-sale {
  background: rgba(26, 26, 26, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header actions hover glass effect */
.header-user-actions .action-btn:hover {
  background: rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
}

/* Modal/Dialog with glass backdrop */
.modal-content,
.modern-confirm-dialog {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

/* Dropdown menus with glass effect */
.dropdown-menu,
.category-dropdown,
.header-dropdown {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Cart sidebar with glass effect */
.cart-sidebar,
.mini-cart {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Toast notifications with glass effect */
.toast,
.notification-toast,
.alert {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Filter panel with glass effect */
.filter-sidebar,
.filters-panel {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Price tag/badge with glass */
.price-glass {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
}

/* Button with glass hover effect */
.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Floating action button with glass */
.fab-glass {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Sticky header with glass effect on scroll */
.header-main.scrolled,
.sticky-header {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Quantity control buttons with glass */
.qty-btn-clean:hover {
  background: rgba(26, 26, 26, 0.9) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Wishlist card with glass on hover */
.product-card-wishlist:hover {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

/* Category showcase cards with glass */
.showcase-card,
.category-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.showcase-card:hover,
.category-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Footer newsletter section with glass */
.newsletter-section {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Checkout summary card with glass */
.checkout-summary,
.order-summary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Tooltip with glass effect */
.tooltip,
[data-tooltip]:hover::after {
  background: rgba(26, 26, 26, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Loading skeleton with glass shimmer */
.skeleton-glass {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.3) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Image overlay with glass gradient */
.image-overlay-glass {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Chip/Tag with glass effect */
.chip-glass,
.tag-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

/* Input fields with glass effect */
.input-glass {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.input-glass:focus {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(26, 26, 26, 0.2) !important;
}

/* Status badges with glass */
.status-badge-glass {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge-glass.success {
  background: rgba(34, 197, 94, 0.85);
}

.status-badge-glass.warning {
  background: rgba(245, 158, 11, 0.85);
}

.status-badge-glass.danger {
  background: rgba(239, 68, 68, 0.85);
}

.status-badge-glass.info {
  background: rgba(59, 130, 246, 0.85);
}

/* Announcement bar with glass */
.announcement-bar {
  background: rgba(26, 26, 26, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* WhatsApp button with glass effect */
.whatsapp-float,
.whatsapp-btn {
  background: rgba(37, 211, 102, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

/* Social icons container with glass */
.social-icons-glass {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 8px 16px;
}

/* Modern confirm dialog enhancement */
.modern-confirm-overlay {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* =========================================
   FIX: MEGA MENU DROPDOWN HOVER ISSUES
   ========================================= */

/* 1. Desktop Navigation Container - restrict height and establish positioning context */
.desktop-navigation-menu {
  position: relative;
  z-index: 500;
}

.desktop-navigation-menu .container {
  position: relative;
}

/* 2. Menu category list - horizontal layout with proper containment */
.desktop-menu-category-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 3. Each menu category - relative positioning for dropdown */
.desktop-menu-category-list .menu-category {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* 4. For mega menus, keep relative but use full-width dropdown */
.desktop-menu-category-list .menu-category.mega-menu {
  position: relative;
}

/* 5. Title wrapper - the clickable area with proper z-index */
.menu-title-wrapper,
.menu-category>.menu-title {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}

.menu-title-wrapper .menu-title-link {
  color: var(--onyx);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  padding: 5px 0;
  transition: var(--transition-timing);
  display: flex;
  align-items: center;
  gap: 5px;
}

.menu-title-wrapper .menu-title-link:hover {
  color: var(--salmon-pink);
}

.menu-dropdown-toggle {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: var(--onyx);
  display: flex;
  align-items: center;
}

.menu-dropdown-toggle:hover {
  color: var(--salmon-pink);
}

/* 6. Dropdown Panel - Hidden by default */
.menu-category.mega-menu>.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* 7. Show dropdown when hovering anywhere in the menu-category area */
/* 7. Show dropdown ONLY when JS adds class (hover handled by JS) */
.desktop-menu-category-list .menu-category.mega-menu.dropdown-open>.dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 8. Prevent body content from triggering hover - add invisible bridge */
.menu-category.mega-menu>.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

/* 9. Dynamic dropdown sizing - expand horizontally */
.menu-category.mega-menu>.dropdown-panel {
  width: max-content;
  max-width: 95vw;
}

/* Empty dropdown styling */
.dropdown-panel.empty {
  padding: 15px 20px;
}

/* 10. Non-mega dropdowns (simple lists) */
.menu-category:not(.mega-menu)>.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* FINAL SAFETY: Ensure generic hover NEVER triggers dropdown (must have dropdown-open class) */
.menu-category:hover:not(.dropdown-open)>.dropdown-list,
.menu-category:hover:not(.dropdown-open)>.dropdown-panel,
.menu-category.mega-menu:hover:not(.dropdown-open)>.dropdown-panel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.menu-category:not(.mega-menu).dropdown-open>.dropdown-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
/* Product Card Hover Effects */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image.primary {
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.product-image.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.4s ease;
    z-index: 2;
}

.product-card:hover .product-image.hover-image {
    opacity: 1;
    transform: scale(1.1);
}

/* Optional: scale primary too so it feels continuous if they are similar */
.product-card:hover .product-image.primary {
   transform: scale(1.1);
}

/* Glassmorphism Classes */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Glass Header */
.header-main,
.header-top {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glass Cards */
.product-card,
.category-card,
.blog-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.product-card:hover,
.category-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Glass Modals / Dropdowns */
.modal-content,
.dropdown-menu,
.search-suggestions {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 3G/Low-End Optimization */
@media (prefers-reduced-motion: reduce) {

    .glass-panel,
    .header-main,
    .product-card,
    .modal-content {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--white);
        /* Fallback to solid color */
    }
}
:root { --glass-bg: rgba(255, 255, 255, 0.7); --glass-border: rgba(255, 255, 255, 0.6); --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); --glass-blur: 16px; }
