/*
Theme Name: TeeSpace - Child
Theme URI: https://harutheme.com/teespace
Author: HaruTheme
Author URI: https://harutheme.com/
Description: This is child theme of TeeSpace
Template: teespace
Version: 1.0.0
*/

/*---------------------------------
  	Write your css code from here
------------------------------------*/

/* Subcategory grid styles display (Used for artists, artworks, collections and stories) */
.subcategory-grid {
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1200px;
}

.subcategory-grid ul.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.subcategory-grid ul.categories li.subcategory-item {
    width: 23%; /* Default width for larger screens (4 items per row) */
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.subcategory-grid ul.categories li.subcategory-item:hover {
    transform: translateY(-5px); /* Small lift on hover */
}

.subcategory-link {
    text-decoration: none;
    color: inherit;
}

.subcategory-image-wrapper {
    position: relative;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
}

.subcategory-title {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.subcategory-grid ul.categories li.subcategory-item:hover .subcategory-title {
    color: #0073aa; /* Change color on hover */
}

/* Pagination styles for subcategory display (Used for artists, artworks, collections and stories) */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
}

/* Responsive styles for subcategory display shortcodes (Used for artists, artworks, collections and stories) */

/* For tablets (768px and below) */
@media (max-width: 768px) {
    .subcategory-grid ul.categories li.subcategory-item {
        width: 48%; /* Two items per row on tablets */
    }
}

/* For mobile screens (480px and below) */
@media (max-width: 480px) {
    .subcategory-grid ul.categories li.subcategory-item {
        width: 48%; /* Two items per row on mobile */
    }

    .subcategory-title {
        font-size: 16px; /* Adjust font size for small screens */
    }
}

.header-transparent .haru-page-title {
    padding-top: 15px !important;
}


/* Hero section styling for products */
.product-hero-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-content-box {
    background-color: #03030361; /* Black with transparency */
    padding: 20px;
    border-radius: 10px;
    max-width: 90%; /* Adjust for mobile responsiveness */
    text-align: justify;
    width: fit-content;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans';
    margin-top: 80px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
    text-align: left;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
    background-color: #1B1C1DA3;
    padding: 15px;
}

.hero-cta-button {
    padding: 0 35px;
    color: #ffffff;
    background-color: #C84413;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 48px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 75%;
}

.hero-cta-button:hover {
    background-color: #b13c11;
    color: white;
}

.hero-price {
    margin-left: 3px;
    font-weight: bold;
    color: white;
    width: 90%;
}

/* Responsive adjustments for hero section of products */
@media (max-width: 768px) {
    .product-hero-section {
        justify-content: center;
    }
    .hero-title {
        font-size: 1.5em;
    }
    .hero-description {
        font-size: 1em;
    }
    .hero-cta-button {
        font-size: 0.9em;
    }
    .hero-content-box {
        width: 90%;
    }
    .hero-cta-button {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .hero-content-box {
        margin-left: 25px;
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .product-hero-section {
        min-height: 100vh; /* Full-screen hero */
    }
    .hero-content-box {
        margin-left: 25px;
        width: 34%;
    }
}


/* Fixing the cropping issue for the second product image */
.product-thumbnail img {
    height: 100% !important;
}


/* Fix for light colored links in menu bar for 404 page */
body.haru-header-404 .haru-header--transparent-light:not(.haru-header--sticky-on) .elementor-widget-haru-nav-menu .haru-nav-menu--main .haru-item--main {
	color: #000 !important;
}

/* Fix for odd coloured sub headings */
.haru-heading-title--sub-heading-1 {
    background-color: #C84413;
    color: #FFFFFF;
}

.haru-woo-search__popup .haru-woo-search__form {
	position: fixed; 
	top: 10%; 
	left: 0; 
	right: 0;
}

/* Fix Spacing between buttons in view order table */
.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a.pay:first-child {
    margin-left: auto;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a.view:first-child {
    margin-left: auto;
}

/* Fix color for woocommerce error notice */
.woocommerce-error {
    border-top-color: #8a3211 !important;
}

.woocommerce-error:before {
    color: #8a3211 !important;
}


/* Fix for order tracking link */
a.button.track-button {
    padding: 15px 15px !important;
    background:#C84413 !important;
}

@media (max-width: 600px) {
   a.button.track-button {
    display: table !important;
  }
}

/* Hiding on sale badge */
.product-label__item--onsale { display: none !important; }