@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-bg-color: #3d3838;
}

* {
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--main-bg-color);
    color: aliceblue;
    font-family: "Exo 2", serif;
}

.search {
    display: flex;
    align-items: center;
}

.search input {
    width: 30vw;
    height: 23px;
    border-radius: 5px;
    margin: 0 10px 0 50px;
    padding: 0 12px 0;
}

.btn {
    padding: 5px 10px;
    color: antiquewhite;
    background-color: var(--main-bg-color);
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
}

.search button {
    font-family: "Exo 2", serif;
    font-weight: 900;
}

.slider {
    margin: auto;
    width: 450px;
    margin: 12px auto;
    overflow: hidden;
}

.cart {
    max-width: 100vw;
    margin: 32px auto;
    background-color: antiquewhite;
    overflow: hidden;
}

.cart h2 {
    font-family: "Exo 2", serif;
}

.cart-items {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15x;
}

.lines {
    text-align: center;
}

.cart-items img {
    width: 160px;
    height: 160px;
    margin: 0;
    padding: 2px;
}

.cart-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.container {
    min-height: calc(100vh - 58px - 12vh);
}

.add-to-cart-btn {
    margin-top: 10px;
    background-color: #ff6600;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.add-to-cart-btn:hover {
    background-color: #e05500;
}

nav {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 188px;
    padding: 0 25px;
}

nav ul {
    height: 58px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav ul li {
    list-style: none;
    padding: 0 23px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-family: "Exo 2", serif;
}

nav ul li a:hover {
    color: rgb(29, 21, 181);
    font-style: bold;
}

.cart-wrapper {
    position: relative;
    display: inline-block;
}

.cart-icon {
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
}

.wishlist-icon {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #000000;
    transition: color 0.3s ease;
}

.wishlist-icon:hover {
    color: red;
}

.filter-buttons {
    text-align: center;
    margin: 20px 0;
}

.filter-btn {
    padding: 10px 16px;
    margin: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.filter-btn:hover {
    background-color: #0056b3;
}

.header-btn {
    padding: 8px 16px;
    margin: 0 8px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.header-btn:hover {
    background-color: #0056b3;
}

/* ===== Wishlist Button Styling ===== */
.wishlist-header a {
    display: inline-block;
    padding: 8px 14px;
    background-color: #007bff;
    color: #ece7e7;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 15px;
}

.wishlist-header a:hover {
    background-color: #ff1e4b;
    transform: scale(1.05);
}

.wishlist-header {
    margin-right: 20px;
    /* space before cart */
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.logo img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.logo img:hover {
    transform: scale(1.05);
}

.footer {
    background-color: #222;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    background-color: #111;
    padding: 10px 0;
    color: #aaa;
    font-size: 13px;
}
.order-summary {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.summary-table th, .summary-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.summary-total {
  text-align: right;
  font-weight: bold;
  margin-top: 10px;
}

#billing-form input,
#billing-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.place-order-btn {
  background-color: #ff6600;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.place-order-btn:hover {
  background-color: #e05500;
}
