/* Noto Sans Regular */
@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/notoSans/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Noto Sans Bold */
@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/notoSans/NotoSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Oswald SemiBold */
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald/Oswald-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Oswald Bold */
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald/Oswald-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


/* Theme Colors */
:root {
    --white-color: #FEFEFE;
    --grey-color: #A9A9A8;
    --light-grey-color: #F6F6F6;
    --brown-color: #421B11;
    --orange-color: #D86424;
    --yellow-color: #F9B939;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    box-sizing: border-box;
    height: 100%;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: var(--light-grey-color);
}

.wrapper {
    box-sizing: border-box;
    min-height: 100%;

    display: flex;
    flex-direction: column;
}

.page-header,
.page-footer {
    flex-grow: 0;
    flex-shrink: 0;
}

.page-body {
    flex-grow: 1;
}

a {
    color: var(--brown-color);
    text-decoration: none;
    font-family: 'Noto Sans', sans-serif;
    letter-spacing: 0.4px;
}

h1,
h2 {
    color: var(--brown-color);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    color: var(--brown-color);
    font-family: 'Noto Sans', sans-serif;
}

p {
    font-family: 'Noto Sans', sans-serif;
    color: var(--brown-color);
    line-height: 30px;
    letter-spacing: .4px;
}

li {
    list-style: none;
}

ol li {
    list-style: decimal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.bg-beige {
    background: rgba(249, 185, 57, 0.05);
}

.bg-yellow {
    background-color: var(--yellow-color);
}

.bg-light-yellow {
    background-color: rgba(249, 185, 57, 0.05);
}

.bg-padding {
    padding: 120px 0;
}

.top-border-info-table,
.smaller-border-title {
    margin-top: 50px;
}


.featured-image {
    max-width: 1440px;
    max-height: 590px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Ensures no unwanted stretching */
}

.featured-image > img {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    object-fit: cover; /* Ensures it covers the space without distortion */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .featured-image {
        max-height: 300px; /* Reduce height for mobile */
    }
}

/*** SUPERSCRIPT ***/

body sup {
    line-height: 1;
    vertical-align: super;
    font-size: 0.75em; /* tweak to taste */
    margin-left: 0.05em;
    color: orange;
}

body .info-box sup,
body .bg-yellow sup {
    color: #39230c;
}

body .info-box .card-table sup,
body .bg-yellow .card-table sup {
    color: orange;
}

/******* ICONS *******/

.icon {
    width: 13px;
    height: 11px;
    display: inline-block;
}

.icon-left {
    transform: rotate(270deg);
}

.icon-chevron {
    background: url(../images/icons/orange-arrow-thick.svg) no-repeat;
}

/******* BUTTONS *******/
.btn {
    padding: 12px 38px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 400;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--yellow-color);
    border: none;
}

.btn-secondary {
    background-color: rgba(249, 185, 57, 0.5);
    border: 2px solid var(--yellow-color);
}

.btn-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/******* BREADCRUMBS *******/
.breadcrumbs {
    margin-top: 16px;
    margin-bottom: 26px;
}

.breadcrumbs span {
    color: var(--brown-color)
}

.breadcrumbs .menu-chevron {
    transform: rotate(270deg); /* Rotates the arrow to the right */
}

.breadcrumbs.absolute {
    position: absolute;
    z-index: 1;
}

.breadcrumbs.absolute a,
.breadcrumbs.absolute span {
    color: var(--white-color)
}

.breadcrumbs.absolute.about a,
.breadcrumbs.absolute.about span {
    color: var(--brown-color);
    font-weight: bold;
}


.breadcrumbs.absolute .menu-chevron {
    transform: rotate(360deg); /* Rotates the arrow to the right */
}

.breadcrumbs.absolute.about .menu-chevron {
    transform: rotate(270deg); /* Rotates the arrow to the right */
}


/******* 404 PAGE *******/

.page-not-found {
    margin-top: 150px;
}

.page-not-found h1 {
    font-size: 52px;
}

.page-not-found p {
    margin-top: 20px;
    margin-bottom: 40px;
    max-width: 430px;
}

/******* SECTIONS *******/

/* Small top border accent */
.top-border {
    width: 40px;
    height: 3px;
    background-color: var(--orange-color);
    margin-bottom: 30px;
    border-radius: 3px;
}

.section {
    /*margin-top: 50px;*/
}

/** SECTION - info **/
.section-info {
    max-width: 660px;
}

.section-info .top-border {
    margin-bottom: 36px;
}

.section-info h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.section-info p {
    line-height: 30px;
    letter-spacing: .4px;
    font-weight: 400;
    opacity: 75%;
}

/*** BUY BUTTONS ***/
.buy-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.buy-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid var(--yellow-color);
    padding: 10px;
    height: 110px;
    box-sizing: border-box;
    text-decoration: none;
    width: 100% !important;
}

.buy-buttons .btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.buy-buttons.product-page {
    margin-top: 40px;
}

.buy-buttons.product-page .btn {
    margin-top: 1px;
}

/*** LOADER ***/

.carousel-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Adjust for Tablet: Stack image above text */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .breadcrumbs {
        padding: 0 30px;
    }

    .section-carousel {
        padding: 0 50px;
    }

    .breadcrumbs.absolute {
        padding-right: 40px;
    }

    .bg-padding {
        padding: 20px 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .breadcrumbs {
        padding: 0;
    }

    .section-carousel {
        padding: 0 50px;
    }

    .product-image-carousel .carousel-item-inner {
        padding: 0 16px 56px 16px !important;
    }
}
