body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

 /* Navbar */
.navbar {
  position: fixed;
  top: -80px; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: whitesmoke;
  backdrop-filter: blur(8px);
  border-radius: 15px;
  padding-top: 0.4rem;
  padding-bottom: 0.3rem;
  box-shadow: none;
  z-index: 2000;
  transition: all 0.5s ease;
}

/* Navbar scrolls down */
.navbar.show-navbar {
  top: 15px; 
  /* background: #ffffff6b; */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 15px;
}

/* Navbar Brand */
.navbar-brand img {
  height: 60px;
  width: auto;
}

/*  Links */
.nav-link {
  color: #1e1e1e;
  font-weight: 500;
  transition: 0.3s;
  padding: 6px 10px;
}

.nav-link:hover {
  color: #a47c3c;
}

/* layout nav */
.navbar .nav {
  gap: 1rem !important;
  text-align: right;
}

.navbar .d-flex.align-items-center.gap-3 {
  gap: 0.8rem !important;
}

.navbar .container {
  padding-right: 10px;
  padding-left: 10px;
}



/* Icons */
#searchIcon, #cartIcon, #openSidebar {
  cursor: pointer;
  color: #2b2b2b;
  transition: 0.3s;
}
#searchIcon:hover, #cartIcon:hover, #openSidebar:hover {
  color: #a47c3c;
}

/* Cart  */
.cart-icon {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ff5a3c;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: left 0.4s ease;
  z-index: 2500;
}
.sidebar.active {
  left: 0;
}
.sidebar-logo {
  text-align: center;
  margin-bottom: 20px;
}
.sidebar-nav a {
  display: block;
  padding: 10px 0;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}
.sidebar-nav a:hover {
  color: #a47c3c;
}
.sidebar-footer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.sidebar-footer a {
  color: #333;
  font-size: 18px;
}
.sidebar-footer a:hover {
  color: #a47c3c;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 2400;
}
.overlay.active {
  display: block;
}

/* Search Popup */
.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: rgba(255,255,255,0.98);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.search-popup.active {
  display: flex;
}
.search-container input {
  font-size: 60px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  width: 60%;
  text-align: center;
  color: #999;
}
.search-container input::placeholder {
  color: #b5b5b5;
}
/* .close-btn {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 40px;
  color: #ff5a3c;
  cursor: pointer;
} */



/* Cart Sidebar  */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 90%;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  padding: 0;
  transition: 0.4s ease;
  border-radius: 20px 0 0 20px;
  overflow-y: auto;
  z-index: 5000;
}

.cart-sidebar.active {
  right: 0;
}

/* Header */
.cart-top {
  background: #d8e8ff;        
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 0 0 0;
}

.cart-top h4 {
  font-size: 18px;
  font-weight: 600;
  color: #004aad;             
}

/* .close-btn {
  font-size: 28px;
  cursor: pointer;
  color: #ad0000;
} */


/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: rgb(224, 23, 9);
  font-size: 40px;
  cursor: pointer;
  font-weight: bold;
  z-index: 99999;
}


/* Cart Items List */
.cart-items {
  padding: 15px 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c9d9ff; 
}

.cart-item img {
  width: 75px;
  height: 75px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f2f6ff; 
}


.cart-info {
  margin-left: 12px;
  flex: 1;
}

.cart-info h5 {
  font-size: 15px;
  font-weight: 600;
  color: #003a8c;             
}

.cart-info p {
  color: #0074ff;            
  margin: 5px 0 0;
}

.remove-btn {
  font-size: 22px;
  cursor: pointer;
  color: #004aad;
}

/* Summary Section */
.cart-summary {
  padding: 20px;
  border-top: 2px solid #d0e2ff;
  background: #fff;
}

.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-summary h5 {
  color: #003a8c;
}


.view-card-btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 12px;
  background: #cfe0ff;     
  color: #003a8c;           
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  text-decoration: none;
}

.checkout-btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 14px;
  background: #0066ff;    
  color: white;
  border-radius: 12px;
  font-size: 17px;
  text-decoration: none;
}





  /* checkout Hero Section */
  .check-hero {
      position: relative;
      width: 100%;
      height: 350px;
      background: url("../img/pp1.jpeg") center/cover no-repeat; 
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .check-overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
  }

  .check-content {
      position: relative;
      text-align: center;
      color: white;
      z-index: 2;
  }

  .check-content h1 {
      font-size: 60px;
      font-weight: 700;
      margin-bottom: 15px;
  }

  .check-content p {
      font-size: 18px;
  }

  .check-content p a {
      color: white;
      text-decoration: none;
  }

  .check-content p a:hover {
      text-decoration: underline;
  }



  /* checkout form section */
  
/* Main Container */
.checkout-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 40px;
}

.checkout-title {
    text-align: center;
    margin: 40px 0;
    font-size: 38px;
    color: #0b3d91;
}



/* 2 Column Wrapper */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Billing + Summary Boxes */
.billing-box, .summary-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.section-title {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 600;
    color: #0b3d91;
}


/* shipping content */
.shipping-box {
    margin-top: 30px;
    padding-top: 10px;
}

.shipping-box .section-title {
    margin-bottom: 12px;
}


.shipping-address {
    margin-top: 20px;
    padding: 20px;
    background: #f7faff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.checkbox-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin: 10px 0;
    cursor: pointer;
    color: #333;
}

.checkbox-line input {
    width: 18px;
    height: 18px;
}
.apply {
    width: 20%;
    max-width: 280px;
    padding: 10px;
    background: #21f379;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    /* margin: 25px auto 0; */
    cursor: pointer;
    display: block;
    transition: 0.3s;
}


/* Form Styles */
.form-group {
    width: 100%;
    margin-bottom: 15px;
}

label {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #c9d6e8;
    border-radius: 8px;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

/* Product List */
.product-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #333;
    border-bottom: 1px solid #eee;
}

.summary-line, .total-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
}

.total-line span:last-child {
    color: #0b3d91;
    font-size: 20px;
    font-weight: 700;
}




/* PAYMENT BOX MAIN */
.payment-area {
    margin-top: 20px;
}

.payment-option {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    transition: 0.3s ease;
}

/* Radio + Content Alignment */
.payment-option label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    width: 100%;
}

/* Radio Button */
.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: hsl(215, 100%, 35%); 
    margin-top: 5px;
}

/* Title */
.payment-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Subtext */
.payment-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Highlight Selected Option */
.payment-option input[type="radio"]:checked + .payment-info,
.payment-option:has(input[type="radio"]:checked) {
    background: #fdeeff;
    border-color: #004ed6;
    border-width: 2px;
    border-radius: 10px;
    padding: 15px 20px;
}


.place-order {
    width: 100%;
    max-width: 280px;
    padding: 10px;
    background: #2196F3;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    margin: 25px auto 0;
    cursor: pointer;
    display: block;
    transition: 0.3s;
}

.place-order:hover {
    background: #0d78d3;
}


/* Responsive */
@media (max-width: 900px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}






/* Footer */
.footer {
  background: linear-gradient(135deg, #001f3f, #003366); 
  color: #fff;
  padding: 40px 0 20px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

.footer h5::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #00bcd4;
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 15px;
  opacity: 0.9;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #00bcd4;
  padding-left: 5px;
}

.footer-links i {
  color: #00bcd4;
  margin-right: 8px;
}

.social-icons a {
  display: inline-block;
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00bcd4;
  transform: translateY(-3px);
}

.footer-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
}

.footer p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}


.payment-img {
  max-width: 120%;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.payment-img:hover {
  transform: scale(1.08);
}





