/******************************************************************
  Enhanced E-commerce Style for Professional Event Presentation
  Modern Design with Harmonious Colors
******************************************************************/

/*----------------------------------------
  Modern Color Palette & Variables
----------------------------------------*/
:root {
  /* Primary Colors - Professional Blue/Green Theme */
  --primary-color: #2c3e50;
  --primary-light: #34495e;
  --primary-dark: #1a252f;
  
  /* Accent Colors */
  --accent-color: #3498db;
  --accent-light: #5dade2;
  --accent-dark: #2874a6;
  
  /* Success/Green Colors */
  --success-color: #27ae60;
  --success-light: #52c77e;
  --success-dark: #1e8449;
  
  /* Warm Colors for CTAs */
  --cta-color: #e74c3c;
  --cta-light: #ec7063;
  --cta-dark: #c0392b;
  
  /* Neutral Colors */
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-light: #95a5a6;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e1e8ed;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.12);
  --shadow-heavy: rgba(0, 0, 0, 0.16);
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--success-color) 100%);
  --gradient-cta: linear-gradient(135deg, var(--cta-color) 0%, var(--accent-dark) 100%);
}

/*----------------------------------------
  Enhanced Text Styles
----------------------------------------*/
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-white {
  color: white !important;
}

.text-white-90 {
  color: rgba(255, 255, 255, 0.9) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

/* Enhanced section titles */
.section-title h2.text-gradient {
  position: relative;
  display: inline-block;
}

.section-title h2.text-gradient:after {
  background: var(--gradient-accent);
  height: 4px;
  width: 100px;
}

/* Enhanced hero text */
.hero__text h1.text-white {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

.hero__text p.text-white-90 {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Enhanced category and product titles */
.latest-product__text h4.text-gradient {
  position: relative;
}

.latest-product__text h4.text-gradient:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/*----------------------------------------
  Global Typography & Base Styles
----------------------------------------*/
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Cairo", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-family: "Cairo", "Segoe UI", Roboto, sans-serif;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent-dark);
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/*----------------------------------------
  Modern Button Styles
----------------------------------------*/
.btn-modern {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-modern:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-modern:hover:before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

.btn-cta {
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

/*----------------------------------------
  Enhanced Header Styles
----------------------------------------*/
.header {
  background: var(--background-white);
  box-shadow: 0 2px 20px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header__top {
  background: var(--primary-color);
  color: white;
  padding: 8px 0;
}

.header__top__left ul li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  display: inline-block;
  margin-right: 20px;
}

.header__top__right__social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.header__top__right__social a:hover {
  color: white;
  transform: translateY(-2px);
}

.header__top__right__language {
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  position: relative;
}

.header__top__right__language ul {
  background: var(--primary-dark);
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.header__top__right__language ul li a {
  color: white;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.header__top__right__language ul li a:hover {
  background: var(--accent-color);
}

.header__menu ul li {
  position: relative;
  margin-right: 30px;
}

.header__menu ul li a {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.header__menu ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.header__menu ul li a:hover:after,
.header__menu ul li.active a:after {
  width: 100%;
}

.header__menu ul li .header__menu__dropdown {
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px var(--shadow-medium);
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.header__menu ul li .header__menu__dropdown li a {
  color: var(--text-primary);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-color);
  text-transform: none;
  letter-spacing: normal;
}

.header__menu ul li .header__menu__dropdown li:last-child a {
  border-bottom: none;
}

.header__menu ul li .header__menu__dropdown li a:hover {
  background: var(--background-light);
  color: var(--accent-color);
}

/*----------------------------------------
  Enhanced Search Section
----------------------------------------*/
.hero__search {
  padding: 30px 0;
  background: var(--background-light);
}

.hero__search__form {
  background: var(--background-white);
  border-radius: 50px;
  box-shadow: 0 4px 20px var(--shadow-light);
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.hero__search__form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.hero__search__form input {
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  width: calc(100% - 120px);
}

.hero__search__form input::placeholder {
  color: var(--text-light);
}

.hero__search__form button {
  background: var(--gradient-accent);
  border: none;
  color: white;
  padding: 15px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__search__form button:hover {
  background: var(--gradient-primary);
}

.hero__search__phone {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.hero__search__phone__icon {
  background: var(--gradient-accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.hero__search__phone__text h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.hero__search__phone__text span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/*----------------------------------------
  Enhanced Section Titles
----------------------------------------*/
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/*----------------------------------------
  Enhanced Product Cards
----------------------------------------*/
.product-card {
  background: var(--background-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.product-card__image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--background-light);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.1);
}

.product-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__actions {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.1s;
}

.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card__action-btn {
  background: var(--background-white);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.product-card__action-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.product-card__content {
  padding: 20px;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card__title a {
  color: inherit;
  transition: color 0.3s ease;
}

.product-card__title a:hover {
  color: var(--accent-color);
}

.product-card__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cta-color);
  margin-bottom: 15px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.product-card__rating i {
  color: #f39c12;
  font-size: 0.9rem;
}

.product-card__rating span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-left: 5px;
}

/*----------------------------------------
  Enhanced Categories Section
----------------------------------------*/
.categories {
  padding: 80px 0;
  background: var(--background-white);
}

.categories__item {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.categories__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.categories__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.categories__item:hover img {
  transform: scale(1.1);
}

.categories__item h5 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 30px 20px 20px;
  margin: 0;
}

.categories__item h5 a {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.categories__item h5 a:hover {
  color: var(--accent-light);
  transform: translateX(5px);
  display: inline-block;
}

/*----------------------------------------
  Enhanced Footer
----------------------------------------*/
.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer__about h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer__about p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__widget h6 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__widget ul li {
  margin-bottom: 10px;
}

.footer__widget ul li a {
/* Wishlist Count Styles */
.wishlist-count {
    height: 13px;
    width: 13px;
    background: var(--cta-color);
    font-size: 10px;
    color: #ffffff;
    line-height: 13px;
    text-align: center;
    font-weight: 700;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: -12px;
}

.cart-icon-wrapper, .wishlist-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-link, .wishlist-link {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.cart-link:hover, .wishlist-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.wishlist-link {
    color: var(--cta-color);
}

.wishlist-link:hover {
    color: var(--cta-dark);
}
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer__widget ul li a:hover {
  color: white;
  transform: translateX(5px);
  display: inline-block;
}

.footer__widget__social a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__widget__social a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/*----------------------------------------
  Enhanced Cart & Checkout
----------------------------------------*/
.cart-table {
  background: var(--background-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background: var(--background-light);
  padding: 20px;
  text-align: left;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.cart-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-product-info h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-product-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  width: 120px;
}

.quantity-selector button {
  background: var(--background-light);
  border: none;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quantity-selector button:hover {
  background: var(--accent-color);
  color: white;
}

.quantity-selector input {
  border: none;
  width: 50px;
  height: 35px;
  text-align: center;
  font-weight: 600;
}

.cart-summary {
  background: var(--background-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow-light);
}

.cart-summary h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.cart-summary__row.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  padding-top: 15px;
  border-top: 2px solid var(--border-color);
}

/*----------------------------------------
  Animations & Transitions
----------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out;
}

/*----------------------------------------
  Responsive Design
----------------------------------------*/
@media (max-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  
  .header__menu {
    display: none;
  }
  
  .hero__search__form {
    border-radius: 25px;
  }
  
  .product-card {
    margin-bottom: 20px;
  }
  
  .cart-product {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .product-card__content {
    padding: 15px;
  }
  
  .cart-summary {
    padding: 20px;
  }
}

/*----------------------------------------
  Loading States & Skeleton
----------------------------------------*/
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/*----------------------------------------
  Utility Classes
----------------------------------------*/
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-soft {
  box-shadow: 0 4px 20px var(--shadow-light);
}

.shadow-medium {
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.shadow-heavy {
  box-shadow: 0 12px 40px var(--shadow-heavy);
}

.border-radius-soft {
  border-radius: 12px;
}

.border-radius-medium {
  border-radius: 16px;
}

.border-radius-large {
  border-radius: 24px;
}

.transition-smooth {
  transition: all 0.3s ease;
}

.transition-bounce {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/*----------------------------------------
  Enhanced Cart Image Display
----------------------------------------*/
.cart-product-image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.cart-product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cart-product-image.image-removing {
  animation: shake 0.5s ease-in-out;
  filter: grayscale(100%);
  opacity: 0.7;
}

.cart-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.cart-product-image-wrapper:hover .cart-product-overlay {
  opacity: 1;
}

.cart-product-view-btn {
  background: var(--accent-color);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.cart-product-view-btn:hover {
  background: var(--primary-color);
  transform: scale(1);
}

.cart-item.removing {
  background: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--cta-color);
}

.cart-item.fade-out-scale {
  transform: scale(0.95);
  opacity: 0.5;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px) rotate(-2deg); }
  75% { transform: translateX(5px) rotate(2deg); }
}

/*----------------------------------------
  Enhanced Modal Styles
----------------------------------------*/
.modal {
  backdrop-filter: blur(8px);
}

.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px var(--shadow-heavy);
  overflow: hidden;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 20px;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

.modal-body img {
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-medium);
}

/*----------------------------------------
  Enhanced Toast Notifications
----------------------------------------*/
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-heavy);
  margin-bottom: 15px;
  min-width: 300px;
}

.toast.success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.9), rgba(30, 132, 73, 0.9));
  color: white;
}

.toast.error {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));
  color: white;
}

.toast.info {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.9));
  color: white;
}

/*----------------------------------------
  Enhanced Loading States
----------------------------------------*/
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/*----------------------------------------
  Enhanced Form Controls
----------------------------------------*/
.form-control, .form-select {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.1);
  outline: none;
}

.form-control:hover, .form-select:hover {
  border-color: var(--accent-light);
}

/*----------------------------------------
  Enhanced Button States
----------------------------------------*/
.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
  width: 300px;
  height: 300px;
}

.btn-modern:active {
  transform: scale(0.98);
}

/*----------------------------------------
  Enhanced Badge Styles
----------------------------------------*/
.badge {
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--gradient-primary);
  color: white;
}

.badge-accent {
  background: var(--gradient-accent);
  color: white;
}

.badge-success {
  background: var(--success-color);
  color: white;
}

.badge-cta {
  background: var(--gradient-cta);
  color: white;
}

/*----------------------------------------
  Enhanced Alert Styles
----------------------------------------*/
.alert {
  border: none;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.alert-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(30, 132, 73, 0.1));
  color: var(--success-color);
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
  color: var(--cta-color);
  border-left: 4px solid var(--cta-color);
}

.alert-info {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
  color: var(--accent-color);
  border-left: 4px solid var(--accent-color);
}

.alert-warning {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(211, 84, 0, 0.1));
  color: #f39c12;
  border-left: 4px solid #f39c12;
}

/*----------------------------------------
  Enhanced Dropdown
----------------------------------------*/
.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-heavy);
  padding: 8px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.15s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateX(5px);
}

/*----------------------------------------
  Enhanced Table
----------------------------------------*/
.table {
  margin-bottom: 0;
}

.table thead th {
  border-bottom: 2px solid var(--accent-color);
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 20px 15px;
}

.table tbody td {
  padding: 20px 15px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
  background: var(--background-light);
}

/*----------------------------------------
  Enhanced List Group
----------------------------------------*/
.list-group {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  transition: all 0.15s ease;
}

.list-group-item:hover {
  background: var(--background-light);
  padding-left: 30px;
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-color);
}

/*----------------------------------------
  Enhanced Pagination
----------------------------------------*/
.pagination {
  margin-bottom: 0;
}

.page-link {
  border: none;
  margin: 0 2px;
  border-radius: 6px;
  color: var(--text-primary);
  background: var(--background-white);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.page-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: var(--accent-color);
  color: white;
}

/*----------------------------------------
  Enhanced Progress Bar
----------------------------------------*/
.progress {
  height: 8px;
  border-radius: 6px;
  background: var(--background-light);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  transition: width 0.5s ease;
  border-radius: 6px;
}

/*----------------------------------------
  Enhanced Tooltip
----------------------------------------*/
.tooltip {
  font-size: 0.875rem;
}

.tooltip-inner {
  background: var(--primary-color);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 200px;
}

/*----------------------------------------
  Enhanced Breadcrumb
----------------------------------------*/
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 25px;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumb-item.active {
  color: var(--accent-color);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--text-light);
  font-weight: bold;
}

/*----------------------------------------
  Enhanced Card Styles
----------------------------------------*/
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px var(--shadow-medium);
}

.card-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 20px;
  font-weight: 600;
}

.card-body {
  padding: 30px;
}

/*----------------------------------------
  Enhanced Spinner
----------------------------------------*/
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.2em;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/*----------------------------------------
  Performance Optimizations
----------------------------------------*/
.cart-product-image,
.product-card__image img,
.categories__item img {
  will-change: transform;
}

.btn-modern,
.product-card,
.categories__item {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/*----------------------------------------
  Accessibility Improvements
----------------------------------------*/
.btn-modern:focus,
.cart-product-view-btn:focus,
.quantity-selector button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.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;
}

/*----------------------------------------
  Print Styles
----------------------------------------*/
@media print {
  .header,
  .footer,
  .hero__search,
  .cart-actions,
  .btn-modern {
    display: none !important;
  }
  
  .cart-table,
  .cart-summary {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .cart-product-image {
    filter: grayscale(100%);
  }
}