/* Global Styles */
:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #f59e0b;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --light-gray: #e2e8f0;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f1f5f9;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.logo span {
  color: #fbbf24;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
nav ul li a.active {
  color: #fbbf24;
}

nav ul li a:hover {
  color: #fbbf24;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
}

.hero-search input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.hero-search button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.hero-search button:hover {
  background-color: #e67e22;
}

/* Category Header */
.category-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.breadcrumb li {
  margin: 0 0.5rem;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -0.75rem;
}
/* Reusing styles from gadgets.html with fashion-specific tweaks */
.category-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
/* Quick Categories */
.gadget-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gadget-category {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.gadget-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.gadget-category h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.gadget-category p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Deal of the Day */
.deal-of-day {
  margin: 40px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown {
  background-color: var(--dark-color);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dotd-product {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
}

.dotd-image {
  flex: 1;
  max-width: 400px;
  position: relative;
  padding: 20px;
}
.dotd-image img {
  width: 100%;
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--danger-color);
  color: white;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.dotd-content {
  flex: 2;
  padding: 30px;
}

.dotd-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--gray-color);
}

.price-off {
  background-color: #dcfce7;
  color: var(--success-color);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: var(--secondary-color);
  letter-spacing: 2px;
}

.product-highlights {
  margin-bottom: 25px;
}

.product-highlights li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dotd-actions {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: #e0e7ff;
}

.wishlist-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-color);
}

.wishlist-btn:hover {
  color: var(--danger-color);
  border-color: var(--danger-color);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 1;
}

.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.product-img img {
  max-height: 100%;
  object-fit: contain;
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-features {
  margin: 15px 0;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.product-features li {
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.product-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  font-weight: 500;
}

/* Price Comparison Tool */
.comparison-tool {
  margin: 50px 0;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.comparison-container {
  margin-top: 20px;
}

.search-box {
  display: flex;
  margin-bottom: 30px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.search-box button:hover {
  background-color: var(--primary-hover);
}

.comparison-results {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.platform-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.platform-logo {
  width: 100px;
  height: 50px;
  margin: 0 auto 20px;
}

.platform-logo img {
  max-height: 100%;
  object-fit: contain;
}

.platform-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.platform-rating {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.btn-outline {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 20px;
}

.btn-outline:hover {
  background-color: #e0e7ff;
}

.vs-badge {
  background-color: var(--dark-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* SEO Content */
.seo-content {
  margin: 50px 0;
}

.seo-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.seo-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.seo-articles article {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.seo-articles h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-articles ul {
  margin: 15px 0;
}

.seo-articles li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.seo-articles li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  background-color: white;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: var(--transition);
}

.faq-answer {
  background-color: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding: 15px 0;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 40px 30px;
  margin: 50px 0;
  border-radius: var(--border-radius);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-content p {
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  min-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #e67e22;
}

/* Footer */

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fbbf24;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .dotd-product {
    flex-direction: column;
  }

  .dotd-image {
    max-width: 100%;
  }

  .newsletter-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .newsletter-content {
    display: flex;
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
    min-width: 50%;
  }
  .newsletter-form input {
  }
  .newsletter-form button {
    margin-top: 5px;
    padding: 15px;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  nav ul {
    margin-top: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .comparison-results {
    flex-direction: column;
    gap: 20px;
  }

  .platform-card {
    max-width: 100%;
    width: 100%;
  }

  .vs-badge {
    transform: rotate(90deg);
  }
}

@media (max-width: 576px) {
  .hero-banner {
    padding: 60px 0;
  }

  .gadget-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-articles {
    grid-template-columns: 1fr;
  }

  .dotd-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .wishlist-btn {
    width: 100%;
    height: 45px;
    border-radius: var(--border-radius);
    margin-top: 10px;
  }
}
