/*
 Theme Name:   Parastone
 Theme URI:    https://generatepress.com
 Description:  Parastone theme
 Author:       CLARQ
 Author URI:   https://clarq.nl
 Template:     generatepress
 Version:      0.1
*/

html {
    scroll-behavior: smooth;
}

section {
    max-width: 2600px;
    margin: 0 auto;
}

.boxed {
    padding: 90px 20px;
}

section .boxed {
    max-width: 1560px;
    margin: 0 auto;
}

/* Woocommerce General Settings */
body.woocommerce-page .entry-content {
    max-width: 1560px;
    margin: 0 auto;
}

body.has-custom-header .site-header,
body.has-custom-header .main-navigation,
body.has-custom-header .main-nav,
body.has-custom-header .navigation-search,
body.has-custom-header .menu-toggle {
    display: none !important;
}

body.has-custom-header #page {
    padding-top: 126px;
}

.header-shell {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background: #202143;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.header-shell > .header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
    max-width: 1560px;
    margin: 0 auto;
    padding: 18px 20px;
}

.header-shell > .header > .logo img {
    display: block;
    max-height: 56px;
    width: auto;
}

.header-shell > .header > .logo .site-name {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.header-shell > .header > .search form {
    margin: 0;
}

.header-shell > .header > .search .woocommerce-product-search,
.header-shell > .header > .search .search-form {
    position: relative;
    display: block;
    align-items: center;
    margin: 0;
}

.header-shell > .header > .search input[type="search"] {
    min-height: 52px;
    width: 100%;
    margin: 0;
    padding: 0 56px 0 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #1c1b18;
}

.header-shell > .header > .search input[type="search"]::placeholder {
    color: #6a6b85;
}

.header-shell > .header > .search .search-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #202143;
    transform: translateY(-50%);
    pointer-events: none;
}

.header-shell > .header > .search .search-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-shell > .header > .search button,
.header-shell > .header > .search input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
}

.header-shell > .header > .actions {
    display: flex;
    justify-content: flex-end;
}

.header-shell > .header > .actions > .actions-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #3b3c5e;
}

.header-shell > .header > .actions > .actions-inner > .user {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.header-shell > .header > .actions > .actions-inner > .icon-link,
.header-shell > .header > .actions > .actions-inner > .nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.header-shell > .header > .actions > .actions-inner > .icon-link:hover,
.header-shell > .header > .actions > .actions-inner > .nav-toggle:hover,
.header-shell > .header > .actions > .actions-inner > .icon-link:focus,
.header-shell > .header > .actions > .actions-inner > .nav-toggle:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-1px);
}

.header-shell > .header > .actions > .actions-inner > .icon-link svg,
.header-shell > .header > .actions > .actions-inner > .nav-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-shell > .header > .actions > .actions-inner > .cart-link > .cart-count {
    position: absolute;
    top: -4px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c2542d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.header-shell > .header > .actions > .actions-inner > .nav-toggle .toggle-icon-close {
    display: none;
}

body.menu-open .header-shell > .header > .actions > .actions-inner > .nav-toggle .toggle-icon-menu {
    display: none;
}

body.menu-open .header-shell > .header > .actions > .actions-inner > .nav-toggle .toggle-icon-close {
    display: inline-flex;
}

.header-shell > .mega-menu {
    padding: 0 20px 20px;
    background: transparent;
}

.header-shell > .mega-menu > .mega-menu-inner {
    max-width: 1560px;
    margin: 0 auto;
    padding: 40px 51px 20px;
    border-radius: 16px;
    background: #3b3c5e;
}

.header-shell > .mega-menu .mega-menu-parents {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #202143;
}

.header-shell > .mega-menu .mega-menu-parent {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #F8F8F8;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.8px;
    white-space: nowrap;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.header-shell > .mega-menu .mega-menu-parent::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    height: 1px;
    background: #bd9b8b;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-shell > .mega-menu .mega-menu-parent.is-active {
    color: #fff;
    font-weight: 700;
}

.header-shell > .mega-menu .mega-menu-panels {
    padding-top: 24px;
}

.header-shell > .mega-menu .mega-menu-parent > .parent-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.header-shell > .mega-menu .mega-menu-parent > .parent-arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-shell > .mega-menu .mega-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.header-shell > .mega-menu .mega-menu-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.header-shell > .mega-menu .mega-menu-link:hover,
.header-shell > .mega-menu .mega-menu-link:focus,
.header-shell > .mega-menu .mega-menu-parent:hover,
.header-shell > .mega-menu .mega-menu-parent:focus {
    color: #fff;
    font-weight: 700;
}

.header-shell > .mega-menu .mega-menu-parent.is-active::after,
.header-shell > .mega-menu .mega-menu-parent:hover::after,
.header-shell > .mega-menu .mega-menu-parent:focus::after {
    opacity: 1;
    transform: translateY(0);
}

.header-shell > .mega-menu .collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.header-shell > .mega-menu .collection-card {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    border-radius: 16px;
    background: #202143;
    padding: 18px;
}

.header-shell > .mega-menu .collection-card-image img {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 100px;
}

.header-shell > .mega-menu .collection-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.header-shell > .mega-menu .collection-card-body h3 {
    margin: 0;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 27.2px;
}

.header-shell > .mega-menu .collection-card-body p {
    margin: 0;
    color: #f8f8f8;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 23.8px;
}

.header-shell > .mega-menu .mega-menu-empty {
    display: flex;
}

@media (max-width: 1024px) {
    body.has-custom-header #page {
        padding-top: 164px;
    }

    .header-shell > .header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .header-shell > .header > .logo,
    .header-shell > .header > .search,
    .header-shell > .header > .actions {
        width: 100%;
    }

    .header-shell > .header > .actions {
        justify-content: space-between;
    }

    .header-shell > .mega-menu .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.has-custom-header #page {
        padding-top: 196px;
    }

    .header-shell > .header {
        padding: 14px 16px;
    }

    .header-shell > .header > .search .woocommerce-product-search,
    .header-shell > .header > .search .search-form {
        display: block;
    }

    .header-shell > .header > .actions {
        justify-content: flex-start;
    }

    .header-shell > .header > .actions > .actions-inner {
        gap: 8px;
        flex-wrap: wrap;
    }

    .header-shell > .header > .actions > .actions-inner > .user {
        width: 100%;
    }

    .header-shell > .mega-menu .collection-grid {
        grid-template-columns: 1fr;
    }
}
