/* Reset */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  font-family: "Inter", sans-serif;
}

/* CSS for text-based logo */

.header {
  background-color: #1f2937;
  /* dark gray */
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hamburger */

/* Nav Menu */
.nav {
  flex: 1;
  text-align: center;
}


nav a {
  color: white;
  text-decoration: none;
}

nav a.active {
  color: rgb(71, 71, 107);
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.menu li a {
  text-decoration: none;
  color: white;
  font-weight: 800;
  padding: 8px 5px;
  display: inline-block;
}

.menu li a:hover {
  color: rgb(233, 96, 96);
  /* yellow accent */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* Cart */
.cart-wrapper {
  position: relative;
}

.cart-wrapper img {
  width: 24px;
  cursor: pointer;
}

.cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: white;
  color: black;
  width: 280px;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.cart-wrapper:hover .cart-dropdown {
  display: block;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-item img {
  width: 48px;
  border-radius: 5px;
  margin-right: 10px;
}


/* Search */
.search-icon img {
  width: 24px;
  cursor: pointer;
}

.search-field {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  width: 250px;
  background: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.menu li a.active {
  color: rgb(132, 132, 187);
  /* active page link color */
}


.btn,
.btn-cart {
  background-color: #f00;
  color: white;
  padding: 12px 16px;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  width: 150px;
  text-decoration: none;
}

.btn:hover {
  background-color: transparent;
  color: #f00;
  border: 1px solid #f00;
}

/* Search */
.search-field {
  margin-top: 20px;
  padding: 0 20px;
}

.search-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Flex wrapper for banners */
.banners-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

/* Category Card */
.category-card {
  flex: 1 1 calc(33.333% - 20px);
  /* 3 columns with gap */
  min-width: 250px;
}

.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Text content */
.category-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  transition: all 0.3s ease;
}

.category-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.category-text a {
  text-decoration: none;
  background-color: #f00;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.category-text a:hover {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.slider {
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
}

/* Make the image responsive */
.slider-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Section */
.latest-products-section {
  padding: 40px 0;
}

/* Products Wrapper */
.products-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Product Card */

/* Product Image */
.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Product Title */
.product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  text-decoration: none;
  color: #111;
}

.product-title:hover {
  color: #f00;
  /* Primary color hover */
}

/* Product Category */
.product-category {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

/* Product Price */
.product-price {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.current-price {
  font-weight: bold;
  font-size: 16px;
  color: #f00;
  /* Primary color */
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

/* Add to Cart Button */
.add-btn {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 10px 0;
  border-radius: 25px;
  background-color: #f00;
  color: #fff;
  border: 2px solid transparent;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}



/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-left: 100px;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
}


/* Banner Section */
.banner-section {
  position: relative;
  margin: 60px 0;
}

.banner-container {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  padding: 100px 20px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.banner-content {
  position: relative;
  text-align: center;
  color: #fff;
}

.banner-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner-buttons a {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  color: #fff;
  background-color: #f00;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-buttons a:hover {
  background-color: transparent;
  color: #f00;
  border-color: #f00;
}

/* Blog Section */
.blog-section {
  padding: 60px 20px;
}

.blog-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.blog-category {
  font-size: 12px;
  font-weight: bold;
  color: #f00;
  text-transform: uppercase;
  margin-bottom: 10px;
}


.blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-text {
  flex-grow: 1;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  border-radius: 25px;
  color: #fff;
  background-color: #f00;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  background-color: transparent;
  color: #f00;
  border-color: #f00;
}


/* Highlight */
.highlight {
  color: #f00;
  /* Primary color */
}

/* Subscribe Section */
.subscribe-section {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 60px 0;
}

.subscribe-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-text h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  width: 100%;
  gap: 10px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 50px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
}

.subscribe-form input:focus {
  border-color: #f00;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.subscribe-form button {
  padding: 10px 25px;
  border-radius: 50px;
  border: 2px solid #f00;
  background-color: #f00;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-form button:hover {
  background-color: transparent;
  color: #f00;
}

/* Footer */
.footer {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;

}

.footer-top {
  padding: 40px 0;
}


.footer-menu h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
}

.footer-menu ul li {
  margin-bottom: 10px;
}

.footer-menu ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
  color: #f00;
}

/* Contact Info */
.footer-contact img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-contact p,
.footer-contact a {
  margin-bottom: 10px;
  color: #333;
  text-decoration: none;
}

.footer-contact .phone {
  font-weight: bold;
  font-size: 18px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding: 20px 0;
}



.footer-left p {
  margin: 5px 0;
  font-weight: bold;
}

.footer-links {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.footer-links li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #f00;
}


.footer-right img {
  height: 32px;
  margin-left: 10px;
}

/* Breadcrumbs */
#breadcrumbs {
  background-color: #f9fafb;
  padding: 1.5rem 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb-list li a {
  font-weight: 600;
  text-decoration: none;
  color: #111;
}

.breadcrumb-list li a:hover {
  color: #f00;
}

/* Product Main */
.product-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
}

/* Product Images */
.product-images {
  width: 100%;
}

.main-image img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

.btn-circle {
  background-color: #f00;
  color: white;
  font-weight: 600;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

/* Hover Effects */
.btn-circle:hover {
  background-color: transparent;
  color: #f00;
  border-color: #f00;
}

/* focus state */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.gallery img {
  width: 100%;
  cursor: pointer;
  border-radius: 0.5rem;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-details h1 {
  font-size: 2rem;
  font-weight: bold;
}

.rating span {
  margin-right: 0.5rem;
}

.product-meta p {
  margin: 0.25rem 0;
}

.price {
  font-size: 1.5rem;
  font-weight: 600;
}

.quantity {
  display: flex;
  gap: 0.5rem;
}

.quantity input {
  width: 3rem;
  text-align: center;
}

/* .add-to-cart {
  padding: 14px 1px;
  background-color: #f00;
  color: #fff;
  border: none;
  cursor: pointer;
} */

.add-to-cart:hover {
  background-color: white;
  border: 1px solid #f00;
  color: #f00;
}

/* Social Share */
.social-share {
  display: flex;
  gap: 0.5rem;
}

.social-share img {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.social-share img:hover {
  transform: scale(1.1);
}

/* Product Description */
.product-description h3 {
  font-size: 1.25rem;
  font-weight: 600;
}


/* Grid layout */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  /* Mobile: single column */
  align-items: center;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f00;
  /* Primary color */
  margin-bottom: 1.25rem;
}

.content p {
  color: #4a4a4a;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Button */
.content a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f00;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.content a:hover {
  background-color: transparent;
  color: #f00;
  border-color: #f00;
}

/* Image */
.image {
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 20rem;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* register */


/* Register Section */

.form-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

.form-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

/* Input Group Styling */
.input-group {
  margin-bottom: 20px;
}

.input-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.input-field {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

.input-field:focus {
  border-color: #f00;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

/* Checkbox Group */
.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-label {
  font-size: 14px;
  color: #555;
}

/* Button Styling */
.button {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.register-button {
  background-color: #f00;
}

.register-button:hover {
  background-color: transparent;
  border: 1px solid #f00;
  color: #f00;
}

.text-center {
  text-align: center;
}

/* about section */
.aboutcontent {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-section {
  margin-bottom: 30px;
}

.about-section h2 {
  color: #f00;
  margin-bottom: 10px;
}








/*=== checkout === */

.cart-page {
  padding: 40px;
}

h1 {
  margin-bottom: 20px;
}

.cart-container {
  display: flex;
  gap: 20px;
}

.cart-items {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

.summary {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

th {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

button {
  padding: 6px 12px;
  background: #f00;
  color: #fff;
  border: none;
  cursor: pointer;
}

.cartbtn {
  padding: 6px 12px;
  background: #f00;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 11px;
  font-size: 16px;
  border-radius: 21px;
}

.cbtn {
  text-decoration: none;
  padding: 11px 15px;
  padding: 6px 12px;
  background: #f00;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 21px;
}

.qty {
  margin: 0 10px;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cart-actions input {
  padding: 6px;
}

.summary h2 {
  margin-bottom: 15px;
}

.summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary .border {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.summary .total {
  font-weight: bold;
}

.checkout-btn {
  display: block;
  margin-top: 15px;
  text-align: center;
  padding: 10px;
  background: #f00;
  color: #fff;
  text-decoration: none;
  border-radius: 7px;
}


.order-container {
  padding: 10%;
  text-align: center;
}

.order-container h1 {
  color: #f00;
}

.confirm-order-container {
  padding: 30px 10%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-order-container .title {
  width: 100%;
}

.confirm-order-container .left,
.confirm-order-container .right {
  padding: 40px;
  width: 50%;

}

.confirm-order-container .right {
  text-align: left;
}

.form-label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control {
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid #ced4da;
}

.form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.invalid{
  border: 1px solid red !important;
}


/* About page */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
}

.about-section {
    padding: 80px 20px;
}

.about-container {
    max-width: 1000px;
    margin: auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;

    /* SHADOW */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    /* SMOOTH EFFECT */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EFFECT */
.about-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.15);
}

.about-container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.about-container h3 {
    margin-top: 40px;
    font-size: 22px;
}

.about-container p {
    color: #555;
    line-height: 1.8;
}

.about-container ul {
    padding-left: 20px;
}

.about-container li {
    padding: 6px 0;
    color: #444;
    transition: padding-left 0.2s ease;
}

/* LIST HOVER */
.about-container li:hover {
    padding-left: 10px;
}
