        /* Styling for project-specific placeholders until you add images */
html {
    scroll-behavior: smooth;
}

/* Offset to prevent the fixed header from covering section titles */
#reviews {
    scroll-margin-top: 70px; 
}

        @font-face {
            /* This assumes the font is available in the current environment's path */
            font-family: 'TeachersRegular';
            src: url('../../fonts/Teachers-Regular.ttf') format('ttf');
            font-weight: normal;
            font-style: normal;
        }

            /* --- GLOBAL STYLES & VARIABLES (ADDED FROM INDEX.HTML) --- */
        :root {
            --text-color: #ffffff;
            --primary-highlight: #d1cfcf; 
            --dark-bg: #0d0d0d;
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2.5rem;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f3f4f6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            color: #1f2937;
            /* --- FULL-SCREEN, NON-SCROLLING BACKGROUND IMAGE --- */
            background-image: url('../images/pl-bg.png');
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
            background-position: center;
            /* Set body to be the relative context for the absolute overlay */
            position: relative; 
            /* Ensures the main content sits on top of the overlay */
            z-index: 1;
            /* ADDED: Padding to push content down for fixed header */
            padding-top: 60px;
            margin: 0; 
        }

        body::before {
            content: ''; /* Required for pseudo-elements */
            position: fixed; /* Ensures the overlay covers the whole viewport and doesn't scroll */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
    
            /* Set the overlay color: Black (0, 0, 0) with 50% opacity (0.5) */
            background-color: rgba(0, 0, 0, 0.5); 
    
            /* Place the overlay layer immediately above the background image (z-index: 0)
            but below the body's actual content (z-index: 1) */
            z-index: -1; 
        }

        #brand-tagline sup {
            vertical-align: baseline;
            position: relative;
            top: 0em;
            font-size: 1em;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }
        
        @media (min-width: 768px) {
            .container {
                padding: 2rem;
            }
        }
        
        .product-section {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            background-color: rgba(255, 255, 255, 1);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
        }

        @media (min-width: 768px) {
            .product-section {
                padding: 2rem;
            }
        }

        @media (min-width: 1024px) {
            .product-section {
                flex-direction: row;
                gap: 3rem;
            }
        }

        /* --- FLEX ORDERING LOGIC --- */
        
        /* 1. Mobile Header (Visible on small screens, hidden on large) */
        #mobile-header {
            display: block; 
            margin-bottom: 0;
        }

        /* 2. Desktop Header (Hidden on small screens, visible on large) */
        #desktop-header {
            display: none; 
        }
        
        /* Product Image Section (Container for image-related elements) */
        .product-image-section {
            flex-shrink: 0;
            width: 100%;
            display: flex; 
            flex-direction: column; 
        }

        /* Mobile Order of image column elements (Default State) */
        .image-wrapper { order: 1; }
        .thumbnails-container { order: 2; }
        .look-inside-btn-wrapper { order: 3; }
        
        /* Desktop Author Wrapper: Only visible on large screens */
        #desktop-author-wrapper { 
            display: none; 
            order: 4; 
        }

        /* Product Details Section (Container for text-related elements) */
        .product-details {
            width: 100%;
            display: flex; 
            flex-direction: column; 
        }

        /* Mobile Author Wrapper: Only visible on small screens (Default) */
        #mobile-author-wrapper {
            display: block;
            order: 3; 
        }

        #details-content-wrapper {
            order: 2; 
        }

        @media (min-width: 1024px) {
            .product-image-section {
                width: 33.333333%;
            }
            .product-details {
                width: 66.666667%;
            }
            
            /* Desktop Header/Author Visibility */
            #mobile-header { display: none; }
            #desktop-header { display: block; }
            
            /* Desktop Author Reinstatement in Image column */
            #desktop-author-wrapper { 
                display: block; 
                margin-top: 1.5rem;
            }
            #mobile-author-wrapper { display: none; } 

            /* Reset ordering for desktop (order in HTML determines layout) */
            .image-wrapper { order: initial; }
            .thumbnails-container { order: initial; }
            .look-inside-btn-wrapper { order: initial; } 
            #details-content-wrapper { order: initial; }

            /* --- DESKTOP BUTTON WIDTH RESET --- */
            .button {
                width: fit-content; /* Reset "Look inside" button to fit content on desktop */
            }
            
            .shop-button {
                width: fit-content; /* Reset "Shop now" button to match "Look inside" on desktop */
            }
        }
        
        /* --- END FLEX ORDERING LOGIC --- */


        .image-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 150%;
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            cursor: zoom-in;
        }

        .image-wrapper img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.5rem;
        }

        .thumbnails-container {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }

        .thumbnail-image {
            width: 4rem;
            height: auto;
            border-radius: 0.5rem;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease-in-out;
        }

        /* PRODUCT IMAGE SECTION - BOOK COVER IMAGE SIZE */
        /* START 8.5x11 image sizing */
        .image-wrapper811 {
            position: relative;
            width: 100%;
            padding-bottom: 128%;
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            cursor: zoom-in;
        }

        .image-wrapper811 img {
            position: absolute;
            inset: 0;
            width: 100%;
            object-fit: cover;
            border-radius: 0.5rem;
        }
        /* END 8.5x11 image sizing */

        .thumbnail-image.active {
            border-color: #3b82f6;
        }

        .thumbnail-image:hover {
            border-color: #3b82f6;
        }

        .button {
            /* Now spans 100% of its container width by default (mobile) */
            display: block;
            width: 100%; 
            margin-top: 1rem;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 9999px;
            text-align: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: background-color 0.2s ease-in-out;
        }

        @media (min-width: 768px) {
            .button {
                font-size: 0.85rem;
            }
        }
        
        .button.grey {
            background-color: #ffffff;
            color: #4b5563;
        }

        .button.grey:hover {
            background-color: #e5e7eb;
        }

        .button.orange {
            background-color: #f97316;
            border-style: none;
            color: #ffffff !important;
            font-size: 1rem;
            padding: 0;
        }

         @media (min-width: 768px) {
            .button.orange {
                width: 50%;
            }
        }

        .button.orange:hover {
            background-color: #ea580c;
            border-style: none;
            color: #ffffff important;
            font-size: 1rem;
        }

        .button.orange a {
             color: #ffffff;
             text-decoration: none;
        }

        .author-section {
            margin-top: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background-color: #f9fafb;
            border-radius: 0.5rem;
        }

        /* New style to stack author name and button to the right of the image */
        .author-details-stack {
            display: flex;
            flex-direction: column;
            flex-grow: 1; 
            align-items: flex-start; 
        }

        .author-section img {
            width: 3rem;
            height: 3rem;
            border-radius: 9999px;
            object-fit: cover;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .author-info p {
            font-size: 0.875rem;
            font-weight: 600;
            color: #4b5563;
        }
        a {
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        .author-info a {
            color: #666666;
            font-weight: 700;
        }

        .author-info a:hover {
            text-decoration: none;
        }

        .view-author-btn {
            /* margin-left: auto removed to allow stacking */
            margin-top: 0.5rem; /* Add spacing between author name and button when stacked */
            width: 85%;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            background-color: #ffffff;
            color: #4b5563;
            font-weight: 600;
            border-radius: 9999px;
            text-align: center;
            transition: background-color 0.2s ease-in-out;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .view-author-btn:hover {
            background-color: #e5e7eb;
        }

        h1 {
            font-size: 1.2rem;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 0.5rem;
        }
        
        @media (min-width: 768px) {
            h1 {
                font-size: 1.875rem;
            }
        }

        h2 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .product-author-link {
            font-size: 1rem;
            color: #4b5563;
            margin-bottom: .5rem;
        }

        @media (min-width: 768px) {
            .product-author-link {
                margin-bottom: .5rem;
            }
        }


        .product-author-link a {
            color: #666666;
        }

        .product-author-link a:hover {
            text-decoration: none;
        }

        /* Container for the stars */
        .star-rating {
                display: inline-flex;
                align-items: center;
                font-family: sans-serif;
                margin-bottom: 0;
            }

        @media (min-width: 768px) {
            .star-rating {
                display: inline-flex;
                align-items: center;
                font-family: sans-serif;
                margin-bottom: .5rem;
            }
        }

        /* The "Gray" Background Stars */
        .stars-outer {
            position: relative;
            display: inline-block;
            font-size: 1.5rem; /* Size of your stars */
            line-height: 1;
            color: #ffffff
        }

        /* Create 5 empty stars using a pseudo-element */
        .stars-outer::before {
            content: "★★★★★";
        }

        /* The "Gold" Foreground Stars */
        .stars-inner {
            position: absolute;
            top: 0;
            left: 0;
            white-space: nowrap;
            overflow: hidden;
            width: 0; /* Controlled by the inline style in HTML */
            color: #f97316
        }

        /* Create 5 full stars to sit on top */
        .stars-inner::before {
            content: "★★★★★";
        }

        /* Text styling */
        .rating-text {
            margin-left: 8px;
            font-size: .85rem;
            color: #555;
        }

        .price-section {
            margin-bottom: 1.5rem;
        }

        .price-details {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            align-items: flex-start;
        }

        .paperback {
            font-size: 1.25rem;
            font-weight: 700;
            color: #111827;
        }

        sup {
            font-size: 1rem;
        }

        .price {
            font-size: 2rem;
            font-weight: 800;
            color: #000000;
        }
        
        @media (min-width: 768px) {
            .price {
                font-size: 2.25rem;
            }
        }

        .list-price {
            font-size: 0.875rem;
            color: #6b7280;
        }
        
        .list-price span {
            text-decoration: line-through;
        }

        .shop-button {
            /* Setting to match the .button (Look Inside) style for 100% width on mobile */
            display: block;
            width: 100%; 
            text-align: center;
            padding: 0.75rem 1.5rem;
            background-color: #f97316;
            color: #ffffff;
            font-weight: 600;
            border-radius: 9999px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: background-color 0.2s ease-in-out;
        }

        .shop-button:hover {
            background-color: #ea580c;
        }

        .description-container {
            margin-top: 2rem;
        }

        .description-content {
            color: #374151;
            line-height: 1.625;
            margin-bottom: 1rem;
        }
        
        .description-content p {
            margin-bottom: 1rem;
        }

        .description-container h3 {
            font-size: 1rem;
            font-weight: bold;
        }
        
        .collapsible-container {
            position: relative;
            overflow: hidden;
        }

        .collapsible-content {
            transition: max-height 0.5s ease-out;
        }

        .fade-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
            pointer-events: none;
        }

        .toggle-description-btn {
            color: #2563eb;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .toggle-description-btn:hover {
            text-decoration: underline;
        }

        .publisher-section {
            margin-top: 2rem;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            padding-top: 1rem;
        }

        @media (min-width: 768px) {
            .publisher-section {
                padding: 2rem;
                padding-top: 1rem;
            }
        }

        .publisher-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .publisher-content img {
            width: 100%;
            max-width: 970px;
            height: auto;
            object-fit: cover;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border: 1px solid #e5e7eb;
        }

        .comparison-section {
            margin-top: 2rem;
            background-color: transparent;
            border-radius: 0.5rem;
            /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); */
            padding: 0rem;
        }

        .comparison-section h2 {
            color: #ffffff;
        }
        
        @media (min-width: 768px) {
            .comparison-section {
                padding: 0rem;
                padding-top: 0.25rem;
                padding-bottom: 1rem;
            }
        }

        .comparison-scroll-container {
            overflow-x: auto;
            padding-bottom: 1rem;
        }

        .comparison-grid {
            display: flex;
            gap: 1rem;
        }

        .comparison-item {
            flex: none;
            width: 14rem;
            padding: 1rem;
            padding-top: 0;
            border-radius: 0.5rem;
            border: 1px solid #e5e7eb;
            background-color: rgba(255, 255, 255, 0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .comparison-item img {
            width: 12rem;
            height: 18rem;
            border-radius: 0.5rem;
            object-fit: cover;
            margin-bottom: 0;
        }
        
        .comparison-item p {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            margin-top: 0.25rem;
        }
        
        .comparison-item .author {
            font-size: 0.75rem;
            color: #6b7280;
            margin-bottom: 0.5rem;
        }
        
        /* Price styling for recommended books */
        .comparison-item .price {
            font-size: 1.5rem;
            font-weight: 800;
            color: #000000;
            margin-bottom: 0.5rem;
        }

        .comparison-item .price sup {
            font-size: 0.75rem;
        }

        .comparison-item .book-image-link {
            background-color: transparent;
            padding: 0;
            vertical-align: top;
        }

        .comparison-item .book-image-link:hover {
            background-color: transparent;
        }

        /* .book-cover-image {
            width: 12rem;
            height: 18rem;
        } */

        .comparison-item a {
            margin-top: auto;
            display: block;
            width: 100%;
            text-align: center;
            padding: 0.5rem;
            font-size: 0.875rem;
            background-color: #fdd026;
            color: #4b5563;
            font-weight: 600;
            border-radius: 9999px;
            transition: background-color 0.2s ease-in-out;
        }
        
        .comparison-item a:hover {
            background-color: #f4b225;
        }

        .shop-now-item a {
            margin-top: auto;
            display: block;
            width: 100%;
            text-align: center;
            padding: 0.5rem;
            font-size: 1rem;
            background-color: #f97316;
            color: #4b5563;
            font-weight: 600;
            border-radius: 9999px;
            transition: background-color 0.2s ease-in-out;
            padding: 0.75rem 0.10em;
        }
        
        .shop-now-item a:hover {
            background-color: #ea580c;
        }

        .specifications-section {
            margin-top: 2rem;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
        }

        .specifications-section h2 {
            margin-top: .5rem;
        }

        .specifications-section h3 {
            margin-top: 12px;
        }
        
        @media (min-width: 768px) {
            .specifications-section {
                padding: 2rem;
            }
        }

        .specifications-details {
            color: #374151;
        }
        
        .specifications-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem;
        }

        .specifications-grid .label {
            font-weight: 600;
        }

        .specifications-details p {
            padding-top: 0rem;
        }
        
        /* General Overlay Styles */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            user-select: none;
        }

        .overlay-content {
            background-color: #fff;
            padding: 2rem;
            border-radius: 0.5rem;
            max-width: 90%;
            max-height: 90%;
            overflow-y: auto;
            position: relative;
        }

        @media (min-width: 768px) {
            .overlay-content { 
                max-width: 50%; 
            } 
        }

        .overlay-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: #4b5563;
            font-size: 2rem;
            cursor: pointer;
        }
        
        .overlay .look-inside-images img {
            width: 100%;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        
        .overlay .look-inside-images {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .description-link {
            display: inline-block;
            margin-top: 0.5rem;
            color: #666666;
            text-decoration: none;
            cursor: pointer;
            font-weight: 500;
        }

        .description-link:hover {
            text-decoration: none;
        }

        .description-link:active {
            color: #999999;
        }

        .checkmark-list {
            list-style: none;
            padding-left: 0;
        }

        .checkmark-list li::before {
            content: '✓';
            color: #000000;
            margin-right: 8px;
            font-weight: 600;
        }

        #bottom-checkmark-list {
            margin-bottom: 0px;
        }

        .arrow {
            border: solid #666666;
            border-width: 0 3px 3px 0;
            display: inline-block;
            padding: 3px;
            margin-right: 8px;
        }

        .arrow-up {
            transform: rotate(-135deg);
            -webkit-transform: rotate(-135deg);
        }

        .arrow-down {
            transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
        }

        /* --- ZOOM OVERLAY STYLES --- */
        .zoom-overlay .overlay-content {
            background-color: transparent; 
            padding: 0;
            max-width: 100vw;
            max-height: 100vh;
            overflow: hidden; 
            display: flex; 
            justify-content: center;
            align-items: center;
        }

        #zoomed-image {
            max-width: 95vw; 
            max-height: 95vh;
            object-fit: contain; 
            cursor: zoom-in;
            
            transition: transform 0.3s ease-in-out;
            transform-origin: center center;
        }

        #zoomed-image.zoomed {
            transform: scale(2.0);
            cursor: grab; 
        }

        #zoomed-image.dragging {
            cursor: grabbing !important;
            transition: none;
        }
        
        .zoom-overlay .overlay-close {
            color: #ffffff; 
            text-shadow: 0 0 5px rgba(0,0,0,0.5);
            z-index: 1001;
        }

        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 50;
            box-sizing: border-box;
            background-color: #0d0d0d;
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease-in-out;
            line-height: 1.5;
        }

        /* Shared Logo Styles */
        .logo-container {
            width: 50px; 
            max-width: 50px; 
            height: 40px; 
            min-height: 40px;
            display: flex; 
            justify-content: center; 
            align-items: center; 
        }

        .logo-container img {
            max-width: 100%; 
            max-height: 100%; 
            object-fit: contain; 
            height: auto; 
            display: block;
            border-radius: 30px;
        }

        /* 1. Left-Aligned Logo (Visible on mobile/default) */
        .left-logo {
            z-index: 51; 
        }

        .centered-logo {
            line-height: .75;
        }

        .centered-logo img {
            height: 30px; 
        }

        /* Nav Links Container */
        .nav-links {
            font-family: 'TeachersRegular', sans-serif;
            display: none;
            flex-direction: column;
            width: 100%;
            position: absolute;
            top: 60px;
            left: 0;
            background-color: var(--dark-bg);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 10px;
            letter-spacing: 0.06em;
        }

        /* Mobile Menu Open State */
        .main-header.nav-open .nav-links {
            display: flex;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            padding: 10px 20px;
            text-align: left;
            transition: background-color 0.2s;
            background-color: var(--dark-bg);
            font-weight: 500;
        }

        .nav-links a:hover {
            background-color: #1a1a1a;
        }

        /* Mobile Menu Button (Hamburger) */
        .menu-button {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .menu-button .icon-bar {
            display: block;
            width: 100%;
            height: 3px;
            background-color: var(--text-color);
            border-radius: 1px;
            transition: all 0.3s linear;
            transform-origin: 1px;
        }
        
        /* Typography Helper Class */
        .cap::first-letter {
            font-size: 1.2em;
        }

        .amazon-logo {
            max-width: 50%
        }

        .divider {
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            padding: 1.25rem 0;
        }

        .amazon-last {
            margin-bottom: 0;
        }

        .amazon-logo-bottom {
            width: 200px;
            margin-top: .5rem;
            margin-bottom: .5rem;
        }

        ::-webkit-scrollbar {
          width: 15px;
        }
        ::-webkit-scrollbar:horizontal {
            height: 5px;
        }

        /* Track */
        ::-webkit-scrollbar-track {
          background: #272727;
        }
        ::-webkit-scrollbar-track:horizontal {
          background: transparent;
          height: 5px;
        }

        /* Handle */
        ::-webkit-scrollbar-thumb {
          background: #666666;
          border-radius: 10px;
          border: 4px solid transparent; /* Acts as a margin to shrink the thumb */
          background-clip: padding-box;
        }
        ::-webkit-scrollbar-thumb:horizontal {
          background: #999999;
          border-radius: 5px; 
        }

        /* Handle on hover */
        ::-webkit-scrollbar-thumb:hover {
          background: #888888;
          border: 4px solid transparent; /* Acts as a margin to shrink the thumb */
          background-clip: padding-box; 
        }
        ::-webkit-scrollbar-thumb:horizontal:hover {
          background: #666666; 
        }

        /* --- PRODUCT DETAILS SECTION STYLES --- */
.product-details-section {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.product-details-section h2 {
    margin-bottom: 1rem;
    margin-top: .5rem;
}

@media (min-width: 768px) {
    .product-details-section { padding: 2rem; }
}

        /* --- REVIEWS SECTION STYLES --- */
.reviews-section {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.reviews-section h2 {
    margin-bottom: 1rem;
    margin-top: .5rem;
}

@media (min-width: 768px) {
    .reviews-section { padding: 2rem; }
}

.reviews-overview {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.rating-count-subtext {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}

.review-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: .25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.review-stars {
    color: #f97316; /* Matches your orange theme */
    font-size: 1.1rem;
}

.review-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
}

.review-body {
    font-style: italic;
    color: #374151;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.review-author {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.amazon-review-link {
    display: inline-block;
    color: #666666;
    font-weight: 600;
    font-size: 0.9rem;
}

.amazon-review-link:hover {
    color: #666666;
}

/* --- FAQ SECTION STYLES --- */
.faq-section {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.faq-section h2 {
    margin-bottom: 1rem;
    margin-top: .5rem;
}

@media (min-width: 768px) {
    .faq-section { padding: 2rem; }
}

.faq-section a {
color: #666666;
font-weight: 700;
}

.faq-section .description-link {
   margin-top: 0; 
}


/* FAQ Improved Mobile Spacing & Layout */
.faq-container {
    margin-top: 0; /* More space above the accordion */
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: .5rem 0; /* Increased vertical padding for better touch targets */
}

.faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0; /* Increased vertical padding for better touch targets */
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns icon with the top of multi-line questions */
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
    gap: 1.5rem; /* Ensures text doesn't hit the icon */
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

/* Updated Toggle Styles for + and - */
.faq-toggle-icon {
    font-size: 1.6rem;
    transition: color 0.3s ease;
    color: #374151;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0; /* Prevents icon from squishing on small screens */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #374151;
    line-height: 1.25; /* Increased line height for easier reading */
    font-size: 1rem;
    padding-right: 2rem; /* Keeps text from hitting the edge */
}

.disc {
    padding-top: .75rem;
}

.faq-item.active .faq-answer {
    max-height: 800px; /* Increased to accommodate longer answers */
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.faq-answer sup{
    font-size: smaller;
}

/* Logic to swap the text content */
.faq-item.active .faq-toggle-icon {
    font-size: 0; 
}

.faq-item.active .faq-toggle-icon::before {
    content: '−'; 
    font-size: 1.6rem;
    display: block;
}

/* FAQ Mobile-specific tweak for very small screens */
@media (max-width: 480px) {
    .faq-question {
        font-size: 1rem;
    }
    .about-additional-content {
        padding: 1rem; /* Extra padding inside the main content block */
    }
}

.footnotes {
            font-size: 0.8rem;
            text-align: left;
            line-height: 1rem;
        }

@media (min-width: 768px) {
    .footnotes {
        line-height: .75rem;
    }
}

.footnotes ol { padding-left: 20px; }
.footnotes li { margin-bottom: 8px; }

        /* FOOTER BAR */
#social-bar-wrapper {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
#social {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
    gap: 10px;
}

#social p {
    margin: 0;
    text-align: center;
    font-family:Verdana, Geneva, sans-serif; 
    color:#cccccc;
    font-size:11px;
    font-weight: bold;
}

.social-icons {
    display: flex; 
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.social-icons a {
    margin-right: 10px; 
}
.social-icons a:last-child {
    margin-right: 0;
}

.social-icons img {
    width: 30px; 
    height: 30px;
}

#footer {
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    font-family:Verdana, Geneva, sans-serif; 
    color:#cccccc; 
    font-size:11px; 
    text-align:center; 
    padding-bottom:15px;
    bottommargin: 0;
    background-color: transparent;
    letter-spacing: 0.00em;
    -webkit-font-smoothing: subpixel-antialiased;
  }
  /* END FOOTER BAR */


        /* --- RESPONSIVENESS (Desktop breakpoint equivalent: 768px) --- */
        @media (min-width: 768px) {
            /* Show centered logo on desktop */
            .centered-logo { 
                display: flex; 
                position: absolute; 
                left: 50%; 
                transform: translateX(-50%);
                line-height: .75px; 
            }
            .amazon-logo {
            max-width: 30%
            }
            ::-webkit-scrollbar:horizontal {
                height: 8px;
            }

        }

        @media (min-width: 899px) {
            .main-header { 
                justify-content: space-between; 
                gap: 0; 
                padding: 10px 10px; 
            }
            .nav-links { 
                display: flex; 
                flex-direction: row; 
                position: static; 
                width: auto; 
                border-top: none; 
                padding-bottom: 0; 
                letter-spacing: 0.06em;
            } 
            .nav-links a { 
                padding: 10px 15px; 
            } 
            .menu-button { 
                display: none; 
            }
        }

        /* #footer {
            position: relative; 
            width: 100%;
            font-family: Verdana, Geneva, sans-serif; 
            color: #cccccc; 
            font-size: 11px; 
            text-align: center; 
            padding-top: 15px;
            padding-bottom: 15px;
            background-color: transparent;
            letter-spacing: 0.00em;
        } */