/* Global settings */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

/* Headline */
h1, .headline {
    font-weight: 800;           /* Extra Bold */
    letter-spacing: -0.02em;    /* -20 tracking */
    text-transform: none;
}

/* Sub-headline */
h2, .sub-headline {
    font-weight: 600;           /* Semi-bold or Medium */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Body Copy */
p, .body-text {
    font-weight: 300;           /* Light */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Specification Label */
.spec-label {
    font-weight: 900;           /* Black */
    font-style: italic;
    letter-spacing: 0.04em;     /* +40 tracking */
    text-transform: none;
}


/* Header styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Header styles */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    height: 50px;
}

/* Logo styles */
.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 30px;
    width: auto;
}

/* Navigation styles */
.nav-links {
    display: flex;
    justify-content: flex-end; /* Aligns links to the right */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #18B19C;
}

/* Right controls */
.right-controls {
    display: flex;
    align-items: center;
}

/* Cart Icon */
.cart-icon {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.cart-logo {
    height: 35px;
    width: auto;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #18B19C;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
}

/* Hover effect for navigation links */
.nav-links a:hover, .nav-links a:focus {
    color: #1a9e8c; /* Changes text color to aquamarine on hover and focus */
}

header .buy-now, a.buy-now-button {
    display: inline-flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    background-color: #18B19C !important; /* Green background */
    color: white !important; /* White text */
    text-decoration: none !important; /* Remove underline */
    padding: 5px 15px !important; /* Smaller padding for a smaller button */
    border: none !important; /* Remove border */
    border-radius: 25px !important; /* Rounded corners */
    font-size: 1rem !important; /* Slightly smaller font size */
    font-weight: bold !important; /* Bold text */
    cursor: pointer !important; /* Pointer cursor */
    transition: background-color 0.3s ease, transform 0.3s ease !important; /* Smooth transitions */
    text-align: center !important; /* Ensure centered text */
    line-height: normal; /* Reset line-height for consistency */
}



/* Hover Effect for the Buy Now Button */
header .buy-now:hover, a.buy-now-button:hover {
    background-color: #149483 !important; /* Darker green on hover */
    color: white !important; /* Ensure text remains white */
}

/* Responsive Styling for Smaller Devices */
@media (max-width: 768px) {
    header .buy-now, a.buy-now-button {
        font-size: 1.2rem !important; /* Slightly larger font size for mobile */
        padding: 15px 30px !important; /* Larger padding for tap area */
    }
}

/* Target the Buy Now button in the navbar */
header nav .nav-links .buy-now-button {
    display: inline-block;
    background-color: #18B19C; /* Green background */
    color: white; /* White text */
    text-decoration: none;
    padding: 5px 10px; /* Adjust padding for click area */
    border: 0px solid #18B19C; /* Green border */
    border-radius: 25px; /* Rounded corners */
    font-size: 0.8rem; /* Standard font size */
    font-weight: bold; /* Bold text for emphasis */
    cursor: pointer; /* Pointer cursor for interactivity */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-left: 10px; /* Spacing from other nav items */
    white-space: nowrap; /* Prevents text wrapping */
}

/* Hover effect for the Buy Now button */
header nav .nav-links .buy-now-button:hover {
    background-color: #18B19C; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header nav .nav-links .buy-now-button {
        font-size: 1.2rem; /* Increase font size for smaller screens */
        padding: 15px 40px; /* Larger padding for better tap area */
        width: 100%; /* Take up more width on mobile */
        text-align: center; /* Center-align text */
        margin: 10px auto; /* Center the button in the navbar */
    }
}

/* Hamburger button */
.hamburger {
    cursor: pointer;
    font-size: 30px;
    color: white;
    z-index: 2000;
    display: none; /* Hide by default */
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* Menu becomes visible when active */
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* Ensure animation works on each menu item */
    .nav-links li {
        margin: 25px 0;
        animation: fadeInSmooth 0.5s forwards;
    }

    /* Apply large font size only in active mobile menu */
    .nav-links.active li a {
        font-size: 2.2rem; /* Increase font size for dropdown */
        font-weight: bold;
    }

    .right-controls {
        order: 1;
    }

    @keyframes fadeInSmooth {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Ensure nav links stay right-aligned on large screens */
@media (min-width: 769px) {
    .nav-links {
        justify-content: flex-end;
    }

    .hamburger {
        display: none;
    }
}


  
  /* If user prefers reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .light-bulb {
      animation: twinkle 3s ease-in-out infinite;
    }
  }



main {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #414141;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Title Section */
.page-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto; /* Remove fixed height to prevent overlap */
    padding: 60px 20px 30px; /* Push title down below header */
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 10px;
}

/* Animated Title: "Buddy" */
.animated-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #02917a, #18B19C, #9cf1d5 50%, #18B19C, #02917a); /* Smooth gradient */
    background-size: 200% 200%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradientRightToLeft 2s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 600;
    color: #18B19C;
    margin: 0; /* Remove unnecessary margin */
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Subtitle: "Retractable Oxygen Tubing Reel" */
.subtitle {
    font-size: 1.4rem;
    font-weight: 900;
    color: #414141;
    margin-top: 5px; /* Move closer to tagline */
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Smooth Gradient Animation */
@keyframes gradientRightToLeft {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Styling */

/* Tablets and Small Screens */
@media (max-width: 768px) {
    .animated-title {
        font-size: 3rem; /* Adjust for smaller screens */
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }
}

/* Phones and Very Small Screens */
@media (max-width: 480px) {
    .animated-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }
}



/* Product Layout Section */
.product-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
}

/* Left Side: Photos */
.left-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin-top: 60px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #18B19C;
}

.main-photo {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.main-image {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Arrow buttons (mobile only) */
.nav-button {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

/* Button positioning */
.left-button {
    left: 5px;
}

.right-button {
    right: 5px;
}

/* Mobile-specific: show buttons */
@media (max-width: 768px) {
    .nav-button {
        display: block;
    }

    .main-photo {
        position: relative;
        width: 100%;
    }

    .thumbnails {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}



/* Right Side: Pricing and Details */
.right-details {
    width: 50%;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

/* Original Price (Strikethrough) */
.original-price {
    font-size: 3rem;
    color: #18b19c;
    margin: 5px 0;
}

.google-review-badge {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
}

.google-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-logo {
    width: 60px;
    height: 30px;
}

.rating-details {
    display: flex;
    align-items: center;
    gap: 5px;  /* Adds space between rating value and stars */
}

.rating-value {
    font-size: 30px;
    font-weight: bold;
    color: #18B19C;
}

.stars {
    font-size: 20px;
    font-weight: bold;
    color: #414141;  /* Stars are black */
}

.review-count {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: center;
}



/* Quantity Selector Styling */
.quantity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-label {
    font-size: 1rem;
    font-weight: bold;
    color: #414141;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 40px; /* Adjust size for a consistent look */
    height: 40px; /* Equal width and height for a circle */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc; /* Light border */
    border-radius: 50%; /* Makes it a perfect circle */
    background-color: #fff; /* White background */
    font-size: 1.5rem;
    font-weight: bold;
    color: #414141;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    border-color: #18B19C; /* Highlight border on hover */
    color: #18B19C; /* Change text color on hover */
}

.quantity-btn:disabled {
    cursor: not-allowed; /* Disable hover effects */
    opacity: 0.5; /* Reduce opacity for disabled state */
}

#quantity {
    font-size: 1.2rem;
    font-weight: bold;
    color: #414141;
    text-align: center;
    width: 40px;
    border: none;
    background: transparent; /* Matches the background */
    pointer-events: none; /* Prevent user interaction */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem; /* Slightly smaller for mobile */
    }
    #quantity {
        font-size: 1rem;
        width: 35px;
    }
}

/* Delivery Information */
.delivery-info {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.delivery-green {
    font-weight: bold;
    color: #18B19C;
}

.prime-text {
    color: #8CE4D8;
    font-weight: bold;
}

.delivery-timer {
    color: #02917a;
    font-weight: bold;
}

.prime-link {
    color: #007aff;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Stock Status */
.stock-status {
    font-size: 1rem;
    font-weight: bold;
    color: #18B19C;
    margin-bottom: 15px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increase this value to add more space */
    margin-top: 10px;
}


.add-to-cart-btn, .buy-now-btn {
    width: 100%;
    padding: 12px 20px; /* Equal padding for both buttons */
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    text-align: center; /* Center-align text */
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* Ensures consistent sizing */
}

.add-to-cart-btn {
    background-color: #000;
    color: white;
    margin-bottom: 5px;
}

.add-to-cart-btn:hover {
    background-color: #414141;
}

.buy-now-btn {
    background-color: #18B19C;
    color: white;
}

.buy-now-btn:hover {
    background-color: #15997f;
}

/* Media Queries for Mobile Layout */
@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
        gap: 0;
    }

    .left-photos {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .main-photo {
        margin-bottom: 10px;
    }

    .thumbnails {
        justify-content: center;
        margin-bottom: 20px;
    }

    .right-details {
        width: 100%;
        margin-top: 20px;
    }

    .review-stars {
        justify-content: center;
        margin-top: 10px;
    }

    .button-group {
        width: 100%;
        margin: 20px 0;
    }
}

/* Upsell Checkbox Styling */
.upsell-options {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

.upsell-options label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #414141;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.upsell-options input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid #18B19C;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

.upsell-options input[type="checkbox"]:checked {
    background-color: #18B19C;
    border-color: #18B19C;
}

.upsell-options input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.upsell-options input[type="checkbox"]:checked::after {
    opacity: 1;
}

/* Responsive: Better spacing on smaller screens */
@media (max-width: 768px) {
    .upsell-options {
        padding: 12px;
    }

    .upsell-options label {
        font-size: 0.9rem;
    }
}

.customer-service-link {
    color: #007BFF;        /* brand blue */
    text-decoration: none; /* no underline */
  }
  
  .customer-service-link:hover,
  .customer-service-link:focus {
    color: #0056b3;        /* darker blue on hover/focus */
    text-decoration: underline;
  }
  
  .customer-service-link:visited {
    color: #007BFF;        /* stay blue after visited */
  }

.return-policy {
    font-weight: bold; /* Make text bold */
    color: #18B19C; /* Make text green */
}

/* Return Policy Link Styling */
.return-policy-link {
    color: #18B19C; /* Matches your theme */
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease-in-out;
}

.return-policy-link:hover {
    color: #8CE4D8; /* Darker shade for hover effect */
    text-decoration: underline;
}

/* Experiences Section */
.experiences-section {
    margin-top: 20px; /* Space above the section */
    text-align: center;
}

.experiences-title, .experience-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #414141;
    margin-bottom: 10px;
    text-align: center;  /* <-- Add this line */
    width: 100%;         /* <-- Ensures full width if inside a flex container */
}

.experiences {
    display: flex;
    justify-content: center; /* Center the experiences */
    align-items: center; /* Align icons and text vertically */
    gap: 20px; /* Space between the experiences */
}

.experience {
    display: flex;
    flex-direction: column; /* Icon on top, text below */
    align-items: center;
    text-align: center;
}

.experience-icon {
    width: 40px; /* Adjust the icon size for a compact layout */
    height: 40px;
    object-fit: contain;
    margin-bottom: 5px; /* Space between icon and text */
}

.experience-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; /* Smaller font size */
    font-weight: bold;
    color: #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experiences {
        flex-wrap: wrap; /* Allow items to wrap if necessary */
        gap: 15px; /* Adjust spacing for smaller devices */
    }
}

/* Product Details */
.product-details {
    padding: 25px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    border-radius: 8px; /* Adds a subtle rounded corner effect */
}

/* Product Heading */
.product-details h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #414141;
    font-weight: 700; /* Ensures headings are bold */
}

/* Product Description */
.product-details h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #414141;
    line-height: 1.5;
    font-weight: 400; /* Normal weight for default text */
}

/* Ensure Certain Words Are Bold */
.product-details strong {
    font-weight: 700; /* Ensures bold words actually display as bold */
    color: #18B19C; /* Keeps it visible and sharp */
}

/* Product Features List */
.product-features {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.product-features li {
    margin: 8px 0;
    color: #18B19C;
    font-weight: 700;
    font-size: 1.1rem;
}


/* Section Styling */
.demo-video-section {
    position: relative;
    text-align: center;
    background: white;
    padding: 40px 20px;
}

/* Clickable Thumbnail */
.demo-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
    max-width: 80%;
    width: 600px;
}

.thumbnail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Play Button Overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 50px;
    padding: 20px 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.demo-thumbnail:hover .play-button {
    background: rgba(0, 0, 0, 0.9);
}

/* Video Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Video Container */
.video-container {
    position: relative;
    width: 80%; /* Adjusts the width based on screen size */
    max-width: 700px; /* Limits maximum width */
    background: black;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px; /* Adds spacing inside the container */
    text-align: center;
}

/* Video Element */
#demoVideo {
    width: 100%; /* Makes it responsive within the container */
    height: auto; /* Maintains aspect ratio */
    max-height: 400px; /* Prevents the video from being too large */
    border-radius: 8px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-container {
        width: 90%;
        max-width: 90%; /* Slightly bigger on mobile */
    }

    #demoVideo {
        max-height: 300px; /* Smaller height for mobile screens */
    }
}



/* Product Info Section */
.product-info {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
}

.product-info-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #414141;
}

/* Tabs Styling */
.info-tabs {
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.tab-header {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: #f9f9f9;
    border: none;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: #414141;
    transition: background-color 0.3s ease;
}

.tab-header:hover {
    background-color: #eaeaea;
}

.tab-header.active {
    background-color: #18B19C;
    color: #fff;
}

.tab-content {
    display: none;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.tab-content.active {
    display: block;
}

/* Table Styling */
.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: #414141;
}

.tab-content th,
.tab-content td {
    border: 1px solid #ddd; /* Grid separator for clean design */
    padding: 10px;
    text-align: left;
}

.tab-content th {
    background-color: #18B19C; /* Header background color */
    color: #fff; /* White text for header */
    font-weight: bold;
}

.tab-content td {
    background-color: #f9f9f9; /* Alternating background for rows */
}

.tab-content tr:nth-child(even) td {
    background-color: #eaeaea; /* Slightly darker background for alternating rows */
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
    .tab-header {
        font-size: 1rem;
    }

    .tab-content table {
        font-size: 0.9rem;
    }
}

.support-section {
    background-color: #f2f7f6;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }
  
  .support-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0F0F0F;
  }
  
  .support-container p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
  }
  
  .troubleshoot-btn {
    background-color: #18B19C;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .troubleshoot-btn:hover {
    background-color: #139484;
  }
  


/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fully transparent */
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s; /* Smooth transition */
}

.modal-overlay.active {
    visibility: visible; /* Visible when active */
    opacity: 1; /* Fully opaque */
    transition: opacity 0.3s ease;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    transition: right 0.3s ease; /* Smooth slide-in transition */
    z-index: 1000; /* Above overlay */
}

.modal.active {
    right: 0; /* Slide in when active */
}


/* Cart Modal Header */
.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}
.cart-modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}
#cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: black;
}

/* Cart Modal Content */
.cart-modal-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Cart Item Layout */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}
.cart-item:last-child {
    border-bottom: none;
}

.cart-item-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-right: 15px;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d1d1d1;
    padding: 5px;
    border-radius: 5px;
    height: 36px;
}

.quantity-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0 10px;
}

.quantity-value {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    width: 25px;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    margin-left: auto;
}

.remove-item-btn {
    font-size: 0.9rem;
    font-weight: bold;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    align-self: center;
    margin-left: 15px;
    height: 36px; /* Align with quantity box */
    display: flex;
    align-items: center; /* Center text vertically */
}

.terms-checkbox-container {
  margin: 10px 0;
  font-size: 14px;
  align-self: center;
}

.terms-checkbox-container input[type="checkbox"] {
  margin-right: 5px;
}
/* Cart Modal Footer */
.cart-modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Ensure footer stays at the bottom */
}

.cart-subtotal-text {
    font-size: 1rem;
    font-weight: bold;
    color: grey;
    flex-grow: 1; /* Push subtotal to the left */
}

.cart-subtotal-amount {
    font-size: 1rem;
    font-weight: bold;
    color: grey;
    margin-left: 10px;
}

.checkout-btn {
    flex-grow: 1; /* Ensure button takes up remaining space */
    max-width: 50%; /* Prevent button from being too large */
    background: black;
    color: white;
    padding: 10px;
    border: none;
    font-size: 1rem;
    margin-left: 20px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}
.checkout-btn:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 600px) {
    #cart-modal {
        width: 100%;
    }

    .cart-item {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .cart-item-thumbnail {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .cart-item-details {
        margin-right: 0;
    }

    .cart-item-name {
        font-size: 0.9rem;
    }

    .cart-item-price {
        text-align: left;
        margin-top: 5px;
        font-size: 0.9rem;
    }

    .cart-item-quantity {
        margin-top: 10px;
    }

    .checkout-btn {
        max-width: 100%; /* Full width on mobile */
        margin-left: 0;
        margin-top: 10px;
    }

    .cart-modal-footer {
        flex-wrap: wrap; /* Stack footer content */
        gap: 10px; /* Add spacing between items */
    }
}

/* Other Products Section */
.other-products {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #ddd;
}

.other-products h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Product Card Layout */
.product-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual Product Card */
.product-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.product-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px 0 15px;
}

.product-card .add-to-cart-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    background-color: #18B19C;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card .add-to-cart-btn:hover {
    background-color: #15997f;
}

@media (max-width: 768px) {
  .product-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .product-card {
    width: 95%; /* Fit better in two columns */
  }
}


/* Product Details Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 0.95rem;
    color: #444;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* View Details Button Styling */
.view-details-btn {
    background-color: #f1f1f1;
    color: #333;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    margin-bottom: 10px; /* Adds space before Add to Cart */
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.view-details-btn:hover {
    background-color: #e2e2e2;
    border-color: #18B19C;
    color: #18B19C;
}

/* Optional: add spacing above the button if needed */
.product-card .view-details-btn:first-of-type {
    margin-top: 10px;
}

/* Customer Reviews Section */
#customer-reviews {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#customer-reviews h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #414141;
}

#review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.review:last-child {
    border-bottom: none;
}

.review h3 {
    font-size: 1.2rem;
    margin: 0 0 5px;
    color: #555;
}

.review .rating {
    color: #18B19C;
    margin-bottom: 10px;
}

.review p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Testimonial Section */
.testimonial-container {
    width: 100%;
    text-align: center;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

/* Fading Edges Effect */
.testimonial-container::before,
.testimonial-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Testimonial Slider */
.testimonial-slider {
    overflow: hidden;
    width: 90%;
    margin: auto;
    white-space: nowrap;
}

/* Scrolling Track */
.testimonial-track {
    display: flex;
    gap: 15px; /* Adjust spacing between testimonials */
    width: max-content;
    will-change: transform;
}

/* Testimonial Box (Now Adjusts to Text Length) */
.testimonial {
    flex: 0 0 400px; /* Fixed width */
    max-width: 400px;
    min-height: 200px; /* Set a reasonable min height */
    height: auto; /* Automatically expands for longer text */
    padding: 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures proper spacing */
    align-items: center;
    text-align: center;
    overflow: hidden;
    word-wrap: break-word;
}

/* Ensure Text Stays Inside & Adjusts */
.testimonial p {
    margin: 0;
    padding: 5px 10px;
    font-size: 1rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: normal; /* Ensures text wraps properly */
    flex-grow: 1; /* Allows text to expand while keeping user details at the bottom */
}

/* User Info Stays at Bottom */
.user {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

/* User Image */
.user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* Hover Effect */
.testimonial:hover {
    background: #18B19C !important;
    color: white;
    border-color: #18B19C;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .testimonial {
        flex: 0 0 260px;
        max-width: 260px;
        padding: 15px;
        font-size: 0.9rem;
    }

    .testimonial p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 4px 8px;
    }

    .user img {
        width: 32px;
        height: 32px;
    }

    .user h4 {
        font-size: 0.95rem;
    }

    .user p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial {
        flex: 0 0 240px;
        max-width: 240px;
        padding: 12px;
        font-size: 0.85rem;
    }

    .testimonial p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .user img {
        width: 28px;
        height: 28px;
    }

    .user h4 {
        font-size: 0.9rem;
    }

    .user p {
        font-size: 0.75rem;
    }
}


/* =========================================================
     Bottom CTA: Ready to Buy
     (matches HTML provided earlier: .cta-buy*)
     =======================================================*/
     .cta-buy{
        max-width: 1100px;
        margin: clamp(36px, 6vw, 88px) auto;
        padding: clamp(18px, 3.6vw, 28px);
        border-radius: calc(var(--radius) + 2px);
        background:
          linear-gradient(145deg, rgba(24,177,156,0.12), rgba(24,177,156,0.02)),
          rgba(255,255,255,0.75);
        border: 1px solid rgba(24,177,156,0.25);
        box-shadow: 0 18px 40px rgba(24,177,156,0.16);
        backdrop-filter: blur(14px);
      }
      .cta-buy__wrap{
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: clamp(18px, 3.4vw, 32px);
        align-items: center;
      }
      .cta-buy__title{
        font-size: clamp(1.6rem, 2.4vw, 2.1rem);
        color: var(--ink);
        margin: 0 0 6px;
        font-weight: 800;
        letter-spacing: .2px;
      }
      .cta-buy__subtitle{
        color: #334155;
        font-size: clamp(1rem, 1.6vw, 1.12rem);
        margin: 6px 0 12px;
      }
      .cta-buy__points{
        margin: 14px 0 18px;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 8px;
      }
      .cta-buy__points li{
        display: flex; align-items: center;
        gap: 10px;
        color: #374151;
        padding-left: 6px;
        position: relative;
        font-size: clamp(.98rem, 1.5vw, 1.06rem);
      }
      .cta-buy__points li::before{
        content: "";
        inline-size: 18px; block-size: 18px;
        border-radius: 50%;
        background: radial-gradient(circle at 35% 35%, #fff 0 30%, transparent 31%), var(--teal);
        border: 2px solid rgba(255,255,255,0.75);
        box-shadow: 0 0 0 2px rgba(24,177,156,0.15);
        flex: 0 0 auto;
      }
      
      .cta-buy__actions{
        display: flex; flex-wrap: wrap; gap: 10px 14px;
        align-items: center;
        margin: 6px 0 10px;
      }
      .buy-now-button.cta-buy__primary{
        padding: 12px 20px;
        border-radius: 12px;
        font-weight: 700;
        background: linear-gradient(180deg, var(--teal), var(--teal-800));
        box-shadow: 0 14px 28px rgba(24,177,156,0.25);
        border: 1px solid rgba(255,255,255,0.35);
      }
      .buy-now-button.cta-buy__primary:hover{
        filter: brightness(0.98);
        transform: translateY(-1px);
        transition: transform var(--t-fast), filter var(--t-fast);
      }
      .cta-buy__secondary{
        display: inline-block;
        padding: 11px 16px;
        border-radius: 12px;
        font-weight: 700;
        color: var(--teal-800);
        background: rgba(24,177,156,0.08);
        border: 1px solid rgba(24,177,156,0.25);
        text-decoration: none;
      }
      .cta-buy__secondary:hover{
        background: rgba(24,177,156,0.12);
      }
      .cta-buy__link{
        display: inline-block;
        font-weight: 700;
        color: #0b7768;
        text-decoration: underline;
        text-underline-offset: 3px;
      }
      .cta-buy__link:hover{ color: var(--teal-800); }
      
      .cta-buy__meta{
        margin-top: 6px;
        color: #374151;
        font-size: .98rem;
        display: flex; align-items: center; gap: 8px;
      }
      .cta-buy__meta span[aria-hidden="true"]{ letter-spacing: 1px; }
      
      .cta-buy__media{
        margin: 0; padding: 0; display: grid; place-items: center;
        background:
          radial-gradient(circle at 50% 30%, rgba(24,177,156,0.18), transparent 45%),
          radial-gradient(circle at 80% 80%, rgba(2,140,122,0.12), transparent 50%);
        border-radius: var(--radius);
        border: 1px solid rgba(24,177,156,0.18);
        box-shadow: 0 12px 24px rgba(24,177,156,0.12);
      }
      .cta-buy__media img{
        display: block;
        width: 100%;
        max-width: 480px;
        height: auto;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
      }
      
      /* =========================================================
         Buttons: shared focus/hover polish
         =======================================================*/
      .buy-now-button,
      .cta-buy__secondary,
      .cta-buy__link{
        transition: transform var(--t-fast), filter var(--t-fast), background var(--t-fast), color var(--t-fast);
      }
      .buy-now-button:focus-visible,
      .cta-buy__secondary:focus-visible,
      .cta-buy__link:focus-visible{
        outline: none;
        box-shadow: 0 0 0 3px rgba(24,177,156,0.35);
      }
      
      /* =========================================================
         Responsive
         =======================================================*/
      @media (max-width: 860px){
        .cta-buy__wrap{
          grid-template-columns: 1fr;
        }
        .cta-buy__media{
          order: -1;
        }
        .faq-section{
          max-width: 92%;
          padding: clamp(16px, 4vw, 24px);
        }
      }
      
      @media (max-width: 640px){
        .return-policy-btn,
        .contact-btn{
          font-size: .95rem;
          padding: 10px 16px;
        }
      }
      
      /* =========================================================
         Motion-Reduced
         =======================================================*/
      @media (prefers-reduced-motion: reduce){
        html { scroll-behavior: auto; }
        .faq-question,
        .return-policy-btn,
        .contact-btn,
        .buy-now-button,
        .cta-buy__secondary,
        .cta-buy__link,
        .faq-answer { transition: none !important; }
      }
      
      /* =========================================================
         Dark Mode (optional polish)
         =======================================================*/
      @media (prefers-color-scheme: dark){
        :root{
          --glass-bg: rgba(18,24,27,0.55);
          --glass-border: rgba(255,255,255,0.12);
          --glass-shadow: 0 10px 30px rgba(2, 140, 122, 0.22);
          --bg: #0f1416;
          --ink: #e5e7eb;
          --ink-2: #f3f4f6;
        }
        body{
          background:
            radial-gradient(1100px 1100px at 15% 8%, rgba(24,177,156,0.12), transparent 50%),
            radial-gradient(800px 800px at 85% 18%, rgba(2,140,122,0.1), transparent 55%),
            #0b1113;
        }
        .faq-answer{ background: rgba(22,30,33,0.7); }
        .faq-answer p{ color: #e5e7eb; }
        .cta-buy{
          background:
            linear-gradient(145deg, rgba(24,177,156,0.12), rgba(24,177,156,0.03)),
            rgba(10,14,16,0.6);
          border-color: rgba(24,177,156,0.22);
        }
        .cta-buy__subtitle,
        .cta-buy__points li,
        .cta-buy__meta{ color: #e5e7eb; }
        .cta-buy__points li::before{ border-color: rgba(24,177,156,0.4); }
        .contact-section{ background: rgba(15,20,22,0.6); }
      }

/* ✅ Leave Testimonial Button */
.leave-testimonial-btn {
    background-color: #18B19C; /* Green color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px; /* Rounded edges */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    margin: 20px auto;
}

.leave-testimonial-btn:hover {
    background-color: #026a59; /* Darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* ✅ Testimonial Modal (Hidden by Default) */
.testimonial-modal {
    display: none; /* Hidden initially */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark background overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal-content {
    position: relative; /* This is key */
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
  }
  

/* ✅ Modal Title */
.testimonial-modal-content h2 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.close-testimonial-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
  }
  
  .close-testimonial-modal:hover {
    color: #000;
  }
  

/* ✅ Text Inputs */
.testimonial-modal-content textarea,
.testimonial-modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ✅ Different Heights for Textarea and Name Input */
#testimonial-input {
    height: 100px; /* Taller text box */
}

#testimonial-name {
    height: 50px;
}

/* ✅ Green Glow Effect When Focused */
.testimonial-modal-content textarea:focus,
.testimonial-modal-content input:focus {
    border-color: #18B19C; /* Green border */
    box-shadow: 0 0 8px rgba(2, 145, 122, 0.6); /* Green glow */
    outline: none;
}

/* ✅ Submit Button */
#submit-testimonial-btn {
    background-color: #18B19C;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
    width: 100%;
}

#submit-testimonial-btn:hover {
    background-color: #026a59;
    transform: scale(1.05);
}

/* ✅ Modal Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#testimonial-modal {
    display: none !important; /* Ensure the modal is completely hidden */
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#testimonial-modal.modal-visible {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.upsell-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.upsell-content {
  position: relative;
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
}

.upsell-content h2 {
  white-space: nowrap; /* Prevent wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #18B19C;
}

.upsell-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}

.upsell-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  justify-content: center;
}

/* ✅ Styled checkboxes */
.upsell-content input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #18B19C;
  cursor: pointer;
}

/* Close "X" button */
.upsell-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

.upsell-close:hover {
  color: #18B19C;
}

.upsell-actions {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

#upsell-continue.checkout-btn {
  font-size: 1rem;
  font-weight: bold;
  background-color: #262626;
  color: white;
  padding: 12px 32px; /* Wider horizontal padding */
  min-width: 240px; /* Ensures it doesn't shrink too much */
  border: none;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap; /* Prevents text wrapping */
  text-align: center;
  display: inline-block;
}

#upsell-continue.checkout-btn:hover {
  background-color: #4f4f4f;
}

#upsell-continue::after {
  content: " →";
  font-weight: bold;
}

/* Responsive improvements */
@media (max-width: 480px) {
  .upsell-content {
    padding: 20px;
    max-width: 90vw;
  }

  .upsell-content h2 {
    font-size: 1.25rem;
  }

  .upsell-content label {
    font-size: 0.95rem;
  }
}


/* Footer Styles */
.site-footer {
    background-color: #414141; /* Dark grey background */
    color: #fff; /* White text */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative; /* To ensure footer-bottom can align correctly */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Navigation, Social Media, and Info */
.footer-nav,
.footer-social,
.footer-info {
    flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
    min-width: 200px;
}

.footer-nav h3,
.footer-social h3,
.footer-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-social ul li a {
    color: #ccc; /* Light grey links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
    color: #18B19C; /* Green hover color */
}

/* Footer Info Section */
.footer-info {
    font-size: 0.9rem;
    color: #ccc; /* Light grey text */
    line-height: 1.6; /* Better readability */
}

.footer-info p {
    margin: 10px 0; /* Add spacing between lines */
}

.footer-info a {
    color: #18B19C; /* Replace with your brand's specific green color code */
    text-decoration: none; /* Optional: removes underline from the link */
}

.footer-info a:hover {
    color: #016954; /* Darker green for hover, adjust as needed */
    text-decoration: underline; /* Optional: adds underline on hover for better usability */
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb; /* Lighter grey for bottom text */
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem; /* Slightly larger for clarity */
    font-weight: bold; /* Make Reel Free stand out */
    color: #fff;
}

.footer-brand {
    font-weight: 700; /* Bold */
    color: #fff;
}

.footer-year {
    font-weight: 500; /* Medium */
    color: #ccc;
}

.footer-rights {
    font-weight: 300; /* Light */
    color: #bbb;
}

.footer-divider {
    margin: 0 0.3rem;
    color: #999;
}

/* Media Query for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
        text-align: center;
    }

    .footer-nav,
    .footer-social,
    .footer-info {
        flex: 1 1 100%; /* Each section takes full width */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .footer-bottom {
        margin-top: 20px; /* Adjust margin for smaller screens */
    }
}

/* ===========================
   Footer Chatbot Launcher
   =========================== */

   .footer-chat {
    /* mobile: flows under contact email */
    margin-top: 14px;
  }
  
  .rf-chatnote {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9fd8cf; /* subtle teal tint under dark footer */
  }
  
  /* The pill button with two words: Help • Chat */
  .rf-chatbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    background: #18B19C;         /* brand teal */
    color: #0c2b27;               /* ink on teal */
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .rf-chatbtn:hover { transform: translateY(-1px); }
  .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
  .rf-chatbtn:focus-visible { outline: 3px solid #33c9b5; outline-offset: 2px; }
  
  .rf-chatbtn-help { opacity: 0.95; }
  .rf-chatbtn-dot  { opacity: 0.75; }
  .rf-chatbtn-chat {
    background: #ffffff;
    color: #09443c;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 800;
  }
  
  /* Desktop positioning: attach to bottom-right corner of the footer */
  @media (min-width: 768px) {
    .site-footer {
      position: relative; /* already present, ensures absolute positioning is relative */
    }
    .footer-chat {
      position: absolute;
      right: 18px;
      bottom: 18px;
      margin-top: 0; /* override mobile spacing */
      text-align: right;
    }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rf-chatbtn { transition: none !important; }
  }
  