 /* Gallery Section - REMOVE overflow: hidden */
 .gallery-section {
     padding: 3rem 0;
     /* Reduced from 5rem */
     position: relative;
     background: linear-gradient(180deg, var(--bg-color) 0%, rgba(var(--bg-color-rgb), 0.95) 100%);
 }

 /* Seamless Gallery Container - FULL VIEWPORT WIDTH */
 .seamless-gallery-container {
     position: relative;
     width: 100vw;
     margin-left: calc(-50vw + 50%);
     overflow: visible;
     padding: 2rem 0;
     /* Reduced from 4rem */
 }

 /* Gallery Mask - Full width, no constraints */
 .gallery-mask {
     position: relative;
     width: 100%;
     height: 350px;
     /* Reduced from 400px */
     overflow: visible;
 }

 /* Seamless Gallery Track - Infinite scrolling */
 .seamless-gallery-track {
     display: flex;
     gap: 1.5rem;
     /* Reduced from 2.5rem */
     position: absolute;
     left: 0;
     top: 50%;
     transform: translateY(-50%);
     will-change: transform;
     animation: seamlessInfiniteScroll 60s linear infinite;
     /* Slower for better visibility */
     width: max-content;
     padding: 0;
     margin: 0;
     opacity: 1 !important;
     visibility: visible !important;
 }

 /* Pause animation on hover */
 .seamless-gallery-track:hover {
     animation-play-state: paused;
 }

 /* PERFECT INFINITE LOOP ANIMATION */
 @keyframes seamlessInfiniteScroll {
     0% {
         transform: translateX(0) translateY(-50%);
     }

     100% {
         transform: translateX(-50%) translateY(-50%);
         /* Move half the track width */
     }
 }

 /* Gallery Cards - Slightly smaller for tighter layout */
 .gallery-card {
     flex: 0 0 400px;
     /* Reduced from 450px */
     height: 280px;
     /* Reduced from 320px */
     position: relative;
     border-radius: 20px;
     /* Slightly smaller */
     overflow: hidden;
     cursor: pointer;
     background: var(--surface-color);
     box-shadow:
         0 15px 40px rgba(0, 0, 0, 0.15),
         inset 0 0 0 1px rgba(255, 255, 255, 0.05);
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     transform-origin: center;
     margin: 0;
 }

 .gallery-card:hover {
     transform: translateY(-10px) scale(1.05);
     /* Reduced lift */
     box-shadow:
         0 30px 60px rgba(0, 0, 0, 0.25),
         0 0 0 1px rgba(255, 255, 255, 0.1),
         0 0 50px rgba(var(--accent-color-rgb), 0.15);
     z-index: 10;
 }

 .gallery-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
     filter: brightness(0.95);
 }

 .gallery-card:hover img {
     transform: scale(1.1);
     /* Reduced from 1.12 */
     filter: brightness(1.05);
 }

 /* Card Overlay - Adjusted for smaller card */
 .card-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(to top,
             rgba(0, 0, 0, 0.95) 0%,
             rgba(0, 0, 0, 0.6) 40%,
             transparent 70%);
     opacity: 0;
     transition: opacity 0.4s ease;
     display: flex;
     align-items: flex-end;
     padding: 1.5rem;
     /* Reduced from 2rem */
 }

 .gallery-card:hover .card-overlay {
     opacity: 1;
 }

 .overlay-content {
     transform: translateY(15px);
     transition: transform 0.4s ease;
 }

 .gallery-card:hover .overlay-content {
     transform: translateY(0);
 }

 .overlay-content h4 {
     margin: 0 0 0.5rem 0;
     font-size: 1.2rem;
     /* Reduced from 1.4rem */
     font-weight: 600;
     color: white;
     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
 }

 .overlay-content p {
     margin: 0 0 1rem 0;
     color: rgba(255, 255, 255, 0.9);
     font-size: 0.85rem;
     /* Reduced from 0.95rem */
     line-height: 1.4;
 }

 .view-btn {
     display: inline-block;
     padding: 0.6rem 1.25rem;
     /* Reduced from 0.75rem 1.5rem */
     background: var(--accent-color);
     color: white;
     border-radius: 50px;
     font-size: 0.85rem;
     /* Reduced from 0.9rem */
     font-weight: 500;
     letter-spacing: 0.3px;
     transition: all 0.3s ease;
     border: none;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
 }

 .gallery-card:hover .view-btn {
     background: white;
     color: var(--accent-color);
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.4);
 }

 /* Lightbox Modal - Keep as is */
 .lightbox-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 2000;
 }

 .lightbox-modal.active {
     display: block;
 }

 /* Blur transparent background */
 .lightbox-backdrop {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.88);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     opacity: 0;
     transition: opacity 0.4s ease;
 }

 .lightbox-modal.active .lightbox-backdrop {
     opacity: 1;
 }

 /* Minimalist Lightbox Container */
 .lightbox-container {
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%) scale(0.9);
     width: 92%;
     max-width: 1300px;
     max-height: 92vh;
     background: rgba(18, 18, 18, 0.85);
     backdrop-filter: blur(30px);
     -webkit-backdrop-filter: blur(30px);
     border-radius: 24px;
     overflow: hidden;
     border: 1px solid rgba(255, 255, 255, 0.08);
     box-shadow:
         0 40px 120px rgba(0, 0, 0, 0.6),
         inset 0 0 0 1px rgba(255, 255, 255, 0.03);
     opacity: 0;
     transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
     z-index: 2001;
 }

 .lightbox-modal.active .lightbox-container {
     opacity: 1;
     transform: translate(-50%, -50%) scale(1);
 }

 /* Close Button */
 .lightbox-close {
     position: absolute;
     top: 1.75rem;
     right: 1.75rem;
     width: 44px;
     height: 44px;
     background: rgba(255, 255, 255, 0.08);
     border: none;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     z-index: 10;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     backdrop-filter: blur(10px);
 }

 .lightbox-close:hover {
     background: rgba(255, 255, 255, 0.15);
     transform: rotate(90deg);
 }

 /* Lightbox Main Area */
 .lightbox-main {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 2.5rem;
     height: 65vh;
     min-height: 450px;
 }

 /* Navigation Buttons */
 .lightbox-nav {
     width: 56px;
     height: 56px;
     background: rgba(255, 255, 255, 0.08);
     border: none;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     backdrop-filter: blur(10px);
     flex-shrink: 0;
     margin: 0 1rem;
 }

 .lightbox-nav:hover {
     background: rgba(255, 255, 255, 0.15);
     transform: scale(1.1);
 }

 /* Lightbox Content */
 .lightbox-content {
     flex: 1;
     height: 100%;
     border-radius: 16px;
     overflow: hidden;
     position: relative;
     background: rgba(0, 0, 0, 0.3);
 }

 .lightbox-track {
     display: flex;
     height: 100%;
     transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .lightbox-slide {
     flex: 0 0 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 2rem;
 }

 .lightbox-slide img {
     max-width: 100%;
     max-height: 100%;
     width: auto;
     height: auto;
     object-fit: contain;
     border-radius: 12px;
     opacity: 0;
     transform: scale(0.92);
     transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
 }

 .lightbox-slide.active img {
     opacity: 1;
     transform: scale(1);
 }

 /* Lightbox Info */
 .lightbox-info {
     padding: 2rem;
     background: rgba(255, 255, 255, 0.03);
     border-top: 1px solid rgba(255, 255, 255, 0.06);
     display: flex;
     justify-content: space-between;
     align-items: center;
     backdrop-filter: blur(10px);
 }

 .info-content {
     flex: 1;
 }

 .lightbox-title {
     margin: 0 0 0.75rem 0;
     font-size: 1.6rem;
     font-weight: 600;
     color: white;
     letter-spacing: -0.01em;
 }

 .lightbox-description {
     margin: 0;
     color: rgba(255, 255, 255, 0.75);
     font-size: 1.05rem;
     line-height: 1.6;
     max-width: 700px;
 }

 .lightbox-counter {
     font-size: 1.1rem;
     color: rgba(255, 255, 255, 0.6);
     font-weight: 500;
     padding: 0.5rem 1rem;
     background: rgba(255, 255, 255, 0.04);
     border-radius: 50px;
     margin-left: 1.5rem;
     min-width: 70px;
     text-align: center;
     border: 1px solid rgba(255, 255, 255, 0.05);
 }

 /* Thumbnails */
 .lightbox-thumbnails {
     display: flex;
     justify-content: center;
     gap: 1rem;
     padding: 1.5rem;
     background: rgba(255, 255, 255, 0.02);
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     overflow-x: auto;
     backdrop-filter: blur(10px);
 }

 .thumbnail {
     width: 70px;
     height: 52px;
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     opacity: 0.4;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     flex-shrink: 0;
     border: 2px solid transparent;
 }

 .thumbnail:hover {
     opacity: 0.8;
     transform: translateY(-2px);
 }

 .thumbnail.active {
     opacity: 1;
     border-color: var(--accent-color);
     transform: translateY(-2px);
     box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.2);
 }

 .thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* Responsive Design with tighter spacing */
 @media (max-width: 1920px) {
     .gallery-card {
         flex: 0 0 350px;
         height: 250px;
     }

     .gallery-mask {
         height: 300px;
     }
 }

 @media (max-width: 1400px) {
     .gallery-card {
         flex: 0 0 320px;
         height: 230px;
     }

     .gallery-mask {
         height: 280px;
     }
 }

 @media (max-width: 1200px) {
     .gallery-section {
         padding: 2.5rem 0;
     }

     .gallery-card {
         flex: 0 0 300px;
         height: 210px;
     }

     .gallery-mask {
         height: 260px;
     }

     .seamless-gallery-track {
         gap: 1.25rem;
     }
 }

 @media (max-width: 992px) {
     .gallery-section {
         padding: 2rem 0;
     }

     .seamless-gallery-container {
         padding: 1.5rem 0;
     }

     .gallery-card {
         flex: 0 0 280px;
         height: 190px;
     }

     .gallery-mask {
         height: 240px;
     }

     .seamless-gallery-track {
         gap: 1rem;
     }

     .overlay-content {
         padding: 1rem;
     }

     .overlay-content h4 {
         font-size: 1.1rem;
     }

     .overlay-content p {
         font-size: 0.8rem;
     }
 }

 @media (max-width: 768px) {
     .gallery-section {
         padding: 1.5rem 0;
     }

     .seamless-gallery-container {
         padding: 1rem 0;
     }

     .gallery-card {
         flex: 0 0 250px;
         height: 170px;
     }

     .gallery-mask {
         height: 210px;
     }

     .seamless-gallery-track {
         gap: 0.75rem;
     }

     .card-overlay {
         padding: 1rem;
     }

     .overlay-content h4 {
         font-size: 1rem;
         margin-bottom: 0.25rem;
     }

     .overlay-content p {
         font-size: 0.75rem;
         margin-bottom: 0.75rem;
     }

     .view-btn {
         padding: 0.5rem 1rem;
         font-size: 0.8rem;
     }
 }

 @media (max-width: 480px) {
     .gallery-section {
         padding: 1rem 0;
     }

     .seamless-gallery-container {
         padding: 0.75rem 0;
     }

     .gallery-card {
         flex: 0 0 220px;
         height: 150px;
     }

     .gallery-mask {
         height: 180px;
     }

     .seamless-gallery-track {
         gap: 0.5rem;
     }
 }

 /* =========================================================
   LIGHTBOX RESPONSIVE + LOW BLUR OVERRIDES
   Purpose: keep images visible across devices and reduce blur
   ========================================================= */

 /* Very low blur background */
 .lightbox-backdrop {
     background: rgba(0, 0, 0, 0.70);
     backdrop-filter: blur(3px);
     -webkit-backdrop-filter: blur(3px);
 }

 /* Subtle container blur (keep glass look, but low) */
 .lightbox-container {
     backdrop-filter: blur(6px);
     -webkit-backdrop-filter: blur(6px);

     /* Flex column so main area can size correctly */
     display: flex;
     flex-direction: column;

     /* Responsive sizing */
     width: min(1300px, calc(100vw - 1rem));
     max-height: calc(100dvh - 1rem);
 }

 /* Remove fixed-height main area so the image never gets cropped */
 .lightbox-main {
     height: auto;
     /* overrides 65vh */
     min-height: 0;
     /* critical for flex sizing */
     flex: 1 1 auto;
     /* take remaining space */
     padding: 2rem;
     /* slightly tighter */
     gap: 1rem;
 }

 /* Allow slider viewport to shrink */
 .lightbox-content,
 .lightbox-track,
 .lightbox-slide {
     min-height: 0;
 }

 /* Ensure image always fits */
 .lightbox-slide img {
     max-width: 100%;
     max-height: 100%;
     width: auto;
     height: auto;
     object-fit: contain;
 }

 /* Tablet sizing tweaks */
 @media (max-width: 992px) {
     .lightbox-main {
         padding: 1.5rem;
     }

     .lightbox-slide {
         padding: 1.25rem;
     }
 }

 /* =========================================================
   MOBILE-FIRST LIGHTBOX REDESIGN
   Purpose: make popup image highly visible on small devices
   ========================================================= */
 @media (max-width: 768px) {

     /* Backdrop: even lower blur on mobile */
     .lightbox-backdrop {
         background: rgba(0, 0, 0, 0.75);
         backdrop-filter: blur(2px);
         -webkit-backdrop-filter: blur(2px);
     }

     /* Full-screen mobile modal */
     .lightbox-container {
         width: 100vw;
         height: 100dvh;
         max-height: 100dvh;
         border-radius: 0;
         padding: 0;
     }

     /* Image-first layout */
     .lightbox-main {
         position: relative;
         flex: 1 1 auto;
         padding: 0;
         margin: 0;
         min-height: 0;
         display: flex;
         align-items: center;
         justify-content: center;
     }

     /* Slider viewport fills available space */
     .lightbox-content {
         width: 100%;
         height: 100%;
         min-height: 0;
         border-radius: 0;
         background: black;
     }

     .lightbox-track {
         height: 100%;
     }

     .lightbox-slide {
         padding: 0;
         height: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
     }

     /* Max visibility image */
     .lightbox-slide img {
         max-width: 100%;
         max-height: 100%;
         width: auto;
         height: auto;
         object-fit: contain;
         border-radius: 0;
         box-shadow: none;
     }

     /* Nav buttons overlaid on the image */
     .lightbox-nav {
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
         width: 44px;
         height: 44px;
         background: rgba(0, 0, 0, 0.45);
         backdrop-filter: blur(4px);
         -webkit-backdrop-filter: blur(4px);
         border: none;
         z-index: 5;
         margin: 0;
     }

     .lightbox-nav.prev {
         left: 0.75rem;
     }

     .lightbox-nav.next {
         right: 0.75rem;
     }

     /* Close button */
     .lightbox-close {
         top: 0.75rem;
         right: 0.75rem;
         width: 42px;
         height: 42px;
         background: rgba(0, 0, 0, 0.55);
         backdrop-filter: blur(4px);
         -webkit-backdrop-filter: blur(4px);
     }

     /* Info panel below image */
     .lightbox-info {
         flex: 0 0 auto;
         padding: 1rem 1.25rem;
         background: rgba(0, 0, 0, 0.85);
         border-top: none;
         display: flex;
         flex-direction: column;
         gap: 0.5rem;
     }

     .lightbox-title {
         font-size: 1.1rem;
         margin: 0;
     }

     .lightbox-description {
         font-size: 0.9rem;
         line-height: 1.5;
     }

     .lightbox-counter {
         align-self: flex-start;
         font-size: 0.85rem;
         padding: 0.35rem 0.75rem;
         margin-left: 0;
     }

     /* Compact thumbnail strip */
     .lightbox-thumbnails {
         padding: 0.75rem;
         gap: 0.5rem;
         background: rgba(0, 0, 0, 0.9);
     }

     .thumbnail {
         width: 54px;
         height: 40px;
     }
 }

 /* Extra small phones */
 @media (max-width: 480px) {
     .lightbox-nav {
         width: 40px;
         height: 40px;
     }

     .lightbox-close {
         width: 38px;
         height: 38px;
     }

     .lightbox-title {
         font-size: 1rem;
     }

     .lightbox-description {
         font-size: 0.85rem;
     }
 }


 /* Footer Wishlist CTA (uses same sizing/shape as .nav-btn) */
 .footer-cta {
     display: flex;
     flex-direction: column;
     gap: 0.85rem;
 }

 .footer-cta p {
     margin: 0;
     font-size: 0.875rem;
     color: var(--text-secondary);
     line-height: 1.6;
 }

 /* Button */
 .wishlist-btn {
     /* match .nav-btn formatting */
     padding: 0.6rem 1.4rem;
     border-radius: 99px;
     font-size: 0.875rem;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 0.55rem;
     font-family: var(--font-heading);
     letter-spacing: -0.01em;
     text-decoration: none;

     /* ASAI yellow palette */
     background: var(--accent-gradient);
     color: #1a1a1a;
     border: 1px solid rgba(255, 196, 0, 0.55);

     /* 3D effect */
     box-shadow:
         0 14px 28px rgba(0, 0, 0, 0.12),
         0 8px 0 rgba(170, 120, 0, 0.25);
     transform: translateY(0);
     will-change: transform, box-shadow;
 }

 .wishlist-btn:hover {
     transform: translateY(-2px);
     filter: brightness(1.02);
     box-shadow:
         0 18px 38px rgba(0, 0, 0, 0.16),
         0 10px 0 rgba(170, 120, 0, 0.22);
 }

 .wishlist-btn:active {
     transform: translateY(3px);
     box-shadow:
         0 10px 18px rgba(0, 0, 0, 0.14),
         0 3px 0 rgba(170, 120, 0, 0.28);
 }

 /* Optional: small shimmer pass (subtle, still readable) */
 .wishlist-btn {
     position: relative;
     overflow: hidden;
 }

 .wishlist-btn::after {
     content: "";
     position: absolute;
     top: -60%;
     left: -40%;
     width: 60%;
     height: 220%;
     background: rgba(255, 255, 255, 0.25);
     transform: rotate(25deg) translateX(-120%);
     transition: transform 0.6s ease;
     pointer-events: none;
 }

 .wishlist-btn:hover::after {
     transform: rotate(25deg) translateX(240%);
 }

 /* Footer layout helper (optional): keep CTA aligned nicely in the grid */
 @media (max-width: 768px) {
     .footer-cta {
         align-items: flex-start;
     }
 }