/* General Body Styles */
body {
  margin: 0;
  padding: 40px;
  font-family: 'Open Sans', sans-serif; /* Or 'Georgia' if you prefer */
  background: linear-gradient(to right, #f6f2f0, #e8e0db); /* or your cream background */
  color: #2d2d2d;
  padding-top: 120px; /* ✅ Needed to make space for fixed nav */
  height: 100vh;
}
/* Header Styling */
h1 {
  font-family: 'Playfair Display', serif; /* Elegant serif font for the main heading */
  color: #3b2f2f; /* Dark brown color for the heading to match the luxurious theme */
  font-size: 2.5rem; /* Larger font size for prominence */
  margin-bottom: 0.5em; /* Spacing below the heading for separation from the content */
  text-align: center; /* Centering the main heading for visual balance */
}

/* Section Styling */
section {
  margin: 50px 0; /* Vertical spacing between sections to avoid a crowded look */
}

/* Styling for Content Boxes (Used in Home, DBS, and Contact Pages) */
.about-me, .college-info, .contact-form {
  max-width: 700px; /* Restricting content width to keep it manageable */
  margin: auto; /* Centering the content box */
  padding: 30px; /* Adding padding for space between content and edges */
}

/* Styling for Section Titles within Content Boxes */
h2 {
  font-family: 'Playfair Display', serif; /* Elegant font for subheadings */
  font-size: 2rem; /* Slightly smaller than the main heading, but still prominent */
  color: #3b2f2f; /* Matching dark brown for color consistency */
  margin-bottom: 1rem; /* Spacing below to separate from text */
}

/* Paragraph Styling */
p {
  font-size: 1.1rem; /* Slightly larger font size for better readability */
  color: #4d4d4d; /* Soft gray color for text to prevent it from being too harsh on the eyes */
  line-height: 1.6; /* Increased line height for better readability */
  margin-bottom: 20px; /* Spacing between paragraphs for a clean layout */
}

/* Image Styling */
img {
  max-width: 100%; /* Ensuring the image fits within the content box */
  height: auto; /* Maintaining the aspect ratio */
  border-radius: 15px; /* Rounded corners to match the overall theme */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow to give the image depth */
  margin-bottom: 20px; /* Space between the image and the text below */
}

/* Form Styling (For Contact Form) */
input, textarea {
  width: 100%; /* Ensuring inputs and textareas take up full width of their container */
  padding: 10px; /* Padding inside inputs to give space around text */
  margin-bottom: 1.5rem; /* Space between form fields to avoid crowding */
  border: 1px solid #ccc; /* Light gray border for inputs to separate them from background */
  border-radius: 8px; /* Rounded corners for the input fields to maintain softness */
  font-size: 1rem; /* Standard font size for input text */
}

/* Button Styling (For Submit Button in Contact Form) */
button {
  font-family: 'Playfair Display', serif; /* Elegant serif font for the button to match headings */
  padding: 15px 35px; /* Generous padding for a substantial button */
  background-color: #bfa888; /* Luxurious, warm gold color for the button */
  color: white; /* White text for contrast against the gold background */
  border: none; /* Removing default border for a clean look */
  border-radius: 30px; /* Rounded, pill-shaped button for a sleek look */
  cursor: pointer; /* Hand cursor on hover to indicate the button is clickable */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow to give a floating effect */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effect */
}

/* Button Hover Effect */
button:hover {
  background-color: #a88f73; /* Darker shade of gold on hover for a subtle effect */
  transform: translateY(-2px); /* Slight elevation effect to indicate interactivity */
}

/* 🎀 Elegant Nav Button Strip like Main Menu Page 🎀 */
.nav-buttons {
  display: flex;
  justify-content: center;
  background-color: white; /* Matching the rest of the theme */
  padding: 30px 0;
  gap: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Soft shadow for elevation */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Keeps it above everything */
}

/* 🧁 Button-style Nav Links */
.nav-btn {
  font-family: 'Playfair Display', serif;
  padding: 15px 35px;
  background-color: #bfa888; /* Luxurious creamy-gold shade */
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 🌸 Hover Effect */
.nav-btn:hover {
  background-color: #a88f73;
  transform: translateY(-2px);
}

/* ✨ Make sure page content doesn't hide under the fixed nav */
body {
  padding-top: 120px;
}

/* DBS LOGO IMAGE */
/* 🎓 Styling for the image on my DBS page */
.dbs-image {
  text-align: center;
  margin-top: 500px; /* leaves space below the nav */
  margin-bottom: 2rem;
}

.dbs-image img {
  width: 60%; /* 🖼️ Keeps image large but not too overwhelming */
  max-width: 800px; /* 📐 Caps the size for desktop view */
  border-radius: 20px; /* 🥚 Soft rounded corners for elegance */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 🌫️ Subtle shadow for depth */
}

/* 🎀 Global styling to match my luxury vibe */
body {
  margin: 0;
  font-family: 'Georgia', serif; /* 👑 Using a classy serif font to keep it elegant */
  background-color: #f6f4f1; /* 🕊 Soft, luxurious background like cream silk */
  color: #333; /* 🖋 Dark text for readability */
  height: 100vh; /* 🧍 Ensures full-screen height for vertical centering */
}

/* 🪞 Centering the About Me container perfectly */
.about-container {
  display: flex;
  justify-content: center; /* 🔄 Center horizontally */
  align-items: center; /* 🔽 Center vertically */
  height: calc(100vh - 100px); /* ⬇ Full height minus navbar height */
  padding: 0 2rem;
}

/* 📝 About Me section styling */
.about {
  max-width: 700px; /* 📏 Keeps text neat and readable */
  text-align: center;
  background: #fff; /* 🧁 Soft white background to make it pop */
  padding: 2rem;
  border-radius: 16px; /* 🍥 Rounded corners for a soft, modern look */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* 🌫 Adds soft shadow for depth */
}

.about h1 {
  font-size: 2.5rem;
  margin-top: 100px; /* 🧷 Pushes image down below the fixed navbar */
  margin-bottom: 1rem;
  color: #b2926c; /* ✨ Signature soft gold title color */
}

.about p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ==========================
   Fleur de Luxe - Classy Perfume Site Styles
   ========================== */

/* Reset + Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: #000000;
  color: #2c2c2c;
  line-height: 1.6;
}
.main-hero {
  background-image: url('hero.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 90vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.main-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
  padding: 6rem; /* Increased padding */
  border-radius: 10px;
  text-align: center;
  width: 70%; /* Optional: adjust width to make it larger */
  height: 500px; /* Optional: adjust height if needed */
  max-width: 1200px; /* Optional: set a max width if you want it to stop expanding beyond a certain point */
  margin: 0 auto; /* Center the overlay */
}


.main-text h1 {
  font-size: 4.0rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  margin-bottom: 1rem;
}

.main-text p {
  font-size: 1.5rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #f2f2f2;
}


/* ==========================
 Header Navigation
 ========================== */

header {
  background-color: #000000; /*  for the navigation menu */
  padding: 20px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /*Keeps the subtle shadow effect */
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  font-weight: bold;
  color: #2c2c2c;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #000000; /* Hover effect to gold */
}

/* ==========================
 About Us Hero Section
 ========================== */

.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 2.5em;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background-color: #d4af37;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #bfa231;
}
/* Force navigation text to always be black */
.nav-links a,
header nav ul li a {
  color: #000000 !important; /* Always black */
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
}

/* Optional: Keep hover effect black too */
.nav-links a:hover,
header nav ul li a:hover {
  color: #000000 !important; /* Still black on hover */
}
.about-hero {
  background-image: url('aboutus-image.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  height: 60vh; /* Adjust the height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.about-overlay {
  background-color: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.about-text h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.2rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #f2f2f2;
}


/* ==========================
 Product Section
 ========================== */

/* Product Grid Layout */

.product {
  background-color: #fefefe; /* Light background for the product cards */
  border-radius: 15px; /* Rounded corners for a smooth, luxurious feel */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow to make products pop */
  overflow: hidden; /* Keeps the card edges neat and clean */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.product:hover {
  transform: scale(1.05); /* Slightly enlarge the product card on hover */
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover for emphasis */
}

.product img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures product image covers the space without distortion */
  border-bottom: 2px solid #d4af37; /* Elegant gold border under the image */
  border-radius: 12px 12px 0 0; /* Rounded corners for the top part of the card */
  margin-bottom: 15px; /* Adds space between the image and the text */
}

.product h3 {
  font-size: 1.3em; /* Slightly larger font for the product name */
  color: #333; /* Dark color for contrast */
  font-family: 'Georgia', serif; /* Luxurious serif font */
  margin-bottom: 10px; /* Adds spacing between the name and description */
}

.product p {
  font-size: 1em; /* Standard font size for product descriptions */
  color: #000000; /* Softer color for text */
  margin-bottom: 15px; /* Adds space below the description */
  font-family: 'Times New Roman', sans-serif; /* Modern, readable font */
}


/* Individual Product Styling */
.product {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column; /* Aligns elements vertically */
  justify-content: space-between;
  height: 600px; /* Fixed height for uniform product boxes, changes the height of the product grid */
  width: 400%; /* Ensures it takes full width within the grid item */
  max-width: 350px; /* Optional: limits width to prevent stretching */
  margin: 0 auto; /* Centers product in its container */
}
/*General Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;  /* Elegant font */
  background-color: #000000;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li {
  font-size: 18px;
}

header nav ul li a {
  color: white;
  font-weight: bold;
  padding: 10px;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #000000; /* Luxurious black */
}


#searchBar {
  padding: 10px 15px;
  font-size: 20px;
  width: 250px;
  border-radius: 25px;
  border: #000000;
  background-color: rgba(255, 255, 255, 0.8);
  
}
#hero .hero-text h1 {
  font-size: 50px;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

#hero .hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
}

#hero .cta-button {
  padding: 15px 25px;
  background-color: #d3a15c; /* Luxurious gold color */
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#hero .cta-button:hover { /* This controls the hover on the shop now button*/
  background-color: #b28c4d;
}
.product-hero {
  background-image: url('productimage.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  height: 60vh; /* Adjust the height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.product-overlay {
  background-color: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.product-text h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  margin-bottom: 1rem;
}

.product-text p {
  font-size: 1.2rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #f2f2f2;
}
.products {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.products h2 {
  font-size: 40px;
  margin-bottom: 30px;
  color: #333;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  padding: 0 20px;
  margin-top: 20px;
}

.product {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 250px;
}

.product img {
  width: 100%;
  height: 100px;
  border-radius: 8px;
}

.product h3 {
  font-size: 22px;
  color: #333;
  margin-top: 15px;
}

.product .description {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

.product .price {
  font-size: 20px;
  color: #cf0303; /* Luxurious red color */
  margin: 15px 0;
  font-family: 'Playfair Display', serif; /* Elegant, bougie font */
  font-weight: 700; /* Bold for emphasis */
}

.product button {
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Navigation Strip */
.nav-strip {
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px 50px;
}

.nav-strip a {
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
}
/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff9f6;
  color: #333;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #000000;
}

/* Navigation */
.lux-header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem 2rem;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #000000 !important; /* Force black */
  font-weight: 600;
 
}
/* Hero Section Image size adjustments for CONTACT SECTION*/
.lux-hero {
  background-size: cover;
  background-position: center;
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 3rem;
  text-align: center;
  border-radius: 12px;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif; /* Elegant font for hero title */
  color: #000000; /* Soft off-white for luxury feel */
}

.hero-text p {
  font-size: 1.2rem;
  font-style: italic;
  font-family: 'Georgia', sans-serif; /* Readable, classy font for subtitle */
  color: #000000; /* Subtle luxury cream tone */
}
/*CONTACT HERO TITLE-HERO SECTION ADJUSTMENTS*/
.contact-hero {
  background-image: url('contactus-image.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 60vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.contact-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
  padding: 4rem;
  border-radius: 12px;
  text-align: center;
}

.contact-text h1 {
  font-size: 3.5rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.5rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #f2f2f2;
}


/* Contact Section */
.contact-section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section p {
  margin-bottom: 2rem;
  color: #000000; /* Text colour change for the contact section*/
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.input-field,
.textarea-field {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
}
/* --- Navigation Bar --- */
.lux-header {
  background-color: #fff; /* this is the navigation bar for Contact us colour change*/
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 1rem 2rem;
  position: center;
  top: 0;
  z-index: 999;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #000000; 
  font-family: 'Georgia', serif; /* Font change for Contact us Navigation bar*/
  font-weight: 600;
  font-size: 1.rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}
/* Send Message Button */
.send-message-button {
  padding: 12px 30px;
  background-color: #000000; /* Black background */
  color: white; /* White text */
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px; /* Makes the button round */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-message-button:hover {
  background-color: #444444; /* Darker black for hover effect */
}
/* Container for the product row */
.product-row {
  display: flex;
  overflow-x: auto; /* Allows horizontal scrolling */
  gap: 2rem; /* Space between products */
  padding: 2rem;
  scroll-snap-type: x mandatory; /* Makes the scroll snap to items */
  flex-wrap: nowrap; /* Prevents the items from wrapping to the next line */
}

.product-row::-webkit-scrollbar {
  display: none; /* Hide the scrollbar */
}

.product-card {
  flex: 0 0 auto; /* Prevent the product cards from shrinking or stretching */
  width: 300px; /* Width for each product card */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start; /* Ensures the product cards snap to the left when scrolling */
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-top: 1rem;
}

.product-card p {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
}
header {
  background-color: #f6f0f5;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}



/* sEARCH BAR*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #000000;
  border-bottom: 1px solid #eee;
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.search-bar {
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

header {
  background-color: #f6f0f5;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav a {
  text-decoration: none;
  color: #5c3d5e;
  font-weight: bold;
}

#hero {
  background: url('heroimage.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6em 2em;
  background-color: #cbb6cc;
}

.cta-button {
  margin-top: 1em;
  background-color: #8e5a8c;
  color: white;
  padding: 0.8em 2em;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1.1em;
}

.products {
  padding: 3em 2em;
  background-color: #fffafc;
}

.product-container {
  width: 100%;
  display: flex;
  justify-content: flex-start; /* Align products to the left */
  gap: 2em;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1em; /* Prevent cut-off of last item */
}

.product {
  background-color: #f9f2f9;
  padding: 1.5em;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 250px; /* Fixed width for each product */
  flex-shrink: 0; /* Prevents items from shrinking */
}

.product img {
  width: 100%;
  border-radius: 15px;
  height: 220px;
  object-fit: cover;
}

.price p {
  font-weight: bold;
  font-size: 1.2em;
  color: #5a2e5e;
}
#product-list::-webkit-scrollbar {
height: 8px; /* Vertical scrollbar */
}

#product-list::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 10px;
}

.scroll-buttons {
display: flex;
justify-content: space-between;
margin: 1em 0;
width: 100%;
}

.scroll-button {
background-color: #8e5a8c;
color: white;
padding: 0.5em 1em;
border-radius: 50%;
cursor: pointer;
border: none;
}

footer {
text-align: center;
padding: 2em;
background-color: #f6f0f5;
} 
.product {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column; /* Aligns elements vertically */
  justify-content: space-between;
  height: 600px; /* Fixed height for uniform product boxes, changes the height of the product grid */
  width: 400%; /* Ensures it takes full width within the grid item */
  max-width: 350px; /* Optional: limits width to prevent stretching */
  margin: 0 auto; /* Centers product in its container */
}

.favorite-icon {
  font-size: 2.2em;
  transition: transform 0.2s ease;
}




@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
.icon-bar {
  position: absolute;        /* Sticks to top right */
  top: 1em;
  right: 1.5em;
  display: flex;
  align-items: right;
  gap: 1em;
  z-index: 999;
}

.favorite-icon,
.cart-icon {
  font-size: 2.2em;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: #e25588;
  color: white;
  border-radius: 50%;
  padding: 0.2em 0.6em;
  font-size: 0.8em;
  font-weight: bold;
}
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.cart-overlay.hidden {
  display: none;
}

.cart-content {
  text-align: center;
  background: white;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  max-width: 600px;
  width: 100%;
}

.cart-total {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.close-cart {
  background-color: #cf0303;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 8px;
}
