.shop-section {
    box-sizing: border-box;
    background: #ffffff;
    padding: 120px 0 120px;
    width: 100%;
    overflow: hidden;
}

.shop-section *,
.shop-section *::before,
.shop-section *::after {
    box-sizing: border-box;
}

.shop-container {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    margin: 0 auto;
}

.shop-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 40px;
    max-width: 600px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.shop-sidebar {
    border-right: 1px solid #e5e7eb;
    padding-right: 24px;
}

.shop-sidebar-title {
    font-family: 'Marcellus', serif;
    font-size: 20px;
    color: #000000;
    margin: 0 0 12px 0;
}

.shop-sidebar .product-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.shop-sidebar > li { list-style: none; margin: 10px 0; }
.shop-sidebar > li > a { display: block; padding: 8px 10px; border-radius: 8px; background: #f8f8f8; color: #111827; text-decoration: none; }
.shop-sidebar > li > a:hover { background: #ececec; }
.shop-sidebar > li.current-cat > a,
.shop-sidebar > li.current-cat-parent > a { background: #111827; color: #ffffff; }
.shop-sidebar .product-categories li a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8f8f8;
    color: #111827;
    text-decoration: none;
}
.shop-sidebar .product-categories li a:hover { background: #ececec; }
.shop-sidebar .product-categories li.current-cat > a,
.shop-sidebar .product-categories li.current-cat-parent > a {
    background: #111827;
    color: #ffffff;
}
.shop-sidebar .product-categories .children, .shop-sidebar .children { padding-left: 12px; margin-left: 0; border-left: 1px solid #e5e7eb; display: grid; gap: 6px; }
.shop-sidebar .product-categories .children li a { background: transparent; }

.shop-header .products-title {
    margin: 0 0 16px 0;
    font-family: 'Marcellus', serif;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #000000;
}

.shop-header .products-description {
    font-family: var(--hero-font-secondary);
    font-size: clamp(0.875rem, 2vw, 1.3rem);
    line-height: 1.75;
    color: var(--hero-text-color);
    margin: 0;
}

.shop-filters { display: contents; }

.shop-filters-form {
    display: contents;
}

.shop-filter-select,
.shop-filters input[type="number"],
.shop-filters input[type="search"],
.shop-filter-submit {
    height: 44px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #111827;
}

.shop-filter-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-filter-sep {
    color: #6b7280;
}

.shop-filter-submit {
    background: #111827;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.shop-meta {
    margin: 16px 0 32px;
    color: #6b7280;
    font-size: 14px;
}

.woocommerce-ordering {
    display: none;
}

.shop-products .products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: start;
    align-content: start;
    justify-items: stretch;
    align-items: start;
    grid-auto-flow: row;
}


.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
    float: none !important;
    width: auto !important;
    height: 100%;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    font-family: 'Marcellus', serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #000000;
    text-align: left;
}

.woocommerce ul.products li.product .price {
    font-size: 16px;
    color: #111827;
}

.woocommerce ul.products li.product .button {
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.product-card-title {
    min-width: 0;
    flex: 1 1 auto;
}
.product-card-title .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.product-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: auto;
    justify-content: flex-end;
}

.product-card-btn {
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;

    font-size: 14px;
}
.product-card-btn:hover {
color: white !important
}
.woocommerce ul.products li.product .price {
    font-size: 16px;
    color: #111827;
    font-family: var(--hero-font-secondary);
    display: inline-block;
    white-space: nowrap;
    margin-right: 6px;
    line-height: 1;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
    display: inline;
}

.woocommerce ul.products li.product .price del {
    color: #6b7280;
    opacity: 0.85;
    margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
    color: #111827;
    font-weight: 600;
}

.product-card-title .woocommerce-loop-product__title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1400px) {
    .shop-container {
        max-width: 1743px;
    }
    .shop-products .products,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 48px;
    }
    .shop-header .products-title {
        font-size: 56px;
    }
}

@media (max-width: 1399px) {
    .shop-header .products-title {
        font-size: 42px;
    }
    .shop-products .products,
    .woocommerce ul.products {
        gap: 50px;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 22px;
    }
}

@media (max-width: 1023px) {
    .shop-section {
        padding: 80px 0 100px;
    }
    .shop-header {
        margin-bottom: 24px;
    }
    .shop-header .products-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    .shop-layout { grid-template-columns: 1fr; gap: 24px; }
    .shop-sidebar { border-right: 0; border-bottom: 1px solid #e5e7eb; padding-right: 0; padding-bottom: 16px; }
    .shop-products .products,
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .product-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .product-card-meta { width: 100%; margin-left: 0; justify-content: space-between; white-space: normal; flex-wrap: wrap; }
    .product-card-btn { padding: 8px 12px; height: 36px; font-size: 14px; }
    .product-card-title .woocommerce-loop-product__title { -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; white-space: normal; }
}

@media (max-width: 767px) {
    .shop-section {
        padding: 60px 0 80px;
    }
    .shop-container {
        padding: 0 16px;
    }
    .shop-header {
        margin-bottom: 20px;
    }
    .shop-header .products-title {
        font-size: 28px;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }
    .shop-filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .shop-products .products,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
        margin-bottom: 16px;
        border-radius: 6px;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
    }
    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .product-card-meta {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
        white-space: normal;
        flex-wrap: wrap;
    }
    .product-card-btn { padding: 8px 12px; }
    .shop-filter-select, .shop-filters input[type="number"], .shop-filters input[type="search"], .shop-filter-submit{
        max-width: 85% !important;
    }
    .shop-filters input[type="number"]{
        max-width: 50%;
    }
}

@media (max-width: 479px) {
    .shop-section {
        padding: 40px 0 60px;
    }
    .shop-header .products-title {
        font-size: 24px;
    }
    .shop-products .products {
        gap: 16px;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
    }
    .product-card-meta { gap: 6px; }
}

@media print {
    .shop-section {
        background: white;
        padding: 20px 0;
    }
    .woocommerce ul.products li.product:hover {
        transform: none;
    }
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
        transform: none !important;
    }
}
.shop-toolbar { margin-top: 8px; }

.shop-price-filter { margin-top: 16px; }
.shop-price-label { font-family: var(--body-font); color: #6b7280; margin-bottom: 6px; display: block; }
.shop-sidebar ul { list-style: none; margin: 0; padding: 0; }
.shop-sidebar ul li { margin: 0; }
.shop-sidebar ul li a { display: block; padding: 8px 10px; border-radius: 8px; background: #f8f8f8; color: #111827; text-decoration: none; }
.shop-sidebar ul li.current-cat > a, .shop-sidebar ul li.current-cat-parent > a { background: #111827; color: #ffffff; }
.shop-sidebar ul.children { margin-left: 10px; display: grid; gap: 6px; }
.shop-sidebar .shop-filter-price { display: flex; gap: 8px; align-items: center; }
.shop-sidebar .shop-filter-price input[type="number"] { height: 44px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0 12px; width: 100%; max-width: 140px; }
.shop-sidebar .shop-filter-sep { color: #6b7280; }

.shop-content .woocommerce-ordering { display: flex !important; justify-content: flex-end; align-items: center; margin: 0 0 16px; gap: 8px; float: right; }
.shop-content .woocommerce-result-count { display: inline-block; margin: 0 0 16px; float: left; }
.shop-content .shop-products { clear: both; }
.shop-content .woocommerce-ordering .orderby,
.shop-content .orderby {
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 12px;
    font-family: var(--body-font);
    color: #111827;
	margin-bottom: 15px;
    background: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4' stroke='%23111827' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 36px;
}
.shop-content .woocommerce-ordering .orderby:focus,
.shop-content .orderby:focus { outline: 2px solid #111827; outline-offset: 2px; }
.shop-content .woocommerce-ordering .orderby option,
.shop-content .orderby option { font-family: var(--body-font); }
.shop-sidebar .shop-filter-submit { margin-top: 12px; width: 100%; }
.woocommerce-result-count{
	display: none !important;
}