@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Lato:wght@400;500&display=swap&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Dongle&display=swap');
:root {
  --maroon: #95122c;
  --tan: #fce3aa;
  --bg-light: #faf3e0;
  --bg-inset: #fdfaf3;
  --text-light: #885c67;
  --text-dark: #333;
}

.grecaptcha-badge {
  visibility: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #95122c;
  background-color: #faf3e0;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

body.noscroll {
  overflow: hidden;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #95122c;
  padding: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  display: none;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-content i {
  font-size: 40px;
  color: #faf3e0;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  color: #faf3e0;
  text-align: left;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text strong {
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

.cookie-text a {
  color: #ff9408;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #faf3e0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-accept,
.btn-decline {
  padding: 10px 24px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-accept {
  background: #faf3e0;
  color: #95122c;
}

.btn-accept:hover {
  background: #ff9408;
  color: white;
}

.btn-decline {
  background: transparent;
  color: #faf3e0;
  border: 2px solid #faf3e0;
}

.btn-decline:hover {
  background: rgba(250, 243, 224, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-content i {
    font-size: 30px;
  }

  .cookie-text {
    text-align: center;
  }

  .cookie-text p {
    font-size: 13px;
  }

  .cookie-text strong {
    font-size: 15px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-accept,
  .btn-decline {
    width: 100%;
  }
}

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

  .cookie-text p {
    font-size: 12px;
  }
}

#preloader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  /* transparent or frosted */
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader img {
  width: 80px;
  height: 80px;
  animation: spin 1.2s linear infinite;
  transition: transform 1s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Fade out + slow spin */
#preloader.fade-out img {
  animation: spin-slow 1.5s ease-out 1 forwards;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(180deg);
  }
}

.back-button {
  position: absolute;
  /* Allows precise positioning */
  top: 30px;
  left: 40px;

  /* Styling for the icon */
  font-size: 24px;
  color: #95122c;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.back-button:hover {
  opacity: 0.7;
}

.login-card {
  background-color: #fce3aa;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
}

.login-logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 20px;
}

.login-header {
  text-align: left;
}

.login-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #95122c;
  margin: 0;
}

.login-header .login-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #95122c;
  margin-top: 5px;
  margin-bottom: 25px;
}

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

.login-form input,
.login-form button {
  width: 100%;
  box-sizing: border-box;
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
}

.login-form input {
  border: 1px solid #95122c;
  padding: 10px 15px;
  background: #fce3aa;
  font-family: "Poppins", sans-serif;
}

.login-form input::placeholder {
  color: #95122c;
}

.login-form button {
  border: none;
  background-color: #95122c;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-form button:hover {
  background-color: #b73650;
}

.login-footer {
  display: flex;
  justify-content: flex-start;
  /* THIS IS THE FINAL CHANGE */
  gap: 25px;
  margin-top: 25px;
}

.login-footer a {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #95122c;
  text-decoration: none;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

/* Adjust password input padding to make space for the icon */
.login-form input[type="password"],
.login-form input[type="text"]#password {
  /* Target by id when text */
  padding-right: 45px;
  /* Add space on the right */
}

/* Style for the toggle icon */
#togglePassword {
  position: absolute;
  top: 50%;
  right: 15px;
  /* Position icon on the right */
  transform: translateY(-50%);
  cursor: pointer;
  color: #95122c;
  font-size: 18px;
}

#toggleConfirmPassword {
  position: absolute;
  top: 50%;
  right: 15px;
  /* Position icon on the right */
  transform: translateY(-50%);
  cursor: pointer;
  color: #95122c;
  font-size: 18px;
}

.forgot-password-link {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #95122c;
  text-decoration: none;
  align-self: flex-end;
  /* Aligns this item to the right */
  margin-top: -10px;
  /* Pulls it closer to the password box */
  transition: opacity 0.3s ease;
}

.forgot-password-link:hover {
  opacity: 0.7;
}

.error-message {
  color: #c00;
  /* Red color for errors */
  font-size: 12px;
  margin-top: -15px;
  /* Pulls message closer to the input */
  margin-left: 5px;
  height: 14px;
  /* Reserve space to prevent layout jump */
  display: block;
}

.login-form input.input-error {
  border-color: #c00;
  /* Highlight input with error */
}

/* --- Top Banner --- */
.top-banner {
  background: #95122c;
  color: #ffffff;
  padding: 15px 20px;
  text-align: center;
  overflow: hidden;
}

.banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.banner-text {
  font-size: 14px;
  color: #ffffff;
  white-space: nowrap;
}

.features-scroll-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  /* Safari smooth scrolling */
}

.features-scroll {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: scroll 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  /* Safari performance fix */
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  /* Safari GPU acceleration */
  -webkit-transform: translateZ(0);
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 10px;
  font-size: 16px;
  color: #faf3e0;
  flex-shrink: 0;
  backface-visibility: hidden;
  /* Prevent flicker */
  -webkit-backface-visibility: hidden;
}

/* Safari-compatible animation */
@keyframes scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Fallback for older Safari */
@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

/* Prevent animation pause on Safari */
.features-scroll {
  animation-play-state: running !important;
  -webkit-animation: scroll 30s linear infinite;
  animation: scroll 30s linear infinite;
}

/* Toast Notification System */
#toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid;
  animation: slideIn 0.3s ease-out;
  position: relative;
  min-width: 300px;
}

.toast.success {
  border-left-color: #28a745;
  background: #d4edda;
}

.toast.error {
  border-left-color: #dc3545;
  background: #f8d7da;
}

.toast.warning {
  border-left-color: #ffc107;
  background: #fff3cd;
}

.toast.info {
  border-left-color: #17a2b8;
  background: #d1ecf1;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #28a745;
}

.toast.error .toast-icon {
  color: #dc3545;
}

.toast.warning .toast-icon {
  color: #ffc107;
}

.toast.info .toast-icon {
  color: #17a2b8;
}

.toast-content {
  flex: 1;
  color: #333;
}

.toast-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  color: #333;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast.removing {
  animation: slideOut 0.3s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  #toast-container {
    top: 70px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    min-width: auto;
    padding: 14px 16px;
  }

  .toast-icon {
    font-size: 18px;
  }

  .toast-title {
    font-size: 14px;
  }

  .toast-message {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #toast-container {
    top: 60px;
  }

  .toast {
    padding: 12px 14px;
  }
}

/* Confirmation Modal */
.confirm-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.confirm-modal.show {
  display: flex;
}

.confirm-modal-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.confirm-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #fff3cd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-icon i {
  font-size: 30px;
  color: #ffc107;
}

.confirm-modal-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #95122c;
  margin-bottom: 10px;
}

.confirm-modal-content p {
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.confirm-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-cancel,
.btn-confirm {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: #f0f0f0;
  color: #666;
}

.btn-cancel:hover {
  background: #e0e0e0;
}

.btn-confirm {
  background: #95122c;
  color: white;
}

.btn-confirm:hover {
  background: #7a0f23;
}

/* Responsive */
@media (max-width: 480px) {
  .confirm-modal-content {
    padding: 25px 20px;
  }

  .confirm-modal-content h3 {
    font-size: 20px;
  }

  .confirm-modal-content p {
    font-size: 14px;
  }

  .confirm-buttons {
    flex-direction: column;
    width: 100%;
  }

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

/* --- Header, Nav, and Sidebar --- */
.main-header {
  position: relative;
  background-color: #faf3e0;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
}

.hamburger-menu {
  cursor: pointer;
  justify-self: start;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #95122c;
  border-radius: 3px;
}

.logo {
  justify-self: center;
}

.logo-image {
  width: 150px;
  height: auto;
}

.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-self: end;
}

.nav-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-color: #95122c;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.user-icon {
  -webkit-mask-image: url("https://api.iconify.design/ph/user.svg");
  mask-image: url("https://api.iconify.design/ph/user.svg");
}

.search-icon {
  -webkit-mask-image: url("https://api.iconify.design/ph/magnifying-glass.svg");
  mask-image: url("https://api.iconify.design/ph/magnifying-glass.svg");
}

.cart-icon {
  -webkit-mask-image: url("https://api.iconify.design/ph/shopping-bag.svg");
  mask-image: url("https://api.iconify.design/ph/shopping-bag.svg");
}

.cart-link {
  position: relative;
  display: inline-block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #95122c;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  text-align: center;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cart-count {
    top: -5px;
    right: -5px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    padding: 2px 5px;
  }
}

/* --- NEW: Profile Dropdown Menu --- */

.profile-menu {
  position: relative;
  /* Anchors the absolute dropdown */
  display: inline-block;
}

/* --- The Icon & Arrow you hover on --- */
.profile-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Space between icon and arrow */
  color: #95122c;
}

.profile-trigger .fa-user-circle {
  font-size: 28px;
  /* Size of the user icon */
}

.profile-trigger .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* --- The Dropdown Box --- */
.dropdown-content {
  display: none;
  /* Hidden by default */
  position: absolute;
  top: 150%;
  /* Position below the icon */
  right: -45px;
  /* Align to the right */
  background-color: #fdfaf3;
  /* Matches screenshot */
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 100;
  font-family: "Poppins", sans-serif;
  /* Ensure font */
}

/* --- NEW: Click/Touch Toggle Classes --- */
.dropdown-content.show {
  display: block;
  /* Show dropdown */
}

.profile-trigger .fa-chevron-down.rotate {
  transform: rotate(180deg);
  /* Flip arrow */
}

/* --- Dropdown: User Info Section --- */
.dropdown-user-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.user-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fce3aa;
  color: #95122c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  margin-right: 15px;
}

.user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.user-name {
  font-weight: 600;
  color: #333;
  /* Darker for name */
  font-size: 16px;
}

.user-email {
  font-size: 12px;
  color: #777;
  /* Grey for email */
}

/* --- Dropdown: Divider Line --- */
.dropdown-divider {
  border: 0;
  height: 1px;
  background-color: #eee;
  margin: 15px 0;
}

/* --- Dropdown: Links --- */
.dropdown-content a {
  display: block;
  text-decoration: none;
  color: #95122c;
  font-size: 16px;
  padding: 10px 5px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #fce3aa;
  /* Hover color */
}

/* --- PROFILE PAGE LAYOUT --- */
.profile-container {
  max-width: 900px;
  padding: 110px 20px;
  margin: auto;
}

.profile-container h1 {
  font-size: 2.5rem;
  /* 40px */
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--maroon);
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Space between cards */
  /* padding: 100px 20px; */
}

/* --- REUSABLE CARD (Based on your screenshot) --- */
.profile-card {
  background-color: var(--tan);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  /* Creates the line from the screenshot */
  border-bottom: 1px solid rgba(149, 18, 44, 0.1);
}

/* Special case for the first card-header (Name) which has no line */
.profile-card.info-card .card-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.card-header h2 {
  font-size: 1.5rem;
  /* 24px */
  font-weight: 600;
  color: var(--maroon);
}

.card-header .action-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--maroon);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.card-header .action-link:hover {
  opacity: 0.7;
}

.card-header .action-link .fa-pen {
  font-size: 0.9rem;
  /* Make edit icon smaller */
}

/* --- INFO DISPLAY STYLES --- */
.info-display-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-field .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.info-field .value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--maroon);
}

/* This hides elements by default for toggling */
.hidden {
  display: none;
}

/* --- FORM STYLES (Using your existing classes) --- */
.form-row {
  display: flex;
  gap: 30px;
}

.input-group {
  width: 100%;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--maroon);
}

.input-group input,
.input-group textarea {
  width: 100%;
  border: 1px solid var(--maroon);
  border-radius: 6px;
  background: transparent;
  padding: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  outline: none;
  color: var(--maroon);
}

.input-group input::placeholder {
  color: var(--text-light);
}

/* --- NEW: Form Button Styles --- */
.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--maroon);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
}

.btn-primary:hover {
  background-color: #b73650;
  border-color: #b73650;
}

.btn-secondary {
  background: transparent;
  color: var(--maroon);
}

.btn-secondary:hover {
  background: rgba(149, 18, 44, 0.1);
}

/* --- EMPTY STATE (from your screenshot) --- */
.empty-state {
  background-color: var(--bg-inset);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-style: italic;
}

.empty-state .fa-info-circle {
  font-size: 1.2rem;
}

/* --- PROFILE RESPONSIVE STYLES --- */
/* @media (min-width: 2000px) {
  .profile-content {
    padding: 100px 700px;
  }
}

@media (max-width: 1200px) {
  .profile-content {
    padding: 100px;
  }
} */

@media (max-width: 768px) {
  /* .profile-content {
    padding: 80px;
  } */

  .form-row {
    flex-direction: column;
    gap: 0;
    /* No gap as .input-group has margin-bottom */
  }

  .form-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* @media (max-width: 548px) {
  .profile-content {
    padding: 100px 30px 0;
  }
} */

/* --- Sidebar Styles --- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #faf3e0;
  padding: 15px 30px 30px;
  /* Reduced top padding from 20px to 15px */
  transition: transform 0.4s ease-in-out;
  z-index: 1001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* Reduced from 40px to 25px */
  transform: translateX(-100%);
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-close {
  align-self: flex-start;
  margin: 0 0 10px 0;
  /* Reduced from 20px to 10px */
  font-size: 28px;
  font-weight: 300;
  color: #95122c;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 243, 224, 0.9);
  border-radius: 50%;
  position: static;
}

/* Fix for iOS address bar */
@supports (-webkit-touch-callout: none) {
  .sidebar {
    height: -webkit-fill-available;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  /* .sidebar {
    padding: 70px 25px 30px;
  } */

  .sidebar-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  #shop-menu-item {
    padding-right: 40px;
  }
}

/* For mobile responsive */
@media (max-width: 350px) {
  .sidebar {
    padding: 60px 20px 20px;
  }

  .sidebar-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  #shop-menu-item {
    padding-right: 35px;
  }
}

/* For larger screens, limit width */
@media (min-width: 769px) {
  .sidebar {
    width: 350px;
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

/* Body scroll lock */
body.noscroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#shop-menu-item {
  position: relative;
  padding-right: 0px;
  /* Remove all padding-right from here */
}

#shop-menu-item>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-right: 15px;
  /* Control spacing here */
}

.sidebar-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: #95122c;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* This helps with spacing */
  width: 100%;
}

.dropdown-arrow {
  font-size: 16px;
  transition: transform 0.4s ease;
  margin-left: 10px;
  /* Space between text and arrow */
  flex-shrink: 0;
}

.sidebar-auth {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-auth a {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #95122c;
  text-decoration: none;
}

.sidebar-input {
  position: relative;
}

.sidebar-input input {
  width: 100%;
  height: 50px;
  border: 1px solid #95122c;
  border-radius: 4px;
  background: transparent;
  padding: 0 40px 0 15px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #95122c;
}

.sidebar-input input::placeholder {
  color: #95122c;
  opacity: 0.8;
}

.search-icon-sidebar {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #95122c;
}

.sidebar-social {
  display: flex;
  gap: 25px;
}

.sidebar-social i {
  font-size: 24px;
  color: #95122c;
}

/* Shop Dropdown in Sidebar */
.shop-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  padding-left: 10px;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 columns */
  gap: 15px;
  width: 100%;
}

#shop-menu-item.dropdown-active .shop-dropdown {
  max-height: 500px;
  /* Adjusted for 3 rows */
}

#shop-menu-item.dropdown-active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-product {
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown-product img {
  width: 100%;
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
}

.dropdown-product p {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: #95122c;
  line-height: 1.2;
}

/* --- Homepage Content --- */
.hero {
  position: relative;
  height: 85vh;
  /* background: url("../images/hero-img-hq.b9be5bb3736b.jpg") center center / cover no-repeat; */
}

.hero-curve {
  position: absolute;
  bottom: -1px;
  /* Prevents tiny gaps */
  left: 0;
  width: 100%;
}

.hero-title-section {
  /* padding: 40px 20px; */
  text-align: center;
  background-color: #faf3e0;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  color: #95122c;
}

.product-section {
  margin: 40px 0;
  padding: 0;
}

.product-card {
  /* background: url("../images/landing-product-sec.42ea3ecc6dc2.jpg") center/cover; */
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border-radius: 30px;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0) 60%);
  border-radius: 30px;
}

.product-content {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  color: #eeecd7;
  max-width: 600px;
}

.product-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 30px;
}

.product-cta {
  background: #ff9408;
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

/* .toner-card {
  background: url("../images/landing-toner-sec.9bfb6ef7241d.jpeg") center/cover;
} */

.problem-statement {
  text-align: center;
}

.problem-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 42px;
  color: #95122c;
  max-width: 800px;
  margin: 40px auto;
}

.reviews-section {
  background: #95122c;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.reviews-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  color: #faf3e0;
  margin-bottom: 50px;
}

.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 80px;
  /* Space for buttons */
}

.testimonials-wrapper {
  position: relative;
  min-height: 300px;
}

.review-card {
  background: rgba(185, 98, 115, 0.8);
  border-radius: 30px;
  padding: 50px 40px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.review-card.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.stars {
  color: #faf3e0;
  font-size: 24px;
  margin-bottom: 30px;
  letter-spacing: 4px;
}

.review-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #faf3e0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.review-author {
  font-size: 16px;
  color: #faf3e0;
  opacity: 0.9;
}

/* Testimonial Carousel Navigation */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250, 243, 224, 0.2);
  border: 2px solid #faf3e0;
  color: #faf3e0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: #faf3e0;
  color: #95122c;
}

.testimonial-nav.prev {
  left: 0;
}

.testimonial-nav.next {
  right: 0;
}

/* Dots Indicator */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(250, 243, 224, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background: #faf3e0;
  transform: scale(1.2);
}

.testimonial-dots .dot:hover {
  background: rgba(250, 243, 224, 0.6);
}

/* Responsive */
@media (max-width: 1100px) {
  .testimonials-carousel {
    padding: 0 70px;
  }

  .testimonial-nav {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 992px) {
  .testimonials-carousel {
    padding: 0;
  }

  /* Hide navigation buttons on mobile */
  .testimonial-nav {
    display: none;
  }

  .reviews-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .review-card {
    padding: 40px 30px;
  }

  .review-text {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .reviews-title {
    font-size: 28px;
  }

  .review-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .stars {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .review-text {
    font-size: 18px;
  }

  .review-author {
    font-size: 14px;
  }
}

.why-choose {
  background: #faf3e0;
  padding: 40px 20px;
  text-align: center;
}

.why-choose-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  color: #95122c;
  margin-bottom: 60px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px 1fr;
  gap: 40px;
  align-items: start;
}

.features-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-card {
  background: #b73650;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: left;
}

.feature-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #faf3e0;
  margin-bottom: 15px;
}

.feature-description {
  font-size: 14px;
  color: #faf3e0;
}

.center-image {
  /* background: url("../images/why-choose.f48b65550b8a.jpg") center/cover; */
  border-radius: 20px;
  min-height: 600px;
}

/* --- Footer --- */
/* --- Scrolling Features Section - SMOOTH Infinite Loop --- */
.curved-banner {
  background: #95122c;
  position: relative;
  padding-bottom: 180px;
  overflow: hidden;
}

.curved-banner::before {
  content: "";
  position: absolute;
  background: #faf3e0;
  width: 150%;
  left: -25%;
  height: 355px;
  bottom: -200px;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
}

@media (max-width: 768px) {
  .curved-banner {
    padding-bottom: 100px;
  }

  .curved-banner::before {
    height: 285px;
  }
}

.new-footer {
  background: #faf3e0;
  color: #95122c;
}

/* .new-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 0px 20px;
} */
.new-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  /* Distributes equal empty space around and between all items */
  align-items: start;
  padding: 0px 20px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo-area .new-footer-logo {
  width: 200px;
}

.new-social-icons {
  display: flex;
  gap: 15px;
  padding-top: 10px;
}

.new-social-icon i {
  color: #95122c;
  font-size: 25px;
}

.footer-links-area {
  display: flex;
  gap: 60px;
  justify-content: center;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links-area a {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  color: #95122c;
  text-decoration: none;
}

.new-newsletter-area h4 {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
}

.new-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.new-newsletter-form input,
.new-newsletter-form button {
  width: 280px;
  height: 45px;
  border-radius: 4px;
  border: 1px solid #95122c;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  padding: 0 15px;
  background: transparent;
  color: #95122c;
}

.new-footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px;
  border-top: 1px solid #e0d1cb;
}

/* --- Product Detail Page --- */
.product-page-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 100px 20px 0;
}

/* --- PRODUCT GALLERY --- */
.product-gallery {
  /* padding-top: 60px; */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-product-image {
  border: 1px solid #e0d1cb;
  border-radius: 12px;
  overflow: hidden;
}

.main-product-image img {
  width: 100%;
  display: block;
  object-fit: contain;
}

/* Make strip scrollable with touch/mouse */
.thumbnail-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.thumbnail-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  margin: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  max-width: calc(80px * 4 + 10px * 3);
  /* 4 thumbnails + 3 gaps */
  flex-shrink: 1;
}

.thumbnail-strip::-webkit-scrollbar {
  display: none;
  /* hide scrollbar in webkit browsers */
}

.thumbnail-strip.active-drag {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.thumbnail {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #e0d1cb;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  scroll-snap-align: center;
  transition: 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
  opacity: 1;
  border-color: #95122c;
}

/* Arrows overlay */
.thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0d1cb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #95122c;
  transition: all 0.2s ease;
}

#prevThumb {
  left: 5px;
}

#nextThumb {
  right: 5px;
}

.thumb-arrow.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* --- PRODUCT INFO --- */
.product-info {
  display: flex;
  flex-direction: column;
}

.product-info h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: #95122c;
  margin-bottom: 15px;
  line-height: 1.2;
  word-break: break-word;
}

.product-info p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.price-box {
  background-color: #f1e9e5;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.price-box span {
  font-size: 18px;
  font-weight: 600;
}

.quantity-selector,
.variant-selector {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.quantity-selector label,
.variant-selector label {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  color: #95122c;
  margin-bottom: 0;
}

.selector-input {
  display: flex;
  align-items: center;
}

.selector-input input {
  width: 40px;
  text-align: center;
  font-size: 18px;
  color: #95122c;
  border: none;
  background: transparent;
}

.selector-input input::-webkit-outer-spin-button,
.selector-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  border: 1px solid #95122c;
  background: transparent;
  color: #95122c;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-btn {
  border: 1px solid #95122c;
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.variant-btn.active {
  background: #95122c;
  color: #fff;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-add-to-cart,
.btn-buy-now {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #95122c;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
}

.btn-add-to-cart {
  background: #fff;
  color: #95122c;
}

.btn-buy-now {
  background: #e5bdb2;
  color: #95122c;
  border-color: #e5bdb2;
}

/* --- RELATED PRODUCTS --- */
.related-products {
  max-width: 1200px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 20px;
}

.related-products h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #95122c;
  margin-bottom: 40px;
}

.related-products-grid {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
}

.related-product-card img {
  width: 100%;
  height: 60%;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
}

.related-product-card a {
  text-decoration: none;
}

.related-product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.related-product-card p {
  font-size: 16px;
  color: #555;
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 992px) {
  .product-page-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
  }

  .product-gallery {
    padding-top: 20px;
    align-items: center;
  }

  /* .main-product-image img {
    width: 80%;
  } */
  .product-info {
    align-items: center;
    /* text-align: center; */
  }

  .quantity-selector,
  .variant-selector {
    /* flex-direction: column; */
    align-items: center;
  }
}

@media (max-width: 768px) {
  .thumbnail-strip {
    padding: 0 30px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .thumb-arrow {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .price-box {
    align-self: center;
  }
}

/* Mobile (under 576px) */
@media (max-width: 576px) {
  .product-page-container {
    margin: 0 20px;
    gap: 30px;
  }

  .main-product-image img {
    width: 100%;
  }

  .product-info h1 {
    font-size: 26px;
  }

  .product-info p {
    font-size: 14px;
  }

  .price-box span {
    font-size: 16px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .variant-btn {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* Responsive for small screens */
@media (max-width: 480px) {
  .thumbnail-strip {
    padding: 0 10px;
    gap: 6px;
  }

  .thumbnail {
    width: 65px;
    height: 65px;
  }

  .thumb-arrow {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}

/* Ultra small screens (down to 340px) */
@media (max-width: 380px) {
  .product-page-container {
    padding-top: 40px;
    gap: 25px;
  }

  .product-info h1 {
    font-size: 22px;
  }

  .product-info p {
    font-size: 13px;
  }

  .quantity-selector label,
  .variant-selector label {
    font-size: 18px;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .thumbnail-strip {
    max-width: calc(70px * 4 + 10px * 3);
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .thumb-arrow {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .btn-add-to-cart,
  .btn-buy-now {
    font-size: 14px;
    padding: 12px;
  }

  .related-products h2 {
    font-size: 24px;
  }
}

/* --- START: SEARCH OVERLAY STYLES --- */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: 20px;
  background-color: #faf3e0;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  overflow-y: auto;
}

.search-overlay.search-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-bar-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px dashed #95122c;
  box-sizing: border-box;
  /* ADDED */
}

.search-bar-container i {
  color: #95122c;
  cursor: pointer;
  flex-shrink: 0;
  /* ADDED - prevents icon from shrinking */
}

.search-bar-container form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  /* ADDED - allows proper shrinking */
}

.search-bar-container input {
  flex: 1;
  min-width: 0;
  /* ADDED - prevents overflow */
  border: none;
  background: transparent;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #95122c;
}

.search-bar-container input::placeholder {
  color: #95122c;
  opacity: 0.7;
}

.search-submit-btn {
  background: #95122c;
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  min-width: 36px;
  /* ADDED - prevents button from shrinking */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* ADDED */
}

.search-submit-btn:hover {
  background: #7a0f23;
  transform: scale(1.05);
}

.search-submit-btn i {
  font-size: 14px;
  color: white;
}

/* Live Search Preview */
#search-results-preview {
  width: 90%;
  max-width: 800px;
  margin: 30px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 60vh;
  overflow-y: auto;
  display: none;
}

#preview-content {
  padding: 10px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

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

.preview-item:hover {
  background: #faf3e0;
}

.preview-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.preview-item-info {
  flex: 1;
  text-align: left;
}

.preview-item-title {
  font-size: 16px;
  font-weight: 500;
  color: #95122c;
  margin-bottom: 5px;
}

.preview-item-price {
  font-size: 14px;
  color: #666;
}

.preview-loading {
  text-align: center;
  padding: 30px;
  color: #666;
}

.preview-loading i {
  font-size: 24px;
  color: #95122c;
}

.preview-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.preview-empty i {
  font-size: 40px;
  color: #95122c;
  margin: 15px auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .search-bar-container {
    width: 90%;
    max-width: none;
    padding: 15px 20px;
    gap: 10px;
  }

  .search-bar-container input {
    font-size: 16px;
    -webkit-appearance: none;
  }

  .search-submit-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .search-submit-btn i {
    font-size: 16px;
  }

  #search-results-preview {
    width: 90%;
  }

  .preview-item {
    padding: 12px;
  }

  .preview-item img {
    width: 50px;
    height: 50px;
  }

  .preview-item-title {
    font-size: 14px;
  }

  .preview-item-price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .search-bar-container {
    width: 95%;
    padding: 12px 15px;
  }
}

/* --- END: SEARCH OVERLAY STYLES --- */

/* --- START: CONTACT PAGE STYLES --- */

.contact-page-main {
  padding-top: 100px;
  /* Push content below the fixed header */
}

.contact-intro {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-details h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  color: #95122c;
  line-height: 1.2;
}

.contact-details p {
  font-size: 16px;
  margin: 20px 0;
}

.contact-details a {
  display: block;
  text-decoration: none;
  color: #95122c;
  font-weight: 500;
  margin-top: 10px;
}

.contact-image img {
  width: 100%;
  border-radius: 16px;
}

/* --- START: UPDATED CONTACT FORM STYLES --- */

.contact-form-section {
  padding: 80px 20px;
}

.contact-form-section {
  padding: 80px 20px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #dcafaa;
  border-radius: 16px;
  padding: 50px;
}

.form-container h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: #95122c;
  text-align: center;
  margin-bottom: 40px;
}

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

.form-row {
  display: flex;
  gap: 30px;
}

.input-group {
  width: 100%;
  color: #faf3e0;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  /* Makes the label sit on its own line */
  margin-bottom: 8px;

  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #95122c;
  text-align: left;
  border-radius: 6px;
}

/* Style for the input fields and textarea */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  border: 1px solid #95122c;
  border-radius: 6px;
  background: transparent;
  padding: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  outline: none;
  color: #95122c;
}

.input-group select option {
  background: #faf3e0;
  color: #95122c;
  padding: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.input-group select option:checked {
  background: #95122c;
  color: #faf3e0;
  font-weight: 500;
}

.input-group textarea {
  resize: vertical;
}

/* Style for the 'Send' button */
.btn-send {
  padding: 15px;
  border-radius: 8px;
  border: none;
  background: #faf3e0;
  /* Updated background color */
  color: #95122c;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-send:hover {
  background-color: #f1e9d8;
}

/* Responsive styles for contact form */
/* --- START: COMPLETE RESPONSIVE STYLES --- */

/* For Tablets and smaller devices */
@media (max-width: 992px) {

  /* --- Homepage: Why Choose Section --- */
  .features-container {
    grid-template-columns: 1fr;
    /* Stack the 3 columns into 1 */
    gap: 30px;
  }

  .features-column {
    flex-direction: row;
    overflow-x: auto;
    /* Allow horizontal scrolling for cards */
    gap: 20px;
    padding: 10px;
  }

  .feature-card {
    min-width: 280px;
  }

  .center-image {
    min-height: 400px;
    order: -1;
    /* Move image to the top on tablets */
  }

  /* --- Footer --- */
  .new-footer-container {
    /* Allows items to naturally wrap into rows if they run out of space */
    justify-content: center;
    gap: 50px;
  }


  .footer-logo-area,
  .new-social-icons {
    grid-column: 1 / -1;
    /* Span logo and socials across the top */
  }

  .footer-links-area {
    justify-content: flex-start;
  }
}

/* For Mobile devices */
@media (max-width: 768px) {

  /* --- Global Styles --- */
  .nav-container {
    padding: 0 20px;
  }

  /* --- Sidebar --- */
  /* --- Sidebar Styles --- */
  .sidebar {
    position: fixed;
    top: 0;
    /* left: -350px; */
    /* <-- REMOVE THIS LINE */
    transform: translateX(-100%);
    /* <-- ADD THIS (Hides the sidebar) */
    width: 350px;
    height: 100vh;
    background: #faf3e0;
    /* padding: 80px 50px; */
    /* transition: left 0.4s ease-in-out; */
    /* <-- REMOVE THIS LINE */
    transition: transform 0.4s ease-in-out;
    /* <-- ADD THIS (Animates the transform) */
    z-index: 1001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .sidebar.active {
    /* left: 0; */
    /* <-- REMOVE THIS LINE */
    transform: translateX(0);
    /* <-- ADD THIS (Shows the sidebar) */
  }

  .sidebar-nav a {
    font-size: 28px;
  }

  .sidebar-auth a {
    font-size: 20px;
  }

  /* --- Homepage --- */
  .hero {
    min-height: 50vh;
  }

  .hero-title,
  .problem-title,
  .reviews-title,
  .why-choose-title {
    font-size: 32px;
  }

  .product-content {
    padding: 30px 40px;
  }

  .product-title {
    font-size: 28px;
  }

  .features-column {
    flex-direction: column;
    /* Stack feature cards vertically on mobile */
    overflow-x: visible;
  }

  /* --- About Page --- */
  .about-hero-content h1 {
    font-size: 36px;
  }

  .about-intro-text,
  .content-block,
  .standalone-heading-section {
    margin: 40px auto;
  }

  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
    /* Stack columns */
  }

  .content-block.reverse .content-text,
  .content-block.reverse .content-image {
    order: initial;
    /* Reset order for vertical stacking */
  }

  .about-intro-text h2,
  .standalone-heading-section h2 {
    font-size: 28px;
  }

  /* --- Contact Page --- */
  .contact-intro {
    grid-template-columns: 1fr;
    /* Stack columns */
  }

  .form-row {
    flex-direction: column;
    /* Stack Name and Email fields */
  }

  .form-container {
    padding: 30px;
  }


  /* --- Footer --- */
  .new-footer-container {
    /* Stack the footer into a single column */
    flex-direction: column;
    align-items: center;
    /* Centers the flex items horizontally */
    text-align: center;
  }

  /* Optional: Stack the two lists of text links on mobile so they don't get squished */
  .footer-links-area {
    gap: 30px;
  }

  .footer-links-column {
    align-items: center;
  }

  .new-footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo {
    padding-right: 30px;
  }
}

@media (max-width: 395px) {
  .logo {
    padding-right: 15px;
    padding-left: 15px;
  }

  .search-bar-container input {
    font-size: 17px;
  }
}

@media (max-width: 350px) {
  .logo {
    padding: 0px 5px;
  }

  .why-choose {
    padding: 20px 0;
  }

  .search-bar-container input {
    font-size: 15px;
  }
}

/* --- END: COMPLETE RESPONSIVE STYLES --- */

/* --- END: CONTACT PAGE STYLES --- */

/* --- START: ABOUT PAGE STYLES --- */

.about-page-main {
  padding-top: 100px;
  /* Adjust if needed to clear the header */
}

/* Hero Section */
/* --- START: UPDATED ABOUT HERO VIDEO STYLES --- */

/* Updated hero section to act as a container */
.about-hero {
  position: relative;
  /* Required to position the video inside */
  overflow: hidden;
  /* Hides any part of the video that goes outside */
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 0 5%;
  /* The background-image property is now removed from here */
}

/* New style for the video element */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  /* Places the video in the back */
}

/* Ensure the text content appears on top of the video */
.about-hero-content {
  position: relative;
  z-index: 2;
  /* Places the content in the front */
}

.about-hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  color: #95122c;
  line-height: 1.2;
}

/* --- END: UPDATED ABOUT HERO VIDEO STYLES --- */

/* Centered Intro Text */
.about-intro-text {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.about-intro-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #95122c;
}

.about-intro-text p {
  font-size: 16px;
  margin-top: 15px;
}

/* Two-column content blocks */
.content-block {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-text h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #95122c;
  margin-bottom: 20px;
  /* margin-left: 20px; */
  /* margin: 30px; */
  /* align-items: center; */
}

.content-text p {
  line-height: 1.7;
}

.content-image img {
  width: 100%;
  border-radius: 16px;
}

/* Modifier to reverse the column order */
.content-block.reverse .content-text {
  order: 2;
}

.content-block.reverse .content-image {
  order: 1;
}

/* "Our Vibe" section with pink background */
.our-vibe {
  background-color: #d6c2c1;
  padding: 80px 20px;
  text-align: center;
}

.our-vibe h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #95122c;
  margin-bottom: 20px;
}

.our-vibe p {
  max-width: 700px;
  margin: 0 auto 15px;
  line-height: 1.7;
}

/* Responsive styles for About page */
@media (max-width: 768px) {

  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
  }

  .content-text h3 {
    margin: 30px;
  }

  .content-text p {
    align-items: center;
  }

  .content-block.reverse .content-text,
  .content-block.reverse .content-image {
    order: initial;
    /* Reset order for stacking */
  }

  .about-intro-text,
  .content-block {
    margin: 40px auto;
  }
}

/* New style for the standalone heading */
.standalone-heading-section {
  text-align: left;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.standalone-heading-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: #95122c;
  line-height: 1.3;
}

/* Update image style to remove the border */
.content-image img {
  width: 100%;
  border-radius: 16px;
  /* border: 1px solid #e0d1cb; <-- This line is removed */
}

/* --- END: ABOUT PAGE STYLES --- */
/* --- START: CART PAGE STYLES --- */

.cart-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.cart-page-header .close-link {
  font-size: 32px;
  font-weight: 300;
  color: #95122c;
  text-decoration: none;
}

/* --- Main Content --- */
.cart-page-main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  flex-grow: 1;
}

.cart-page-main h1 {
  font-family: "Cormorant Garamond", sans-serif;
  /* font-size: 30px;
  font-weight: 800; */
}

.shipping-notice {
  background-color: #95122c;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 14px;
}

/* Cart Item Styling */
.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px 0px;
  border-bottom: 1px solid #e0d1cb;
  align-items: center;
}

.cart-item a {
  text-decoration: none;
  color: inherit;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cart-item-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 16px;
  white-space: nowrap;
}

.cart-item-variant {
  font-size: 14px;
  color: #95122c;
  /* UPDATED: Color changed to red */
  margin: 5px 0 15px;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  /* UPDATED: Stacks items vertically */
  align-items: flex-start;
  /* UPDATED: Aligns items to the left */
  gap: 10px;
  /* UPDATED: Space between items */
}

.remove-link {
  font-size: 12px;
  color: #95122c;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
}

.remove-link:hover {
  text-decoration: underline;
}

/* Quantity Selector */
.selector-input {
  display: flex;
  align-items: center;
  border: 1px solid #95122c;
  border-radius: 6px;
}

.selector-input input {
  width: 40px;
  text-align: center;
  font-size: 16px;
  color: #95122c;
  border: none;
  background: transparent;
  -moz-appearance: textfield;
}

.selector-input input::-webkit-outer-spin-button,
.selector-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  border: none;
  background: transparent;
  color: #95122c;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 20px;
}

/* --- Footer / Checkout Section --- */
.cart-page-footer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.subtotal-section {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-end; */
  margin-bottom: 20px;
}

.subtotal-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
}

.subtotal-price-wrapper {
  text-align: right;
}

.subtotal-price {
  font-size: 24px;
  font-weight: 600;
}

.subtotal-note {
  font-size: 12px;
  color: #555;
}

.btn-checkout-page-container {
  background-color: #ff9408;

  text-align: center;
  padding: 12px;
  margin-bottom: 30px;
  /* font-size: 14px; */
  width: 100%;
  border-radius: 8px;
  border: none;
  color: #95122c;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.btn-checkout-page {
  text-decoration: none;
}

.btn-checkout-page-container:hover {
  color: #fff;
  background-color: #95122c;
}

/* .btn-checkout-page:hover {
  opacity: 0.5;
} */

/* --- Responsive Styles --- */
@media (max-width: 380px) {
  .cart-page-header {
    padding: 20px;
  }

  /* .cart-page-main,
  .cart-page-footer {
    padding: 15px;
  } */

  /* UPDATED: Stacks image and details on mobile */
  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cart-item-details {
    width: 100%;
  }

  .cart-item-header {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .cart-item-controls {
    align-items: center;
    /* Center controls on mobile */
  }

  .cart-item-price {
    font-size: 18px;
  }

  .subtotal-label {
    font-size: 24px;
  }

  .subtotal-price {
    font-size: 20px;
  }
}

/* --- START: CHECKOUT PAGE STYLES --- */

.checkout-body {
  background-color: #faf3e0;
  color: #333;
}

.checkout-container {
  padding: 80px 0 0;
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100vh;
  margin: auto;
  max-width: 1200px;
}

.checkout-details {
  padding: 40px 6%;
  border-right: 1px solid #e0d1cb;
}

.checkout-header {
  margin-bottom: 40px;
}

.checkout-header .logo-image {
  width: 120px;
}

.checkout-section {
  margin-bottom: 30px;
  color: #95122c;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: #95122c;
}

.section-header a {
  color: #95122c;
  text-decoration: none;
  font-size: 14px;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
  top: -8px;
  left: 10px;
  font-size: 16px;
  background: #95122c;
  padding: 0 5px;
  color: #fff;
}

/* Select focus state */
.select-group select:focus {
  outline: none;
  border-color: #95122c;
}

/* Select label - default state */
.select-group label {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #95122c;
  text-align: left;
  border-radius: 6px;
}

/* Select label - when focused */
.select-group select:focus+label {
  top: -8px;
  left: 10px;
  transform: translateY(0);
  font-size: 16px;
  background: #95122c;
  padding: 0 5px;
  color: #fff;
  border-radius: 2px;
}

/* Select label - when has value */
.select-group select.has-value+label {
  top: -8px;
  left: 10px;
  transform: translateY(0);
  font-size: 16px;
  background: #95122c;
  padding: 0 5px;
  color: #fff;
  border-radius: 6px;
}

/* ====== CUSTOM SCROLLBAR FOR DROPDOWNS ====== */

/* For WebKit browsers (Chrome, Safari, Edge) */
.select-group select::-webkit-scrollbar {
  width: 8px;
}

.select-group select::-webkit-scrollbar-track {
  background: #faf3e0;
  border-radius: 4px;
}

.select-group select::-webkit-scrollbar-thumb {
  background: #95122c;
  border-radius: 4px;
}

.select-group select::-webkit-scrollbar-thumb:hover {
  background: #7a0f23;
}

/* Firefox scrollbar */
.select-group select {
  scrollbar-width: thin;
  scrollbar-color: #95122c #faf3e0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 480px) {
  .select-group select {
    padding: 14px 35px 6px 12px;
    font-size: 13px;
  }
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .input-group {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shipping-placeholder,
.payment-method,
.radio-group {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-pay-now {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 6px;
  background: #95122c;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #95122c;
  display: flex;
  gap: 20px;
}

.checkout-footer a {
  font-size: 12px;
  color: #95122c;
  text-decoration: none;
}

/* Shipping Methods */
.shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shipping-method-option {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
}

.shipping-method-option:hover {
  border-color: #ff9408;
  box-shadow: 0 2px 8px rgba(149, 18, 44, 0.15);
}

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

/* SELECTED STATE - Background changes */
.shipping-method-option input[type="radio"]:checked+.shipping-method-label {
  background: #95122c;
}

/* SELECTED STATE - All text becomes cream colored */
.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-name,
.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-info strong {
  color: #faf3e0 !important;
}

.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-description,
.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-info p {
  color: #faf3e0 !important;
  opacity: 0.9;
}

.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-price,
.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-price strong {
  color: #faf3e0 !important;
}

.shipping-method-option input[type="radio"]:checked+.shipping-method-label .method-price span {
  color: #faf3e0 !important;
  opacity: 0.7;
}

.shipping-method-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  padding: 15px;
  transition: all 0.3s ease;
  background: transparent;
}

.method-info {
  flex: 1;
  margin-right: 15px;
}

.method-info strong,
.method-name {
  color: #95122c;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.method-info p,
.method-description {
  margin: 3px 0 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.method-price {
  font-size: 18px;
  color: #95122c;
  white-space: nowrap;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.method-price strong {
  font-weight: 600;
  display: block;
}

.method-price span {
  font-size: 14px;
}

/* Free shipping banner */
.free-shipping-banner {
  background: #d4edda;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  border-left: 4px solid #28a745;
}

.free-shipping-banner p {
  color: #155724;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .shipping-method-label {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .method-info {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
  }

  .method-info strong {
    font-size: 15px;
  }

  .method-info p {
    font-size: 12px;
  }

  .method-price {
    align-self: flex-start;
    font-size: 16px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .free-shipping-banner {
    padding: 10px 12px;
  }

  .free-shipping-banner p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .shipping-methods {
    gap: 10px;
  }

  .shipping-method-option {
    border-width: 1.5px;
  }

  .shipping-method-label {
    padding: 10px;
  }

  .method-info strong {
    font-size: 14px;
  }

  .method-info p {
    font-size: 11px;
  }

  .method-price {
    font-size: 15px;
  }
}

/* Button styles */
.btn-update-address,
.btn-save-new {
  padding: 10px 20px;
  margin-right: 10px;
  border: 1px solid #95122c;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-update-address {
  background: #95122c;
  color: white;
}

.btn-update-address:hover {
  background: #7a0f23;
}

.btn-save-new {
  background: transparent;
  color: #95122c;
}

.btn-save-new:hover {
  background: #faf3e0;
}

@media (max-width: 480px) {

  .btn-update-address,
  .btn-save-new {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* --- Order Summary (Right Column) --- */
.order-summary {
  background-color: #faf3e0;
  padding: 40px 6%;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.item-image-wrapper {
  position: relative;
}

.item-image-wrapper img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.item-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #555;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.item-details {
  flex-grow: 1;
  color: #95122c;
}

.item-details h3 {
  font-size: 18px;
  font-weight: 500;
}

.item-details p {
  font-size: 12px;
  color: #95122c;
}

.item-price {
  font-weight: 600;
  color: #95122c;
}

/* Discount Form */
.discount-form {
  display: block !important;
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid #e0d1cb;
  border-bottom: 1px solid #e0d1cb;
}

.discount-input-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.discount-input-row form {
  display: flex;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.discount-form input[type="text"] {
  flex: 1;
  min-width: 0;
  /* Important for flex items */
  padding: 12px;
  border: 1px solid #95122c;
  border-radius: 6px;
  font-size: 14px;
  color: #95122c;
  background: transparent;
  box-sizing: border-box;
}

.discount-form input[type="text"]:focus {
  outline: none;
  border-color: #ff9408;
  border-width: 2px;
}

.discount-form button {
  padding: 12px 24px;
  background: #95122c;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.discount-form button:hover {
  background: #7a0f23;
}

/* Voucher Status Messages */
#voucher-status {
  margin-top: 12px;
  width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
  .discount-input-row form {
    flex-direction: column;
    gap: 10px;
  }

  .discount-form input[type="text"] {
    font-size: 13px;
  }
}

.order-totals {
  padding-top: 20px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #95122c;
}

.total-line.total {
  font-size: 18px;
  font-weight: 600;
}

.total-line.total strong {
  font-size: 22px;
}

/* Responsive Styles for Checkout */
@media (max-width: 1445px) {
  .checkout-container {
    padding: 80px 0 0;
  }
}

@media (max-width: 992px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .order-summary {
    grid-row: 1;
    border-bottom: 1px solid #e0d1cb;
  }

  .checkout-details {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- END: CHECKOUT PAGE STYLES --- */

/* --- Mobile Carousel for Why Choose Section --- */
/* Update the carousel media query to include tablets */
@media (max-width: 992px) {
  .features-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .features-column {
    display: none;
  }

  .center-image {
    display: none;
  }

  /* Carousel container */
  .features-carousel {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0;
  }

  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Mobile center image - MATCHING DESKTOP SIZE */
  .center-image-mobile {
    /* background: url("../images/why-choose.f48b65550b8a.jpg") center/cover; */
    border-radius: 20px;
    min-height: 500px;
    width: 90%;
    margin: 0 auto 40px auto;
  }

  /* Feature cards in carousel */
  .features-carousel .feature-card {
    background: #b73650;
    border-radius: 20px;
    padding: 20px 25px;
    text-align: left;
    width: 90%;
    margin: 0 auto;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .features-carousel .feature-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    color: #faf3e0;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .features-carousel .feature-description {
    font-size: 14px;
    color: #faf3e0;
    line-height: 1.5;
  }

  /* Carousel navigation */
  .carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b73650;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #faf3e0;
  }

  .carousel-dot.active {
    opacity: 1;
    transform: scale(1.3);
    background: #95122c;
  }
}

/* Update desktop layout to start at 993px instead of 769px */
@media (min-width: 993px) {
  .features-carousel {
    display: none;
  }

  .features-column {
    display: flex;
  }

  .center-image {
    display: block;
  }
}

/* --- ORDERS PAGE LAYOUT --- */
.orders-container {
  max-width: 900px;
  margin: auto;
  padding: 110px 20px;
  /* Padding for mobile */
}

.orders-container h1 {
  font-size: 2.5rem;
  /* 40px */
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--maroon);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Space between order cards */
}

/* --- MAIN ORDER CARD --- */
.order-item-card {
  background-color: var(--bg-inset);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.order-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.order-id {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
}

.order-date {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- 1. SUMMARY VIEW (Closed State) --- */
.order-summary-view {
  cursor: pointer;
}

.summary-box {
  background-color: var(--bg-grey);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  transition: background-color 0.3s ease;
}

.order-summary-view:hover .summary-box {
  background-color: #f0f0f0;
}

.summary-status h3 {
  font-size: 1.25rem;
  color: var(--maroon);
}

.summary-status p {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.summary-product {
  grid-column: 1 / -1;
  /* Span full width */
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.summary-product img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #fff;
}

.summary-product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
}

.summary-product-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.summary-arrow {
  font-size: 1.5rem;
  color: var(--maroon);
}

/* --- 2. DETAIL VIEW (Open State) --- */
.detail-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-product img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #fff;
}

.detail-product-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--maroon);
}

.detail-product-info p {
  font-size: 1rem;
  color: var(--text-light);
}

.detail-status {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
  margin: 20px 0;
}

.detail-policy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-policy i {
  font-size: 1rem;
}

.detail-policy a {
  font-weight: 700;
  text-decoration: underline;
  color: #1e5128;
}

.detail-section {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-section h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--maroon);
}

.delivery-address {
  display: flex;
  gap: 10px;
  font-size: 1rem;
}

.delivery-address i {
  margin-top: 5px;
  font-size: 1.1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 10px;
}

.price-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}

.btn-view-less {
  display: inline-block;
  margin-top: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-view-less:hover {
  opacity: 0.7;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .orders-container {
    margin-top: 0;
  }

  .orders-container h1 {
    font-size: 2rem;
  }

  .order-item-card {
    padding: 20px;
  }

  .order-id,
  .order-date {
    font-size: 0.9rem;
  }

  .summary-box {
    padding: 15px;
  }

  .summary-status h3 {
    font-size: 1.1rem;
  }

  .summary-status p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .order-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 15px;
  }

  .detail-product-info h3 {
    font-size: 1.2rem;
  }

  .detail-section h3 {
    font-size: 1.2rem;
  }

  .price-row {
    font-size: 0.9rem;
  }

  .price-row.total {
    font-size: 1rem;
  }
}

/* ===== ORDER CONFIRMATION PAGE ===== */

/* Container */
.order-confirmation-container {
  max-width: 800px;
  margin: auto;
  padding: 40px;
  text-align: center;
}

/* Success Banner */
.order-success-banner {
  background: #d4edda;
  margin: 60px auto;
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.order-success-icon {
  font-size: 60px;
  color: #28a745;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.order-success-title {
  color: #155724;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 28px;
}

.order-success-message {
  font-size: 18px;
  color: #155724;
  margin: 0;
}

/* Order Details Card */
.order-details-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-number {
  color: #95122c;
  margin-bottom: 25px;
  font-size: 24px;
}

/* Section Title */
.section-title {
  color: #333;
  border-bottom: 2px solid #95122c;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 18px;
}

/* Order Items Section */
.order-items-section {
  text-align: left;
  margin-bottom: 30px;
}

.order-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 10px;
}

.item-info {
  flex: 1;
}

.item-info strong {
  display: block;
  color: #333;
}

.order-confirmation-item-quantity {
  color: #666;
  margin: 5px 0 0 0;
  font-size: 14px;
}

.item-price {
  text-align: right;
  color: #333;
}

/* Order Summary Rows */
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  color: #333;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 20px;
  font-weight: bold;
}

.total-amount {
  color: #95122c;
}

/* Shipping Address Section */
.shipping-address-section {
  text-align: left;
  margin-bottom: 30px;
}

.address-text {
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* Email Notice */
.email-notice {
  background: #fff3cd;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 25px;
}

.email-notice p {
  color: #856404;
  margin: 0;
  font-size: 14px;
}

.email-notice i {
  margin-right: 8px;
}

/* Action Buttons */
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.order-actions .btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.order-actions .btn-primary {
  background: #95122c;
  color: white;
  border: 2px solid #95122c;
}

.order-actions .btn-primary:hover {
  background: #7a0f24;
  border-color: #7a0f24;
}

.order-actions .btn-outline {
  background: white;
  color: #95122c;
  border: 2px solid #95122c;
}

.order-actions .btn-outline:hover {
  background: #95122c;
  color: white;
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 768px) {
  .order-confirmation-container {
    /* margin: 30px auto; */
    /* padding: 15px; */
  }

  .order-success-banner {
    padding: 25px 15px;
  }

  .order-success-icon {
    font-size: 50px;
  }

  .order-success-title {
    font-size: 24px;
  }

  .order-success-message {
    font-size: 16px;
  }

  .order-details-card {
    padding: 20px;
  }

  .order-number {
    font-size: 20px;
  }

  .order-line-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .item-price {
    text-align: left;
  }

  .order-total-row {
    font-size: 18px;
  }

  .order-actions .btn {
    padding: 12px 25px;
    width: 100%;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .order-confirmation-container {
    /* margin: 20px auto; */
    padding: 20px;
  }

  .order-success-banner {
    padding: 20px 10px;
    border-radius: 8px;
  }

  .order-success-icon {
    font-size: 40px;
  }

  .order-success-title {
    font-size: 20px;
    margin-top: 15px;
  }

  .order-success-message {
    font-size: 14px;
  }

  .order-details-card {
    padding: 15px;
    border-radius: 8px;
  }

  .order-number {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 16px;
  }

  .item-info strong {
    font-size: 14px;
  }

  .item-quantity {
    font-size: 13px;
  }

  .order-summary-row {
    font-size: 14px;
  }

  .order-total-row {
    font-size: 16px;
  }

  .address-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .email-notice {
    padding: 12px;
  }

  .email-notice p {
    font-size: 13px;
  }

  .order-actions {
    gap: 10px;
  }

  .order-actions .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}