html, body {
            height: 100%;
            overflow: hidden;
        }

        body {
            background-color: #FAF8F5;
            margin: 0;
            font-family: 'Lato', sans-serif;
            opacity: 0;
            animation: fadeInBody 1s ease-in-out forwards;
        }

        @keyframes fadeInBody {
            to {
                opacity: 1;
            }
        }

        .page-section {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: transform 1s ease-in-out;
            position: relative;
        }

        #top-section {
            transform: translateY(0);
        }

        #bottom-section {
            position: absolute;
            top: 100vh;
            left: 0;
            width: 100%;
            background-color: #fff;
        }

        .header {
            position: absolute;
            top: 0;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            border-bottom: 1px solid #eee;
            box-sizing: border-box;
        }

        .logo-area {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

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

        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 2em;
            font-weight: bold;
            margin-left: 10px;
        }

        .swiss-made-logo {
            width: 100px;
            height: auto;
            margin-left: 15px;
        }

        .scrolling-text-container {
            flex-grow: 1;
            overflow: hidden;
            margin: 0 30px;
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .scrolling-text {
            display: inline-block;
            white-space: nowrap;
            animation: scroll 20s linear infinite;
            font-size: 1em;
            font-weight: 500;
            color: #555;
            padding-left: 100%;
        }
        
        .scrolling-text span {
            margin: 0 20px;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        .user-profile-placeholder {
            width: 50px;
            height: 50px;
            background-color: #f0f0f0;
            border: 1px solid #ccc;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .cart-button {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            margin-right: 20px;
            padding: 10px 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        

        .hero {
            text-align: center;
            padding: 0px 0px;
            opacity: 0;
            animation: fadeIn 1s ease-in-out 0.5s forwards;
        }

        .hero-image {
            max-width: 100%;
            height: 500px;
            margin-bottom: 0px;
        }

        .hero p {
            font-size: 1.2em;
            color: #555;
            max-width: 600px;
            margin: -150px auto;
        }

        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative; /* Added for absolute positioning of background image */
        }

        .swiss-alps-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1; /* Behind product cards */
            opacity: 0.15; /* Adjust for blending */
            pointer-events: none; /* Ensure it's not interactive */
        }

        .swiss-alps-background img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .stiring-pot-image-container {
            position: absolute;
            left: 5%; /* Adjust as needed */
            top: 50%;
            transform: translateY(-50%);
            width: 300px; /* Adjust size as needed */
            height: 300px; /* Adjust size as needed */
            opacity: 0.1; /* Blend with background */
            z-index: -1; /* Ensure it's behind other content */
            pointer-events: none; /* Make it non-interactive */
        }

        .stiring-pot-image-container img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .stiring-from-above-image-container {
            position: absolute;
            right: 5%; /* Adjust as needed */
            top: 50%;
            transform: translateY(-50%);
            width: 300px; /* Adjust size as needed */
            height: 300px; /* Adjust size as needed */
            opacity: 0.1; /* Blend with background */
            z-index: -1; /* Ensure it's behind other content */
            pointer-events: none; /* Make it non-interactive */
        }

        .stiring-from-above-image-container img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .card-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: -300px; /* Added to adjust vertical position */
        }

        .product-card {
            width: 250px;
            border-radius: 15px;
            padding: 20px;
            background: rgba(240, 237, 234, 0.6); /* Slightly darker shade of page background with 60% opacity */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.541);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            backdrop-filter: blur(10px); /* Frosted glass effect */
            -webkit-backdrop-filter: blur(10px); /* For Safari support */
            animation: fadeIn 1s ease-in-out forwards;
        }

        .product-card:nth-child(1) {
            animation-delay: 1s;
        }

        .product-card:nth-child(2) {
            animation-delay: 1.2s;
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }

        .product-card .image-container {
            overflow: hidden;
            border-radius: 10px;
        }

        .product-card img {
            width: 100%;
            border-radius: 10px;
            transition: transform 0.4s ease;
        }

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

        .product-card h3 {
            font-family: 'Playfair Display', serif;
            margin-top: 15px;
            font-size: 1.5em;
            text-align: center;
        }

        .product-card p {
            font-size: 1em;
            color: #555;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .product-card .btn-container {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .product-card:hover p {
            opacity: 0;
            transform: translateY(-10px);
        }

        .product-card:hover .btn-container {
            opacity: 1;
            transform: translateY(0);
        }

        .view-product-btn {
            background-color: transparent;
            color: #333;
            padding: 10px 20px;
            border: 2px solid #333;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            font-weight: bold;
            transition: background-color 0.3s, color 0.3s;
        }

        .view-product-btn:hover {
            background-color: #555;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            opacity: 0;
            animation: fadeIn 1s ease-in-out 1.5s forwards;
            cursor: pointer;
        }

        #bottom-section .scroll-indicator {
            top: 30px;
            bottom: auto;
        }

        .arrow {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-right: 3px solid #333;
            border-bottom: 3px solid #333;
            transform: rotate(45deg);
            margin: 0 8px;
            animation: bounce 2s infinite;
        }

        .arrow.up {
            transform: rotate(-135deg);
            animation-name: bounceUp;
        }

        .arrow:nth-child(2) {
            animation-delay: 0.2s;
        }

        .arrow:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) rotate(45deg);
            }
            40% {
                transform: translateY(10px) rotate(45deg);
            }
            60% {
                transform: translateY(5px) rotate(45deg);
            }
        }

        @keyframes bounceUp {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) rotate(-135deg);
            }
            40% {
                transform: translateY(-10px) rotate(-135deg);
            }
            60% {
                transform: translateY(-5px) rotate(-135deg);
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        /* Details Section */
        .details-content {
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px;
            text-align: center;
        }

        .details-content h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3em;
            margin-bottom: 40px;
        }

        .ingredients-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }

        .ingredient-category h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8em;
            margin-bottom: 15px;
        }

        .ingredient-category ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .ingredient-category li {
            font-size: 1.1em;
            margin-bottom: 10px;
            color: #555;
        }

        .process-steps {
            display: flex;
            justify-content: space-around;
            align-items: center;
            gap: 30px;
        }

        .step {
            text-align: center;
            max-width: 200px;
        }

        .step-number {
            font-family: 'Playfair Display', serif;
            font-size: 2.5em;
            color: #ccc;
            margin-bottom: 10px;
        }

        .step p {
            font-size: 1em;
            color: #555;
        }

        /* Product Modal */
        .product-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .product-modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .product-modal {
            background-color: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 800px;
            display: flex;
            gap: 30px;
            position: relative;
            overflow: hidden; /* No scrolling */
        }

        .product-modal .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5em;
            cursor: pointer;
            color: #333;
        }

        .product-modal-image {
            flex: 1;
            max-width: 300px;
        }

        .product-modal-image img {
            width: 100%;
            border-radius: 10px;
        }

        .product-modal-details {
            flex: 2;
            text-align: left;
        }

        .product-modal-details h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5em;
            margin-top: 0;
            margin-bottom: 10px;
        }

        .product-modal-details .description {
            font-size: 1.1em;
            color: #555;
            margin-bottom: 20px;
        }

        .product-modal-details .ingredients-list h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.3em;
            margin-bottom: 10px;
        }

        .product-modal-details .ingredients-list ul {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 1em;
            color: #555;
            columns: 2; /* Two columns for ingredients */
        }

        .product-modal-details .ingredients-list li {
            margin-bottom: 5px;
        }

        .product-modal-details .add-to-cart-btn {
            background-color: #333;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: bold;
            margin-top: 20px;
            transition: background-color 0.3s;
        }

        .product-modal-details .add-to-cart-btn:hover {
            background-color: #555;
        }

        .shipping-info {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            text-align: left;
        }

        .shipping-info h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.3em;
            margin-bottom: 10px;
        }

        .shipping-info p {
            font-size: 0.95em;
            color: #555;
            margin-bottom: 10px;
        }

        .shipping-info ul {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 0.95em;
            color: #555;
        }

        .shipping-info li {
            margin-bottom: 5px;
        }

        .shipping-info .shipping-note {
            font-size: 0.85em;
            color: #777;
            margin-top: 15px;
        }

        /* Cart Modal Styles */
        .cart-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .cart-modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .cart-modal {
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
            width: 90%;
            max-width: 650px;
            position: relative;
            max-height: 85vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: transform 0.4s ease;
        }

        .cart-modal-overlay.visible .cart-modal {
            transform: translateY(0);
        }

        .cart-modal .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.8em;
            cursor: pointer;
            color: #555;
            transition: color 0.2s ease;
        }

        .cart-modal .close-btn:hover {
            color: #333;
        }

        .cart-modal h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8em; /* Reduced from 2.5em */
            margin-top: 0;
            margin-bottom: 25px; /* Slightly reduced margin */
            text-align: center;
            color: #333;
        }

        .cart-modal-item {
            display: grid;
            grid-template-columns: auto 1fr auto auto; /* Image | Details | Quantity | Price | Remove */
            align-items: center;
            gap: 20px;
            border-bottom: 1px solid #eee;
            padding: 20px 0;
        }

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

        .cart-modal-item img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .cart-modal-item div {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .cart-modal-item h4 {
            margin: 0;
            font-family: 'Playfair Display', serif;
            font-size: 1.1em; /* Reduced from 1.3em */
            color: #333;
        }

        .cart-modal-item p {
            margin: 5px 0 0 0;
            color: #777;
            font-size: 0.9em; /* Reduced from 1em */
        }

        .cart-item-quantity {
            width: 50px; /* Reduced width */
            padding: 6px; /* Reduced padding */
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 5px; /* Slightly smaller border-radius */
            font-size: 1em;
            color: #333;
            background-color: #f9f9f9;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            height: 30px; /* Added fixed height for better alignment */
            box-sizing: border-box; /* Ensure padding and border are included in the width/height */
        }

        .cart-item-quantity:focus {
            border-color: #a0a0a0;
            box-shadow: 0 0 0 2px rgba(160,160,160,0.2);
            outline: none;
        }

        .remove-cart-item {
            background: none;
            border: none;
            font-size: 1.8em;
            color: #cc0000;
            cursor: pointer;
            padding: 5px;
            line-height: 1;
            transition: color 0.2s ease;
        }

        .remove-cart-item:hover {
            color: #ff0000;
        }

        #cart-modal-total {
            text-align: right;
            font-size: 1.8em;
            font-weight: bold;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid #eee;
            color: #333;
        }

        #checkout-modal-btn {
            display: block;
            width: 100%;
            padding: 18px;
            background-color: #333;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.3em;
            font-weight: bold;
            cursor: pointer;
            margin-top: 30px;
            transition: background-color 0.3s ease, transform 0.1s ease;
            letter-spacing: 0.05em;
        }

        #checkout-modal-btn:hover {
            background-color: #555;
            transform: translateY(-2px);
        }

        #checkout-modal-btn:active {
            transform: translateY(0);
        }

        .cart-summary-line {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 1.1em;
        }

        .cart-summary-line.total-line {
            font-size: 1.4em;
            font-weight: bold;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .shipping-explanation {
            font-size: 0.9em;
            color: #777;
            text-align: center;
            margin-top: -10px;
            margin-bottom: 15px;
        }

        @media (max-width: 768px) {
            body {
                font-size: 0.9em; /* Adjust base font size for mobile */
            }

            .page-section {
                height: auto; /* Allow content to define height */
                min-height: 100vh; /* Ensure it still takes at least full viewport height */
                padding: 20px 0; /* Add some vertical padding */
            }

            .main-content {
                padding: 10px; /* Reduce main content padding */
            }

            .header {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 10px;
            }

            .logo-area {
                margin-bottom: 0;
                justify-content: flex-start; /* Align logo elements to the left */
                width: auto;
            }

            .logo-text {
                font-size: 1.5em;
            }

            .swiss-made-logo {
                width: 80px;
            }

            .scrolling-text-container {
                display: none; /* Hide scrolling text on mobile to simplify header */
            }

            .user-profile-placeholder {
                display: none;
            }

            .cart-button {
                position: static; /* Remove absolute positioning */
                margin-top: 0;
                padding: 5px 10px;
                font-size: 0.8em;
            }

            .swiss-alps-background {
                opacity: 0.05; /* Reduce opacity further for mobile */
            }

            .stiring-pot-image-container,
            .stiring-from-above-image-container {
                display: none; /* Hide these decorative images on mobile */
            }

            .hero {
                padding: 20px 10px;
            }

            .hero-image {
                height: 200px; /* Smaller hero image */
            }

            .hero p {
                font-size: 0.8em; /* Even smaller description font size */
                margin: -50px auto auto auto; /* Significantly reduced negative margin and added bottom margin */
            }

            .card-container {
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                flex-wrap: wrap;
                gap: 5px; /* Keep gap small */
                align-items: flex-start;
            }

            .product-card {
                width: 45%; /* Adjusted width to fit two cards side-by-side */
                padding: 8px; /* Reduced padding */
                box-sizing: border-box;
            }

            .product-card img {
                height: 150px; /* Further reduced image height */
                object-fit: cover;
            }

            .product-card h3 {
                font-size: 1em; /* Smaller title font size */
                margin-top: 8px; /* Reduced margin */
            }

            .product-card p {
                font-size: 0.7em; /* Even smaller description font size */
            }

            .scroll-indicator {
                bottom: 150px; /* Adjusted for full visibility */
            }

            #bottom-section .scroll-indicator {
                top: 25px; /* Adjusted for full visibility */
            }
        }