*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
 font-family: 'Poppins', sans-serif;
}

.navbar{
  display: flex;
  align-items: center;
  padding: 20px;
}

nav{
  flex: 1;
  text-align: right;
}

nav ul{
  display: inline-block;
  list-style-type: none;
}

nav ul li{
  display: inline-block;
  margin-right: 20px;
}

a{
  text-decoration: none;
  color: #555;
}

p{
 color: #555;
}

.container{
 width: 1300px;
 margin: auto;
 padding-left: 25px;
 padding-right: 25px;
}

.row{
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 justify-content: space-around;
}

.col-2{
 flex-basis: 50%;
 min-width: 300px;
}

.col-2 img{
 max-width: 100%;
 padding: 50px 0;
}

.col-2 h1{
 font-size: 50px;
 line-height: 60px;
 margin: 25px 0;
}

.btn{
 display: inline-block;
 background: #ff523b;
 color: #fff;
 padding: 8px 30px;
 margin: 30px 0;
 border-radius: 30px;
 transition: background 0.5s;
}

.btn:hover{
 background: #563434;
}

.header{
 background: radial-gradient(#fff,#ffd6d6);
}

.header .row{
 margin-top: 70px;
}

.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.floating-cart a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
}

.floating-cart .cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
}

/* Category Section Styles */

.row .header{
 display: flex;
 justify-content: center;
 gap: 15px;
 flex-wrap: wrap;
 margin-top: 70px;
}

.categories{
 margin: 70px 0;
}

.col-3 {
    flex: 1 1 200px;
    min-width: 200px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px rgba(0, 0, 0, 0, 1);
    transition: transform 0.3s ease;
}

.small-container{
 max width: 1080px;
 margin: auto;
 padding-left: 25px;
 padding-right: 25px;
}

.col-4{
 flex-basis: 25%;
 padding: 10px;
 min-width: 200px;
 margin-bottom: 50px;
 text-align: center;
 }

.col-4 img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-4 img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Rating */
.rating {
  color: #ff523b;
  font-size: 16px;
  display: flex;
  justify-content: center;
  gap: 3px;
}

.rating i {
  transition: transform 0.2s ease;
}

.rating i:hover {
  color: #ff523b;
  cursor: pointer;
  transform: scale(1.2);
  transition: 0.2s ease;
}

.col-4:hover .rating i {
  color: #ff523b;
}

.title{
 text-align: center;
 margin: 0 auto 80px;
 position: relative;
 line-height: 60px;
 color: #555;
}

.title::after{
 content: '';
 background: #ff523b;
 width: 80px;
 height: 5px;
 border-radius: 5px;
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
}

h4{
 color: #555;
 font-weight: normal;
}

.col-4 p{
 font-size: 14px;
}
/* Offer */
.offer {
  background: radial-gradient(#fff, #ffd6d6);
  padding: 60px 0;
  margin-top: 80px;
}

.small-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.col-2 {
  flex: 1 1 45%;
  min-width: 280px;
}

.offer-img {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

.offer .col-2 p {
  font-size: 1.2rem;
  color: #e91e63;
  margin-bottom: 10px;
}

.col-2 h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.col-2 small {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 15px;
  display: inline-block;
  border-radius: 10px;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    text-align: center;
  }

  .col-2 {
    flex: 1 1 100%;
  }

  .col-2 h1 {
    font-size: 2rem;
  }
}

/*Contact Form*/
form {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: #1e1e1e;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}
form h2 {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}
input, textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #333;
  color: #fff;
}
button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #45a049;
}

.floating-cart {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.cart-panel.hidden {
    display: none;
}

#cart-items li {
    margin-bottom: 10px;
}

.remove-item {
    background: red;
    color: white;
    border: none;
    padding: 3px 6px;
    margin-left: 10px;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

