h1.woocommerce-products-header__title, h1.page-title{
  text-align: center !important;
  font-family: Vintage, Museo Sans !important;
  margin-bottom: 40px !important;
}

section.ast-archive-description{
    padding: 90px 0px 0px 0px !important;
}
@media (max-width: 768px) {
    section.ast-archive-description{
        padding: 55px 0px 0px 0px !important;
    }
}

/* Shop page background */
.ast-woocommerce-container {
    background: none !important;
    padding: 40px 0px !important;
    /*min-height: 100vh;*/
}
nav.woocommerce-breadcrumb{
  display: none !important;
}

/* Enhanced grid layout - building on your existing */
.my-products-container.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    column-gap: 30px !important;
    row-gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .my-products-container.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 25px !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .my-products-container.columns-3 {
        grid-template-columns: 1fr !important;
        column-gap: 20px !important;
        padding: 0 10px !important;
    }
}

/* Enhanced product cards with proper layout */
.my-products-container > li {
    height: 650px;
    background: #F5F1E8;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(18, 38, 58, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(184, 212, 199, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    /* Animation properties */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Card hover animations */
.my-products-container > li:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(18, 38, 58, 0.15);
    border-color: rgba(6, 188, 193, 0.4);
}

/* Click animation */
.my-products-container > li:active {
    transform: translateY(-3px);
    transition: transform 0.1s ease;
}

/* Pulse animation on hover */
.my-products-container > li:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(6, 188, 193, 0.05), rgba(184, 212, 199, 0.05));
    pointer-events: none;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Title hover color change */
.my-products-container > li:hover .woocommerce-loop-category__title {
    color: #06BCC1;
    transition: color 0.3s ease;
}

/* Image zoom on hover */
.my-products-container > li:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

/* Subtle glow effect on hover */
.my-products-container > li:hover {
    box-shadow: 
        0 12px 35px rgba(18, 38, 58, 0.15),
        0 0 0 1px rgba(6, 188, 193, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Stagger animation for cards */
.my-products-container > li:nth-child(1) { animation-delay: 0.1s; }
.my-products-container > li:nth-child(2) { animation-delay: 0.2s; }
.my-products-container > li:nth-child(3) { animation-delay: 0.3s; }
.my-products-container > li:nth-child(4) { animation-delay: 0.4s; }
.my-products-container > li:nth-child(5) { animation-delay: 0.5s; }
.my-products-container > li:nth-child(6) { animation-delay: 0.6s; }
.my-products-container > li:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.my-products-container > li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(18, 38, 58, 0.12);
}

/* Enhanced product category images - building on your existing */
.products .product-category img {
    width: 100% !important;
    max-height: 300px !important;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.woocommerce-js ul.products li.product.product-category a img {
    object-fit: cover !important;
    object-position: top !important;
    height: auto !important;
}

.my-products-container > li:hover img {
    transform: scale(1.05);
}

/* Container styling - preserving your settings */
.ast-separate-container .ast-article-post {
    padding: 0px !important;
}

.my-products-container *::marker {
    display: none !important;
    content: '' !important;
}

.my-products-container li {
    list-style: none !important;
}

/* Enhanced link styling - building on your existing */
.my-products-container a.woocommerce-loop-product__link {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
    text-decoration: none;
    color: inherit;
}

/* Image container enhancement */
.my-products-container a img {
    height: 100% !important;
    object-fit: contain !important;
    object-position: top;
    width: 100% !important;
}

/* Enhanced titles - building on your existing */
.woocommerce-loop-category__title {
    font-size: 1.6rem !important;
    line-height: 1.2em !important;
    font-weight: 300 !important;
    margin: 20px 20px 10px 20px !important;
    height: auto !important;
    color: #2c3e50 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
}

/* Product count styling */
.woocommerce-loop-category__title .count {
    display: block;
    font-size: 0.9rem;
    color: #17a2b8;
    font-weight: 400;
    margin-top: 8px;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Enhanced product titles for regular products */
.woocommerce-loop-product__title {
    font-size: 1.4rem !important;
    line-height: 1.2em !important;
    font-weight: 400 !important;
    margin: 20px 0px 25px 0px !important;
    height: 85px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    color: #2c3e50 !important;
}

/* Content area styling */
.my-products-container li > a {
    padding: 0 !important;
}

/* Creative dropdown styling to match website design */
.woocommerce-ordering select,
.orderby {
    background: #F2F2F2 !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    color: #12263A !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: linear-gradient(45deg, transparent 50%, #06BCC1 50%), linear-gradient(135deg, #06BCC1 50%, transparent 50%) !important;
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    cursor: pointer !important;
}

.woocommerce-ordering select:hover,
.orderby:hover {
    border-color: #06BCC1 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(6, 188, 193, 0.2) !important;
}

.woocommerce-ordering select:focus,
.orderby:focus {
    border-color: #06BCC1 !important;
    box-shadow: 0 0 0 3px rgba(6, 188, 193, 0.2) !important;
}

/* Style the ordering container */
.woocommerce-ordering {
    margin-bottom: 30px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    float: left !important;
}

.ast-breadcrumbs .trail-end{
    color: #06bcc1 !important;
}

.trail-items li::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 0.3em;
    background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='-19.04 0 75.804 75.804' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Group_65' data-name='Group 65' transform='translate(-831.568 -384.448)'%3E%3Cpath id='Path_57' data-name='Path 57' d='M833.068,460.252a1.5,1.5,0,0,1-1.061-2.561l33.557-33.56a2.53,2.53,0,0,0,0-3.564l-33.557-33.558a1.5,1.5,0,0,1,2.122-2.121l33.556,33.558a5.53,5.53,0,0,1,0,7.807l-33.557,33.56A1.5,1.5,0,0,1,833.068,460.252Z' fill='%2312263a' stroke='%2312263a' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Header styling */
.woocommerce-products-header {
    background: transparent !important;
    /*margin-bottom: 55px !important;*/
    padding: 0 !important;
}

/* Results count styling */
.woocommerce-result-count {
    color: #12263A !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    display: none;
}

/* Price styling - preserving your settings */
.astra-shop-summary-wrap {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
}

body.archive .price {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.woocommerce-Price-amount.amount {
    margin: 0 !important;
    padding: 0 !important;
}

/* Enhanced buttons - using brand colors */
.my-products-container .add_to_cart_button {
    width: calc(100% - 40px) !important;
    text-align: center !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    background: #06BCC1 !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(6, 188, 193, 0.3) !important;
}

.my-products-container .add_to_cart_button:hover {
    background: #12263A !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(18, 38, 58, 0.4) !important;
}

/* Enhanced options button - using brand colors */
.my-products-container button.options-available-button {
    width: calc(100% - 40px) !important;
    text-align: center !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    background: #06BCC1 !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(6, 188, 193, 0.3) !important;
    margin-top: 0 !important;
}

.my-products-container button.options-available-button:hover {
    background: #12263A !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(18, 38, 58, 0.4) !important;
}

/* Pagination - using brand colors */
nav.woocommerce-pagination {
    margin-top: 60px;
    text-align: center;
}

.woocommerce-pagination .page-numbers {
    background: #F5F1E8;
    border: 1px solid #B8D4C7;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 0 5px;
    color: #12263A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers.current {
    background: #06BCC1;
    color: white;
    border-color: #06BCC1;
    transform: translateY(-1px);
}

/* Reset any WooCommerce defaults that might interfere */
.woocommerce ul.products {
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .my-products-container > li {
        height: 680px;
    }
    
    .woocommerce-loop-category__title {
        font-size: 1.4rem !important;
        margin: 15px 15px 10px 15px !important;
    }
    
    .my-products-container .add_to_cart_button,
    .my-products-container button.options-available-button {
        width: calc(100% - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
    
    .my-products-container li.product-category::after {
        padding: 0 15px 70px 15px;
    }
}

/* Target the exact structure from screenshot */

/* Fix the products grid container */
ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Target the specific li elements */
ul.products.columns-3 li.product-category {
    background: #D1C3C3 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(18, 38, 58, 0.08) !important;
    border: 1px solid rgba(184, 212, 199, 0.3) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Fix the anchor element inside each category */
ul.products.columns-3 li.product-category a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 20px !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* Fix the h2 title positioning and styling */
ul.products.columns-3 li.product-category a h2.woocommerce-loop-category__title {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 0 15px 0 !important;
    padding: 10px !important;
    background: none !important;
    background-color: transparent !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #12263A !important;
    text-align: center !important;
    order: -1 !important; /* Move title before image */
    z-index: auto !important;
    transform: none !important;
    border: none !important;
    outline: none !important;
    overflow-wrap: break-word;
}

/* Fix the count styling within title */
ul.products.columns-3 li.product-category a h2.woocommerce-loop-category__title mark.count {
    display: block !important;
    font-size: 0.8rem !important;
    color: #12263A !important;
    font-weight: 500 !important;
    margin-top: 8px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Position description below image using data attribute */
ul.products.columns-3 li.product-category::before {
    content: attr(data-description) !important;
    display: block !important;
    padding: 15px 20px 20px 20px !important;
    font-size: 13px !important;
    color: #12263A !important;
    line-height: 1.5 !important;
    text-align: center !important;
    order: 2 !important; /* Move description after image */
}

/* Fix image positioning and styling */
ul.products.columns-3 li.product-category a img {
    position: relative !important;
    width: 100% !important;
    min-height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
    order: 1 !important; /* Image comes after title */
    transform: none !important;
    z-index: auto !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 576px) {
    ul.products.columns-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }
}

/* Clean pagination design matching site aesthetic */

/* Main pagination container */
nav.woocommerce-pagination {
    margin: 60px auto 40px auto !important;
    text-align: center !important;
    max-width: 600px !important;
}

/* Pagination list styling */
.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

/* Individual page number styling */
.woocommerce-pagination .page-numbers {
    background: transparent !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    color: #12263A !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    min-width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.woocommerce-pagination .page-numbers li{
    border: none !important;
}

/* Current/active page styling */
.woocommerce-pagination .page-numbers.current {
    background: #06BCC1 !important;
    color: white !important;
    border-color: #06BCC1 !important;
    font-weight: 600 !important;
}

/* Hover effects for non-current pages */
.woocommerce-pagination .page-numbers a:not(.current):hover {
    background: #F2F2F2 !important;
    border-color: #B8D4C7 !important;
    color: #06BCC1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(6, 188, 193, 0.2) !important;
}

/* Previous/Next arrow styling */
.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
    background: #F2F2F2 !important;
    border-color: #B8D4C7 !important;
    color: #12263A !important;
}

.woocommerce-pagination .page-numbers.prev:hover,
.woocommerce-pagination .page-numbers.next:hover {
    background: #06BCC1 !important;
    border-color: #06BCC1 !important;
    color: #F2F2F2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(6, 188, 193, 0.3) !important;
}

/* Dots/ellipsis styling */
.woocommerce-pagination .page-numbers.dots {
    background: none !important;
    border: none !important;
    color: #B8D4C7 !important;
    cursor: default !important;
    font-weight: bold !important;
}

.woocommerce-pagination .page-numbers.dots:hover {
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Active state styling */
.woocommerce-pagination .page-numbers:active {
    transform: translateY(-1px) !important;
    transition: transform 0.1s ease !important;
}

/* Focus states for accessibility */
.woocommerce-pagination .page-numbers:focus {
    outline: 2px solid #06BCC1 !important;
    outline-offset: 2px !important;
}

/* Remove any default WooCommerce pagination background */
.woocommerce-pagination {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .woocommerce-pagination .page-numbers {
        padding: 8px 10px !important;
        font-size: 12px !important;
        min-width: 36px !important;
        height: 36px !important;
    }
    
    nav.woocommerce-pagination {
        margin: 30px auto 20px auto !important;
    }
    
    .woocommerce-pagination ul.page-numbers {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
}