:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #ffd000;
  --dark: #24272c;
  --light: #f8fafc;
  --gray: #94a3b8;
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --background: #f1f5f9;
  --card-bg: white;
  --text-color: #24272c;
  --e2e8f0: #e2e8f0;
}

.dark-mode {
  --background: #1f2937;
  --card-bg: #374151;
  --text-color: #f3f4f6;
  --light: #4b5563;
  --gray: #9ca3af;
  --e2e8f0: #4b5563;
}
.dark-mode .product-actions {
  border-top: 1px solid var(--e2e8f0);
}
.dark-mode .product-description,
.dark-mode .subtotal,
.dark-mode .payment-option {
  background-color: #4b5563;
}
.dark-mode .payment-option.selected {
  background-color: #3b82f633;
  border-color: var(--primary);
}
.dark-mode .faq-item {
  border: 1px solid var(--e2e8f0);
}
.dark-mode .faq-item:hover {
  border-color: var(--primary);
}
.dark-mode .faq-question {
  background: var(--card-bg);
}
.dark-mode .faq-answer {
  background: #4b5563;
}
.dark-mode .search-box input,
.dark-mode .filter-select select {
  border: 1px solid var(--e2e8f0);
}
.dark-mode .modal-header,
.dark-mode .modal-footer {
  border-color: var(--e2e8f0);
}

.support-float {
  position: fixed !important;
  bottom: 20px !important;
  right: 0px !important;
  left: auto !important;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}

.support-float a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.support-icon {
  height: 150px;
  width: auto;
  transition: transform 0.6s ease;
  order: 1;
}

.support-text {
  background-color: #b3d4fc;
  color: #1e3a8a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  position: relative;
  top: -110px;
  order: 0;
  left: 80%;
  transform: translateX(-65%);
  width: max-content;
}

.support-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #b3d4fc;
}

.support-float a:hover .support-icon {
  transform: translateY(-5px);
}

.support-float a:hover .support-text {
  background-color: #3b82f6;
  color: white;
}
.support-float a:hover .support-text::after {
  border-top-color: #3b82f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

header {
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  vertical-align: middle;
  margin-right: 10px;
}

.logo span {
  color: var(--secondary);
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-btn,
.theme-toggle {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.theme-toggle {
  background-color: #6b7280;
  border: none;
  cursor: pointer;
}
.dark-mode .theme-toggle {
  background-color: var(--gray);
}

.contact-btn:hover,
.theme-toggle:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.dark-mode .theme-toggle:hover {
  background-color: #9ca3af;
}

.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: cover;
  opacity: 0.1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
  font-size: 1.1rem;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
}

.hero-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: white;
  color: var(--primary);
}

.primary-btn:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.secondary-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.search-filter {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--e2e8f0);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  background-color: var(--card-bg);
  color: var(--text-color);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.filter-select {
  min-width: 200px;
}

.filter-select select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--e2e8f0);
  border-radius: 0.375rem;
  font-size: 1rem;
  background-color: var(--card-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  color: var(--text-color);
}

.filter-select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  flex: 1 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 1rem;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.5rem;
  height: auto;
  overflow: hidden;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  background-color: var(--light);
  cursor: pointer;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.quick-view {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.product-card:hover .quick-view {
  bottom: 0;
}

.product-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3em;
  min-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.product-specs {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  flex-grow: 1;
}
.product-specs p {
  margin-bottom: 0.1rem;
}

.product-price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.product-price {
  font-weight: 700;
  color: var(--primary);
}

.product-original-price {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.product-security {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.product-security span {
  background-color: #fff5eb;
  color: #e79214;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}
.dark-mode .product-security {
  color: var(--secondary);
}
.dark-mode .product-security span {
  background-color: #4a3b2c;
  color: #ffc107;
}

.product-security i {
  color: var(--success);
  font-size: 1rem;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--success);
}
.dark-mode .product-stock {
  color: var(--success);
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--e2e8f0);
}

.buy-btn {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testimonials {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
}

.author-date {
  font-size: 0.8rem;
  color: var(--gray);
}

.faq-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--e2e8f0);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: var(--card-bg);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1rem;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: var(--light);
  color: var(--text-color);
}

.faq-answer.open {
  padding: 1.5rem 1rem;
  margin-bottom: 0.5rem;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 0.5rem;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--e2e8f0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--card-bg);
  z-index: 10;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.3s ease;
}
.modal-header .close-btn:hover {
  color: var(--text-color);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.product-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--light);
}

.slider-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dark-mode .slider-dot {
  background-color: rgba(0, 0, 0, 0.3);
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}
.dark-mode .slider-dot.active {
  background-color: var(--primary);
}

.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.zoom-content {
  background-color: var(--card-bg);
  border-radius: 0.5rem;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.zoom-modal.show .zoom-content {
  transform: scale(1);
  opacity: 1;
}

.zoom-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: var(--light);
}

.zoom-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.zoom-prev,
.zoom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.zoom-prev:hover,
.zoom-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.zoom-prev {
  left: 1rem;
}

.zoom-next {
  right: 1rem;
}
.zoom-modal .close-btn {
  margin: 1rem auto;
  display: block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.zoom-modal .close-btn:hover {
  background: var(--primary-hover);
  transform: none;
}

.product-description {
  background-color: var(--light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-description ul {
  list-style: none;
  padding-left: 0;
}

.product-description li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.product-description li::before {
  content: "•";
  color: var(--secondary);
  font-size: 1.5rem;
  margin-right: 0.5rem;
  line-height: 1;
}

.option-group {
  margin-bottom: 1.5rem;
}

.option-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.option-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.option-items > div {
  padding: 0.75rem;
  background: var(--light);
  border-radius: 0.375rem;
  border: 1px solid var(--e2e8f0);
}
.option-items > div > div:first-child {
  font-weight: 600;
  color: var(--text-color);
}
.option-items > div > div:last-child {
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.25rem;
}

.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--light);
  border-radius: 0.5rem;
}

.subtotal-label {
  font-weight: 500;
  color: var(--text-color);
}

.subtotal-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  border: 1px solid var(--e2e8f0);
  border-radius: 0.375rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--light);
}

.payment-option:hover {
  border-color: var(--primary);
}

.payment-option.selected {
  border-color: var(--primary);
  background-color: #eff6ff;
}
.dark-mode .payment-option.selected {
  background-color: rgba(37, 99, 235, 0.2);
}

.payment-icon {
  width: 30px;
  height: 30px;
  margin-right: 0.75rem;
  object-fit: contain;
}

.payment-name {
  flex: 1;
  font-weight: 500;
  color: var(--text-color);
}

.payment-price {
  font-weight: 600;
  color: var(--text-color);
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--e2e8f0);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  position: sticky;
  bottom: 0;
  background: var(--card-bg);
  z-index: 10;
}

.btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-secondary {
  background-color: var(--gray);
  color: var(--card-bg);
}
.dark-mode .btn-secondary {
  background-color: #4b5563;
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: #a0aec0;
  transform: translateY(-2px);
}
.dark-mode .btn-secondary:hover {
  background-color: #6b7280;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 1rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-section:nth-child(1) .footer-title {
  color: var(--light);
}
.dark-mode .footer-section:nth-child(1) .footer-title {
  color: #f3f4f6;
}

.footer-section p {
  opacity: 0.8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.footer-section li i {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}
.dark-mode .loading-overlay {
  background: rgba(31, 41, 55, 0.8);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.dark-mode .loading-spinner {
  border: 5px solid #4b5563;
  border-top: 5px solid var(--primary);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-width: 95%;
  }

  .product-slider {
    height: 250px;
  }

  .zoom-slider {
    height: 350px;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .support-icon {
    height: 120px;
  }

  .support-text {
    font-size: 0.8rem;
    padding: 6px 12px;
    top: -95px;
    left: 50%;
    transform: translateX(-50%);
  }
  .support-text::after {
    bottom: -8px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .logo {
    font-size: 1.3rem;
  }
  .logo img {
    height: 35px;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .search-filter {
    flex-direction: column;
  }

  .search-box,
  .filter-select {
    min-width: 100%;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .product-image-container {
    height: 180px;
  }

  .testimonial-container {
    grid-template-columns: 1fr;
  }

  .zoom-slider {
    height: 250px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 1rem;
  }

  .support-icon {
    height: 100px;
  }

  .support-text {
    top: -80px;
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}
