/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Semi+Condensed:wght@400;500;600&display=swap');

@import url('/res/styles/common/typography/footer.css');
@import url('/res/styles/common/typography/buttons.css');
@import url('/res/styles/common/typography/navbar.css');
@import url('/res/styles/common/typography/links.css');

/* CSS Variables for Theme */
:root {

  --background-color: #f5f5f5;
  
  --font-base: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* General Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  margin-bottom: 20px;
}



a {
  text-decoration: none;
  transition: color 0.1s ease;
}


ul {
  list-style-type: none;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.2rem;
  font-weight: 400;
}

h6 {
  font-size: 1rem;
  font-weight: 400;
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

small {
  font-size: 0.875rem;
  color: var(--text-color);
}




/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header,.footer {
  background-color: #111;
  color: #fff;
  padding: 20px 0;
}

.header .logo,
.footer .logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
}


/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.hero .btn {
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: #fff;
}

.hero .btn:hover {
  background-color: var(--primary-color);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.product-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  list-style-type: none;

}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card .product-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 10px 0;
}

 .product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.product-card button {
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}

.product-card button:hover {
  background-color: var(--button-hover-bg);
}


.product-sku{
  font-size: 0.8rem;
}


/* Responsive Typography */
@media (max-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.4rem; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1rem; }
  .hero .btn { font-size: 1rem; padding: 12px 25px; }
  .product-card .product-name { font-size: 1.1rem; }
  .product-price { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.3rem; }
  p, .hero p { font-size: 0.95rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero .btn { font-size: 0.95rem; padding: 10px 20px; }
  .product-price { font-size: 1.3rem; }
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .btn {
    width: 100%;
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    padding: 15px;
  }

  .product-card button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }

  .product-price {
    font-size: 1.2rem;
  }
}