body {
            margin: 0;
            padding: 0;
            overflow: hidden;
            font-family: 'Cormorant Garamond', serif;
            height: 100vh;
            max-height: 100vh;
        }

        /* Global button reset - apply to all buttons */
        button {
            background: transparent;
            border: none;
            outline: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        button:focus,
        button:active,
        button:hover {
            outline: none;
            background: transparent;
            -webkit-tap-highlight-color: transparent;
        }

        .carousel-wrapper {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -100%);
            width: 70%;
            max-width: 437px;
            height: 300px;
            z-index: 3;
        }

        .carousel {
            width: 100%;
            height: 100%;
            overflow: visible;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .carousel img {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            cursor: zoom-in;
        }

        .carousel img.active {
            display: block;
        }

        .carousel-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            cursor: pointer;
            font-family: 'Cormorant Garamond', serif;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 4;
            color: black;
            border-radius: 50%;
            border: 2px solid black;
        }

        .carousel-button:hover {
            background: black;
            color: white;
        }

        .carousel-button.left {
            left: -60px;
        }

        .carousel-button.right {
            right: -60px;
        }

        .tooltip {
            position: fixed;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            background: none;
            color: black;
            text-align: center;
            padding: 0 0 12px 0;
            font-size: 0.9em;
            white-space: pre-line;
            opacity: 1;
            pointer-events: auto;
            transition: none;
            z-index: 1000;
            width: 70%;          
            max-width: 437px;     
            margin: 0 auto;      
        }

        #text {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, 0);
            text-align: center;
            color: black;
            z-index: 10;
            white-space: nowrap;
            line-height: 1.6em;
            font-size: 1.1em;
        }

        #text a {
            color: black;
            text-decoration: none;
            margin: 0 0.3em;
            font-family: inherit;
            font-size: inherit;
            cursor: pointer;
        }

        #text a:hover {
            text-decoration: underline;
        }

        #content {
            position: absolute;
            top: 58%;
            left: 50%;
            transform: translate(-50%, 0);
            text-align: left;
            color: black;
            z-index: 1;
            white-space: normal;
            line-height: 1.6em;
            font-size: 1.1em;
            font-family: 'Cormorant Garamond', serif;
            width: 70%;
            max-width: 437px;
        }

        .content-section {
            display: none;
            
        }

        .menu-item {
            cursor: pointer;
        }

        .issue-button {
            color: black;
            top: 58%;
            line-height: 3.5em;
            text-decoration: none;
            font-family: inherit;
            font-size: inherit;
            cursor: pointer;
        }

        .issue-button:hover, .issue-button.active {
            text-decoration: underline;
        }

        .issue-button.active {
            text-decoration: none;
        }

        .issues-content.centered {
            text-align: center;
        }

        .issues-content.centered .issue-description {
            text-align: left;
        }

        .issue-description {
            margin-top: -15px;
            line-height: 1.2em;
            font-size: 0.9em;
        }

        .issue-description p {
            margin: 0.5em 0;
        }

        .issue-description > div:nth-child(1),
        .issue-description > div:nth-child(3) {
            text-align: center;
            width: 100%;
            font-size: 1.1em;
        }

        .issue-description > div:nth-child(2),
        .issue-description > div:nth-child(4) {
            text-align: center;
            width: 100%;
            font-size: 1.1em;
            line-height: .5em;
        }

        .issue-description > div:nth-child(n+3) {
            margin-left: 6px;
        }

        .issue-carousel-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;         
            height: 100vh;         
            background: white;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 0;
            padding: 0;
        }

        .issue-carousel {
            width: 90vw;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
        }

        .carousel-click-zone {
            position: absolute;
            top: 0;
            height: 100%;
            width: 50%;
            z-index: 1001;
            cursor: pointer;
        }

        .carousel-click-zone.left {
            left: 0;
        }

        .carousel-click-zone.right {
            right: 0;
        }

        .issue-carousel img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            display: none;
        }

        .issue-carousel img.active {
            display: block;
        }

        .carousel-controls {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .carousel-btn, .close-btn {
            background: none;
            border: 2px solid black;
            font-size: 18px;
            padding: 0;
            cursor: pointer;
            font-family: 'Cormorant Garamond', serif;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
        }

        .carousel-btn:hover, .close-btn:hover {
            background: black;
            color: white;
        }

        .image-counter {
            font-size: 1em;
            font-family: 'Cormorant Garamond', serif;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
        }

        .close-btn {
            position: fixed;
            top: 30px;
            left: 30px;
            z-index: 10000;
        }

        .close-btn::before {
            content: '✕';
            font-size: 16px;
            line-height: 1;
        }

        .issue-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: white;
            z-index: 9999;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .stockist-item {
            margin-bottom: 0em;
        }

        .stockist-name {
            background: none;
            border: none;
            padding: 0;
            margin: 0;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1em;
            color: black;
            cursor: pointer;
            text-align: left;
        }

        .stockist-firstname {
            margin-top: 1.2em;;
        }

        .stockist-name:hover {
            text-decoration: underline;
        }

        .stockist-links {
            display: none;
            margin-left: 1em;
            margin-bottom: 0.6em;
        }

        .stockist-links.active {
            display: block;
        }

        .stockist-link {
            color: black;
            text-decoration: none;
            margin-right: 1em;
            font-size: 0.9em;
        }

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

        .stockist-link.disabled {
            opacity: 0.5;
            cursor: default;
            pointer-events: none;
        }

        /* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Keep consistent width between carousel and text elements */
    .carousel-wrapper {
        width: 90%;
        height: auto;
        min-height: 200px;
        top: 45%;
        max-width: 450px;
    }

    .carousel {
        width: 100%;
        height: auto;
        min-height: 200px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .carousel img {
        display: none;
        width: 100%;
        height: auto;
        object-fit: contain;
        position: relative;
        cursor: zoom-in;
    }

    #text {
        top: 45%;
        width: 90%; /* Match carousel width */
        max-width: 450px; /* Match carousel max-width */
        font-size: 1.13em;
        line-height: 1.4em;
        white-space: normal; /* Allow wrapping on smaller screens */
    }

    #text a {
        margin: 0 0.2em; /* Reduce margins between menu items */
    }

    #content {
        width: 90%; /* Match carousel width */
        max-width: 450px; /* Match carousel max-width */
        top: 48%;
        font-size: 0.95em;
    }

    .tooltip {
        width: 90%; /* Match carousel width */
        max-width: 450px; /* Match carousel max-width */
        font-size: 0.8em;
        padding: 0 0 8px 0;
    }

    /* Issue carousel mobile adjustments */
    .issue-carousel {
        width: 95vw;
        height: 70vh;
    }

    .issue-carousel img {
        max-width: 95%;
        max-height: 95%;
    }

    .carousel-controls {
        bottom: 20px;
    }

    .carousel-btn, .close-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .image-counter {
        font-size: 0.9em;
    }

    /* Stockist mobile adjustments */
    .stockist-links {
        margin-left: 0.5em;
    }

    .stockist-link {
        display: inline-block;
        margin-right: 0.8em;
        font-size: 0.9em;
    }

    .stockist-firstname {
        margin-top: 1em;
    }

    /* Move carousel navigation buttons to bottom on tablets/mobile */
    .carousel-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 24px;
        padding: 0;
        cursor: pointer;
        font-family: 'Cormorant Garamond', serif;
        width: auto;
        height: auto;
        color: black;
        font-weight: bold;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        touch-action: manipulation;
    }

    .carousel-button:hover {
        color: #666;
        background: transparent;
    }

    .carousel-button:focus,
    .carousel-button:active {
        outline: none;
        background: transparent;
        color: black;
    }

    .carousel-button.left {
        left: -20px;
    }

    .carousel-button.right {
        right: -20px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    /* Remove all focus outlines on small screens */
    * {
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
    }
    
    button,
    button:focus,
    button:active,
    button:visited,
    .carousel-button,
    .carousel-button:focus,
    .carousel-button:active,
    .carousel-button:visited {
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .carousel-wrapper {
        width: 92%;
        height: auto;
        min-height: 150px;
        top: 42%;
        max-width: 350px;
    }

    .carousel {
        width: 100%;
        height: auto;
        min-height: 150px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .carousel img {
        display: none;
        width: 100%;
        height: auto;
        object-fit: contain;
        position: relative;
        cursor: zoom-in;
    }

    #text {
        top: 42%;
        width: 92%; /* Match carousel width */
        max-width: 350px; /* Match carousel max-width */
        font-size: 1em;
        white-space: nowrap;
    }
    
    #text a {
        margin: 0 0.15em; /* Reduced margins between menu items */
        font-size: 0.9em;
    }

    #content {
        width: 92%; /* Match carousel width */
        max-width: 350px; /* Match carousel max-width */
        top: 45%;
        font-size: 0.85em;
    }
    
    .tooltip {
        width: 92%; /* Match carousel width */
        max-width: 350px; /* Match carousel max-width */
        font-size: 0.75em;
        padding: 0 0 8px 0;
    }

    .carousel-btn, .close-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Stockist additional mobile adjustments */
    .stockist-links {
        margin-left: 0.3em;
    }
    
    .stockist-link {
        margin-right: 0.6em;
    }

    /* Move carousel navigation buttons to bottom on mobile */
    .carousel-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 20px;
        padding: 0;
        cursor: pointer;
        font-family: 'Cormorant Garamond', serif;
        width: auto;
        height: auto;
        color: black;
        font-weight: bold;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        touch-action: manipulation;
    }

    .carousel-button:hover {
        color: #666;
        background: transparent;
    }

    .carousel-button:focus,
    .carousel-button:active {
        outline: none;
        background: transparent;
        color: black;
    }

    /* Remove all focus outlines on buttons for mobile */
    button:focus,
    .carousel-button:focus,
    .carousel-button:active,
    .carousel-button:-moz-focusring {
        outline: none !important;
        box-shadow: none !important;
    }

    .carousel-button.left {
        left: -15px;
    }

    .carousel-button.right {
        right: -15px;
    }
}
