/* --------------------------------------------------------------
   Fonts
-------------------------------------------------------------- */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2'),
        url('../fonts/inter/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Bold.woff2') format('woff2'),
        url('../fonts/inter/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alumni Sans';
    src: url('../fonts/alumni-sans/AlumniSans-Bold.woff2') format('woff2'),
        url('../fonts/alumni-sans/AlumniSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------
   Variables
-------------------------------------------------------------- */

:root {
    --gfp-orange: #FE812C;
    --gfp-orange-dark: #E16C1D;
    --gfp-blue: #151B60;
    --gfp-blue-rgb: 21, 27, 96;
    --gfp-transition: all 0.25s ease-in-out;
    --header-height: 93px;
}

/* --------------------------------------------------------------
   Basic Reset
-------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.3125em;
    font-weight: 400;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Remove default table spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------
   Headings
-------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
    h3 {
        font-size: 40px;
        line-height: 0.875em;
    }
}

/* Buttons */
button {
    font-family: inherit;
    font-size: 100%;
    line-height: 1;
    cursor: pointer;
}

/* Inputs */
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: #000;
    border: 1px solid var(--gfp-blue);
    border-radius: 0;
    padding: 18px 44px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #000;
}

input[type="submit"] {
    width: auto;
    padding: 19px 81px 20px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    background-color: var(--gfp-orange);
    color: #fff;
    cursor: pointer;
    transition: var(--gfp-transition);
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: var(--gfp-blue);
}

input[type=checkbox] {
    padding: 0;
}

/* Basic container */
.container {
    width: 100%;
    max-width: clamp(320px, 90%, 1400px);
    margin: 0 auto;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* --------------------------------------------------------------
   Content
-------------------------------------------------------------- */

.wp-site-blocks main.wp-block-group {
    margin-top: var(--header-height);
}

.admin-bar .wp-site-blocks main.wp-block-group {
    margin-top: calc(var(--header-height) - 32px);
}

.wp-block-columns.gfp-is-grid {
    width: 100%;
    max-width: clamp(320px, 90%, 1400px);
    margin: 0 auto;
}

:where(.wp-block-columns.is-layout-flex) {
    gap: var(--gfp-column-gap, 30px);
}

@media (max-width: 1024px) {
    .wp-block-columns.gfp-is-grid {
        display: grid;
        gap: 2em;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .wp-block-columns.gfp-cols-tablet-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .wp-block-columns.gfp-cols-tablet-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-block-columns.gfp-cols-tablet-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .wp-block-columns.gfp-cols-tablet-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .wp-block-columns.gfp-cols-tablet-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .wp-block-columns.gfp-cols-tablet-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .wp-block-columns.gfp-cols-mobile-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .wp-block-columns.gfp-cols-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-block-columns.gfp-cols-mobile-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .wp-block-columns.gfp-cols-mobile-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .wp-block-columns.gfp-cols-mobile-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .wp-block-columns.gfp-cols-mobile-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* --------------------------------------------------------------
   Header
-------------------------------------------------------------- */

.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
}

.wp-block-group.alignfull.header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

header .wp-block-gfp-logo.site-logo-block img {
    max-height: 52px;
}

.wp-block-navigation.align-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* 1st level menu */
.header .wp-block-navigation__container {
    column-gap: 80px;
}

@media only screen and (max-width: 1024px) {
    .header .wp-block-navigation__container {
        column-gap: 35px;
    }
}

.header .wp-block-navigation__container>.wp-block-navigation-item>a {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gfp-blue);
    transition: var(--gfp-transition);
}

.header .wp-block-navigation__container>.wp-block-navigation-item>a:hover {
    color: var(--gfp-orange);
}

/* 2nd level menu */
.header .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-submenu {
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.header .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-submenu>.gfp-custom-submenu-wrapper>li>a {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

body .header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container,
.header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container,
.header .wp-block-navigation .wp-block-navigation__container>.has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
.header .wp-block-navigation .wp-block-navigation__container>.has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    width: var(--content-width, 100vw);
    left: calc(-1 * var(--submenu-offset));
    background-color: var(--gfp-orange);
    color: #fff;
    padding: 0;
    border: none;
    height: 64px;
    display: flex;
    justify-content: center;
}

.header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"]~.wp-block-navigation__submenu-container,
.header .wp-block-navigation .wp-block-navigation__container>.has-child:hover>.wp-block-navigation__submenu-container,
.header .wp-block-navigation .wp-block-navigation__container>.has-child:focus-within>.wp-block-navigation__submenu-container {
    transform: scaleY(1);
    opacity: 1;
}

body .header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container>.gfp-custom-submenu-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    max-width: clamp(320px, 90%, 1400px);
    margin: 0 auto;
    height: 100%;
}

body .header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container>.gfp-custom-submenu-wrapper>li {
    height: 100%;
    width: 100%;
    padding: 0 20px;
    transition: var(--gfp-transition);
}

body .header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container>.gfp-custom-submenu-wrapper>li:hover {
    background-color: var(--gfp-blue);
}

body .header .wp-block-navigation .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container>.gfp-custom-submenu-wrapper>li>a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header .wp-block-navigation__container>.wp-block-navigation-item {
    height: var(--header-height);
}

/* 3rd level menu */
body .header .wp-block-navigation .wp-block-navigation-submenu .gfp-custom-submenu-wrapper>li>.wp-block-navigation-submenu {
    left: 0;
    top: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 17px 20px;
    background-color: #FCFCFC;
    border: none;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    opacity: 1;
    transition: all 0.3s ease;
}

body .header .wp-block-navigation .wp-block-navigation-submenu .gfp-custom-submenu-wrapper>li:hover>.wp-block-navigation-submenu {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

body .header .wp-block-navigation .wp-block-navigation-submenu .gfp-custom-submenu-wrapper>li>.wp-block-navigation-submenu::before {
    display: none;
}

body .header .wp-block-navigation .wp-block-navigation-submenu .gfp-custom-submenu-wrapper>li>.wp-block-navigation-submenu li {
    padding: 6px 0;
}

.header .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-submenu>.gfp-custom-submenu-wrapper>li li a {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 700;
    color: var(--gfp-blue);
    transition: var(--gfp-transition);
}

.header .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-submenu>.gfp-custom-submenu-wrapper>li li a:hover {
    color: var(--gfp-orange);
}

button.wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle {
    display: none;
}

.wp-block-group.language-switcher {
    display: flex;
    justify-content: flex-end;
}

@media only screen and (max-width: 768px) {
    header nav.wp-block-navigation {
        display: none;
    }

    header .wp-block-polylang-language-switcher {
        margin-left: auto;
        margin-right: 41px;
    }
}

/* --------------------------------------------------------------
   Language Switcher
-------------------------------------------------------------- */
.wp-block-polylang-language-switcher li {
    display: flex;
    align-items: center;
}

.wp-block-polylang-language-switcher li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gfp-blue);
}

.wp-block-polylang-language-switcher li a:before {
    content: '';
    display: block;
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAyOSAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI4IDE1QzI4IDIyLjQ1NTkgMjEuOTU1OSAyOC41IDE0LjUgMjguNU0yOCAxNUMyOCA3LjU0NDE2IDIxLjk1NTkgMS41IDE0LjUgMS41TTI4IDE1QzI4IDE3LjQ4NTQgMjEuOTU1OSAxOS41IDE0LjUgMTkuNUM3LjA0NDE2IDE5LjUgMSAxNy40ODU0IDEgMTVNMjggMTVDMjggMTIuNTE0NiAyMS45NTU5IDEwLjUgMTQuNSAxMC41QzcuMDQ0MTYgMTAuNSAxIDEyLjUxNDYgMSAxNU0xNC41IDI4LjVDNy4wNDQxNiAyOC41IDEgMjIuNDU1OSAxIDE1TTE0LjUgMjguNUMxMi4wMTQ2IDI4LjUgMTAgMjIuNDU1OSAxMCAxNUMxMCA3LjU0NDE2IDEyLjAxNDYgMS41IDE0LjUgMS41TTE0LjUgMjguNUMxNi45ODU0IDI4LjUgMTkgMjIuNDU1OSAxOSAxNUMxOSA3LjU0NDE2IDE2Ljk4NTQgMS41IDE0LjUgMS41TTE0LjUgMS41QzcuMDQ0MTYgMS41IDEgNy41NDQxNiAxIDE1IiBzdHJva2U9IiNGRTgxMkMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAyOSAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI4IDE1QzI4IDIyLjQ1NTkgMjEuOTU1OSAyOC41IDE0LjUgMjguNU0yOCAxNUMyOCA3LjU0NDE2IDIxLjk1NTkgMS41IDE0LjUgMS41TTI4IDE1QzI4IDE3LjQ4NTQgMjEuOTU1OSAxOS41IDE0LjUgMTkuNUM3LjA0NDE2IDE5LjUgMSAxNy40ODU0IDEgMTVNMjggMTVDMjggMTIuNTE0NiAyMS45NTU5IDEwLjUgMTQuNSAxMC41QzcuMDQ0MTYgMTAuNSAxIDEyLjUxNDYgMSAxNU0xNC41IDI4LjVDNy4wNDQxNiAyOC41IDEgMjIuNDU1OSAxIDE1TTE0LjUgMjguNUMxMi4wMTQ2IDI4LjUgMTAgMjIuNDU1OSAxMCAxNUMxMCA3LjU0NDE2IDEyLjAxNDYgMS41IDE0LjUgMS41TTE0LjUgMjguNUMxNi45ODU0IDI4LjUgMTkgMjIuNDU1OSAxOSAxNUMxOSA3LjU0NDE2IDE2Ljk4NTQgMS41IDE0LjUgMS41TTE0LjUgMS41QzcuMDQ0MTYgMS41IDEgNy41NDQxNiAxIDE1IiBzdHJva2U9IiNGRTgxMkMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    width: 29px;
    height: 30px;
    background-color: var(--gfp-orange);
}

/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */

footer {
    padding: 35px 0;
    background-color: var(--gfp-blue);
    color: #ffffff;
}

footer .wp-block-gfp-logo.site-logo-block img {
    max-height: 52px;
}

.wp-block-navigation.footer-menu {
    display: flex;
    justify-content: center;
    flex: 1;
}

.wp-block-group.footer-social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.wp-block-group.footer-social-icons a svg {
    display: block;
}

@media only screen and (max-width: 600px) {
    footer {
        padding: 50px 0;
    }

    footer .container {
        flex-direction: column;
        row-gap: 50px;
    }
}

/* --------------------------------------------------------------
   Button
-------------------------------------------------------------- */
.gfp-button {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    line-height: 1em;
    font-weight: 700;
    padding: 18px 58px;
    background-color: var(--gfp-orange);
    color: #fff;
    transition: var(--gfp-transition);
}

.gfp-button:hover {
    background-color: var(--gfp-blue);
}

.wp-block-button__link {
    transition: var(--gfp-transition);
}

.wp-block-button__link:hover {
    background-color: var(--gfp-blue);
}

/* --------------------------------------------------------------
   Product Single
-------------------------------------------------------------- */

.single-product .wc-block-product-template .product .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    line-height: 1em;
    font-weight: 700;
    padding: 18px 58px;
    background-color: var(--gfp-orange);
    color: #fff;
    border-radius: 0;
    transition: var(--gfp-transition);
}

.single-product .wc-block-product-template .product .wp-block-button__link:hover {
    background-color: var(--gfp-blue);
}

.single-product .wp-block-post-terms__prefix {
    display: none;
}

.single-product .taxonomy-product_cat a {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gfp-orange);
}

.single-product .wp-block-woocommerce-product-collection .taxonomy-product_cat a {
    font-size: 16px;
}

.single-product main>.wp-block-columns>.wp-block-column {
    position: relative;
}

.single-product main>.wp-block-columns>.wp-block-column:nth-child(2):after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: #FAFAFA;
    display: block;
    z-index: -1;
}

.single-product .wp-block-cover.has-parallax {
    max-width: 100%;
}

.single-product #tab-description a {
    color: var(--gfp-blue);
    text-decoration: underline;
    transition: var(--gfp-transition);
}

.single-product #tab-description a:hover {
    color: var(--gfp-orange);
}

@media only screen and (max-width: 781px) {
    .single-product main>.wp-block-columns>.wp-block-column:nth-child(2) {
        padding: 0 0 50px !important;
    }

    .single-product main>.wp-block-columns>.wp-block-column:nth-child(2):after {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .single-product .wc-block-product-template.is-flex-container.is-flex-container.columns-4>li {
        width: calc(50% - .9375em);
    }
}

@media only screen and (min-width: 1025px) {
    .single-product .wc-block-product-template.is-flex-container.is-flex-container.columns-4>li {
        width: calc(25% - .9375em);
    }
}

@media only screen and (max-width: 599px) {
    .single-product .wc-block-product-template.is-flex-container>li {
        text-align: center;
    }

    .single-product .wc-block-product-template.is-flex-container>li .wp-block-post-title {
        text-align: center;
    }

    .single-product .wc-block-product-template.is-flex-container>li .wc-block-components-product-button {
        align-items: center;
    }
}

/* --------------------------------------------------------------
   WooCommerce Breadcrumbs
-------------------------------------------------------------- */
.woocommerce-breadcrumb {
    font-size: 12px;
    line-height: 1.25em;
    font-weight: 600;
    color: var(--gfp-blue);
}

.woocommerce-breadcrumb a {
    margin-right: 12px;
    color: rgba(var(--gfp-blue-rgb), 0.5);
    transition: var(--gfp-transition);
}

.woocommerce-breadcrumb a:hover {
    color: var(--gfp-orange);
}

/* --------------------------------------------------------------
   Contact Form
-------------------------------------------------------------- */

.wpcf7-form .button-holder {
    display: flex;
    justify-content: flex-end;
}

@media only screen and (max-width: 768px) {
    .wpcf7-form .button-holder {
        justify-content: center;
    }
}

.wpcf7-form .button-holder .wpcf7-spinner {
    display: block;
}

.wpcf7-form p {
    margin: 0 0 26px;
}

.wpcf7-form.contact-form-skin--light input,
.wpcf7-form.contact-form-skin--light textarea {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.wpcf7-form.contact-form-skin--light input::placeholder,
.wpcf7-form.contact-form-skin--light textarea::placeholder {
    color: #fff;
}

.wpcf7-form.contact-form-skin--light input[type="submit"] {
    background-color: var(--gfp-orange);
}

.wpcf7-form.contact-form-skin--light input[type="submit"]:hover,
.wpcf7-form.contact-form-skin--light input[type="submit"]:focus {
    background-color: var(--gfp-blue);
}

/* --------------------------------------------------------------
   Content Custom Classes
-------------------------------------------------------------- */

@media only screen and (max-width: 1440px) {
    .banners-holder .wp-block-column.custom-call-to-action .wp-block-group {
        padding-left: 35px !important;
    }
}

@media only screen and (max-width: 768px) {
    body .banners-holder {
        margin-bottom: 32px !important;
    }

    .banners-holder .wp-block-column {
        order: 2;
    }

    .banners-holder .wp-block-column.custom-call-to-action {
        order: 1;
    }

    .banners-holder .wp-block-column.custom-call-to-action .wp-block-group {
        padding-left: 0 !important;
    }

    body .logo-holder-custom {
        text-align: center;
        margin-top: 50px;
    }

    .logo-holder-custom .wp-block-image {
        float: none;
        margin: 0 auto;
    }

    .logo-holder-custom .wp-block-image img {
        max-width: 50vw;
    }

    .wp-block-polylang-language-switcher .lang-item-en a,
    .wp-block-polylang-language-switcher .lang-item-sr a {
        font-size: 0;
        line-height: 0;
        gap: 0;
    }

    .wp-block-polylang-language-switcher .lang-item-en a:after,
    .wp-block-polylang-language-switcher .lang-item-sr a:after {
        font-size: 14px;
        line-height: 1em;
        font-weight: 700;
        display: block;
        margin-left: 10px;
    }

    .wp-block-polylang-language-switcher .lang-item-en a:after {
        content: 'EN';
    }

    .wp-block-polylang-language-switcher .lang-item-sr a:after {
        content: 'SR';
    }
}