a:visited {
  color: inherit;
}

.accordion-item__toggle {
    border-radius: unset;
}

.accordion-item__toggle:focus,
.accordion-item__toggle:hover {
    background-color: unset;
    color: unset;
}

/* header */
.site-header {
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.site-header[data-fixed] {
    position: fixed;
}

/* Default top */
.site-header {
    top: 0;
}

/* Logged-in admin bar (desktop) */
body.admin-bar .site-header {
    top: 32px;
}

/* Logged-in admin bar (mobile) */
@media (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* footer */
.site-primary-footer-wrap {
    border-radius: 50px 50px 0px 0px;
    color: white;
}

.e-footer-bottom nav ul {
    display: flex;
    justify-content: center;
    font-size: 0.9em;
}

.e-footer-bottom nav li {
    display: flex;
    align-items: center;
}

.e-footer-bottom nav li:not(:last-of-type)::after {
    content: '';
    width: 1px;
    display: block;
    background: var(--ast-global-color-3);
    height: 1em;
    margin: 0 4px;
}

/* post grid */
.e-post-grid article.uagb-post__inner-wrap {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    aspect-ratio: 1024 / 653;
    padding: 0 !important;
}

.e-post-grid .uagb-post__title.uagb-post__text {
    margin-top: auto;
    padding: 20px;
    background: linear-gradient(transparent, rgba(30, 30, 30, 0.8)) !important;
}

.e-post-grid .uagb-post__text.uagb-post-grid-byline {
    display: none;
}

.e-post-grid .uagb-post__image {
    padding-bottom: 0;
}

.e-post-grid .uagb-post__image a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.e-post-grid .uagb-post__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1024 / 653;
    position: unset;
    left: unset;
    top: unset;
    transform: none;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    transition: all 0.2s ease-in-out;
}

.e-post-grid article.uagb-post__inner-wrap:hover img {
    transform: scale(1.1);
}

/* enquiry form */
.e-input-wrapper input,
.e-textarea-wrapper textarea {
    border-radius: 8px !important;
    border: 1px solid #e5e5e5;
    background-color: #fff;
}

.e-input-wrapper {
    margin-bottom: 8px;
}

.e-radio-wrapper {
    margin-bottom: 16px;
}

.e-radio-wrapper label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: unset;
    gap: 0.5em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.e-radio-wrapper input {
    display: none;
}

.e-radio-wrapper span {
    display: block;
    width: 24px;
    height: 24px;
    background-color: rgb(223, 218, 210);
    border-radius: 50%;
    position: relative;
}

.e-radio-wrapper input:checked + span {
    border: 1px solid black;
    background-color: transparent;
}

.e-radio-wrapper input:checked + span::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    display: block;
    width: 12px;
    height: 12px;
    background-color: black;
    border-radius: 50%;
}

.e-submit-button {
    border-radius: 2em;
    font-weight: 700;
    text-transform: uppercase;
}

/* product filter */
.e-product-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.e-product-filter-form select {
    background-color: #37424a;
    color: white;
    border: none;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.e-product-filter-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.e-product-filter-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 1024px) {
    .e-product-filter-card {
        grid-template-columns: 1fr;
    }
}

.e-product-filter-card--image {
    position: relative;
}

.e-product-filter-card--image img {
    border-radius: 8px;
}

.e-product-filter-card--price {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ast-global-color-1);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

.e-product-filter-card--title {
    font-size: 2em;
    text-transform: uppercase;
}

.e-product-filter-card--title a {
    text-decoration: none !important;
}

.e-product-filter-card--description {
    font-size: 1.2em;
}

.e-product-filter-card--specs {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 1.2em;
    margin-bottom: 1em;
}

.e-product-filter-card--specs > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.e-product-filter-card--actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.e-product-filter-card--actions a {
    border-radius: 2em;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none !important;
    color: black;
    padding: 4px 20px;
    background-color: #dedad2;
    transition: all 0.2s ease-in-out;
}

.e-product-filter-card--actions a:hover {
    background-color: #37424a;
    color: white !important;
}

.e-product-filter-list .page-numbers {
    display: flex;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: none !important;
}

.main-swiper {
    aspect-ratio: 15 / 9;
    height: unset;
    width: 100%;
}

.swiper-wrapper {
    align-items: center;
}

.thumb-swiper {
    box-sizing: border-box;
    padding: 10px 0;
    height: unset;
    margin-top: 16px;
}

.thumb-swiper .swiper-slide {
    width: 25%;
    height: unset;
    opacity: 0.4;
    border-radius: 12px;
    background: unset;
}

.thumb-swiper img {
    height: auto;
    box-shadow: none;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumb-swiper[data-length='1'] {
    display: none;
}
