@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
  --primary-color: #f1faff;
  --text-dark: #030712;
  --text-light: #6b7280;
  --extra-light: #fbfbfb;
  --white: #ffffff;
  --accent-color: #00a86b;
  --max-width: 1200px;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--extra-light);
    min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 999;
}
.header__bar {
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  background-color: var(--text-dark);
  color: var(--white);
}

/* ========== Nav Search Dropdown ========== */
.nav-search {
  display: none;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  z-index: 998;
}
.nav-search.active { display: block; }
.nav-search-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.nav-search-inner input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
}
.nav-search-inner input:focus { outline: none; border-color: var(--accent-color); }
.nav-search-close {
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

/* Suggestions (shared) */
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 1002;
  display: none;
}
.suggestions.show { display: block; }
.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text-dark);
}
.suggestion-item:hover,
.suggestion-item.active { background: #f3f4f6; }

/* Sidebar suggestions placement */
.filters-sidebar { position: sticky; }
.filters-sidebar .suggestions {
  position: static;
  margin-top: 8px;
}

/* Navbar Container */
.nav-bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo Style */
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
/* Logo Hover Effect */
.nav-logo:hover {
    color: var(--accent-color);
    transition: color 0.3s ease;
    }

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Individual Link Styling */
.nav-links li a {
  position: relative;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* Underline Hover Effect */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

/* Active Tab Styling */
.nav-links li a.active {
  color: var(--accent-color);
}

.nav-links li a.active::after {
  width: 100%;
}
/* Extra spacing for each list item */
.link a {
  padding: 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: 0.3s;
}

.link a:hover {
  color: var(--accent-color);
}

/* Icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cart-icon:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  display: none;
}

.nav-icons span {
  font-size: 1.2rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-icons span:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

/* Favorites Icon */
.fav-icon {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fav-icon:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}
.fav-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4757;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  display: none;
}

/* Burger Menu Icon */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ========== Responsive Media Query ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-bar {
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    margin-top: 0;
    z-index: 1000;
    animation: fadeIn 0.3s ease forwards;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    padding: 0.5rem 0;
    text-align: center;
  }

  .nav-icons {
    margin-left: auto;
    margin-top: 0;
  }

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

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--white) 100%);
  padding: 4rem 1rem;
  text-align: center;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

/* ========== Products Section ========== */
.products {
  padding: 2rem 1rem;
  margin-bottom: 3rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* ========== Products Layout ========== */
.products-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ========== Filters Sidebar ========== */
.filters-sidebar {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.filter-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.filter-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}
.filter-input:focus { outline: none; border-color: var(--accent-color); }

.filter-select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* ========== Product Grid ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ========== Product Card ========== */
.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ========== Product Image ========== */
.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.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;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view {
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view:hover {
  background: #007a5e;
  transform: scale(1.05);
}

/* ========== Product Info ========== */
.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-category {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== Product Price ========== */
.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-color);
}

.old-price {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ========== Color Options ========== */
.color-options {
  margin-bottom: 1rem;
}

.color-options label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.color-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-btn:hover {
  transform: scale(1.1);
}

.color-btn.active {
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.color-btn.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* ========== Product Actions ========== */
.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.add-to-cart {
  flex: 1;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.add-to-cart:hover {
  background: #007a5e;
  transform: translateY(-2px);
}

.wishlist {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid #e5e7eb;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.wishlist:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* ========== Responsive Design for Products ========== */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
  }
  
  .filters-sidebar {
    padding: 1rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .products-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filters-sidebar {
    position: static;
    margin-bottom: 1rem;
    order: -1;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .product-image {
    height: 200px;
  }
  
  .color-buttons {
    justify-content: center;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .add-to-cart {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .filters-sidebar {
    padding: 1rem;
  }
  
  .filter-select {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}























/* Footer */
.footer{
  background-color: #f3f4f3;
    margin-top: auto;
}
.footer .footer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, auto)); 
  gap: 3rem;
  padding: 50px;
}

.first-info .footer-logo{
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
.first-info .footer-logo:hover {
  color: var(--accent-color);
  transition: color 0.3s ease;
}
.first-info p {
  margin-top: 8px; /* مسافة بين كل سطر */
  color: var(--text-dark);
}

.first-info .social-icon a {
  color: var(--text-dark);
  font-size: 20px;
  margin-right: 10px; /* مسافة بين الأيقونات */
  transition: color 0.3s ease;
}


.social-icon i {
  margin-top: 10px;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-right: 10px;
  transition: color 0.3s ease;
}
.social-icon a.facebook:hover i {
  color: #3b5998;
}

.social-icon a.instagram:hover i {
  color: #c13584;
}

.social-icon a.twitter:hover i {
  color: #1da1f2;
}
.social-icon a.tiktok:hover i {
  color: #EE1D52;
}
.second-info p a,
.third-info p a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.second-info p a:hover,
.third-info p a:hover {
  color: var(--accent-color);
}
.second-info p,
.third-info p {
  margin-top: 10px;
}
.fourth-info p{
  margin-top: 10px;
}
.fourth-info form {
  margin-top: 10px;
  display: flex;
  flex-direction: column; 
  gap: 10px;
}

.fourth-info form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.fourth-info form button {
  padding: 10px;
  width: 125px;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.fourth-info form button:hover {
  background-color: #007a5e;
}
.second-info h4::after,
.third-info h4::after,
.fourth-info h4::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  margin-top: 8px;
}

/* ========== SHOPPING CART STYLES ========== */

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.close-cart:hover {
  color: var(--text-dark);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  margin: 0 0 5px 0;
  color: var(--text-dark);
  font-size: 1rem;
}

.cart-item-color {
  margin: 0 0 5px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.cart-item-price {
  margin: 0 0 10px 0;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 25px;
  height: 25px;
  border: 1px solid #ddd;
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.remove-item {
  background: none;
  border: none;
  color: #ff4757;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.remove-item:hover {
  background-color: #ffe6e6;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background-color: #f8f9fa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #007a5e;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Cart */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

/* Favorites Sidebar */
.favorites-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.favorites-sidebar.active { right: 0; }
.favorites-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.favorites-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .favorites-sidebar { width: 100%; right: -100%; }
}

/* ========== PRODUCT MODAL ========== */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.product-modal.active {
  display: block;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: modalFadeIn 0.2s ease forwards;
}

.product-modal-content {
  position: relative;
  max-width: 1000px;
  width: 95%;
  margin: 4vh auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(20px);
  animation: modalSlideIn 0.25s ease forwards;
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: var(--text-dark);
  cursor: pointer;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.product-modal-images {
  background: #f9fafb;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-info {
  padding: 28px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
}

.stars {
  color: #fbbf24; /* amber-400 */
  font-size: 1rem;
}

.reviews {
  color: var(--text-light);
  font-size: 0.9rem;
}

.sku-stock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sku {
  color: var(--text-light);
  font-size: 0.9rem;
}

.stock-badge {
  background: #dcfce7; /* green-100 */
  color: #166534; /* green-800 */
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.size-options { margin: 10px 0; }
.size-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 42px;
  padding: 8px 10px;
  border: 2px solid #e5e7eb;
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.size-btn:hover { border-color: var(--accent-color); }
.size-btn.active { border-color: var(--accent-color); color: var(--accent-color); }

.product-modal-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
}

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

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

@media (max-width: 768px) {
  .product-modal-body {
    grid-template-columns: 1fr;
  }
  .product-modal-content {
    width: 96%;
    margin: 2vh auto;
  }
}

.details-box {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.details-box h4 { margin-bottom: 8px; color: var(--text-dark); }
.features-list { margin-left: 18px; color: var(--text-light); }
.features-list li { margin: 4px 0; }
.meta-pairs p { color: var(--text-light); margin-top: 6px; }