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

@font-face {
    font-family: 'Telegraf';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/fonts/telegraf/Telegraf-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Telegraf';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/fonts/telegraf/Telegraf-UltraLight-200.woff2') format('woff2');
    font-weight: 200;
}

@font-face {
    font-family: 'Telegraf';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/fonts/telegraf/Telegraf-UltraBold-800.woff2') format('woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'Tahoma';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/fonts/tahoma/Tahoma.woff2') format('woff2');
    font-weight: 400;
}

body,
button,
input,
select,
textarea {
    font-family: 'Tahoma' !important;
    background: #fff !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Telegraf';
}

p {
    font-family: 'Tahoma';
}




/* GLOBAL BUTTON STYLE */
button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.single_add_to_cart_button,
.add_to_cart_button {

    background-color: #D9D9D9 !important;
    color: #000000 !important;
    font-family: Tahoma, sans-serif !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    border: none !important;

    padding: 10px 20px;
    text-transform: none;
    box-shadow: none;
}

/* Home HEADER */
.hmart-header {
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 9;
}

/* ===== COMMON CONTAINER ===== */
.hmart-header-content,
.hmart-header-sort {
    width: 80%;
    margin: 0 auto;
}

/* ===== TOP ROW (ICONS) ===== */
.hmart-header-sort {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 8px;
}


/* ===== MAIN ROW ===== */
.hmart-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.hmart-header-left img {
    width: 50%;
    display: block;
}

/* RIGHT TEXT */
.hmart-header-right a {
    text-decoration: none;
    font-size: 25px;
    color: #000;
    font-weight: 400;
    font-family: 'Telegraf';
}

.hmart-header-right a:hover {
    text-decoration: underline;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: black;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
}

/* Common header */

.art-header {
    background: #eee;
    padding: 30px 40px;
    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: 2rem 0;
}

.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: #999999;
}

.art-footer-title {
    font-family: 'Telegraf';
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 20px;
}

.art-footer-links {
    font-family: 'Tahoma';
    list-style: none;
    padding: 0;
    margin: 0;
}

.art-footer-links li {
    margin-bottom: 10px;
    font-family: 'Tahoma';
    color: #999999;
}

.art-footer-links a {
    text-decoration: none;
    font-family: 'Tahoma';
    color: #999999;
    font-size: 14px;
}

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

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

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

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

.art-footer-desc {
    font-size: 14px;
    color: #999999;
    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 {
    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 {
    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 {
    width: 80%;
    margin: auto;
    background: white;
}

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

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

.hmart-sec-flex {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* ================= ZIG-ZAG ================= */
/* Zig-Zag Layout */
/* ROW */
.hmart-art-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

/* RIGHT ALIGN ITEM */
.hmart-art-right {
    justify-content: flex-end;
}

.hmart-art-box {
    width: 50%;
}

.hmart-art-box img {
    width: 100%;
    height: auto;
    display: block;
}

.hmart-art-box h4 {
    margin-top: 1rem;
    font-size: 20px;
    text-align: center;
    color: #444;
    font-family: 'Tahoma', sans-serif;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1280px) {
    .hmart-sec-flex {
        gap: 5rem;
    }
}

@media (max-width: 992px) {
    .hmart-art-box {
        width: 70%;
    }

    .hmart-art-box h4 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .hmart-art-item {
        flex-direction: column;
        align-items: center;
    }

    .hmart-art-right {
        justify-content: center;
    }

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

    .hmart-art-box h4 {
        font-size: 16px;
    }
}


/* ================= EXPLORE ================= */
.hmart-explore {
    padding: 10rem 0;
}

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

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

/* CARD */
.hmart-explore-card {
    text-align: center;
}

/* IMAGE */
.hmart-explore-card img {
    width: 100%;
    aspect-ratio: 1/1;
    /* FIXED */
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
}

/* TEXT */
.hmart-explore-card p {
    font-size: 22px;
    font-weight: 400;
    color: black;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1280px) {
    .hmart-explore {
        padding: 5rem 0;
    }
}

@media (max-width: 992px) {
    .hmart-explore-grid {
        gap: 20px;
    }

    .hmart-explore-card p {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .hmart-explore-card p {
        font-size: 14px;
    }
}


/* FILTER CONTAINER */
.custom-filters {
    width: 50%;
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

/* EACH DROPDOWN */
.custom-filter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 40px 10px 15px;
    min-width: 160px;
    background-color: #eae8e8 !important;
    border: none;
    border-radius: 0;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* CUSTOM ARROW */
.custom-filter {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* REMOVE OUTLINE */
.custom-filter:focus {
    outline: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .custom-filters {
        flex-direction: column;
        align-items: stretch;
    }
}



h1.product_title.entry-title {
    font-size: 32px !important;
    color: black;
}

h2.artist-name {
    color: #4E4E4E !important;
    font-size: 26px !important;
}

.hr-line {
    margin-bottom: 0.5rem !important;
}


/* Product page big price */
.woocommerce-js div.product p.price {
    font-size: 40px;
    font-weight: bold;
    color: black;
    padding-bottom: 2rem;
}

/* Shop page smaller price */
/* .woocommerce ul.products li.product .price {
    font-size: 16px;
} */


section.hmart-hero-slider {
    width: 100% !important;
    padding: 0;
    margin: 0;
}

.hmart-swiper {
    width: 100%;
    height: 100vh;
    /* full screen height, adjust as needed */
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PAGINATION DOTS */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}



@media(max-width: 1280px) {
   .hmart-explore-card p {
    font-size: 20px;
}
}


@media(max-width: 768px) {
    .art-icon img {
        width: 16px;
    }

    .hmart-header-left img {
        width: 32%;
    }
    .hmart-header-right a {
    font-size: 18px;
}
}