/* Import the Lato font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

:root {
    --brand-primary: #7A4F16;
    --brand-primary-rgb: 122 79 22;
    --brand-heading-font: 'Cinzel', serif; /* original: 'Playfair Display', serif */
}

.brand-name-nowrap {
    white-space: nowrap;
}

/* Basic reset */
body, h1, h2, p, ul, li, a, img {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    font-family: 'Lato', sans-serif; /* Updated to use the Lato font */
    line-height: 1.5;
    background-color: #f8f6f2;
    color: #333;
    text-align: center; /* Center all text by default */
}

h2, .section-heading, .section-title, .breeder-highlight {
    font-family: 'Playfair Display', serif;
}

/* Hero title: Cinzel (alt: swap to 'Montserrat', sans-serif) */
.hero h1 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Site header and navigation only (not in-page section titles) */
body > header {
    background-color: #2a3d4f;
    background-image: url('/img/landscape.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 10px;  /* Reduced top padding */
    padding-bottom: 0;  /* Remove bottom padding */
    text-align: center;
    min-height: 200px;
}

body > header .site-nav {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body > header .site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 12px 0 auto;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

body > header .site-nav__toggle:hover,
body > header .site-nav__toggle:focus {
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}

body > header .site-nav__toggle:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.site-nav__toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}

.site-nav__toggle-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
    transform-origin: center;
}

body > header .site-nav.is-open .site-nav__toggle-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body > header .site-nav.is-open .site-nav__toggle-bars span:nth-child(2) {
    opacity: 0;
    width: 0;
}

body > header .site-nav.is-open .site-nav__toggle-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body > header .site-nav__menu {
    width: 100%;
}

body > header .site-nav__menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

body > header .site-nav__menu ul li {
    display: inline;
    margin-right: 20px;
}

body > header .site-nav__menu ul li:last-child {
    margin-right: 0;
}

body > header .site-nav__menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

body > header .site-nav__menu ul li a:hover,
body > header .site-nav__menu ul li a:focus,
body > header .site-nav__menu ul li a.nav-active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
    text-decoration: none;
}

body > header .site-nav-sentinel {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
}

body > header .site-nav-spacer {
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

body.site-nav-sticky > header .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    min-height: 56px;
    padding: 6px 16px 6px 8px;
    margin: 0;
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
    transition: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

body.site-nav-sticky > header .site-nav.is-open {
    flex-wrap: wrap;
}

body.site-nav-sticky > header .site-nav__toggle {
    display: flex;
    margin: 0 12px 0 0;
}

body.site-nav-sticky > header .site-nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background-color: #1e2834;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
}

body.site-nav-sticky > header .site-nav.is-open .site-nav__menu {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
}

body.site-nav-sticky > header .site-nav__menu ul {
    display: block;
    margin: 0;
    padding: 6px 0 12px;
    text-align: left;
}

body.site-nav-sticky > header .site-nav__menu ul li {
    display: block;
    margin: 0;
}

body.site-nav-sticky > header .site-nav__menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    border-bottom: none;
}

body.site-nav-sticky > header .site-nav__menu ul li + li a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.site-nav-sticky > header .site-nav__menu ul li a:hover,
body.site-nav-sticky > header .site-nav__menu ul li a:focus {
    color: var(--brand-primary);
    background-color: rgba(255, 255, 255, 0.06);
    border-bottom: none;
}

body.site-nav-sticky > header .site-nav__menu ul li a.nav-active {
    color: var(--brand-primary);
    background-color: rgba(255, 255, 255, 0.04);
    border-bottom: none;
}

@media (max-width: 768px) {
    body.site-nav-sticky > header .site-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body > header .site-nav,
    body.site-nav-sticky > header .site-nav__menu,
    .site-nav__toggle-bars span {
        transition: none;
    }
}

/* Logo Styles */
body > header .logo img {
    width: 320px; /* Increase logo size */
    border-radius: 0%; /* Makes the logo less circular */
   /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for better aesthetics */
}

/* Main Content Styles */
main {
    padding: 0px;
    text-align: center; /* Ensure text in main content is centered */
}

/* Hero Section with Gradient Overlay and Text Visibility Enhancement */
.hero {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), 
                      url('/img/ilovebeardeddragons.png'); /* Gradient overlay + Image */
    background-size: 150%; /* Maintain zoomed-out effect */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Maintain fixed background on non-mobile */
    color: #fff;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 20px;
    min-height: 280px; /* Adjusted min-height */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Add subtle text shadow for extra contrast */
}

/* Adding blur and shadow effect for the text */
.hero-text {
    position: relative;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    padding: 28px 36px;
    border-radius: 10px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.75);
    z-index: 2;
    max-width: 720px;
}

.hero-tagline {
    font-size: 1.35em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.hero-credibility {
    font-size: 0.95em;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-top: 0.85rem;
    opacity: 0.95;
}

/* Optional: Add a slight blur behind the text */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px); /* Blur effect */
    z-index: 1; /* Place behind the text */
}

.about, .featured-products {
    margin: 40px 0;
}

.about h2, .featured-products h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center; /* Centering the section titles */
}

/* Increase font size by 30% for specific text */
.about p, .gallery h2 {
    font-size: 1.3em; /* Increase font size by 30% */
    line-height: 1.6; /* Optional: improves readability */
}

/* Decor Images */
.decor-image {
    margin: 20px 0;
    max-width: 45%;  /* Default size for larger screens */
    height: auto;    /* Maintain original aspect ratio */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: zoom-in;
}

/* Gallery Styles */
.gallery {
    margin: 40px 0;
}

.gallery h2 {
    margin-bottom: 30px; /* Added margin below the title to create more space */
    font-size: 2.5em;
}

.gallery-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    --gallery-photo-width: 40%;
}

.clutch-announcement hr {
    max-width: 120px;
    margin: 1rem auto 2rem;
    border: none;
    border-top: 1px solid var(--brand-primary);
    opacity: 0.6;
}

.clutch-announcement .inferno-clutch-copy p {
    max-width: 920px;
    margin: 0 auto 1.35rem;
    line-height: 1.75;
    font-size: 1.12em;
    color: #444;
}

.clutch-announcement .inferno-clutch-cta {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 1.15em;
}

.clutch-announcement + .gallery-images {
    margin-top: 2.5rem;
}

.gallery .section-divider {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.gallery-images:not(.clutch-gallery) > .gallery-image {
    max-width: var(--gallery-photo-width);
}

.gallery-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--gallery-photo-width);
    flex: 0 1 var(--gallery-photo-width);
    margin: 0;
}

.gallery-images.clutch-gallery .gallery-image {
    max-width: 100%;
    width: 100%;
}

.gallery-figure .gallery-image {
    margin-bottom: 10px;
}

.gallery-caption {
    font-size: 0.9em;
    font-style: italic;
    color: #666;
    letter-spacing: 0.03em;
    margin: 0 0 8px;
}

.trust-strip-wrap {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(249, 246, 240, 0.95));
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
    padding: 20px 20px 18px;
}

.trust-strip-brand-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.7rem;
    max-width: 36rem;
    margin: 0 auto 0.9rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.18);
}

.trust-strip-brand-part {
    font-family: var(--brand-heading-font);
    font-size: clamp(0.95rem, 2.1vw, 1.08rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brand-primary);
    line-height: 1.3;
    text-shadow:
        0 1px 0 rgba(90, 58, 18, 0.32),
        0 2px 4px rgba(60, 38, 12, 0.12);
}

.trust-strip-brand-separator {
    display: inline-block;
    width: 1px;
    height: 1.15em;
    background-color: rgb(var(--brand-primary-rgb) / 0.4);
    flex-shrink: 0;
}

.section-heading--dark,
.about .promo-section > h2.section-heading--dark {
    font-family: var(--brand-heading-font);
    color: #333;
    text-shadow: none;
}

.trust-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

.trust-strip li {
    font-size: 0.92em;
    font-weight: 560;
    color: #444;
    letter-spacing: 0.02em;
}

.trust-strip li::before {
    content: "◆";
    color: var(--brand-primary);
    margin-right: 0.42em;
    font-size: 0.56em;
    vertical-align: middle;
}

.home-page .about {
    margin-top: 1.4rem;
}

.home-page .promo-section.hero-intro > h2 {
    margin-top: 0.2rem;
}

.promo-block p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-page p,
.about-container p {
    line-height: 1.8;
}

.gallery .care-cta {
    margin-top: 20px;
}

.closing-cta {
    margin: 2rem auto 1rem;
    max-width: 820px;
}

.closing-cta .stay-connected-list {
    list-style: none;
    margin: 1.75rem auto 2rem;
    padding: 0;
    text-align: left;
}

.closing-cta .stay-connected-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.22);
    line-height: 1.7;
    color: #444;
    font-size: 1.05em;
}

.closing-cta .stay-connected-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.closing-cta .stay-connected-list li::before {
    content: "◆";
    color: var(--brand-primary);
    margin-right: 0.55em;
    font-size: 0.65em;
    vertical-align: middle;
}

.closing-cta .stay-connected-note {
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    max-width: 760px;
    line-height: 1.75;
    font-size: 1.05em;
    color: #444;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.65);
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gallery-image {
    display: block;
    max-width: var(--gallery-photo-width, 40%);
    height: auto;
    border-radius: 16px;
    border: 2px solid var(--brand-primary); /* Refined gold border */
    padding: 6px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgb(var(--brand-primary-rgb) / 0.15), 
                0 4px 8px rgba(0, 0, 0, 0.05); /* Soft gold + subtle depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    cursor: zoom-in;
}

.gallery-image:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgb(var(--brand-primary-rgb) / 0.25), 
                0 6px 12px rgba(0, 0, 0, 0.1); /* Glowing gold hover */
}


/* Sample Text */
.sample-text {
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
}

/* About page — readable column, grouped sections */
.about-section {
    padding: 2.5rem 0 4rem;
}

.about-container {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-section h1 {
    text-align: center;
    margin-bottom: 2.25rem;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    line-height: 1.3;
}

.about-panel {
    text-align: left;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.about-lead {
    font-size: 1.12em;
    color: #3a3a3a;
    margin-bottom: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
}

.about-block {
    padding-top: 2rem;
}

.about-block + .about-block {
    margin-top: 0.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.about-block-title {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 1.25rem;
    line-height: 1.35;
}

.about-page .about-container p {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 1.35rem;
}

.about-page .about-container p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-panel {
        padding: 1.75rem 1.35rem;
    }

    .about-block {
        padding-top: 1.65rem;
    }

    .about-lead {
        padding-bottom: 1.65rem;
    }
}

/* Products page — no photo backgrounds on content; titles live inside solid panels */
body.products-page main,
body.products-page .content-wrapper,
body.products-page .product-page,
body.products-page .products-benefits-section {
    background-color: #f8f6f2;
    background-image: none;
}

body.products-page .product-page .parallax,
body.products-page .product-page .hero {
    background-image: none;
}

.product-page {
    padding: 2rem 0 1rem;
}

.products-page-header,
.contact-page-header,
.care-guide-intro-header,
.products-benefits-header {
    min-height: 0;
    background: none;
    background-image: none;
    color: inherit;
}

.products-page-header {
    text-align: center;
    margin: 0;
    padding: 0 0 var(--products-section-space, 1.75rem);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
}

.products-page-header h1 {
    margin: 0;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    line-height: 1.3;
}

.products-intro-panel,
.products-benefits-panel {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    background-color: #faf9f7;
    border-radius: 14px;
    padding: 2rem 2rem;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.products-intro-panel {
    margin-bottom: 3rem;
    --products-section-space: 1.75rem;
}

.products-page-header + .products-lead {
    padding-top: var(--products-section-space);
}

.products-lead {
    font-size: 1.12em;
    color: #3a3a3a;
    margin: 0;
    padding-bottom: 1.25rem;
    border-bottom: none;
}

.products-intro-block {
    padding: var(--products-section-space) 0;
    margin: 0;
}

.products-lead + .products-intro-block,
.products-intro-block + .products-intro-block {
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.products-lead + .products-intro-block {
    padding-top: var(--products-section-space);
}

.products-block-title,
.products-benefit-block h3 {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 1.15rem;
    line-height: 1.35;
    text-align: left;
}

.products-catalog-heading {
    margin: 0 auto 2rem;
}

.products-benefits-section {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 52rem;
    margin: 0 auto;
}

.products-benefits-panel {
    --products-section-space: 1.75rem;
}

.products-benefits-header {
    text-align: center;
    margin: 0;
    padding: 0 0 var(--products-section-space);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
    background-color: transparent;
    background-image: none;
}

.products-benefits-header .section-heading {
    max-width: 36rem;
    margin: 0 auto 0.85rem;
    line-height: 1.35;
}

.products-benefits-sub {
    margin: 0;
    font-size: 1.05em;
    color: #555;
    letter-spacing: 0.04em;
}

.products-benefits-header + .products-benefit-block {
    border-top: none;
    padding-top: var(--products-section-space);
}

.products-benefit-block {
    padding: var(--products-section-space) 0;
    margin: 0;
}

.products-benefit-block + .products-benefit-block {
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.products-page .products-intro-panel p,
.products-page .products-benefit-block p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.products-page .products-intro-panel p:last-child,
.products-page .products-benefit-block p:last-child {
    margin-bottom: 0;
}

.products-benefit-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.products-benefit-list li {
    padding: 0.45rem 0 0.45rem 0.25rem;
    line-height: 1.65;
    color: #444;
    font-size: 1.05em;
}

.products-benefit-list li::before {
    content: "◆";
    color: var(--brand-primary);
    margin-right: 0.55em;
    font-size: 0.65em;
    vertical-align: middle;
}

/* Contact page */
body.contact-page main,
body.contact-page .content-wrapper,
body.contact-page .contact-section {
    background-color: #f8f6f2;
    background-image: none;
}

.contact-section {
    padding: 2.5rem 0 4rem;
}

.contact-container {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-intro-panel,
.contact-form-panel {
    text-align: left;
    background-color: #faf9f7;
    border-radius: 14px;
    padding: 2rem 2rem;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    --contact-section-space: 1.75rem;
}

.contact-intro-panel {
    margin-bottom: 2rem;
}

.contact-page-header {
    text-align: center;
    margin: 0;
    padding: 0 0 var(--contact-section-space);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
}

.contact-page-header h1 {
    margin: 0;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    line-height: 1.3;
}

.contact-page-header + .contact-lead {
    padding-top: var(--contact-section-space);
}

.contact-lead {
    font-size: 1.12em;
    color: #3a3a3a;
    margin: 0;
    padding-bottom: var(--contact-section-space);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
}

.contact-block {
    padding: var(--contact-section-space) 0;
    margin: 0;
}

.contact-block + .contact-block {
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.contact-block-title {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 1.15rem;
    line-height: 1.35;
}

.contact-block-title a,
.contact-intro-panel a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-block-title a {
    text-decoration: none;
}

.contact-block-title a:hover,
.contact-intro-panel a:hover {
    text-decoration: underline;
}

.contact-page .contact-intro-panel p,
.contact-page .contact-form-panel p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.contact-page .contact-block p:last-child {
    margin-bottom: 0;
}

.contact-privacy-note {
    margin: 0;
    padding-top: var(--contact-section-space);
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
}

.contact-form-panel .contact-block-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-width: 100%;
    margin: 0;
}

.contact-form label {
    margin-top: 1rem;
    font-size: 0.95em;
    font-weight: 600;
    color: #3a3a3a;
    text-align: left;
}

.contact-form label:first-of-type {
    margin-top: 0;
}

.contact-optional {
    font-weight: 400;
    color: #666;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.25);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgb(var(--brand-primary-rgb) / 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 1.5rem;
    padding: 0.85rem 1.5rem;
    width: 100%;
    max-width: 280px;
    align-self: center;
    background-color: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.contact-form button:hover {
    background-color: #5f3d11;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 1.5rem 0 3rem;
    }

    .contact-intro-panel,
    .contact-form-panel {
        padding: 1.5rem 1.25rem;
        --contact-section-space: 1.5rem;
    }

    .contact-form button {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding-top: 1.5rem;
    }

    .products-intro-panel,
    .products-benefits-panel {
        padding: 1.5rem 1.25rem;
        --products-section-space: 1.5rem;
    }

    .products-benefits-section {
        padding: 2.25rem 1rem 3rem;
    }
}

.products {
    margin-top: 20px;
    text-align: center; /* Centering product section */
}

/* Adjusted Product List to Remove Extra Grey Space */
.product-list {
    background-color: transparent !important; /* Ensure no grey background */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the product items */
    align-items: flex-start;
    gap: 20px; /* Space between the product items */
    margin: 0 auto; /* Center the container */
}

.product-list .product-item,
.product-list a.product-card-link {
    display: block;
    background-color: #ffffff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07), 0 2px 8px rgb(var(--brand-primary-rgb) / 0.08);
    margin: 10px;
    padding: 25px 20px;
    width: 225px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.product-list .product-item:hover,
.product-list a.product-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.11), 0 4px 14px rgb(var(--brand-primary-rgb) / 0.14);
}

.product-list a.product-card-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
}

.product-card-footer {
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.35);
    margin-top: 16px;
    padding-top: 14px;
}

.product-card-footer .product-card-details {
    margin-top: 0;
}

.footer-social {
    margin: 0;
    padding: 0 20px 10px;
    font-size: 0.9em;
}

.footer-social a {
    color: #ddd;
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.product-list img {
    border-radius: 14px;
    border: 2px solid var(--brand-primary); /* Elegant gold frame */
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 6px 14px rgb(var(--brand-primary-rgb) / 0.15), 
                0 4px 8px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    height: auto;
    width: 150px;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.product-list a.product-card-link:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 24px rgb(var(--brand-primary-rgb) / 0.25),
                0 6px 12px rgba(0, 0, 0, 0.1);
}


/* Heading and Price Styling */
.product-list h3 {
    font-size: 1.2em;
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    margin-top: 10px;
    letter-spacing: 0.3px;
    line-height: 1.35;
}

.product-list p {
    font-size: 1em;
    color: #444;
    font-weight: 600;
    margin-top: 12px;
}

.product-list .product-card-details {
    line-height: 1.65;
    margin-top: 14px;
}

.product-list .product-card-details .product-go-home {
    display: inline-block;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Larger product cards and photos on desktop */
@media (min-width: 769px) {
    .product-list {
        gap: 28px;
    }

    .product-list .product-item,
    .product-list a.product-card-link {
        width: 340px;
        padding: 32px 28px;
    }

    .product-list img {
        width: 225px;
    }

    .product-list h3 {
        font-size: 1.25em;
        line-height: 1.35;
    }

    .hero,
    .parallax {
        min-height: 360px;
    }

    .hero h1 {
        font-size: 2.45em;
    }

    .product-list p {
        font-size: 1.05em;
    }
}


body > footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0 24px;
    text-align: center;
    margin-top: 0;
}

.footer-brand {
    color: #D4AF37;
    font-size: 0.95em;
    letter-spacing: 0.06em;
    margin: 0;
    padding: 0 20px 10px;
}

.footer-copyright {
    font-size: 0.85em;
    color: #bbb;
    margin: 0;
    padding: 0 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center form elements */
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    width: 80%; /* Ensure inputs are reasonably wide but still centered */
}

form button {
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 50%; /* Center button with reasonable width */
}

form button:hover {
    background-color: #555;
}

/* Care Guide page — premium panels; gallery photos unchanged */
body.care-guide-page main,
body.care-guide-page .content-wrapper,
body.care-guide-page section.care-guide {
    background-color: #f8f6f2;
    background-image: none;
}

body.care-guide-page .hero,
body.care-guide-page .parallax {
    background-image: none;
}

body.care-guide-page section.care-guide {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 2rem 0 4rem;
    margin: 0;
    text-align: center;
}

.care-guide-container {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

body.care-guide-page .gallery-images {
    margin: 2rem auto 2.5rem;
}

.care-guide-intro-panel,
.care-guide-panel {
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    text-align: left;
    background-color: #faf9f7;
    border-radius: 14px;
    padding: 2rem 2rem;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    --care-section-space: 1.75rem;
}

.care-guide-intro-panel {
    text-align: center;
    background-color: #faf9f7;
    background-image: none;
    position: relative;
    z-index: 1;
}

.care-guide-intro-header {
    margin: 0;
    padding: 0 0 var(--care-section-space);
    border-bottom: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
    background-color: #faf9f7;
    background-image: none;
}

body.care-guide-page .care-guide-hero-image {
    margin-top: 0;
}

.care-guide-intro-header h1 {
    margin: 0;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    line-height: 1.3;
}

.care-quote-card {
    margin: var(--care-section-space) 0 0;
    padding: 1.5rem 1.6rem 1.35rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.12);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.care-guide-page .care-quote-card .care-quote {
    margin: 0;
    padding: 0;
    border: none;
}

body.care-guide-page .care-quote-text {
    margin: 0;
    font-size: 1.15em;
    line-height: 1.8;
    font-style: italic;
    color: #444;
}

.care-quote-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.16);
}

.care-quote-name {
    font-family: var(--brand-heading-font);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
}

.care-quote-role {
    font-size: 0.9em;
    color: #666;
    letter-spacing: 0.03em;
}

.care-guide-section-title {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: clamp(1.25rem, 3vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 1.25rem;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    border-bottom: none;
    display: block;
}

.care-guide-panel > p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.care-guide-panel > p:last-child {
    margin-bottom: 0;
}

.care-guide-block {
    padding: var(--care-section-space) 0;
    margin: 0;
}

.care-guide-block + .care-guide-block,
.care-guide-section-title + .care-guide-block {
    border-top: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.care-guide-section-title + p {
    padding-top: 0;
}

.care-guide-block h3 {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 1rem;
    line-height: 1.35;
}

.care-guide-subtitle {
    font-size: 1.05em;
    font-weight: 700;
    color: #3a3a3a;
    margin: 1.5rem 0 0.75rem;
}

.care-guide-block p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.15rem;
}

.care-guide-block p:last-child {
    margin-bottom: 0;
}

.care-guide-warning {
    color: #b30000;
}

.care-guide-panel ul,
.care-guide-panel ol {
    margin: 0 0 1.15rem 1.25rem;
    padding: 0;
    text-align: left;
    display: block;
}

.care-guide-panel li {
    font-size: 1.05em;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.5rem;
    max-width: none;
}

.care-guide-panel a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    body.care-guide-page section.care-guide {
        padding: 1.5rem 0 3rem;
    }

    .care-guide-intro-panel,
    .care-guide-panel {
        padding: 1.5rem 1.25rem;
        --care-section-space: 1.5rem;
    }

    body.care-guide-page .gallery-images {
        margin: 1.5rem auto 2rem;
    }
}

.enclosure-photo {
    width: 100%;
    max-width: 800px; /* Adjust this value as needed */
    display: block;
    margin: 20px auto; /* Centers the image with vertical spacing */
    cursor: zoom-in;
}

/* Underline title in Care Guide */
/* .underline-title {
    text-decoration: underline;
} */

.underline-title {
    text-decoration: none;       /* Removes the underline */
    color: var(--brand-primary);
}


/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, var(--brand-primary), transparent);
    margin: 40px 0;
}

/* Image Overlay */
.image-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    opacity: 0.7;
    z-index: 1;
}

/* Premium brand text color */
.premium-highlight {
    color: var(--brand-primary);
}

/* Display titles: brand brown + Cinzel + soft depth (no stroke) */
.section-heading,
.section-title,
.breeder-highlight,
.product-list h3,
.products-page-header h1,
.contact-page-header h1,
.about-section h1,
.promo-section.hero-intro > h2,
.about-block-title,
.products-block-title,
.products-benefit-block h3,
.contact-block-title,
.care-guide-intro-header h1,
.care-guide-section-title,
.care-guide-block h3 {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 0 rgba(90, 58, 18, 0.32),
        0 2px 4px rgba(60, 38, 12, 0.12);
}

.breeder-highlight {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow:
        0 1px 0 rgba(90, 58, 18, 0.34),
        0 2px 5px rgba(60, 38, 12, 0.14);
}

.product-list h3 {
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow:
        0 1px 0 rgba(70, 54, 10, 0.3),
        0 1px 3px rgba(55, 42, 8, 0.12);
}

/* Sample Text */
.sample-text {
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
}

/* Fade-in Effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    background-image: url('/img/ilovebeardeddragons.png');
    min-height: 280px; /* Reduced min-height for smaller vertical size */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150%; /* Zoomed-out effect */
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        padding: 30px 20px;
    }

    .hero-text {
        padding: 24px 14px;
    }

    .trust-strip-wrap {
        padding: 16px 14px 14px;
    }

    .trust-strip-brand-line {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .trust-strip {
        gap: 8px 14px;
    }

    .hero h1 {
        font-size: clamp(1.15rem, 4.2vw, 1.85em);
        letter-spacing: 0.04em;
    }

    .hero-brand-name {
        white-space: nowrap;
    }

    .hero p {
        font-size: 1em;
    }

    /* Navigation */
    body:not(.site-nav-sticky) > header .site-nav__menu ul li {
        margin-right: 10px;
    }

    body:not(.site-nav-sticky) > header .site-nav__menu ul li a {
        font-size: 0.9em;
    }

    /* Logo */
    body > header .logo img {
        width: 250px;
    }

    /* Decor images */
    .decor-image {
        max-width: 80%;
        height: auto;
    }

    /* Gallery images — mobile size (unchanged) */
    .gallery-images {
        --gallery-photo-width: 80%;
    }

    .gallery-image {
        height: auto;
        margin: 10px 0;
    }

    /* Product items */
    .product-list .product-item,
    .product-list a.product-card-link {
        width: 100%;
        max-width: 360px;
        margin: 10px 0;
    }

    .product-list img {
        width: 175px;
    }

    .trust-strip-brand-line {
        flex-direction: column;
        gap: 0.45rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .trust-strip-brand-separator {
        width: 2.75rem;
        height: 1px;
    }

    .trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

}

/* Home gallery — two columns on desktop; clutch matches main gallery */
@media (min-width: 769px) {
    .gallery .gallery-images {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 42rem;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-items: stretch;
        align-items: start;
    }

    .gallery .gallery-images:not(.clutch-gallery) > .gallery-image,
    .gallery .gallery-images .gallery-figure {
        max-width: none;
        width: 100%;
        flex: unset;
    }
}

.content-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.care-quote {
    font-size: 1.3em;
    font-style: italic;
    color: var(--brand-primary);
    margin: 10px auto 30px;
    max-width: 800px;
    padding: 10px;
    border-left: 5px solid var(--brand-primary);
}
.section-heading {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.breeder-highlight {
    font-size: 2.6rem;
    display: block;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
}

/* Product detail page */
.product-back-btn {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem 0.5rem 0.7rem;
    border-radius: 8px;
    background: rgba(30, 40, 52, 0.92);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-back-btn:hover,
.product-back-btn:focus {
    color: var(--brand-primary);
    background: rgba(20, 28, 38, 0.98);
    text-decoration: none;
}

body.product-detail-page.site-nav-sticky .product-back-btn {
    top: 62px;
}

.product-detail {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3.75rem 1.5rem 4rem;
    text-align: left;
}

.product-detail__header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-detail__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.3;
}

.product-detail__tagline {
    margin: 0;
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.product-detail__figure {
    margin: 0 auto 2rem;
    text-align: center;
}

.product-detail__image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
    border: 2px solid var(--brand-primary);
    padding: 8px;
    background-color: #fff;
    box-shadow: 0 10px 28px rgb(var(--brand-primary-rgb) / 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail__image:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 36px rgb(var(--brand-primary-rgb) / 0.22), 0 6px 16px rgba(0, 0, 0, 0.1);
}

.product-detail__caption {
    margin: 0.65rem 0 0;
    font-size: 0.85em;
    color: #777;
    letter-spacing: 0.03em;
}

.product-detail__price-panel {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background-color: #faf9f7;
    border-radius: 12px;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.2);
}

.product-detail__price {
    margin: 0;
    font-size: 1.15em;
    line-height: 1.65;
}

.product-detail__body p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
    margin: 0 0 1.25rem;
}

.product-detail__lead {
    font-size: 1.12em !important;
    color: #3a3a3a !important;
}

.product-detail__highlights {
    margin: 2rem 0 2.5rem;
    padding: 1.75rem 1.5rem;
    background-color: #faf9f7;
    border-radius: 14px;
    border: 1px solid rgb(var(--brand-primary-rgb) / 0.14);
}

.product-detail__highlights-title {
    font-family: var(--brand-heading-font);
    color: var(--brand-primary);
    font-size: 1.2rem;
    margin: 0 0 1rem;
    letter-spacing: 0.03em;
}

.product-detail__highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-detail__highlights li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.35rem;
    line-height: 1.65;
    color: #444;
    font-size: 1.02em;
}

.product-detail__highlights li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-size: 0.65em;
    top: 0.75em;
}

.product-detail__cta {
    text-align: center;
    padding-top: 0.5rem;
}

.product-detail__cta p {
    font-size: 1.05em;
    line-height: 1.75;
    color: #444;
    margin: 0 0 1rem;
}

.product-detail__cta a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-detail__cta-note {
    font-size: 0.9em !important;
    color: #777 !important;
    font-style: italic;
}

@media (min-width: 769px) {
    .product-detail {
        padding-top: 4.25rem;
    }

    .product-detail__image {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding-top: 3.5rem;
    }
}

/* Full-screen image lightbox */
body.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
             max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.92);
    -webkit-tap-highlight-color: transparent;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    touch-action: manipulation;
}

.image-lightbox__close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus {
    background-color: rgba(255, 255, 255, 0.3);
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

@supports (height: 100dvh) {
    .image-lightbox {
        height: 100dvh;
    }

    .image-lightbox__img {
        max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-width: calc(100dvw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));
    }
}
