 :root {
    --bar-height-desktop: 96px;
    --bar-height-mobile: 72px;
 }

html {
    scrollbar-gutter: stable;
}

body {
	background-color: white;
	color: black;
	font-family: "Syne", sans-serif;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5em;
	text-align: center;
	list-style-position: inside;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	width: 90%;
	max-width: 1000px;
	}

body.home-no-scroll {
    overflow: hidden;
    height: 100dvh;
    padding-bottom: 0;
    scrollbar-gutter: stable;
}

.justify {
	text-align: justify;
}
		  
a:visited {
	color: black
	}
		  
a {
	color: black
	}
		  
#logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	width: 100%;
	}
		  
.brand {
    font-size: 65px;
	display: block;
	margin: 0;
	line-height: 1;
	}
		  
.pagetitles {
	font-size: 40px;
	line-height: 1.05;
	}
		  
#video {
	padding-top: 10px;
	padding-bottom: 10px;
	}

.navbar {
	position: sticky;
	top: 0px;
	z-index: 1000;
	background-color: white;
    min-height: var(--bar-height-desktop);
    padding: 0 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}	

.navigation {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
	gap: 7px;
	align-content: center;
    width: 100%;
}

.navigation > div {
    flex: 0 0 auto;
	text-align: center;
}
		
.navbar a {
    text-decoration: none;
}

button {
	appearance: none;
	background-color: white;
	border: 1px solid black;
	border-radius: 4px;
	color: black;
	cursor: pointer;
	font-family: "Syne", sans-serif;
	font-size: 14px;
	letter-spacing: 0.08em;
	padding: 10px 18px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

button:hover,
button:focus-visible {
	background-color: black;
	color: white;
	outline: none;
}

.store {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-evenly;
    gap: 10px
}

@media (max-width: 600px) {
    html {
        scrollbar-gutter: stable;
    }

    .navbar {
        min-height: var(--bar-height-mobile);
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        
    }

	footer {
        min-height: var(--bar-height-mobile);
        padding: 0;
	}
    
    .navigation {
        justify-content: space-around;
		gap: 8px;
    }

	.footer-navigation {
        justify-content: space-around;
		gap: 35px;
	}
    
    body {
        margin-top: 15px;
        scrollbar-gutter: stable;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body.info-page {
        margin-top: 0;
    }

    body.info-page .page-wrapper {
        min-height: calc(100svh - var(--bar-height-mobile) - var(--bar-height-mobile));
        justify-content: center;
        align-items: center;
    }

    body.info-page .scroll-content {
        align-items: center;
        text-align: center;
    }

    body.home-no-scroll {
        overflow: hidden;
        scrollbar-gutter: stable;
    }
    
    .hoodie {
        width: 350px;
    }

    .page-wrapper {
        padding: 0 14px;
        box-sizing: border-box;
        min-height: calc(100dvh - var(--bar-height-mobile) - var(--bar-height-mobile));
    }

    .scroll-content {
        padding: 0 6px;
        box-sizing: border-box;
    }

    .scroll-content figure {
        margin: 0 auto;
    }

	.home-logo {
		width: 240px;
		height: auto;
	}

    .brand {
        padding: 0 8px;
        box-sizing: border-box;
    }

    .format {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-viewport-center {
        min-height: calc(100dvh - var(--bar-height-mobile) - var(--bar-height-mobile));
    }

    @supports (height: 100svh) {
        .home-viewport-center {
            min-height: calc(100svh - var(--bar-height-mobile) - var(--bar-height-mobile) - 15px);
        }
    }

    @supports (-moz-appearance: none) {
        .home-viewport-center {
            min-height: calc(100dvh - var(--bar-height-mobile) - var(--bar-height-mobile));
        }
    }

    .home-viewport-center .scroll-content figure {
        margin-bottom: 12px;
    }

    .home-viewport-center .format {
        max-width: 360px;
        margin-top: 12px;
    }

    .home-viewport-center .flag {
        margin-top: 12px;
    }

    .flag {
        display: none;
    }

    footer p .mobile-footer-flag {
        display: inline-block;
        width: 18px;
        height: auto;
        margin-right: 6px;
        vertical-align: -2px;
    }

	#logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	width: 100%;
	}
}
   
.content {
	padding-top: 5px
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 220px);
	width: 100%;
}

.scroll-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	width: 100%;
	max-width: 1000px;
}

.scroll-content hr {
	width: 100%;
}

.format {
	margin-top: 24px;
}

.home-viewport-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    min-height: calc(100dvh - var(--bar-height-desktop) - var(--bar-height-desktop));
	width: 100%;
}

.home-viewport-center .scroll-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1000px;
}

.home-viewport-center .scroll-content figure {
	margin: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.home-viewport-center .brand {
	width: 100%;
	text-align: center;
}

.home-viewport-center .format {
	width: 100%;
	max-width: 520px;
	margin-top: 16px;
	margin-left: auto;
	margin-right: auto;
}

.home-viewport-center .format p {
	margin: 0 auto;
	text-align: center;
}

.home-viewport-center .flag {
    margin-top: 16px;
}

.flag {
	margin-top: 24px;
}

.mobile-footer-flag {
    display: none;
}

.fade-overlay {
	display: none;
}

/* sticky footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    min-height: var(--bar-height-desktop);
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ensure main content doesn't get hidden behind footer */
body {
	padding-bottom: var(--bar-height-desktop); /* adjust as footer height */
}

/* Scrollbar styling for Chrome, Safari, and Opera */
body::-webkit-scrollbar {
    width: 10px;
}

/* Scrollbar behavior for IE, Edge, and Firefox */
body {
    -ms-overflow-style: auto;  /* IE and Edge */
    scrollbar-width: auto;  /* Firefox */
    overflow-x: hidden;
    overflow-y: auto;
}

/* remove underline on footer links */
footer a {
    text-decoration: none;
}

footer p {
	font-size: 12px;
    margin: 0;
}

/* footer navigation spacing */
.footer-navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
	gap: 8px;
    align-content: center;
    margin: 0 auto 6px auto;
    width: 90%;
    max-width: 1000px;
}

.profile-panel {
    width: 100%;
    max-width: 720px;
    padding: 18px 20px;
    box-sizing: border-box;
        }

.profile-subtitle {
    font-size: 14px;
    color: #555;
    margin: 6px 0 16px 0;
}

.profile-section-title {
    font-size: 20px;
    letter-spacing: 0.04em;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

        .profile-row {
            display: grid;
            grid-template-columns: 180px 1fr auto;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #e7e7e7;
        }

        .profile-label {
            text-align: left;
            font-weight: 600;
        }

        .profile-value {
            text-align: left;
        }

        .profile-placeholder {
            color: #777;
        }

        .profile-input {
            width: 100%;
            box-sizing: border-box;
            padding: 6px 8px;
            font-family: inherit;
            border: 1px solid #c7c7c7;
            border-radius: 4px;
        }

        .edit-field-btn {
            padding: 6px 10px;
            font-family: inherit;
            cursor: pointer;
            min-width: 68px;
        }

        .save-all-wrap {
            margin-top: 24px;
        }

        .save-status {
            margin-top: 8px;
            font-size: 14px;
            color: #555;
        }

        .billing-panel {
            margin-top: 28px;
            text-align: left;
            border-top: 1px solid #e5e5e5;
            padding-top: 20px;
        }

        .billing-note {
            font-size: 14px;
            margin: 0 0 14px 0;
        }

        .billing-title {
            text-align: center;
        }

        .billing-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .billing-grid label {
            display: block;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .billing-grid input,
        .billing-grid select {
            width: 100%;
            box-sizing: border-box;
            padding: 8px;
            font-family: inherit;
            background-color: white;
        }

        .billing-full {
            grid-column: 1 / -1;
        }

        .card-element {
            border: 1px solid #c7c7c7;
            border-radius: 4px;
            padding: 10px;
            min-height: 18px;
            background: #fff;
        }

        .profile-input:focus,
        .card-element:focus {
            outline: 2px solid #d8d8d8;
            outline-offset: 1px;
        }

        select.card-element:invalid {
            color: #777;
        }

        select.card-element option {
            color: black;
        }

        .billing-actions {
            margin-top: 24px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .profile-logo {
            margin-top: 24px;
        }

        .profile-divider {
            width: 100%;
            margin: 24px 0 0 0;
        }

        @media (max-width: 600px) {
            .profile-panel {
                padding: 14px;
            }

            .profile-row {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .billing-grid {
                grid-template-columns: 1fr;
            }

            .profile-label,
            .profile-value {
                text-align: center;
            }

            .billing-panel {
                text-align: center;
            }
        }