@font-face {
  font-family: 'Urbanist';
  src: url(./fonts/Urbanist/Urbanist-VariableFont_wght.ttf);
}

@font-face {
  font-family: 'Forum';
  src: url(./fonts/Forum/Forum-Regular.ttf);
}

@font-face {
  font-family: 'Libre';
  src: url(./fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf);
}


:root {
  --color-black: #101010;
  --color-white: #ffffff;
  --color-red: #d10019;
  --color-gray: #b3b3b3;

  --font-hero: 14.5vw;
  --font-h1: 100px;
  --font-h2: 90px;
  --font-h3: 55px;
  --font-medium: 35px;
  --font-regular: 28px;
  --font-small: 20px;
  --font-tiny: 14px;
}

a {
  text-decoration: none;
}

body {
  align-items: center;
  text-align: center;
}

.hero-contact-bg-img {
  width: 99vw;
  height: 100vh;
  top: 0;
  position: absolute;
  background: linear-gradient(rgba(255, 255, 255, 0), rgb(0, 0, 0)), url(./images/background.jpg) no-repeat ;
  z-index: -10000;
  filter: invert(1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bag-items {
  padding: 10rem 5%;
}


.checkout-section {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.334);
    backdrop-filter: blur(10px);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000000000000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

#cart-items {
  margin-bottom: 2rem;
}

/* Notification Styling */
#cart-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #007bff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  visibility: hidden;
  z-index: 1000;
}

/* Product and Cart Styling Updates */
/* Reset and Basic Styles */

/* Hero Section */

h2 {
  font-size: var(--font-h2);
  font-family: "Forum";
  color: var(--color-black);
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}


/* Cart Container */
.cart-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
}

/* Left Side - Products */
.products {
  flex: 2;
  /* background-color: #6d4c4c; */
  background: rgba(255, 255, 255, 0.481);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.574);
  backdrop-filter: blur(7px);
  border: .5px solid rgb(255, 255, 255);
  padding: 2rem;
  border-radius: 25px;
  min-height: 300px;
}

.products h3 {
  margin-bottom: 1rem;
  font-size: var(--font-h3);
  font-family: "Forum";
  text-transform: uppercase;
}

.product {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.product img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.product-details {
  flex: 1;
}

.product-details h4 {
  font-size: var(--font-medium);
  font-family: "Forum";
  text-transform: uppercase;
}

.product-details p {
  font-size: var(--font-small);
  font-family: "Forum";
  text-transform: uppercase;
}

.product .product-quantity {
  font-size: 1rem;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product .product-quantity button {
  background-color: #ccc;
  border: none;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  border-radius: 5px;
}

.product .product-quantity button:hover {
  background-color: #888;
}

/* Right Side - Summary Card */
.summary-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.481);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.574);
  backdrop-filter: blur(7px);
  border: .5px solid rgb(255, 255, 255);
  padding: 2rem;
  border-radius: 25px;
}

.summary-card h3 {
  font-size: var(--font-h3);
  font-family: "Forum";
  text-transform: uppercase;
}

.summary-card p {
  text-align: left;
  font-size: var(--font-medium);
  font-family: "Forum";
  text-transform: uppercase;
}

.checkout,
.paypal {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.checkout {
  background-color: #007bff;
  color: #fff;
}

.paypal {
  background-color: #ffc439;
  color: #333;
}

/* Cart Notification */
.cart-notification {
  visibility: hidden;
  position: fixed;
  top: 10px;
  right: 10px;
  background: #4CAF50;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

.cart-notification.active {
  visibility: visible;
}



/* Quantity Controls */
.quantity-control {
  /* display: flex; */
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.quantity-btn:hover {
  background-color: #0056b3;
}

.remove-btn {
  margin-top: 1rem;
  border: none;
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.remove-btn:hover {
  background-color: #b02a37;
}
