/* Fonts - Using Google Fonts */
/* Montserrat replaces Kollektif */
/* Pacifico replaces KosolapaScript */

@font-face {
  font-family: 'Sacramento';
  src: url('../fonts/Sacramento.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lastochka';
  src: url('../fonts/Lastochka.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Kollektif', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #F3EFE4;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #F3EFE4;
}

::-webkit-scrollbar-thumb {
  background: #9FB6C4;
  border-radius: 6px;
  border: 2px solid #F3EFE4;
}

::-webkit-scrollbar-thumb:hover {
  background: #7E747F;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #9FB6C4 #F3EFE4;
}

.HomePage {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: auto;
  background: #F3EFE4;
  position: relative;
  overflow: visible;
}

/* Hide Figma absolute positioned navigation elements */
.Rectangle2,
.Line1,
.Group5,
.Hover {
  display: none !important;
}

/* Navigation container */
.nav-container {
  position: absolute;
  top: 68px;
  left: 73px;
  right: 73px;
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  background: #F3EFE4;
  border: 2px solid #020202;
  z-index: 100;
}

/* Logo section */
.logo-section {
  display: flex;
  align-items: center;
  position: absolute;
  left: 30px;
}

.logo-section .logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #000;
  line-height: 1;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  gap: 70px;
  align-items: center;
  justify-content: center;
}

.nav-menu a {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
  white-space: nowrap;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  display: inline-block;
  text-align: center;
}

.nav-menu a:hover {
  opacity: 0.7;
}

/* Hamburger menu - hide on desktop */
.hamburger-menu {
  display: none;
}

/* Scrolling marquee sections */
.Frame31 {
  background: #9FB6C4 !important;
  overflow: hidden !important;
  clip-path: inset(0 0 0 0) !important;
  -webkit-clip-path: inset(0 0 0 0) !important;
}

.Frame31 .Group19 {
  will-change: transform;
  transition: none;
}

.Frame31 .ScentopiaCandleCo {
  color: transparent !important;
  -webkit-text-stroke: 2px #F3EFE4 !important;
  text-stroke: 2px #F3EFE4 !important;
  paint-order: stroke fill;
}

/* Replace text content with КАМНИ&СВЕЧИ */
.Frame31 .ScentopiaCandleCo {
  font-size: 0 !important;
}

.Frame31 .ScentopiaCandleCo::before {
  content: 'КАМНИ&СВЕЧИ';
  font-size: 70px;
  color: transparent;
  -webkit-text-stroke: 2px #F3EFE4;
  text-stroke: 2px #F3EFE4;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 73px;
  display: inline-block;
  vertical-align: top;
}

/* Marquee scroll controlled by JavaScript */
.Frame31 .Group19 {
  will-change: transform;
  transition: none;
}

/* Fix image alignment */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Ensure all absolute positioned images are properly aligned */
[style*="position: absolute"] img {
  object-fit: cover;
}

/* Make all absolute elements responsive */
[data-layer][style*="position: absolute"] {
  max-width: 100%;
}

/* Typography fixes */
.ShopYourFavorite {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
}

/* Rotating stars on scroll */
.rotating-star {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Desktop layout handled via @media (min-width: 1280px) at bottom */

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Responsive layout for mobile & tablet */
@media (max-width: 1279px) {
  .HomePage {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 50px;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
  }
  
  /* Reset all absolute positioning for mobile */
  .HomePage > * {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }
  
  /* Hide desktop-only absolute elements */
  .Star2, .Star3, .EscapeToTranquility,
  .Rectangle13, .Rectangle14,
  .Rectangle8, .Rectangle16,
  .AllProducts, .OurCollections, .CandleAccessories, .CustomCandles,
  .Rectangle51, .Rectangle52,
  .ScentopiaIsAnAmazingFragranceStudio {
    display: none !important;
  }
  
  /* Hide scrollbar on mobile */
  body, html {
    overflow-x: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  body::-webkit-scrollbar, html::-webkit-scrollbar {
    display: none !important;
  }
  
  /* Remove tap highlight */
  * {
    -webkit-tap-highlight-color: transparent !important;
  }
  
  /* Mobile navigation - hamburger menu */
  .nav-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    padding: 0 15px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1001 !important;
    margin: 0 !important;
    background: #F3EFE4 !important;
    border: 2px solid #020202 !important;
  }
  
  .logo-section {
    position: relative !important;
    left: auto !important;
    gap: 8px;
  }
  
  .logo-section img {
    width: 30px !important;
    height: 44px !important;
  }
  
  .logo-section .logo-text {
    font-size: 18px !important;
  }
  
  /* Mobile hamburger menu */
  .hamburger-menu {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
  }
  
  .hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Mobile menu overlay */
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    width: 100%;
    background: #F3EFE4;
    border: 2px solid #020202;
    border-top: none;
    padding: 25px 20px 20px 20px;
    gap: 15px;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .nav-menu.active a {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-menu.active a:nth-child(1) { transition-delay: 0.05s; }
  .nav-menu.active a:nth-child(2) { transition-delay: 0.1s; }
  .nav-menu.active a:nth-child(3) { transition-delay: 0.15s; }
  .nav-menu.active a:nth-child(4) { transition-delay: 0.2s; }
  
  .nav-menu a:last-child {
    border-bottom: none;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* Add top padding to compensate for fixed nav */
  .HomePage::before {
    content: '';
    display: block;
    height: 80px;
  }
  
  /* Reduce spacing between all sections */
  .mobile-hero {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }
  
  .hero-image-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .ShopYourFavorite {
    margin: 10px auto 5px !important;
  }
  
  .products-carousel {
    margin: 5px 0 !important;
  }

  .EscapeToTranquility span {
    display: block !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
  
  .EscapeToTranquility span:last-child {
    font-size: 38px !important;
  }
  
  /* Stars decoration */
  .Star2, .Star3 {
    width: 60px !important;
    height: 60px !important;
    position: absolute !important;
  }
  
  .Star2 {
    right: 20px !important;
    top: 100px !important;
    left: auto !important;
  }
  
  .Star3 {
    left: 20px !important;
    top: 100px !important;
  }
  
  .Star2 svg, .Star3 svg {
    width: 60px;
    height: 60px;
  }
  
  /* Main hero image */
  .Rectangle7 {
    width: 90% !important;
    max-width: 400px;
    height: 400px !important;
    border-top-left-radius: 200px !important;
    border-top-right-radius: 200px !important;
    object-fit: cover;
    margin: 10px auto !important;
  }
  
  /* Product section title */
  .ShopYourFavorite {
    width: 90% !important;
    padding: 10px 15px !important;
    text-align: center;
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 10px auto 5px !important;
  }
  
  /* Candle products */
  .Rectangle19, .Rectangle17, .Rectangle18, .Rectangle10 {
    width: 85% !important;
    max-width: 300px;
    height: 350px !important;
    border-top-left-radius: 175px !important;
    border-top-right-radius: 175px !important;
    object-fit: cover;
    margin: 10px auto !important;
  }
  
  /* Category bar */
  .Rectangle8 {
    width: 100% !important;
    min-height: auto !important;
    padding: 10px 0 !important;
    margin: 15px 0 !important;
  }
  
  /* Category links */
  .ShopAll, .OurCollections, .CandleAccessories, .CustomCandles {
    width: 90% !important;
    max-width: 350px;
    padding: 15px 10px !important;
    text-align: center;
    font-size: 20px !important;
    margin: 15px auto !important;
  }
  
  /* Background image */
  .Rectangle13 {
    width: 100% !important;
    min-height: 300px !important;
    margin: 15px 0 !important;
  }
  
  /* About section container */
  .Rectangle14 {
    width: 90% !important;
    max-width: 500px;
    padding: 20px 15px 30px !important;
    border-radius: 20px !important;
    margin: -100px auto 15px !important;
  }
  
  .AboutUs {
    width: 100% !important;
    padding: 0 20px !important;
    text-align: center;
    font-size: 36px !important;
    margin: 10px auto !important;
  }
  
  .ScentopiaIsAnAmazingFragranceStudio {
    width: 100% !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    text-align: left !important;
    line-height: 1.6 !important;
    margin: 10px auto !important;
  }
  
  .Rectangle51 {
    width: 80% !important;
    max-width: 280px;
    height: 50px !important;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin: 15px auto 10px !important;
  }
  
  .Rectangle51:active {
    transform: scale(0.95);
  }
  
  .LearnMore {
    width: 100% !important;
    padding: 12px 0 !important;
    font-size: 22px !important;
    text-align: center;
    cursor: pointer;
    user-select: none;
    margin: -42px auto 0 !important;
  }
  
  /* Second category bar */
  .Rectangle16 {
    width: 100% !important;
    min-height: auto !important;
    padding: 10px 0 !important;
    margin: 15px 0 !important;
  }
  
  /* Connect section */
  .GetConnectWithUs {
    width: 90% !important;
    padding: 10px 15px !important;
    text-align: center;
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin: 15px auto 10px !important;
  }
  
  /* Second hero image */
  .Rectangle15 {
    width: 90% !important;
    max-width: 400px;
    height: 400px !important;
    border-top-left-radius: 200px !important;
    border-top-right-radius: 200px !important;
    object-fit: cover;
    margin: 10px auto !important;
  }
  
  .Rectangle52 {
    width: 80% !important;
    max-width: 280px;
    height: 50px !important;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin: 15px auto 10px !important;
  }
  
  .Rectangle52:active {
    transform: scale(0.95);
  }
  
  .ContactUs {
    width: 100% !important;
    padding: 12px 0 !important;
    font-size: 22px !important;
    text-align: center;
    cursor: pointer;
    user-select: none;
    margin: -42px auto 0 !important;
  }
  
  /* Ellipses - hide on mobile as they don't work well */
  .Ellipse1, .Ellipse2 {
    display: none !important;
  }
  
  /* Footer */
  .Group10 {
    width: 90% !important;
    max-width: 500px;
    padding: 20px 15px !important;
    margin: 20px auto 15px !important;
  }
  
  .Rectangle65 {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
  }
  
  .Group9 {
    width: 100% !important;
    text-align: center;
    position: relative !important;
    margin: 0 auto !important;
  }
  
  .FollowUs {
    width: 100% !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  .Group7 {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  
  /* Marquee sections */
  .Frame31 {
    position: relative !important;
    width: 100% !important;
    height: 50px !important;
    margin: 10px 0 !important;
    left: 0 !important;
  }
  
  .Frame31 .Group19 {
    height: 50px !important;
  }
  
  .Frame31 .ScentopiaCandleCo {
    height: 50px !important;
  }
  
  .Frame31 .ScentopiaCandleCo::before {
    font-size: 36px !important;
    line-height: 50px !important;
  }
  
  .Frame31 .Star13 {
    display: none !important;
  }
  
  /* Hero image wrapper - override md:contents */
  .hero-image-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
  }
  
  .Rectangle7 {
    position: relative !important;
    width: 70% !important;
    max-width: 480px !important;
    height: auto !important;
    margin: 20px auto !important;
    left: auto !important;
    top: auto !important;
  }
  
  .Ellipse1 {
    position: absolute !important;
    left: 10% !important;
    bottom: -30px !important;
    top: auto !important;
    width: 80% !important;
    height: 200px !important;
    margin: 0 !important;
    transform: rotate(-15deg) !important;
  }
  
  /* Products Carousel */
  .products-carousel {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
  }
  
  .carousel-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 20px !important;
    padding: 10px 20px !important;
  }
  
  .carousel-track::-webkit-scrollbar {
    display: none !important;
  }
  
  .carousel-slide {
    flex: 0 0 80% !important;
    scroll-snap-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .carousel-slide img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    border-radius: 150px 150px 0 0 !important;
  }
  
  /* Carousel dots */
  .carousel-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 15px !important;
    padding-bottom: 10px !important;
  }
  
  .carousel-dots .dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #ccc !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
  }
  
  .carousel-dots .dot.active {
    background: #7E747F !important;
  }
  
  /* Product images */
  .Rectangle10, .Rectangle17, .Rectangle18, .Rectangle19 {
    position: relative !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    left: 0 !important;
    top: auto !important;
  }
  
  /* Contact section wrapper — override md:contents */
  .HomePage > div.hidden.md\\:contents {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
  }
  
  .Rectangle15 {
    position: relative !important;
    width: 70% !important;
    max-width: 480px !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 20px auto !important;
  }
  
  .Ellipse2 {
    position: absolute !important;
    left: 10% !important;
    top: auto !important;
    bottom: 85px !important;
    width: 80% !important;
    height: 200px !important;
    margin: 0 !important;
    transform: rotate(-15deg) !important;
  }
  
  /* Contact/Learn buttons - inline-block style */
  .ContactUs,
  .LearnMore {
    display: inline-block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    background: #7E747F !important;
    color: white !important;
    padding: 14px 40px !important;
    border-radius: 16px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  
  .ContactUs:hover, .LearnMore:hover {
    background: #5e565f !important;
  }
  
  /* Footer */
  .Group10 {
    display: block !important;
    position: relative !important;
    width: 90% !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 25px 20px !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
  }
  
  .Group10 .Group9 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
  }
  
  .Group10 .FollowUs {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    font-size: 22px !important;
  }
  
  .Group10 .Group7 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    transform: none !important;
  }
}

/* Tablet widths (640px-1279px): wider images, 2-col products */
@media (min-width: 640px) and (max-width: 1279px) {
  .nav-container {
    height: 70px !important;
    padding: 0 30px !important;
  }
  
  .logo-section .logo-text {
    font-size: 24px !important;
  }
  
  .mobile-hero .rotating-star svg {
    width: 90px !important;
    height: 90px !important;
  }
  
  .mobile-hero .text-center .inline-block span:first-child {
    font-size: 28px !important;
  }
  
  .mobile-hero .text-center .inline-block span:last-child {
    font-size: 72px !important;
  }
  
  /* 2-column product grid on tablet */
  .products-carousel {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding: 10px 50px 30px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }
  
  .carousel-track {
    display: contents !important;
  }
  
  .carousel-dots {
    display: none !important;
  }
  
  .carousel-slide {
    flex: none !important;
  }
  
  .carousel-slide img {
    max-width: 100% !important;
    border-radius: 170px 170px 0 0 !important;
  }
  
  .ShopYourFavorite {
    font-size: 38px !important;
  }
  
  .GetConnectWithUs {
    font-size: 46px !important;
  }
  
  .AboutUs {
    font-size: 52px !important;
  }
  
  .ScentopiaIsAnAmazingFragranceStudioMobile {
    font-size: 17px !important;
    line-height: 1.8 !important;
    max-width: 750px !important;
    padding: 10px 80px 20px !important;
  }
  
  .Frame31 {
    height: 75px !important;
  }
  
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Extra small mobile (320px) */
@media (max-width: 480px) {
  .logo-section .logo-text {
    font-size: 18px !important;
  }
  
  .ShopYourFavorite {
    font-size: 26px !important;
  }
  
  .GetConnectWithUs {
    font-size: 28px !important;
  }
  
  .Frame31 .ScentopiaCandleCo::before {
    font-size: 36px !important;
  }
}

/* Desktop-only: Show ellipses */
@media (min-width: 1280px) {
  .Ellipse1, .Ellipse2 {
    display: block !important;
  }
}

/* Scroll margin for anchor links */
#shop, #about, #about-desktop, #footer {
  scroll-margin-top: 150px;
}

@media (max-width: 1279px) {
  #shop, #about, #about-desktop, #footer, #contact-section {
    scroll-margin-top: 100px;
  }
}

/* Catalog Modal Styles */
.catalog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.catalog-overlay.active {
  opacity: 1;
  visibility: visible;
}

.catalog-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  background: #F3EFE4;
  border-radius: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.catalog-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.catalog-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.catalog-close {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
  line-height: 1;
}

.catalog-close:hover {
  color: #000;
}

.catalog-tabs {
  display: flex;
  gap: 10px;
  padding: 15px 30px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.catalog-tab {
  padding: 10px 20px;
  border: 2px solid #7E747F;
  background: transparent;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: #7E747F;
}

.catalog-tab:hover {
  background: #7E747F;
  color: white;
}

.catalog-tab.active {
  background: #7E747F;
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 25px 30px;
  overflow-y: auto;
  flex: 1;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #f0ebe0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-placeholder {
  display: none;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.product-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.order-btn {
  padding: 10px 20px;
  background: #7E747F;
  color: white;
  border: none;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.order-btn:hover {
  background: #5e565f;
}

/* Product card badges */
.product-image-wrapper {
  position: relative;
}

.card-badge {
  position: absolute;
  top: 12px;
  z-index: 5;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  pointer-events: none;
}

.badge-new-card {
  left: 12px;
  background: #2e7d32;
  color: white;
}

.badge-discount-card {
  right: 12px;
  background: #d32f2f;
  color: white;
}

/* Product card price with discount */
.product-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-old-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-price-discount {
  color: #d32f2f !important;
}

/* Modal discount/new badges */
.modal-product-old-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.modal-price-discount {
  color: #d32f2f !important;
}

.modal-discount-badge {
  display: inline-block;
  background: #d32f2f;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  margin: 4px 4px 4px 0;
  width: fit-content;
  align-self: flex-start;
}

.modal-new-badge {
  display: inline-block;
  background: #2e7d32;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  margin: 4px 4px 4px 0;
  width: fit-content;
  align-self: flex-start;
}

/* Preorder notice */
.modal-preorder-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 8px 0;
}

.preorder-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.preorder-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preorder-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #E65100;
}

.preorder-text span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #795548;
  line-height: 1.4;
}

/* Clickable product images on main page */
.Rectangle19, .Rectangle17, .Rectangle18, .Rectangle10 {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.Rectangle19:hover, .Rectangle17:hover, .Rectangle18:hover, .Rectangle10:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive catalog */
@media (max-width: 1279px) {
  .catalog-modal {
    width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .catalog-header {
    padding: 15px 20px;
  }
  
  .catalog-title {
    font-size: 20px;
  }
  
  .catalog-tabs {
    padding: 10px 20px;
    gap: 8px;
  }
  
  .catalog-tab {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    padding: 15px 20px;
    gap: 15px;
  }
  
  .product-image {
    height: 180px;
  }
}

/* ========================================
   SPA Catalog Section Styles
   ======================================== */

.catalog-section {
  width: 100%;
  min-height: auto;
  padding: 20px;
  padding-top: 180px; /* Space for fixed nav */
  background: #F3EFE4;
}

.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.catalog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #7E747F;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #7E747F;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 30px;
}

.catalog-back:hover {
  background: #7E747F;
  color: white;
}

.catalog-back svg {
  width: 20px;
  height: 20px;
}

.catalog-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 14px 32px;
  background: transparent;
  border: 2px solid #333;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #333;
  color: white;
}

.filter-btn.active {
  background: #7E747F;
  border-color: #7E747F;
  color: white;
}

.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.catalog-products-grid .product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.catalog-products-grid .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.product-image-wrapper {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}

/* Product Image Carousel */
.product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.product-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.product-carousel .carousel-slide.active {
  opacity: 1;
}

.product-carousel .carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.product-carousel .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.product-carousel .carousel-dot:hover {
  transform: scale(1.2);
}

.product-carousel .carousel-dot.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.catalog-products-grid .product-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #f0ebe0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-products-grid .product-info {
  padding: 25px;
}

.catalog-products-grid .product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.catalog-products-grid .product-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 60px;
}

.catalog-products-grid .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-products-grid .product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.catalog-products-grid .order-btn {
  padding: 12px 28px;
  background: #7E747F;
  color: white;
  border: none;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.catalog-products-grid .order-btn:hover {
  background: #5e565f;
  transform: scale(1.05);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
}

/* Responsive SPA Catalog */
@media (max-width: 1279px) {
  .catalog-section {
    padding: 15px;
    padding-top: 15px;
  }
  
  .catalog-container {
    padding: 0 10px;
  }
  
  .catalog-back {
    padding: 10px 20px;
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .catalog-main-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .catalog-filters {
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .catalog-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-image-wrapper {
    height: 300px;
  }
  
  .catalog-products-grid .product-info {
    padding: 20px;
  }
  
  .catalog-products-grid .product-name {
    font-size: 18px;
  }
  
  .catalog-products-grid .product-price {
    font-size: 20px;
  }
}

/* Product Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.product-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background: white;
  transform: scale(1.1);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.modal-gallery {
  position: relative;
}

.modal-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0ebe0;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.modal-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.modal-carousel-slide.active {
  opacity: 1;
}

.modal-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-carousel-prev,
.modal-carousel-next {
  display: none;
}

.modal-carousel-prev {
  left: 15px;
}

.modal-carousel-next {
  right: 15px;
}

.modal-carousel-prev:hover,
.modal-carousel-next:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.modal-carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.modal-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.modal-carousel-dot:hover {
  transform: scale(1.2);
}

.modal-carousel-dot.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.modal-product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #7E747F;
  margin-bottom: 25px;
}

.modal-product-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
}

.modal-actions {
  display: flex;
  gap: 15px;
}

.modal-order-btn {
  flex: 1;
  padding: 16px 32px;
  background: #7E747F;
  color: white;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.modal-order-btn:hover {
  background: #5e565f;
  transform: scale(1.05);
}

.modal-cart-btn {
  flex: 1;
  padding: 16px 32px;
  background: white;
  color: #7E747F;
  border: 2px solid #7E747F;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-cart-btn:hover {
  background: #7E747F;
  color: white;
  transform: scale(1.05);
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: #27ae60;
  color: white;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-notification.error {
  background: #e74c3c;
}

/* Quantity Selector in Modal */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
}

.quantity-label {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #E5E5E5;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #F3EFE4;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: 600;
  user-select: none;
}

.quantity-btn:hover {
  background: #7E747F;
  color: white;
}

.quantity-btn:active,
.quantity-btn.pulse {
  transform: scale(0.9);
  background: #6A6370;
  color: white;
}

.quantity-input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 2px solid #E5E5E5;
  border-right: 2px solid #E5E5E5;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: white;
  color: #333;
  -moz-appearance: textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Stock info */
.modal-product-stock {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #27ae60;
  margin-top: 5px;
  font-weight: 500;
}

.modal-product-stock.out-of-stock {
  color: #e74c3c;
}

/* Cart icon bounce animation */

/* Cart button quantity mode */
.modal-cart-btn.cart-btn-qty-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 0;
  background: transparent;
  border: 2px solid #7E747F;
  color: #333;
  cursor: default;
  min-width: 140px;
}

.modal-cart-btn.cart-btn-qty-mode:hover {
  background: transparent;
}

.cart-btn-minus, .cart-btn-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  min-height: 44px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
  color: #7E747F;
}

.cart-btn-minus:hover, .cart-btn-plus:hover {
  background: #7E747F;
  color: white;
}

.cart-btn-minus {
  border-radius: 25px 0 0 25px;
}

.cart-btn-plus {
  border-radius: 0 25px 25px 0;
}

.cart-btn-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
}

@keyframes qtyBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.qty-bounce {
  animation: qtyBounce 0.2s ease;
}

@keyframes cartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  50% { transform: scale(0.9); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.cart-bounce {
  animation: cartBounce 0.6s ease;
}

/* Cart item quantity controls */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  background: #F3EFE4;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #333;
  font-weight: 600;
}

.cart-qty-btn:hover {
  background: #7E747F;
  color: white;
  border-color: #7E747F;
}

.cart-qty-value {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* Mobile Modal */
@media (max-width: 1279px) {
  .modal-body {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }
  
  .modal-carousel {
    height: 300px;
  }
  
  .modal-product-name {
    font-size: 24px;
  }
  
  .modal-product-price {
    font-size: 28px;
  }
  
  .modal-product-description {
    font-size: 14px;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-cart-btn,
  .modal-order-btn {
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .cart-notification {
    top: auto;
    bottom: 20px;
    right: 10px;
    left: 10px;
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* Floating Cart Widget */
.cart-floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #7E747F;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-floating-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.cart-floating-widget:active {
  transform: scale(0.95);
}

.cart-floating-widget .cart-icon {
  width: 26px;
  height: 26px;
  color: white;
}

.cart-floating-widget .cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Nunito', sans-serif;
  border: 2px solid white;
}

/* Cart Modal */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10001;
  padding: 20px;
  overflow-y: auto;
}

.cart-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.cart-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin: auto;
}

.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid #E5E5E5;
}

.cart-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: #020202;
}

.cart-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #7E747F;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.cart-modal-close:hover {
  color: #020202;
}

.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #7E747F;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: box-shadow 0.3s;
}

.cart-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: #020202;
}

.cart-item-price {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: #7E747F;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: 1px solid #E5E5E5;
  color: #7E747F;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  transition: all 0.3s;
  align-self: flex-start;
}

.cart-item-remove:hover {
  background: #7E747F;
  color: white;
  border-color: #7E747F;
}

.cart-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #E5E5E5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #020202;
}

.cart-checkout-btn {
  background: #7E747F;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

.cart-checkout-btn:hover {
  background: #6A6370;
  transform: translateY(-1px);
}

.cart-checkout-btn:active {
  transform: translateY(0);
}

/* Mobile Cart Styles */
@media (max-width: 1279px) {
  .cart-icon {
    width: 24px;
    height: 24px;
  }
  
  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  
  .cart-modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .cart-modal-header {
    padding: 20px;
  }
  
  .cart-modal-header h2 {
    font-size: 24px;
  }
  
  .cart-modal-body {
    padding: 15px;
  }
  
  .cart-item {
    gap: 12px;
    padding: 12px;
  }
  
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
  
  .cart-item-name {
    font-size: 16px;
  }
  
  .cart-item-price {
    font-size: 14px;
  }
  
  .cart-modal-footer {
    padding: 15px;
  }
  
  .cart-total {
    font-size: 18px;
  }
  
  .cart-checkout-btn {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* Custom positioning for About section button */
@media (min-width: 1280px) {
  .md\:top-\[2620px\] {
    top: 2589px !important;
  }
}

/* Disable scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Small screens (320px) */
@media (max-width: 374px) {
  .mobile-hero {
    gap: 0.5rem;
  }
  .mobile-hero svg {
    width: 40px;
    height: 40px;
  }
  .mobile-hero .text-xl {
    font-size: 1rem;
  }
  .mobile-hero .text-5xl {
    font-size: 2rem;
  }
}