:root {
    --wave-scale: 0.2;
    /* bump this to resize the whole effect — alignment never breaks */
    --panel-ui-color: #dae5f8;
    --dark-font-color: #344a6f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-transform: none;
    color: #2e2e2e;
    line-height: 1.6em;
    max-width: 1200px;
    padding: 0 15%;
    margin: 0;
    /* background: url(../assets/images/graphics/-bg-1.png) no-repeat scroll center top black; */
    /* background-image: url(/assets/images/graphics/bg_grad.jpg);
    background-repeat: repeat-x; */
}

a,
a:visited,
a:hover,
a:active {
    color: #2e2e2e;
    text-decoration: none;
}

section {
    padding: 20px 0 80px;
}

section h3 {
    border-bottom: 1px solid black;
}

.logo-container img {
    /* max-width: 180px; */
    width: 100%;
    height: auto;
}

/* Visual styles for the header row, kept independent of which content
   (nav links vs. breadcrumb) they're assigned to — see js/header.js. */
.navbar-style {
    padding: 0px 0 20px;

}

.navbar-style a {
    text-decoration: underline;
}

.email-style {
    background-color: var(--panel-ui-color);
    color: #3e5782;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-height: 30px;
}

/* header, .content {
    background: white;
    padding: 5px;
    border: 2px solid #344a6f;
} */
.content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.left-header {
    background-color: var(--panel-ui-color);
    padding: 20px;
    width: 25%;
    text-align: left;
    color: var(--dark-font-color);
}

.left-header a:hover {
    text-decoration: underline;
}

.left-header a {
    color: var(--dark-font-color);
    font-weight: 500;
}

.left-header li {
    list-style-type: "▷ ";
}

.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wave-header {
    position: relative;
    display: flex;
    align-items: center;
    height: calc(156px * var(--wave-scale));
    padding-left: calc(185px * var(--wave-scale) + 12px);
    margin-bottom: 10px;
}

.wave-header::after {
    content: "";
    position: absolute;
    left: calc(185px * var(--wave-scale));
    right: 0;
    bottom: 0;
    height: calc(38px * var(--wave-scale));
    background-image: url('../assets/images/graphics/line-tile.png');
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: auto calc(38px * var(--wave-scale));
    /* <-- this was missing */
}

.wave-icon {
    position: absolute;
    left: 0;
    bottom: 0;
    height: calc(156px * var(--wave-scale));
    width: auto;
}

.wave-header h2 {
    position: relative;
    margin: 0;
    color: #555;
}

.store {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: start;
    gap: 40px;
}

.tee-card {
    text-align: center;
    border: #2e2e2e52 1px solid;
    background-color: #fbfbfb;

}

.tee-card>img {
    height: 205px;
    width: 178px;
    background-image: var(--back-img);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.tee-card>img:hover {
    background-image: var(--front-img);
}

.tee-card b {
    display: block;
    margin-bottom: 4px;
}

/* FOOTER */
.footer-credits {
    margin-top: 10px;
    border-top: 1px solid #3e5782;
}


@media (max-width: 480px) {
    body {
        padding: 0 0%;
    }

    section,
    .site-nav,
    footer {
        padding: 6%;
    }

    .store {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .tee-card>img {
        height: 205px;
        width: 158px;
        background-image: var(--back-img);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .left-header,
    .breadcrumb {
        display: none;
    }
    .email-style {
    background-color: var(--panel-ui-color);
    color: #3e5782;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-height: 30px;
}
}


/* PRODUCT DETAIL PAGE */
.product-detail {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-main-img {
    width: 320px;
    height: 380px;
    object-fit: cover;
    border: #2e2e2e52 1px solid;
    background-color: #fbfbfb;
}

.product-thumbs {
    display: flex;
    gap: 10px;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: #2e2e2e52 1px solid;
    background-color: #fbfbfb;
    cursor: pointer;
}

.product-thumb:hover {
    opacity: 0.7;
}

.product-info {
    flex: 1;
    min-width: 220px;
}

.product-info h2 {
    margin-top: 0;
}

.product-description {
    color: #555;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--dark-font-color);
}

.product-option {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .product-option select {
    font-family: inherit;
    font-size: 1em;
    padding: 4px 8px;
    border: #2e2e2e52 1px solid;
    background-color: #fbfbfb;
} */

.buy-button {
    background-color: var(--dark-font-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
}

.buy-button:hover {
    opacity: 0.85;
}

.buy-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.out-of-stock {
    color: #a33;
    font-weight: bold;
}

.buy-error {
    color: #a33;
    margin-top: 10px;
}

.not-found {
    padding: 40px 0;
}

.not-found a {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .product-detail {
        flex-direction: column;
        gap: 20px;
    }

    .product-main-img {
        width: 100%;
        height: 300px;
    }
}

.cart-line {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #2e2e2e30;
}

.cart-line-img {
    width: 70px;
    height: 80px;
    object-fit: cover;
    border: #2e2e2e52 1px solid;
    background-color: #fbfbfb;
}

.cart-line-info {
    flex: 1;
}

.cart-line-info p {
    margin: 2px 0;
}

.cart-nav {
    font-weight: bold;
}

.remove-button {
    background: none;
    border: 1px solid #2e2e2e52;
    padding: 6px 12px;
    font-family: inherit;
    cursor: pointer;
}

.remove-button:hover {
    background-color: #eee;
}

.cart-total {
    font-weight: bold;
    font-size: 1.2em;
    margin: 20px 0;
}