/* === Font Import for Vintage Logo === */
@font-face {
  font-family: "Veneer";
  src: url("./images/Veneer.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables: Global Colors === */
:root {
  --sienna: #1B3C53;
  --sienna-2: #954C2E;
  --white: #ffffff;
  --black: #000000;
  --tan: #F5EFE6;
  --papaya-whip: #CBDCEB;
  --bornomala: #F9CB99;
}

/* === Global Reset === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* === Body Styling === */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--papaya-whip);
  color: var(--black);
}

body2 {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bornomala);
  color: var(--black);
}

/* === Smooth Scrolling === */
html {
  scroll-behavior: smooth;
}

/* === Header Bar === */
header {
  position: sticky; /* sticks to top on scroll */
  top: 0;
  z-index: 999;
  background-color: var(--papaya-whip);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

header2 {
  position: sticky; /* sticks to top on scroll */
  top: 0;
  z-index: 999;
  background-color: var(--bornomala);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Bottom border animation (controlled via JS) */
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: var(--border-width);
  background-color: var(--tan);
}

/* Header content layout */
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Text */
.logo {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 2.5rem;
  color: var(--sienna);
  letter-spacing: 1px;
}

/* Desktop Nav Menu */
nav {
  display: flex;
  gap: 2.5rem;
}

/* Nav Link Styling */
nav a {
  font-weight: bold;
  color: var(--sienna);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--black);
}

/* === Login Button === */
.login-btn {
  background-color: var(--sienna);
  color: var(--white);
  padding: 5px 18px;
  /* border-radius: 10%; */
  font-weight: 400;
  /* transition: all 0.3s ease; */
  text-decoration: none;
  margin-left: 1rem;
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 38px;
}

.login-btn:hover {
  background-color: var(--white);
  color: var(--sienna);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 60, 83, 0.3);
}

/* Hamburger Icon (hidden by default) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 26px;
  height: 3px;
  background: var(--black);
}

/* Mobile Nav Menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--sienna);
  padding: 1rem 2rem;
  border-top: 1px solid var(--tan);
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--papaya-whip);
  text-decoration: none;
}

  .mobile-nav a:hover {
    color: var(--sienna);
  }

  /* Mobile Login Button */
  .mobile-nav .login-btn {
    background-color: var(--sienna);
    color: var(--white);
    padding: 12px 20px;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    display: block;
  }

  .mobile-nav .login-btn:hover {
    background-color: var(--sienna);
    color: var(--white);
  }

/* === Main Content Wrapper === */
main {
  padding-left: 103px; /* space for fixed social sidebar */
  position: relative;
}

/* === Vertical Social Media Sidebar === */
.social-sidebar {
  position: absolute;
  width: 103px;
  top: 0;
  left: 0;
  z-index: 900;
  margin: 0 auto;
  padding: 2rem;
  height: 100%;
  background-color: var(--papaya-whip);
}

/* Sidebar right border animation */
.social-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: var(--border-height);
  width: 1px;
  background-color: var(--tan);
}

/* Sticky icon stack */
.social-sidebar nav {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
}

/* Individual Social Icons */
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sienna);
  border-radius: 50%;
  background-color: var(--papaya-whip);
  color: var(--sienna);
  transition: background 0.3s ease, color 0.3s ease;
}

.social-sidebar a:hover {
  background-color: var(--sienna);
  color: var(--papaya-whip);
}

.social-sidebar svg {
  width: 18px;
  height: 18px;
}

/* === Responsive Sidebar Behavior for Mobile === */
@media (max-width: 768px) {
  main {
    padding-left: 0;
  }

  .social-sidebar {
    position: sticky;
    top: unset;
    padding: 1rem;
    bottom: 0;
    width: 100%;
    height: 80px;
  }

  .social-sidebar nav {
    position: relative;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .social-sidebar::after {
    width: 100%;
    height: 1px;
  }
}

/* === Footer Section === */
footer {
  background: var(--tan);
  color: var(--black);
  padding: 3rem 2rem;
  min-height: 50vh;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo inside footer */
.footer-logo {
  font-family: "Veneer", serif;
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 1px;
}

/* Link and Contact Groups */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--black);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--tan);
}

/* === Responsive Header Behavior === */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav.show {
    display: flex;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: calc(50rem - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--papaya-whip);
  background-size: cover;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Big Heading Animation Target */
.hero-content h1 {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: clamp(8rem, 16vw, 12rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0.5rem 0;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--sienna);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.hero-content .line {
  display: block;
  width: 100%;
  text-align: left;
}

.hero-content .line:first-child {
  text-align: left;
  padding-left: 10%;
}

.hero-content .line:last-child {
  text-align: right;
  padding-right: 10%;
}

/* Bottle wrapper for scroll animation */
.hero-bottle-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  height: 45rem;
  width: 100%;
  z-index: 4;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Actual bottle image */
.hero-bottle {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: 90%;
  margin: 0 auto;
  filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.15));
  transform: rotate(20deg);
  transition: filter 0.3s ease;
}

/* Hero stamp image animation target */
.hero-stamp {
  position: absolute;
  left: 25%;
  top: 50%;
  right: 0;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(0deg) scale(100);
  opacity: 0;
  max-width: 150px;
  filter: brightness(0.5);
}

/* === Hero Slider Navigation === */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.slider-btn {
  background-color: rgba(27, 60, 83, 0.8);
  border: 2px solid var(--sienna);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background-color: var(--sienna);
  border-color: var(--tan);
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(27, 60, 83, 0.4);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-btn svg {
  color: var(--tan);
  transition: color 0.3s ease;
}

.slider-btn:hover svg {
  color: var(--white);
}

.prev-btn {
  margin-left: 2rem;
}

.next-btn {
  margin-right: 2rem;
}

@media (min-width: 1281px) and (max-width: 1480px) {
  .hero-bottle-wrapper {
    height: 40rem;
  }

  .hero-content .line:first-child {
    text-align: left;
    font-weight: 80;
    font-size: 10vw;
  }
  
  .hero-content .line:last-child {
    text-align: right;
    font-weight: 80;
    font-size: 10vw;
  }

  .hero-stamp {
    max-width: 90px;
  }

  .slider-btn {
    width: 55px;
    height: 55px;
  }

  .prev-btn {
    margin-left: 0.8rem;
  }

  .next-btn {
    margin-right: 0.8rem;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-bottle-wrapper {
    height: 35rem;
    margin-left: 3%;
  }

  .hero-content .line:first-child {
    text-align: left;
    font-weight: 80;
    font-size: 9vw;
  }
  
  .hero-content .line:last-child {
    text-align: right;
    font-weight: 80;
    font-size: 9vw;
  }

  .hero-stamp {
    max-width: 80px;
  }

  .slider-btn {
    width: 50px;
    height: 50px;
  }

  .prev-btn {
    margin-left: 0.8rem;
  }

  .next-btn {
    margin-right: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-bottle-wrapper {
    height: 27rem;
    margin-top: 10%;
    margin-left: 3%;
  }

  .hero-content .line:first-child {
    text-align: left;
    font-weight: 80;
    font-size: 9vw;
    margin-bottom: 10%;
  }
  
  .hero-content .line:last-child {
    text-align: right;
    font-weight: 80;
    font-size: 9vw;
  }

  .hero-stamp {
    max-width: 65px;
    padding-bottom: 10%;
  }

  .slider-btn {
    width: 45px;
    height: 45px;
  }

  .prev-btn {
    margin-left: 0.8rem;
  }

  .next-btn {
    margin-right: 0.8rem;
  }
}


@media (max-width: 768px) {
  .hero {
    min-height: calc(30rem - 80px);
  }

  /* Mobile slider navigation */
  .hero-slider-nav {
    padding: 0 1rem;
  }

  .hero-bottle-wrapper {
    height: 22rem;
    padding-right: 10%;
  }

  .hero-content .line:first-child {
    text-align: left;
    font-weight: 80;
    font-size: 8vw;
  }
  
  .hero-content .line:last-child {
    text-align: right;
    font-weight: 80;
    font-size: 8vw;
    padding-top: 10%;
  }

  .hero-stamp {
    max-width: 50px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
  }

  .prev-btn {
    margin-left: 0.7rem;
  }

  .next-btn {
    margin-right: 0.7rem;
  }

  .ingredients-table {
    content: "";
    display: table;
    clear: both;
  }

  .ingredient-item {
    float: left;
    width: 33.33%;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero-bottle-wrapper {
    height: 15rem;
    margin-top: 9%;
  }

  .hero-content .line:first-child {
    text-align: left;
    padding-left: 10%;
  }
  
  .hero-content .line:last-child {
    text-align: right;
    padding-right: 10%;
  }

  .ingredients-table {
    content: "";
    display: table;
    clear: both;
  }

  .ingredient-item {
    float: left;
    width: 33.33%;
    padding: 10px;
  }

  .hero-stamp {
    max-width: 30px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }

  .prev-btn {
    margin-left: 0.5rem;
  }

  .next-btn {
    margin-right: 0.5rem;
  }
}

/* === Intro Section (below hero) === */
.section-intro {
  background-color: var(--papaya-whip);
  border-top: 1px solid var(--tan);
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}

/* === Intro Section Grid Layout === */
.intro-grid {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  justify-content: space-between;
}

/* Left and Right Columns in Intro Section */
.intro-left,
.intro-right {
  max-width: 30%;
}

/* Section Label Above Main Heading */
.small-title {
  font-family: "Inter", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sienna-2);
  margin-bottom: 1rem;
}

/* Main Heading: Heritage Line */
.main-heading {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 4.5rem;
  line-height: 1.2;
  color: var(--sienna);
  margin-bottom: 1.5rem;
}

/* Intro Paragraph Description */
.description {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Call-to-Action Button */
.cta-box {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--sienna);
  background-color: var(--sienna);
  color: var(--papaya-whip);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-box:hover {
  background-color: var(--papaya-whip);
  color: var(--sienna);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-heading {
    font-size: 3rem;
  }

  .description {
    font-size: 1.2rem;
  }
}

/* === Responsive Intro Section === */
@media (max-width: 768px) {
  .intro-grid {
    text-align: center;
    flex-direction: column;
    gap: 5rem;
  }

  .intro-left,
  .intro-right {
    max-width: 100%;
    width: 100%;
  }

  .intro-left {
    padding-right: 0;
  }

  .main-heading {
    font-size: 2.5rem;
  }
}

/* === Ingredients Log Container === */
.ingredients-log {
  background: transparent;
  padding: 1rem 0;
}

/* Ingredients Section Title */
.ingredients-title {
  font-family: "Veneer", serif;
  font-size: 1.75rem;
  color: var(--sienna);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
}

/* Single Ingredient Entry Layout */
.ingredient-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Quantity Value (e.g. 500ml) */
.ingredient-qty {
  font-family: "Veneer", serif;
  font-size: 2.5rem;
  color: var(--sienna-2);
  min-width: 90px;
  text-align: left;
  line-height: 1;
}

/* Textual Description of Ingredient */
.ingredient-text {
  max-width: 400px;
}

.ingredient-text strong {
  font-family: "Veneer", serif;
  font-size: 1.2rem;
  color: var(--sienna);
  display: block;
  margin-bottom: 0.2rem;
}

.ingredient-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

/* === Responsive Ingredients Layout === */
@media (min-width: 769px) and (max-width: 1024px) {
  .ingredient-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .ingredient-qty {
    font-size: 2rem;
    text-align: center;
  }

  .ingredient-text {
    max-width: 100%;
  }

  .ingredients-title {
    justify-content: flex-start;
    text-align: flex-start;
    font-size: 2rem;
  }
}

/* === Responsive Ingredients Layout === */
@media (max-width: 768px) {
  .ingredient-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .ingredient-qty {
    font-size: 2rem;
    text-align: center;
  }

  .ingredient-text {
    max-width: 100%;
  }

  .ingredients-title {
    text-align: center;
    font-size: 2.5rem;
  }
}

/* === Timeline Section === */
.timeline-section {
  padding: 6rem 0rem 3rem;
  border-top: 1px solid var(--tan);
  display: flex;
  flex-direction: column;
}

/* Each Timeline Entry Block */
.timeline-entry {
  margin: 0;
  padding: 0 2rem 0;
  display: flex;
  gap: 3rem;
  align-items: center;
  min-height: 600px;
  max-width: 70%;
}

/* Alternate Entry Layout (odd/even) */
.timeline-entry:nth-child(odd) {
  margin-left: auto;
}

.timeline-entry:nth-child(odd) .timeline-left {
  order: 2;
}

.timeline-entry:nth-child(odd) .timeline-right {
  order: 1;
}

.timeline-entry:nth-child(even) {
  margin-right: auto;
}

.timeline-entry:last-child {
  margin-bottom: 0rem;
}

/* Main Section Title (Big Year Heading) */
.timeline-main-title {
  padding: 0 2rem 0rem;
  font-weight: 100;
  font-family: "Veneer", serif;
  font-size: 10rem;
  line-height: 1.2;
  color: var(--sienna);
  margin-bottom: 2.5rem;
}

/* Left Side of Timeline: Year + Image */
.timeline-left {
  flex: 0 0 300px;
  text-align: center;
}

.timeline-date {
  font-family: "Veneer", serif;
  font-size: 4rem;
  color: var(--sienna);
  line-height: 1;
  transform: translateY(30px); /* initial offset for animation */
}

.timeline-img {
  width: 100%;
  max-width: 240px;
  border: 3px solid var(--sienna-2);
  padding: 0.5rem;
  background-color: var(--papaya-whip);
  box-shadow: 4px 4px 0 var(--sienna);
}

/* Right Side of Timeline: Text Content */
.timeline-right {
  flex: 1;
  max-width: 400px;
}

.timeline-title {
  font-family: "Veneer", serif;
  font-size: 2rem;
  color: var(--sienna-2);
  margin-bottom: 1rem;
}

.timeline-description {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
}
/* === Responsive Ingredients Layout === */
@media (min-width: 769px) and (max-width: 1024px) {
  .timeline-main-title {
    font-size: 6rem;
    text-align: center;
  }
}

/* === Responsive Timeline Section === */
@media (max-width: 768px) {
  .timeline-section {
    padding: 3rem 0rem 3rem;
  }

  .timeline-main-title {
    font-size: 4rem;
    text-align: center;
  }

  .timeline-entry {
    flex-direction: column;
    text-align: center;
    margin: 0 auto 2rem;
    gap: 1rem;
    max-width: 100%;
    min-height: unset;
  }

  .timeline-left {
    margin-bottom: 2rem;
  }

  .timeline-title {
    font-size: 1.5rem;
  }

  .timeline-date {
    font-size: 3rem;
  }

  .timeline-entry:nth-child(odd) .timeline-right {
    order: 2;
  }
}

/* === Products Section === */
.products-section {
  background-color: var(--papaya-whip);
  padding: 5rem 0;
  position: relative;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.products-title {
  font-family: "Veneer", serif;
  font-size: 3.5rem;
  color: var(--sienna);
  text-align: center;
  margin-bottom: 1rem;
}

.products-subtitle {
  font-size: 1.2rem;
  color: var(--sienna-2);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: var(--tan);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.product-name {
  font-family: "Veneer", serif;
  font-size: 1.8rem;
  color: var(--sienna);
  margin: 0;
  font-weight: 600;
}

.product-weight {
  font-size: 0.9rem;
  color: var(--sienna-2);
  margin: 0;
  font-weight: 500;
}

.product-description {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.product-price {
  font-size: 2rem;
  color: var(--sienna);
  font-weight: 700;
  margin: 0.5rem 0;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-btn, .buy-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-btn {
  background-color: transparent;
  color: var(--sienna);
  border: 2px solid var(--sienna);
}

.cart-btn:hover {
  background-color: var(--sienna);
  color: var(--white);
}

.buy-btn {
  background-color: var(--sienna);
  color: var(--white);
  border: 2px solid var(--sienna);
}

.buy-btn:hover {
  background-color: var(--sienna-2);
  border-color: var(--sienna-2);
  transform: translateY(-2px);
}

/* === Responsive Products === */
@media (max-width: 768px) {
  .products-section {
    padding: 3rem 0;
  }

  .products-container {
    padding: 0 1rem;
  }

  .products-title {
    font-size: 2.5rem;
  }

  .products-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-image {
    height: 200px;
  }

  .product-content {
    padding: 1rem;
  }

  .product-name {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.8rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cart-btn, .buy-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-title {
    font-size: 2rem;
  }

  .product-name {
    font-size: 1.3rem;
  }

  .product-price {
    font-size: 1.6rem;
  }
}

/* === Testimonials Section === */
.testimonials-section {
  background-color: var(--papaya-whip);
  padding: 5rem 0;
  position: relative;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials-title {
  font-family: "Veneer", serif;
  font-size: 3.5rem;
  color: var(--sienna);
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-subtitle {
  font-size: 1.2rem;
  color: var(--sienna-2);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-item {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.customer-name {
  font-size: 0.9rem;
  color: var(--sienna-2);
  font-weight: 600;
  margin-top: auto;
}

.testimonials-cta {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonials-cta p {
  font-size: 1.1rem;
  color: var(--sienna);
  margin-bottom: 1rem;
  font-weight: 600;
}

.facebook-link {
  display: inline-block;
  background-color: #1877f2;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.facebook-link:hover {
  background-color: #166fe5;
  color: white;
}

/* === Responsive Testimonials === */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonials-container {
    padding: 0 1rem;
  }

  .testimonials-title {
    font-size: 2.5rem;
  }

  .testimonials-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .testimonial-item {
    padding: 1rem;
  }

  .testimonial-image {
    height: 150px;
  }

  .testimonials-cta {
    padding: 1.5rem;
  }

  .facebook-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .testimonials-title {
    font-size: 2rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonials-cta p {
    font-size: 1rem;
  }
}

/* === Footer Section === */
footer {
  background-color: var(--sienna);
  color: var(--white);
  padding: 3rem 0 2rem;
}

/* Footer sienna color override for index2.html */
body footer {
  background-color: var(--sienna) !important;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  font-family: "Veneer", serif;
  font-size: 2.5rem;
  color: var(--tan);
  text-align: center;
  margin-bottom: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-contact h3,
.footer-map h3 {
  font-size: 1.5rem;
  color: var(--tan);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-item {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-item strong {
  color: var(--tan);
  font-size: 1rem;
  font-weight: 600;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--tan);
}

.contact-item span {
  color: var(--white);
  font-size: 1rem;
}

.footer-map {
  width: 100%;
}

.footer-map iframe {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* === Responsive Footer === */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-inner {
    padding: 0 1rem;
  }

  .footer-logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-contact h3,
  .footer-map h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .contact-item {
    margin-bottom: 0.8rem;
  }

  .contact-item strong {
    font-size: 0.9rem;
  }

  .contact-item a,
  .contact-item span {
    font-size: 0.9rem;
  }

  .footer-map iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    font-size: 1.8rem;
  }

  .footer-contact h3,
  .footer-map h3 {
    font-size: 1.2rem;
  }

  .footer-map iframe {
    height: 200px;
  }
}

/* === Login Modal === */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-modal.active {
  display: flex;
  opacity: 1;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.login-container {
  position: relative;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.3s ease;
}

.login-modal.active .login-container {
  transform: scale(1) translateY(0);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--sienna);
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--sienna-2);
}

.login-forms {
  position: relative;
  padding: 40px;
}

.login-form {
  display: none;
  animation: fadeIn 0.5s ease;
}

.login-form.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-family: "Veneer", serif;
  font-size: 2.2rem;
  color: var(--sienna);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--sienna-2);
  font-size: 1rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  background-color: var(--white);
  transition: all 0.3s ease;
  outline: none;
}

.input-group input:focus {
  border-color: var(--sienna);
  box-shadow: 0 0 0 3px rgba(27, 60, 83, 0.1);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  transform: translateY(-25px) scale(0.85);
  color: var(--sienna);
}

.input-group label {
  position: absolute;
  left: 20px;
  top: 15px;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: var(--white);
  padding: 0 5px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--sienna-2);
}

.checkbox input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox input:checked + .checkmark {
  background-color: var(--sienna);
  border-color: var(--sienna);
}

.checkbox input:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.forgot-link {
  color: var(--sienna);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--sienna-2);
}

.submit-btn {
  background: linear-gradient(135deg, var(--sienna), var(--sienna-2));
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 60, 83, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.switch-form {
  text-align: center;
  margin-top: 20px;
  color: var(--sienna-2);
  font-size: 0.9rem;
}

.switch-form a {
  color: var(--sienna);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.switch-form a:hover {
  color: var(--sienna-2);
}

/* === Responsive Login Modal === */
@media (max-width: 768px) {
  .login-container {
    width: 95%;
    max-width: none;
    margin: 20px;
  }

  .login-forms {
    padding: 30px 25px;
  }

  .form-header h2 {
    font-size: 1.8rem;
  }

  .input-group input {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .input-group label {
    left: 15px;
    top: 12px;
    font-size: 0.9rem;
  }

  .form-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .submit-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .login-forms {
    padding: 25px 20px;
  }

  .form-header h2 {
    font-size: 1.6rem;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 25px;
  }
}

/* === Cart Icon === */
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sienna);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-icon:hover {
  color: var(--sienna-2);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  min-width: 20px;
}

.cart-icon svg {
  width: 24px;
  height: 24px;
}

.mobile-cart {
  flex-direction: row;
  gap: 10px;
  padding: 12px 20px;
}

/* === Profile Icon === */
.profile-container {
  position: relative;
  display: inline-block;
}

.profile-icon {
  background: none;
  border: none;
  cursor: pointer;
  /* padding: 8px;
  border-radius: 50%; */
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-icon:hover {
  background-color: rgba(27, 60, 83, 0.1);
}

.profile-icon img {
  width: 45px;
  height: 45px;
  /* border-radius: 50%; */
  object-fit: cover;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--sienna);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.profile-option:last-child {
  border-bottom: none;
}

.profile-option:hover {
  background-color: rgba(27, 60, 83, 0.05);
}

.profile-option.logout-option {
  color: #dc3545;
}

.profile-option.logout-option:hover {
  background-color: rgba(220, 53, 69, 0.05);
}

.profile-option svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* === Mobile Profile === */
.mobile-profile-btn {
  flex-direction: row;
  gap: 10px;
  padding: 12px 20px;
  width: 100%;
  justify-content: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sienna);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.mobile-profile-btn:hover {
  background-color: rgba(27, 60, 83, 0.05);
}

.mobile-profile-dropdown {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background-color: rgba(27, 60, 83, 0.05);
  margin: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

.mobile-profile-dropdown .profile-option {
  padding: 12px 40px;
  border-bottom: 1px solid rgba(27, 60, 83, 0.1);
}

.mobile-profile-dropdown .profile-option:last-child {
  border-bottom: none;
}

.mobile-login-btn {
  padding: 12px 20px;
}

/* === Cart Page === */
.cart-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-page.active {
  display: flex;
  opacity: 1;
}

.cart-container {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.3s ease;
}

.cart-page.active .cart-container {
  transform: scale(1) translateY(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
}

.cart-header h2 {
  font-family: "Veneer", serif;
  font-size: 2rem;
  color: var(--sienna);
  margin: 0;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--sienna);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-cart-btn:hover {
  color: var(--sienna-2);
}

.cart-content {
  max-height: 60vh;
  overflow-y: auto;
}

.cart-items {
  padding: 20px 30px;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--sienna-2);
}

.empty-cart svg {
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-cart h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h4 {
  font-size: 1.1rem;
  color: var(--sienna);
  margin: 0 0 5px 0;
}

.item-price {
  color: var(--sienna-2);
  margin: 0;
  font-size: 0.9rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 5px;
}

.quantity-controls button {
  background-color: var(--sienna);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.quantity-controls button:hover {
  background-color: var(--sienna-2);
}

.quantity-controls span {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff4444;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.remove-btn:hover {
  color: #cc0000;
}

.cart-item-total {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--sienna);
  text-align: right;
}

.cart-summary {
  padding: 20px 30px;
  border-top: 2px solid var(--sienna);
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.delivery-area-selection {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-area-selection label {
  font-weight: bold;
  color: var(--sienna);
  font-size: 14px;
}

.delivery-area-selection select {
  padding: 8px 12px;
  border: 2px solid var(--sienna);
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
  color: var(--sienna);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.delivery-area-selection select:focus {
  outline: none;
  border-color: #ff6b35;
}

.cart-breakdown {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
}

.cart-breakdown .breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.cart-breakdown .breakdown-item:last-child {
  border-bottom: none;
}

.cart-breakdown .breakdown-item.total {
  font-weight: bold;
  font-size: 16px;
  color: var(--sienna);
  border-top: 2px solid var(--sienna);
  margin-top: 10px;
  padding-top: 10px;
}

.cart-summary-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.cart-total h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--sienna);
}

.proceed-btn {
  background: linear-gradient(135deg, var(--sienna), var(--sienna-2));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.proceed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 60, 83, 0.3);
}

/* === Cart Notification === */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background-color: var(--white);
  border: 2px solid #4CAF50;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.cart-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  color: #4CAF50;
  font-weight: 600;
}

.notification-content svg {
  width: 20px;
  height: 20px;
}

/* === Responsive Cart === */
@media (max-width: 768px) {
  .cart-container {
    width: 95%;
    margin: 10px;
  }

  .cart-header {
    padding: 15px 20px;
  }

  .cart-header h2 {
    font-size: 1.5rem;
  }

  .cart-items {
    padding: 15px 20px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  .cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cart-summary {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .delivery-area-selection {
    text-align: left;
  }
  
  .cart-breakdown {
    margin: 10px 0;
  }
  
  .cart-summary-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cart-notification {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }

  .cart-notification.show {
    transform: translateY(0);
  }
}

/* === Confirmation Page === */
.confirmation-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirmation-page.active {
  display: flex;
  opacity: 1;
}

.confirmation-container {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.3s ease;
}

.confirmation-page.active .confirmation-container {
  transform: scale(1) translateY(0);
}

.confirmation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
}

.confirmation-header h2 {
  font-family: "Veneer", serif;
  font-size: 2rem;
  color: var(--sienna);
  margin: 0;
}

.close-confirmation-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--sienna);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-confirmation-btn:hover {
  color: var(--sienna-2);
}

.confirmation-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 30px;
}

.order-summary {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.order-summary h3 {
  font-family: "Veneer", serif;
  font-size: 1.5rem;
  color: var(--sienna);
  margin: 0 0 15px 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
  border-bottom: none;
}

.item-name {
  color: var(--black);
  font-weight: 500;
}

.item-price {
  color: var(--sienna);
  font-weight: 600;
}

.order-total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--sienna);
  text-align: right;
  font-size: 1.2rem;
  color: var(--sienna);
}

.confirmation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.confirmation-form h3 {
  font-family: "Veneer", serif;
  font-size: 1.5rem;
  color: var(--sienna);
  margin: 0 0 10px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--sienna);
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sienna);
  box-shadow: 0 0 0 3px rgba(27, 60, 83, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.payment-option {
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background-color: var(--white);
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--sienna);
}

.payment-option input[type="radio"]:checked + .payment-label {
  border-color: var(--sienna);
  background-color: rgba(27, 60, 83, 0.1);
  color: var(--sienna);
}

.payment-label:hover {
  border-color: var(--sienna);
  background-color: rgba(27, 60, 83, 0.05);
}

.payment-label svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

.back-btn {
  background-color: transparent;
  color: var(--sienna);
  border: 2px solid var(--sienna);
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: var(--sienna);
  color: var(--white);
}

.confirm-btn {
  background: linear-gradient(135deg, var(--sienna), var(--sienna-2));
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 60, 83, 0.3);
}

.confirm-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.confirm-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* === Responsive Confirmation Page === */
@media (max-width: 768px) {
  .confirmation-container {
    width: 98%;
    margin: 5px;
  }

  .confirmation-header {
    padding: 15px 20px;
  }

  .confirmation-header h2 {
    font-size: 1.5rem;
  }

  .confirmation-content {
    padding: 20px;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .back-btn,
  .confirm-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .confirmation-content {
    padding: 15px;
  }

  .confirmation-header h2 {
    font-size: 1.3rem;
  }

  .order-summary {
    padding: 15px;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .order-total {
    text-align: center;
  }
}

/* === Logout Confirmation Modal === */
.logout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logout-modal.active {
  display: flex;
  opacity: 1;
}

.logout-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.logout-modal-container {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.logout-modal.active .logout-modal-container {
  transform: scale(1) translateY(0);
}

.logout-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
}

.logout-modal-header h3 {
  font-family: "Veneer", serif;
  font-size: 1.5rem;
  color: var(--sienna);
  margin: 0;
}

.close-logout-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--sienna);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-logout-btn:hover {
  color: var(--sienna-2);
}

.logout-modal-content {
  padding: 30px;
  text-align: center;
}

.logout-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: #dc3545;
}

.logout-modal-content p {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: var(--black);
}

.logout-warning {
  font-size: 0.9rem !important;
  color: #666 !important;
  margin-bottom: 0 !important;
}

.logout-modal-actions {
  display: flex;
  gap: 15px;
  padding: 0 30px 30px 30px;
}

.cancel-logout-btn {
  flex: 1;
  background-color: transparent;
  color: var(--sienna);
  border: 2px solid var(--sienna);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-logout-btn:hover {
  background-color: var(--sienna);
  color: var(--white);
}

.confirm-logout-btn {
  flex: 1;
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.confirm-logout-btn:hover {
  background-color: #c82333;
  transform: translateY(-1px);
}

/* === Responsive Logout Modal === */
@media (max-width: 768px) {
  .logout-modal-container {
    width: 95%;
    margin: 10px;
  }

  .logout-modal-header {
    padding: 15px 20px;
  }

  .logout-modal-header h3 {
    font-size: 1.3rem;
  }

  .logout-modal-content {
    padding: 20px;
  }

  .logout-modal-actions {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 20px 20px;
  }

  .cancel-logout-btn,
  .confirm-logout-btn {
    width: 100%;
  }
}

/* === Profile Page Styles === */
.profile-main {
  min-height: 100vh;
  background-color: var(--papaya-whip);
  padding: 2rem 0;
}

.profile-container-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Profile Header */
.profile-header {
  background-color: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--sienna);
  box-shadow: 0 8px 25px rgba(27, 60, 83, 0.2);
}

.change-avatar-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--sienna);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 60, 83, 0.3);
}

.change-avatar-btn:hover {
  background-color: var(--sienna-2);
  transform: scale(1.1);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-family: "Veneer", serif;
  font-size: 2.5rem;
  color: var(--sienna);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.profile-email {
  font-size: 1.1rem;
  color: var(--sienna-2);
  margin: 0 0 0.5rem 0;
}

.profile-join-date {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.profile-actions {
  display: flex;
  gap: 1rem;
}

.edit-profile-btn {
  background: linear-gradient(135deg, var(--sienna), var(--sienna-2));
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 60, 83, 0.3);
}

/* Profile Content */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-section {
  background-color: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--tan);
}

.section-header h2 {
  font-family: "Veneer", serif;
  font-size: 1.8rem;
  color: var(--sienna);
  margin: 0;
  font-weight: 600;
}

.section-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.section-edit-btn, .section-save-btn, .section-cancel-btn {
  background-color: transparent;
  color: var(--sienna);
  border: 2px solid var(--sienna);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-edit-btn:hover, .section-save-btn:hover {
  background-color: var(--sienna);
  color: var(--white);
}

.section-save-btn {
  background-color: #28a745;
  color: var(--white);
  border-color: #28a745;
}

.section-save-btn:hover {
  background-color: #218838;
  border-color: #218838;
}

.section-cancel-btn {
  background-color: #dc3545;
  color: var(--white);
  border-color: #dc3545;
}

.section-cancel-btn:hover {
  background-color: #c82333;
  border-color: #c82333;
}

.view-all-orders {
  color: var(--sienna);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.view-all-orders:hover {
  color: var(--sienna-2);
}

/* Profile Form */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--sienna);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--sienna);
  box-shadow: 0 0 0 3px rgba(27, 60, 83, 0.1);
}

.form-group input[readonly] {
  background-color: #f8f9fa;
  color: #666;
  cursor: not-allowed;
}

.form-group select[disabled] {
  background-color: #f8f9fa;
  color: #666;
  cursor: not-allowed;
}

/* Checkbox Styling */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--black);
  gap: 12px;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-label .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: var(--sienna);
  border-color: var(--sienna);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Order History */
.order-history {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.order-item:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-info h3 {
  font-size: 1.1rem;
  color: var(--sienna);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.order-date {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem 0;
}

.order-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-status.delivered {
  background-color: #d4edda;
  color: #155724;
}

.order-status.processing {
  background-color: #fff3cd;
  color: #856404;
}

.order-status.shipped {
  background-color: #cce5ff;
  color: #004085;
}

.order-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sienna);
}

/* Profile Actions Bottom */
.profile-actions-bottom {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.save-changes-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-changes-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.cancel-changes-btn {
  background-color: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cancel-changes-btn:hover {
  background-color: #dc3545;
  color: var(--white);
}

/* Edit Mode Styles */
.edit-mode input:not([readonly]),
.edit-mode select:not([disabled]) {
  background-color: var(--white);
  border-color: var(--sienna);
  color: var(--black);
  cursor: text;
}

.edit-mode input[readonly],
.edit-mode select[disabled] {
  background-color: #f8f9fa;
  color: #666;
  cursor: not-allowed;
}

/* Responsive Profile Page */
@media (max-width: 768px) {
  .profile-main {
    padding: 1rem 0;
  }

  .profile-container-page {
    padding: 0 1rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .profile-avatar img {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-actions {
    flex-direction: column;
    width: 100%;
  }

  .edit-profile-btn {
    width: 100%;
    justify-content: center;
  }

  .profile-section {
    padding: 1.5rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .order-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .profile-actions-bottom {
    flex-direction: column;
  }

  .save-changes-btn,
  .cancel-changes-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .profile-header {
    padding: 1rem;
  }

  .profile-section {
    padding: 1rem;
  }

  .profile-name {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}
