/*
Theme Name: Astra Child
Template: astra
*/

.art-header {
    background: #eee;
    padding: 30px 40px;
    font-family: Arial, sans-serif;
    position: relative;
}

.art-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-sec {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* LOGO */

.art-logo img {
    height: 90px;
}

/* MENU */

.art-menu {
    display: flex;
    gap: 80px;
}

.art-menu-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.art-menu-item {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* DOT */

.art-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
    display: inline-block;
}

.art-dot.active {
    background: #000;
}

/* RIGHT SIDE */

.art-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.art-sort {
    display: flex;
    flex-direction: column;
    font-size: 24px;
}

.art-sort a {
    text-decoration: none;
    color: #000;
}

/* ICONS */

.art-icons {
    display: flex;
    gap: 15px;
    font-size: 22px;
}

/* MOBILE MENU BUTTON */

.art-mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE RESPONSIVE */

@media (max-width:900px) {

    .art-header-inner {
        flex-wrap: wrap;
    }

    .art-mobile-toggle {
        display: block;
    }

    .art-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #eee;
        flex-direction: column;
        padding: 20px;
        display: none;
        gap: 20px;
        z-index: 999;
    }

    .art-menu.active {
        display: flex;
    }

    .art-right {
        display: none;
    }

}


/* FOOTER */

.art-footer {
    background: #eee;
    padding: 60px 40px;
    font-family: Arial, sans-serif;
}

.art-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.art-footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.art-footer-copy {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.art-footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.art-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.art-footer-links li {
    margin-bottom: 10px;
}

.art-footer-links a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
}

.art-footer-links a:hover {
    color: #000;
}

.art-footer-email {
    font-size: 14px;
    color: #444;
}

.art-footer-social {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.art-footer-social a {
    text-decoration: none;
    color: #444;
}

.art-footer-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.art-footer-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #999999;
}

.art-footer-form input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex: 1;
    font-size: 14px;
}

.art-footer-form button {
    border: none !important;
    background: none !important;
    font-size: 18px;
    cursor: pointer;
    box-shadow: none !important;
    color: #999999;
}

body.home .art-footer {
    margin-left: 20%;
    background: white;
}

@media(max-width:900px) {

    .art-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

/* IMPORTANT CSS */


/* remove WooCommerce grid */

.woocommerce.archive ul.products {
    display: block;
    padding: 0;
}

.woocommerce.archive ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    list-style: none;
}

/* layout */

.art-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 80px 0;
}

/* alternate rows automatically */

.woocommerce ul.products li.product:nth-child(even) .art-item {
    flex-direction: row-reverse;
}

/* image */
.art-item a {
    width: 52%;
}

.art-image {
    width: 100% !important;
}

/* text */

.art-info {
    max-width: 400px;
    position: relative;
}

.art-info h2 {
    font-size: 1.4rem;
    position: relative;
}

.art-info h3 {
    font-weight: 400;
    margin-bottom: 10px;
}

.div-line {
    position: relative;
}

.div-line::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: black;
}


/* align text when reversed */

.woocommerce ul.products li.product:nth-child(even) .art-info h3 {
    text-align: right;
}

/* hover animation */

.art-hover-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.5s;
}

.woocommerce ul.products li.product:nth-child(even) .art-hover-text {
    transform: translateX(0);
}

.art-item:hover .art-hover-text {
    opacity: 1;
    transform: translateX(0);
}

.woocommerce.archive .art-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 80px 0;
}

@media (max-width:1024px) {

    .art-item {
        gap: 20px;
        margin: 60px 0;
    }

    .art-info {
        max-width: 300px;
    }

}

@media (max-width:768px) {

    .art-item {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
        margin: 50px 0;
    }

    .art-image {
        width: 100%;
        max-width: 320px;
    }

    .art-info {
        max-width: 100%;
    }

    .art-info h3 {
        text-align: center !important;
    }

    .art-hover-text {
        transform: translateY(20px);
    }

    .art-item:hover .art-hover-text {
        transform: translateY(0);
    }

}

/* HOME PAGE */
/* ================= MAIN ================= */
.hmart-main {
    margin-left: 20%;
    padding: 40px;
    background: white;
}

/* ================= SECTION ================= */
.hmart-section {
    margin-top: 20%;
}

.hmart-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 500;
    font-size: 22px;
    text-transform: uppercase;
}

/* ================= ZIG-ZAG ================= */
/* Zig-Zag Layout */
.hmart-art-item {
    display: flex;
    justify-content: flex-start;
    margin: 20% 0;
}

.hmart-art-right {
    justify-content: flex-end;
}

/* Box (image + text together) */
.hmart-art-box {
    width: 50%;
}

.hmart-art-box img {
    width: 100%;
}

.hmart-art-box h4 {
    margin-top: 1rem;
    font-size: 20px;
    text-align: center;
}

/* ================= PRICE ================= */
.hmart-price-section {
    padding: 20% 0;
}

.hmart-price-section h2 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hmart-price-links {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.hmart-price-links a {
    padding: 10px 18px;
    border: 1px solid black;
    text-decoration: none;
    color: black;
    font-size: 26px;
    border-radius: 4px;
    transition: 0.3s;
}

.hmart-price-links a:hover {
    background: black;
    color: white;
}

/* ================= EXPLORE ================= */
.hmart-explore {
    margin-bottom: 20%;
}

.hmart-explore h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hmart-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.hmart-explore-card img {
    width: 100%;
    margin-bottom: 10px;
    height: 100%;
    object-fit: cover;
}

.hmart-explore-card p {
    font-size: 22px;
    color: black;
    text-align: center;
}

/* SIDEBAR */

.hmart-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 20%;
    height: 100%;
    background: #fff;
    padding: 2.5rem 2.5rem 2.5rem 4%;
}

.hmart-logo img {
    width: 100%;
    margin-bottom: 25%;
}

.hmart-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hmart-menu a {
    text-decoration: none;
    color: #333;
    font-family: Telegraf;
    font-weight: 500;
    font-size: 22px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hmart-menu a p {
    margin-bottom: 0;
}

.hmart-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
    display: inline-block;
}

.hmart.active {
    background: #000;
}


.hmart-header {
    position: fixed;
    top: 0;
    left: 20%;
    width: calc(100% - 20%);
    background: transparent;
    z-index: 1000;
}

.hmart-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2.5rem 3rem;
    flex-direction: column;
    gap: 1rem;
}

.hmart-header-sort {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hmart-header-sort a {
    text-decoration: none;
    font-family: Telegraf;
    font-weight: 500;
    font-size: 32px;
    text-transform: uppercase;
    color: black;
}