/* css/mobile-view.css */
/* Global and basic settings */
body {
  /* Ensure mobile view, if content overflows, it won't affect desktop layout */
}

#mobile-main-app-view {
  /* Mobile main container */
  font-family: 'Poppins', sans-serif; /* Choose appropriate font based on Figma */
  background-color: #EAE4DD; /* Updated: Background color consistent with desktop version and Figma main frame */
  display: none; /* Default hidden, controlled by media query */
  flex-direction: column;
  min-height: 100vh; /* Ensure at least fills the entire screen height */
  padding-bottom: 70px; /* Space for bottom navigation bar */
  padding-top: 0 !important; /* If it still affects layout in some way when displaying cakes page */
}

/* Mobile top bar */
.mobile-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #FFFFFF; /* Figma shows white background */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Light shadow */
}

.mobile-menu-btn,
.mobile-location-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn img,
.mobile-location-btn img {
  width: 24px; /* Adjust based on actual icon size */
  height: 24px;
}

.mobile-logo img {
  height: 30px; /* Adjust based on actual Logo size */
}

/* Mobile hero section */
.mobile-hero-section {
  position: relative;
  text-align: center;
  color: white; /* Text color, if image is dark */
}

.mobile-hero-image {
  width: 100%;
  height: auto; /* Or fixed height, adjust based on Figma */
  max-height: 200px; /* Example max height */
  object-fit: cover;
}

.mobile-hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.3); /* Light background mask to make text clearer */
  padding: 10px 20px;
  border-radius: 8px;
}

.mobile-hero-text-overlay h1 {
  font-family: 'Playfair Display SC', serif; /* Example font */
  font-size: 28px; /* Adjust based on Figma */
  margin: 0 0 5px 0;
  font-weight: bold;
}

.mobile-hero-text-overlay p {
  font-size: 14px; /* Adjusted according to Figma */
  margin: 0;
  font-weight: normal;
}

/* Mobile Search Bar */
.mobile-search-bar-container {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #FFFFFF; /* White background for search bar area as shown in Figma */
  position: relative; /* Add relative positioning as reference point for search results */
  z-index: 50; /* Ensure search bar and results are above other content */
}

.mobile-search-input-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  background-color: #F0F0F0; /* Search box background color from Figma */
  border-radius: 20px; /* Rounded corners */
  padding: 8px 12px;
  margin-right: 10px;
}

.mobile-search-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.6;
}

.mobile-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
}

/* New: Mobile Search Results Dropdown Styles */
.mobile-search-results {
  position: absolute;
  top: 100%; /* Position below search bar */
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 0 15px;
  padding: 10px 15px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 49; /* Below search bar but above other content */
  display: none; /* Hidden by default, remove !important */
}

.mobile-search-results.active {
  display: block !important; /* Show when active class is added, keep !important to override other styles */
}

.mobile-results-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.mobile-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-result-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

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

.mobile-result-item:hover {
  background-color: #f9f9f9;
}

.mobile-result-item-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  opacity: 0.5;
}

.mobile-result-item-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333;
}

/* Mobile Recent Searches/Suggestions */
.mobile-recent-searches {
  padding: 15px; /* Consistent padding */
  background-color: #D5CCC6; /* Updated: Suggestion list background color from Figma */
  margin: 0 15px 15px 15px; /* Add margin on main background to make it look like a card */
  border-radius: 10px; /* Add rounded corners from Figma */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Light shadow */
}

.mobile-search-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-search-suggestions-list li {
  padding: 10px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #F0F0F0; /* Separator line */
}

.mobile-search-suggestions-list li:last-child {
  border-bottom: none;
}

.mobile-search-suggestions-list li img {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  opacity: 0.5;
}

/* Mobile Categories */
.mobile-categories-section {
  padding: 20px 15px;
  /* background-color: #F9F9F9; */ /* Removed to inherit background color from #mobile-main-app-view */
}

.mobile-categories-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.mobile-categories-grid {
  display: flex; /* or grid, depending on whether it's scrolling or fixed grid in Figma */
  gap: 15px;
  overflow-x: auto; /* For horizontal scrolling */
  padding-bottom: 10px; /* Space for scrollbar or shadow */
  /* Remove background color to let parent background show through */
}

.mobile-category-item {
  text-align: center;
  min-width: 80px; /* Adjust min-width to accommodate more items, or adjust as needed */
  padding: 15px 5px; /* Adjust padding to accommodate smaller width */
  background-color: #D5CCC6; /* Updated: Background color from Figma */
  border-radius: 10px; /* Rounded corners from Figma */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Light shadow */
  display: flex; /* Use flex layout */
  flex-direction: column; /* Vertical arrangement of sub-elements */
  align-items: center; /* Horizontal center sub-elements */
  justify-content: center; /* Vertical center content */
  cursor: pointer; /* Add pointer for better UX */
}

.mobile-category-item img {
  width: 60px; /* Adjust based on Figma */
  height: 60px;
  border-radius: 50%; /* Circular image */
  object-fit: cover;
  margin-bottom: 8px;
  background-color: #E0E0E0; /* Image placeholder background */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: block; /* Ensure image is block-level element */
  margin-left: auto; /* Horizontal center image */
  margin-right: auto; /* Horizontal center image */
}

.mobile-category-item span {
  font-size: 13px;
  color: #444;
}

/* Mobile top products section */
.mobile-top-products-section {
  padding: 20px 15px;
  /* background-color: #F9F9F9; */ /* Removed to inherit background color from #mobile-main-app-view */
}

.mobile-top-products-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.mobile-top-products-grid {
  display: flex; /* Changed from grid to flex for horizontal scrolling */
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 15px;
  padding-bottom: 10px; /* Add some padding for the scrollbar if it appears */
  /* Remove background color */
}

.mobile-product-card {
  background-color: #D5CCC6; /* Updated: Background color for product card bottom information area, consistent with Figma Frame 20 */
  border-radius: 10px; /* Rounded corners from Figma */
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  position: relative; /* Added: Ensure absolute positioning of sub-elements relative to this element */
  width: 200px; /* Set a fixed width for each card */
  flex-shrink: 0; /* Prevent cards from shrinking */
  cursor: pointer; /* Add pointer for better UX */
}

.mobile-product-card img {
  width: 100%;
  height: 120px; /* Product image height */
  object-fit: cover;
  background-color: #E0E0E0; /* Image placeholder background */
}

.mobile-product-info {
  padding: 10px; /* Uniform padding */
  flex-grow: 1; /* Let information section take up remaining space */
  display: flex; /* Use flex layout */
  justify-content: space-between; /* Name on left, price and button on right */
  align-items: center; /* Vertical center alignment of all sub-items */
}

.mobile-product-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: #333;
  line-height: 1.3;
  flex-grow: 1; /* Product name takes up available space */
  padding-right: 8px; /* Keep spacing with right content (price+button) */
}

.mobile-product-price {
  font-size: 16px;
  color: #555;
  font-weight: 600; /* Bold price */
  margin-right: 8px; /* Keep spacing with plus button */
}

/* Mobile Add to Cart Button */
.mobile-add-to-cart-btn {
  width: 36px;
  height: 36px;
  min-width: 36px; /* Prevent button from being compressed */
  min-height: 36px; /* Prevent button from being compressed */
  flex-shrink: 0; /* Prevent compression in flex layout */
  aspect-ratio: 1 / 1; /* Force 1:1 aspect ratio */
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: #3A291F; /* Dark brown background */
  border-radius: 50%; /* Circular button */
  position: relative;
  margin-left: 8px; /* Keep spacing with price */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Light shadow effect */
  transition: transform 0.1s ease, background-color 0.2s ease; /* Add transition effect */
}

/* Create horizontal transparent line */
.mobile-add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; /* Plus width */
  height: 2px; /* Plus thickness */
  background-color: white; /* White plus */
  transition: background-color 0.2s ease; /* Transition effect */
}

/* Create vertical transparent line */
.mobile-add-to-cart-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px; /* Plus thickness */
  height: 14px; /* Plus height */
  background-color: white; /* White plus */
  transition: background-color 0.2s ease; /* Transition effect */
}

/* Click effect */
.mobile-add-to-cart-btn:active {
  transform: scale(0.9); /* Shrink on click */
  background-color: #51393A; /* Darker background on click */
}

/* Temporary effect after adding (JS will add/remove this class) */
.mobile-add-to-cart-btn.item-added {
  background-color: #2A1A0F; /* Darker brown than active state, for quick feedback */
  transform: scale(1.05); /* Slightly enlarge */
}

.mobile-add-to-cart-btn.item-added::before,
.mobile-add-to-cart-btn.item-added::after {
  background-color: white; /* Ensure plus remains visible during background change */
}

/* Mobile bottom navigation bar */
.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #FFFFFF; /* Figma shows white background */
  border-top: 1px solid #E0E0E0;
  padding: 10px 0;
  position: fixed; /* Fixed at bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
  z-index: 1000; /* Ensure on top layer */
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #888; /* Non-active state icon and text color */
  flex: 1; /* Evenly distribute space */
  padding: 5px 0;
}

.mobile-nav-item img {
  width: 24px; /* Adjust based on Figma icon size */
  height: 24px;
  margin-bottom: 2px; /* Icon and text spacing */
}

.mobile-nav-item span {
  font-size: 10px; /* Text size */
}

.mobile-nav-item.active {
  color: #000000; /* Active state color */
}

/* If active state icon is different, can switch image in JS or use CSS filter to change color */
/* .mobile-nav-item.active img { filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(90deg); } */

/* ---------- New: Mobile Side Navigation Menu Styles ---------- */
.mobile-side-menu {
  position: fixed; /* Fixed position, cover entire screen */
  top: 0;
  left: -100%; /* Initial state outside screen left */
  width: 80%; /* Menu width, adjustable */
  max-width: 300px; /* Maximum width */
  height: 100%;
  background-color: #FFFFFF; /* Menu background color, adjust based on Figma, usually white or dark */
  box-shadow: 2px 0 10px rgba(0,0,0,0.2); /* Right shadow */
  z-index: 2000; /* Ensure on top layer, above bottom navigation bar */
  transition: left 0.3s ease-in-out; /* Slide animation */
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mobile-side-menu.open {
  left: 0; /* Open state, slide into screen */
}

.mobile-close-menu-btn {
  background: none;
  border: none;
  font-size: 28px; /* Close button size */
  color: #333; /* Close button color */
  cursor: pointer;
  align-self: flex-end; /* Button right */
  padding: 0 0 15px 0;
}

.mobile-side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-side-menu li {
  padding: 15px 10px;
  font-size: 18px; /* Menu item font size */
  color: #333; /* Menu item text color */
  border-bottom: 1px solid #E0E0E0; /* Separator line */
  cursor: pointer;
}

.mobile-side-menu li:last-child {
  border-bottom: none;
}

.mobile-side-menu li:hover {
  background-color: #f0f0f0; /* Mouse hover background color */
}

/* Optional: When menu is open, add overlay to main content area */
body.mobile-menu-open #mobile-main-app-view {
  /* filter: blur(2px); */ /* Optional blur effect */
  /* pointer-events: none; */ /* Optional to prevent main content interaction */
}

/* Overlay, if needed */
/*
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1999; 
  display: none; 
}
.mobile-menu-overlay.active {
  display: block;
}
*/

/* ---------- New: Mobile Cakes Page Styles ---------- */
#mobile-cakes-page-content {
  /* Complete solution: Use fixed positioning to completely break away from document flow */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 500 !important; /* Ensure visible above other content when needed */
  
  background-color: #EAE4DD; /* Main background color, consistent with Figma */
  color: #000000; /* Primary text color */
  font-family: 'Poppins', sans-serif;
  display: none; /* Controlled by JS */
  flex-direction: column; 
  padding-top: 0 !important; /* Force */
  margin-top: 0 !important; /* Force */
  overflow-y: auto; /* Allow content to scroll */
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  padding-bottom: 60px; /* Space for bottom nav bar if it overlays */
}

.mobile-cakes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px; /* Figma: approx 20px horizontal */
  background-color: #EAE4DD; /* Match page background */
  border-bottom: 1px solid #000000; /* Figma: Line 23, color #000000, 1px */
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-cakes-back-btn,
.mobile-cakes-location-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px; /* Adjust based on actual icon size needed */
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cakes-back-btn img,
.mobile-cakes-location-btn img {
  width: 24px; /* Figma icon size appears to be around 24x24 or 18x18 */
  height: 24px;
}

.mobile-cakes-title {
  font-family: 'Poppins', sans-serif; /* Figma: Poppins SemiBold */
  font-weight: 600;
  font-size: 24px; /* Figma: 24px */
  color: #000000; /* Figma: #000000 */
  margin: 0;
  text-align: center;
}

.mobile-cakes-description-container {
  padding: 20px; /* Figma: approx 20px around text */
  text-align: center;
  border-bottom: 1px solid #000000; /* Figma: Line 24 */
}

.mobile-cakes-description-container p {
  font-family: 'Abhaya Libre Medium', serif; /* Figma: Abhaya Libre Medium */
  font-weight: 500;
  font-size: 14px; /* Figma: 14px */
  line-height: 1.18; /* Figma: 16.5px line height / 14px font size */
  color: #000000; /* Figma: #000000 */
  margin: 0;
}

.mobile-cakes-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 15px; /* Figma: spacing between cards, e.g., 215 (start of R card) - (30 (start of L card) + 152 (width of L card)) = 33px. Average gap might be smaller. */
  padding: 20px; /* Padding around the grid */
  flex-grow: 1; /* Allow grid to take available space */
}

.mobile-cake-card {
  background-color: #FFFFFF; /* Figma: card background */
  border-radius: 10px; /* Figma: borderRadius 10px */
  padding: 10px; /* Padding inside the card */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally in the card */
  text-align: center; /* Center text */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
  cursor: pointer;
}

.mobile-cake-image-container {
  width: 100%;
  /* height: 150px; */ /* Let image define height based on aspect ratio for now */
  margin-bottom: 8px;
  border-radius: 8px; /* Slightly smaller radius for image if desired */
  overflow: hidden;
}

.mobile-cake-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 160px; /* Figma image height 176px, card padding reduces available space */
  object-fit: cover;
  display: block;
}

.mobile-cake-info {
  /* Container for name and price, if needed for specific layout */
}

.mobile-cake-name {
  font-family: 'Poppins', sans-serif; /* Figma: Poppins Medium */
  font-weight: 500;
  font-size: 14px; /* Figma: 14px */
  color: #51393A; /* Figma: text color #51393A */
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.mobile-cake-price {
  font-family: 'Poppins', sans-serif; /* Figma: Poppins Medium */
  font-weight: 500;
  font-size: 14px; /* Figma: 14px */
  color: #51393A; /* Figma: text color #51393A */
  margin: 0;
}

.mobile-cakes-footer {
  padding: 20px 15px;
  margin-top: auto; /* Push to bottom if content is short */
  background-color: #EAE4DD; /* Figma: page background, not distinct footer color */
  border-top: 1px solid #000000; /* Figma: Line 25 */
  text-align: center;
}

.mobile-cakes-footer p {
  font-family: 'Poppins', sans-serif; /* Figma: Poppins SemiBold */
  font-weight: 600;
  font-size: 10px; /* Figma: 11px, adjusted slightly */
  line-height: 1.3; /* Figma: 14.3px / 11px */
  color: #000000; /* Figma: #000000 */
  margin: 0;
  text-transform: uppercase; /* Figma text is all caps */
}

/* Adjustments for the bottom nav bar potentially overlapping */
body.mobile-view #mobile-cakes-page-content {
  padding-bottom: 65px; /* Height of bottom nav bar */
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #FFFFFF; /* Figma: #FFFFFF */
  height: 60px; /* Figma: Height approx 60-65px */
  border-top: 1px solid #E0E0E0; /* Subtle top border */
  z-index: 1000; /* Ensure it's above other content */
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 5px 0;
  text-decoration: none;
  color: #A0A0A0; /* Default icon/text color */
}

.mobile-nav-item.active img {
  /* Assuming active state might change icon color, handled by SVG or different image source if needed */
  /* For now, let's rely on the provided active class on the <a> tag if it affects text or background */
}

.mobile-nav-item img {
  width: 24px; /* Adjust as per Figma */
  height: 24px;
  margin-bottom: 2px;
}

/* Ensure mobile-view specific styling for category items if needed */
.mobile-category-item {
  /* ... any existing styles ... */
  cursor: pointer; /* Add pointer for better UX */
}

.mobile-top-products-section .mobile-product-card {
  /* ... any existing styles ... */
  cursor: pointer; /* Add pointer for better UX */
}

/* Ensure global styles for hidden pages are respected */
.hidden-page {
  display: none !important;
}

/* Fine-tune: Ensure direct child content area of #mobile-main-app-view (homepage sections) hides correctly on switch */
#mobile-main-app-view > section {
  /* Default should be block or flex, JS will add .hidden class */
}

.hidden {
  display: none !important;
}

/* Ensure #mobile-main-app-view (if it's parent or sibling and affects layout) is not problematic */
/* Usually #mobile-cakes-page-content is sibling to #mobile-main-app-view, controlled by JS */
/* But in case, ensure #mobile-main-app-view does not introduce extra blank on switch */
#mobile-main-app-view {
    padding-top: 0 !important; /* If it still affects layout in some way when displaying cakes page */
}

/* Add mobile product detail page styles */
@media (max-width: 768px) {
  #product-detail-page {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 500 !important;
    background-color: #A4DDD8; /* Use design draft's light blue background */
    overflow-y: auto;
    padding: 0 0 60px 0 !important; /* Reduce bottom padding */
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .pdp-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: transparent; /* Transparent background */
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .pdp-back-btn {
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
  
  .pdp-logo {
    /* Hide middle logo, design draft top does not have */
    display: none;
  }
  
  .pdp-logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
  }
  
  .pdp-top-icons {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .pdp-top-icons .icon-heart,
  .pdp-top-icons .icon-bag {
    width: 22px;
    height: 22px;
    cursor: pointer;
  }

  .pdp-main-image-container {
    padding: 0;
    text-align: center;
    margin-bottom: 0;
    background-color: #A4DDD8;
  }
  
  .pdp-main-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .pdp-info-container {
    padding: 15px;
    background-color: #EAE4DD; /* Design draft's milk white background */
    border-radius: 15px 15px 0 0; /* Top rounded corners */
    margin-top: -5px; /* Make info container slightly overlap image */
  }
  
  .pdp-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #000;
  }
  
  .pdp-description {
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #333;
  }
  
  .pdp-price {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #000;
  }
  
  .pdp-dimensions-container {
    margin: 10px 0 15px 0;
  }
  
  .pdp-dimensions-label {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 3px 0;
    color: #000;
  }
  
  .pdp-dimensions {
    font-size: 12px;
    line-height: 1.3;
    margin: 0 0 5px 0;
    color: #333;
  }
  
  .pdp-tips {
    font-size: 12px;
    line-height: 1.3;
    margin: 5px 0 0 0;
    color: #FF0000; /* Red text for tips */
    font-weight: 500;
  }
  
  .pdp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
  }
  
  .pdp-quantity-selector {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: 70px;
  }
  
  .pdp-quantity-value {
    font-size: 16px;
    font-weight: 500;
    margin-right: 10px;
  }
  
  .pdp-quantity-buttons {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .pdp-quantity-arrow-up,
  .pdp-quantity-arrow-down {
    background: none;
    border: none;
    font-size: 10px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #555;
  }
  
  .pdp-add-to-cart-btn {
    background-color: #51393A; /* Deep brown, consistent with overall site theme */
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 60%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .pdp-add-to-cart-btn:hover {
    background-color: #694b4c; /* Slightly lighter brown */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  }
  
  .pdp-add-to-cart-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    background-color: #3e2c2d; /* Darker color when pressed */
  }
  
  /* Add ripple effect on click */
  .pdp-add-to-cart-btn::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.8s;
  }
  
  .pdp-add-to-cart-btn:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
  }
} 

/* Mobile About Page Styles */
#mobile-about-page-content {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 500 !important;
  background-color: #EAE4DD;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  display: none; /* Hidden by default, will be changed to flex by JS */
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-bottom: 40px; /* Reduce bottom space of entire content area to 40px */
  min-height: 500px; /* Ensure minimum height is enough to display content */
}

/* Force all child elements under #mobile-about-page-content to be visible */
#mobile-about-page-content > * {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Special styles for .mobile-about-page-top-bar to ensure it's always visible and at the top of the page */
.mobile-about-page-top-bar {
  display: flex !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background-color: #EAE4DD;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.mobile-about-back-btn,
.mobile-about-location-btn {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-about-back-btn img,
.mobile-about-location-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-about-page-top-bar h1 {
  margin: 0;
  font-family: 'Playfair Display SC', serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.mobile-page-container {
  width: 100%;
  height: 180px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  margin: 10px 0;
  border: 2px solid #999;
  background-color: #F5F5F5;
}

/* Remove all complex CSS related to image animations */
/* All image styles now controlled directly by JS */

.mobile-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  margin-top: 10px;
  background-color: transparent;
}

.mobile-page-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #000;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-page-btn.active {
  background-color: #000;
  color: #fff;
}

.mobile-about-content {
  padding: 10px 15px;
}

.mobile-about-content h2 {
  font-family: 'Playfair Display SC', serif;
  font-size: 20px; /* Reduce title font size */
  font-weight: 700;
  margin: 0 0 5px 0; /* Reduce bottom spacing */
  text-align: center;
}

.mobile-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; /* Reduce font size */
  color: #666;
  margin: 0 0 15px 0; /* Reduce bottom spacing */
  text-align: center;
}

.mobile-about-intro p {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; /* Reduce font size */
  line-height: 1.4; /* Reduce line height */
  margin-bottom: 12px; /* Reduce paragraph spacing */
  color: #333;
}

.mobile-about-footer {
  padding: 20px 15px 40px 15px; /* Reduce bottom padding to 40px to prevent bottom navigation bar from blocking but not too wide */
  margin-top: 20px;
  background-color: #D5CCC6;
}

.mobile-about-footer p {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-align: center;
  margin: 0;
  color: #333;
} 