html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ===================== Global Styles ===================== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ===================== Navbar ===================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-left img {
  height: 50px;
  cursor: pointer;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar-center a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.navbar-center a:hover, .navbar-center a.active {
  color: #088178;
}

.navbar-center a.active {
  border-bottom: 2px solid #088178;
  padding-bottom: 2px;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 8px 35px 8px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
  width: 250px;
  transition: width 0.3s ease;
}

.search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-right i {
  font-size: 20px;
  cursor: pointer;
  color: #333;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.navbar-right i:hover {
  background: #ffe6ec;
  color: #088178;
  transform: translateY(-2px);
}

/* ===================== Dropdown Menu ===================== */
.menu-container {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 240px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 12px;
  z-index: 1001;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f7f7f7;
}

.dropdown-menu a i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #555;
}

/* ===================== Cart ===================== */
.cart-icon-container {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #088178;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  min-width: 18px;
  min-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 1002;
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  margin: 0;
}

.cart-header .fa-times {
  cursor: pointer;
  font-size: 20px;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.cart-item-info h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.cart-item-info p {
  margin: 0 0 10px 0;
  color: #555;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-item-actions input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 3px;
}

.qty-btn {
  background: #088178;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 3px;
  transition: background 0.3s;
}

.qty-btn:hover {
  background: #034743;
}

.cart-item-actions .remove-btn {
  background: none;
  border: none;
  color: #088178;
  cursor: pointer;
  font-size: 18px;
}
.remove-btn:hover{
  color: red;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background-color: #088178;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #034743;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===================== Hero Carousel ===================== */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.carousel-arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: white;
  transform: scale(1.2);
}


/* ===================== Layout ===================== */
.container {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  max-width: 100%;
  margin: auto;
  gap: 20px;
  transition: all 0.3s ease;
}

/* Left Sidebar */
.left {
  width: 20%;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background: #ffffff;
  color: #000;
  padding: 20px;
  box-sizing: border-box;
  position: sticky;
  top: 100px; /* below navbar */
  height: 60vh; /* Fixed height */
  overflow: hidden; /* Not scrollable */
}


.left ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.left ul li {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.left ul li:hover {
  background-color: #f0f0f0;
  color: #007bff;
  transform: scale(1.05);
}

.left a {
  text-decoration: none;
  color: #000;
}

/* Right Section */
.right {
  width: 80%;
  background: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  height: 78vh;
}

.content-block {
  height: 200px;
  margin-bottom: 20px;
  background: #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ===================== Product Section ===================== */
.products {
  flex: 1;
  transition: all 0.3s ease;
}

.products.expanded {
  flex: 1 1 100%;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.products-header h2 {
  font-size: 20px;
}

.toggle-filters {
  cursor: pointer;
  font-size: 14px;
  color: #333;
  background: none;
  border: none;
  font-weight: bold;
}

.toggle-filters:hover {
  color: #088178;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* Product Image */
.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #f9f9f9;
}

/* Product Info */
.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Section Spacing */
#product-section section {
  margin-bottom: 60px;
}

#product-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  grid-column: 1 / -1;
}

/* Brand + Product Name */
.brand,
.product-name {
  display: inline-block;
  margin: 0;
  font-size: 14px;
}

.product-name {
  color: #666;
  margin-left: 5px;
}

/* Sizes */
.sizes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.size {
  border: 1px solid #444;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sizes-spacer {
  height: 40px; /* Adjust as needed — same height as size buttons area */
}

.size.active {
  background-color: #088178;
  color: #fff;
  border-color: #088178;
}

/* Bottom Row */
.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
  gap: 8px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}

.quantity-selector button {
  background: #088178;
  color: #fff;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 13px;
}

.quantity-selector input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 2px;
}

.price {
  font-weight: bold;
  font-size: 15px;
}

.add-to-cart {
  background: #088178;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
}

.add-to-cart:hover {
  background: #06685f;
}







/* ===================== Footer ===================== */

footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom:20px;
}



footer h4{
    font-size:14px;
}

footer p{
    font-size:13px;
    margin:0 0 8px 0;
}

footer a{
    font-size:14px;
    text-decoration:none;
    color:#222;
    margin-bottom:10px;
}

footer .follow{
    margin-top: 20px;
}

footer .follow i{
    color: #465b52;
    padding-right: 4px;
    cursor:pointer;
}

footer .install .row img{
    border: 1px solid #088178;
    border-radius: 6px;
}

footer .install img{
    margin:10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover{
    color:#088178;
}

footer .copyright{
    width:100%;
    text-align: center;
}

/* ===================== Newsletter ===================== */


#newsletter{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background-color: #001c52;
}

#newsletter h4{
    font-size: 22px;
    font-weight: 700;
    color:#fff;
}

#newsletter p{
    font-size: 14px;
    font-weight: 600;
    color: #818ea0;
}

#newsletter p span{
    color:#ffbd27;
}

#newsletter .form{
    display: flex;
    width: 40%;
}

#newsletter input{
    height:3.125rem;
    padding:0 1.25rem;
    font-size: 14px;
    width:100%;
    border: 1px solid transparent;
    border-radius : 4px;
    outline: none;
    border-top-right-radius:0 ;
    border-bottom-right-radius:0 ;

}

#newsletter button{
    background-color: #088178;
    color:#fff;
    white-space: nowrap;
    border-top-left-radius:0 ;
    border-bottom-left-radius:0 ;
}

.section-p1{
    padding:40px 80px;
}
.section-m1{
    margin:40px 0;
}


/* ===================== Deals ===================== */

#Deals{
padding: 0 7% ;
}

.product-grid a{
  text-decoration: none;
  font-style: none;
  color: black;
}
