.fz-advertisement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fz-advertisement {
    text-align: center;
}

.fz-advertisement-field {
    max-width: 100%;
    height: auto;
}

img.fz-advertisement-field {
    max-width: 100%;
    height: auto
;}

.fz-related-posts {
    margin: 20px 0;
    border-radius: 5px;
    position: sticky;
    top: 120px;
}

.fz-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fz-related-posts h2 {
    margin: 0 0 15px 0;
}

.fz-related-post-item {
    box-sizing: border-box;
    border-radius: 6px;
    transition: transform 300ms;
    background-color: var(--fz-border);
    box-shadow: 0 1px 3px var(--fz-shadow-color-alpha-20-0);
}

.fz-related-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--fz-shadow-color-alpha-20-0);
}

.fz-related-post-thumbnail img {
    width: 100%;
    height: 140px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.fz-related-posts .post-title {
    margin: 15px 0;
    display: -webkit-box;
    text-align: left;
    color: var(--fz-text);
    transition: color 300ms ease-in-out;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: -0.2px;
    padding: 0 15px;
    font-size: 16px;
}

.fz-inside-header {
    position: relative;
    width: 100%;
    z-index: 888;
    background-color: var(--fz-primary);
    transition: all 1000ms ease;
    animation: fz-slide-up 1000ms ease-in;
    margin-bottom: -2px;
    box-shadow: 0px 2px 2px 0px var(--fz-shadow-color);
}

.fz-inside-header.fz-fixed {
    position: fixed;
    top: 0;
    left: 0;
    animation: fz-slide-down 1000ms ease-out;
    transition: all 1000ms ease;
    box-shadow: 0px 1px 2px 0px var(--fz-shadow-color);
}

@keyframes fz-slide-down {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fz-slide-up {
    from {
        transform: translateY(100);
    }

    to {
        transform: translateY(0);
    }
}

#fz-main-content {
    min-height: calc(100vh - 280px);
}

.fz-spacer {
    height: 20px;
}

.fz-bottom {
    background: var(--fz-primary);
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.fz-grid-container,.fz-top, .fz-bottom nav {
    max-width: 1170px;
    margin: 0 auto;
}

.fz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.fz-logo img {
    max-height: 50px;
    width: auto
;}

.fz-menu-btn {
    cursor: pointer;
    display: none;
}

.fz-bottom ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.fz-top-header {
    background: var(--fz-header);
}

.fz-bottom li a {
    color: var(--fz-on-primary);
    position: relative;
}

.fz-bottom li {
    padding: 8px;
}

.fz-bottom li,.fz-footer .menu li {
    display: inline-block;
}

.menu li,.menu ul,ul.menu {
    position: relative;
    list-style: none;
    transition: all 300ms;
}

.menu li.active {
    background: var(--fz-accent);
}

.menu li:hover {
    color: var(--fz-on-primary);
}

.menu a::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--fz-surface);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 600ms cubic-bezier(0.28, 0.75, 0.22, 0.95);
}

.menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
}

.fz-side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: var(--fz-text);
    box-shadow: 2px 0 5px var(--fz-shadow-color-alpha-50-0);
    transition: left 300ms ease-in-out;
    z-index: 999;
    display: none;
}

.fz-side-menu button.fz-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    padding: 10px;
}

.fz-side-menu .fz-icon svg {
    margin-right: 10px;
    margin-bottom: 5px;
}

.fz-side-menu .fz-icon p {
    line-height: 1.5;
    margin: 2px 0;
    font-size: 16px;
}

.fz-in-side-menu {
    margin: 50px 20px;
}

.fz-side-menu ul {
    padding: 0;
    margin-left: 15px;
    line-height: 1.2;
}

.fz-side-menu a{
    flex-direction: row;
    border: none;
    margin: 0;
    color: var(--fz-on-primary);
    line-height: 1.6;
    display: flex;
}



.fz-side-menu nav .menu {
    border-bottom: 1px dashed var(--fz-border)
;}

.fz-side-menu ul.menu {
    padding-bottom: 10px;
}

.fz-side-menu.active {
    left: 0;
    display: block;
}

.fz-side-menu ul.menu {
    display: block!important;
}

.fz-logo {
    height: 50px;
}

.fz-registration-form .fz-error-messages {
    color: var(--fz-error);
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px dashed var(--fz-primary);
    background: var(--fz-border);
}

p.fz-product-regular-price {
    text-decoration: line-through;
    color: var(--fz-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.fz-price-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.fz-price-group p {
    margin-left: 10px;
}

/* Keep the header in document flow so short pages never change scroll height. */
body.fz-theme > header { position: sticky; top: 0; z-index: 888; }
body.fz-theme > header .fz-inside-header { position: relative; animation: none; transition: none; }
body.fz-theme.admin-bar > header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
  body.fz-theme.admin-bar > header { top: 0; }
}
