/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

.logo{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-compu{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 300px
}

.logo-img{
  max-width: 120px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: lightgray;
  color: #333;
  line-height: 1.6;
  padding: 0;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 125vh;
  zoom: 80%;
}

h1, h2, h3 {
  font-family: 'Arial', sans-serif;
  color: #444;
}


/* Navigation */
nav {
  top: 0;
  background-color: orangered;
  padding: 15px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

nav .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  
}

nav .menu li {
  margin: 0 25px;
}

nav .menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

nav .menu a:hover {
  color: #ff6347;
}

main{
  flex-grow: 1;
}
/* Footer */
footer {
  background-color: orangered;
  color: white;
  padding: 15px;
  padding-bottom: ;
  text-align: center;
  bottom: 0;
  width: 100%;
  flex-grow: 1;
}

/* Newsletter Signup*/
.newsletter{
  padding-top: 150px;
}

.newsletter p{
  display: flex;
  justify-content: center;
}

.newsletter form{
  display: flex;
}

.newsletter form input, .newsletter form button{
  margin: 10px;
  padding: 20px;
  border: 3px solid orangered;
}

.newsletter form button{
  width: 40%;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

button {
  width: 100%;
  padding: 15px;
  background-color: orangered;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff6347;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Form Styles */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

input[type="checkbox"] {
  margin-top: 10px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Product Cards */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}
.quantity-control button {
  font-size: 16px;
  cursor: pointer;
  
}
.quantity-control span {
  min-width: 20px;
  text-align: center;
  display: inline-block;
}

.product {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: #f1f1f1;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product img {
  max-width: 100px;
  border-radius: 5px;
}

.product-details {
  flex-grow: 1;
  margin-left: 15px;
}

.product-name {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.product-price {
  color: #28a745;
  font-size: 16px;
}

.product .btn {
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.product .btn:hover {
  background-color: #218838;
}

.product .btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Cart Page */
.cart {
  margin-bottom: 20px;
}

.total {
  text-align: right;
  font-size: 22px;
  margin-top: 20px;
}

/* Checkout */
.checkout-page .product-details {
  display: flex;
  justify-content: space-between;
}

.prdctrmv{

  text-align: center;
  width: 10%;
}

.checkout-page .total {
  margin-top: 20px;
  font-size: 24px;
  color: #333;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  nav .menu {
    flex-direction: column;
  }

  .product {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product img {
    margin-bottom: 10px;
  }

  .product-details {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 24px;
  }

  button {
    font-size: 16px;
    padding: 12px;
  }

  .product-name {
    font-size: 16px;
  }
}

/* Thank You Page Specific Styles */
.thank-you {
  text-align: center;
  padding: 40px;
}

.thank-you h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.thank-you p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.order-summary {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.order-summary h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.product-summary {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.product-summary-details {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.product-summary-name {
  font-weight: bold;
}

.product-summary-price {
  color: #28a745;
}
.qnty{
  left: auto;
  right: auto;
}
button {
  padding: 15px 30px;
  background-color: orangered;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 30px;
}

button:hover {
  background-color: #ff6347;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .product-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-summary-details {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Welcome Section */
.hero {
  padding-top: 250px;
  text-align: center;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  color: black;
  font-size: 24px;
  margin-bottom: 30px;
}

.cta-button {
  padding: 15px 30px;
  background-color: #ff6347;
  color: white;
  font-size: 18px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;

}

.cta-button:hover {
  background-color: #ff4500;
}

/* Featured Products */
.featured-products {
  text-align: center;
  padding-top: 300px;
}

.featured-products h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* Product Grid Layout for Multiple Columns */
.product-grid {
  display: grid;
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
  gap: 20px;
  padding: 20px 0;
}

.product-card {
  background: #f9f9f9;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 5px solid #F6C199;
  margin: 15px 0;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card button {
  padding: 8px 12px;
  background-color: #ff6347;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card button:hover {
  background-color: #ff4500;
}


.product-details {
  margin-top: 20px;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
}

.product-price {
  color: #28a745;
  font-size: 16px;
  margin-top: 5px;
}

.product .btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.product .btn:hover {
  background-color: #218838;
}

/* Top Sellers Section */
.topseller {
  background-color: transparent;
  padding-top: 100px;
  text-align: center;
}

.topseller h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: orangered;
}

.topseller-cards {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.flip-card {
  background-color: transparent;
  width: 350px;
  height: 275px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.5s ease-in-out;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background-color: orangered;
  color: lightcyan;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.flip-card-back h3{
  color: lightgreen;
}

.flip-card-back p{
  color: lightblue;
}


.topseller-cards img {
  transition: transform 1s ease;
}

.topseller-cards img:hover {
  transform: translateY(-5px);
}

/* Cart Item Add and Remove Button Styles */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid white;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.cart-item-buttons {
  display: flex;
  gap: 10px;
}


/* Checkout Button Styles */
.checkout-page .checkout-button {
  background-color: #4CAF50 !important; 
  color: white !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: 6px !important;
  margin-top: 20px !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
}

.checkout-page .checkout-button:hover {
  background-color: #388E3C !important; 
}
/*About Section*/
.about-section {
  padding-top: 100px;
}
.about-section .container{
  box-shadow: 0 0 50px lightgray;
  border-radius: 100px;
  padding-top: 50px;
}

.about-section .container p{
  text-align: center;
  padding-top: 30px;
}

.about-section .container h3{
  padding-top: 100px;
}
/* Profile Card Section */
.profile-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px;
}

.profile-card {
  background: #7cbbf2;
  border-radius: 100px;
  min-width: 300px;
  flex: 0 0 auto;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 4px solid #7cbbf2;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-info h3 {
  margin: 0;
  font-size: 30px;
}

.profile-info p {
  margin: 0;
  font-size: 19px;
  color: #555;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}