/* Health Theme CSS Variables */
:root {
    --nettle-bg: #f5f9f7;
    --nettle-surface: #ffffff;
    --nettle-pane: #e8f1ec;
    --nettle-tone: #38a169;
    --nettle-tone-hover: #276749;
    --nettle-ink: #1a202c;
    --nettle-ink-light: #4a5568;
    --nettle-gradient: linear-gradient(135deg, #48bb78 0%, #2f855a 100%);
    
    /* Random Visual Parameters chosen */
    --font-display: 'Raleway', sans-serif;
    --font-body: 'Lato', sans-serif;
    --nettle-radius: 16px; /* Soft */
    --nettle-shadow-deep: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --head-case: uppercase;
}

/* Reset and Typography Base */
html, body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Gallery Mechanics (CSS Only) */
.dist-1, .dist-2, .dist-3, .dist-4 {
    display: none;
}

#view1:checked ~ .flex .pic-stage .dist-1,
#view2:checked ~ .flex .pic-stage .dist-2,
#view3:checked ~ .flex .pic-stage .dist-3,
#view4:checked ~ .flex .pic-stage .dist-4 {
    display: block;
    animation: fade-in 0.4s ease-in-out;
}

/* Thumbnail Active States */
#view1:checked ~ .flex .pic-thumbs .lbl-1,
#view2:checked ~ .flex .pic-thumbs .lbl-2,
#view3:checked ~ .flex .pic-thumbs .lbl-3,
#view4:checked ~ .flex .pic-thumbs .lbl-4 {
    border-color: var(--nettle-tone);
    box-shadow: 0 0 0 2px var(--nettle-bg);
}

@keyframes fade-in {
    from { opacity: 0.6; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive adjustments for Gallery Side Thumbnails */
@media (max-width: 768px) {
    .gallery-mechanics .flex-row {
        flex-direction: column-reverse;
    }
    .pic-thumbs {
        flex-direction: row !important;
        width: 100% !important;
        height: auto;
    }
    .pic-thumbs label {
        flex: 1;
    }
}

/* Link Actions */
.purchase-action-link:hover {
    background-color: var(--nettle-tone-hover);
    text-decoration: none;
}