* {
    font-family: 'Inter', sans-serif;
}

.heading-font {
    font-family: 'Cormorant Garamond', serif;
}

.image-zoom {
    transition: transform 0.55s ease;
}

.image-zoom:hover {
    transform: scale(1.04);
}

.cart-badge {
    transition: transform 0.2s;
}

#cart-sidebar {
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

#cart-sidebar.open {
    transform: translateX(0);
}

#overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#overlay.show {
    opacity: 1;
    pointer-events: all;
}

#mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#mobile-nav.open {
    max-height: 400px;
}

#search-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

#search-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.stars,
.star-rating {
    color: #d4a854;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    position: relative;
}

.woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 500;
    color: #111827;
    padding: 0 !important;
    margin: 0.5rem 0 0.25rem !important;
}

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

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0.85rem 1.35rem !important;
    font-weight: 500 !important;
    transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover {
    background: #292524 !important;
    color: #fff !important;
}

.woocommerce .quantity .qty {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.65rem;
}

.woocommerce div.product div.images img,
.woocommerce-page div.product div.images img {
    border-radius: 1rem;
    background: #f5f5f4;
}

.woocommerce div.product .product_title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: #111827;
    border-radius: 0.75rem;
    background: #fafaf9;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #111827;
}

.woocommerce table.shop_table,
.woocommerce-checkout #payment,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border-radius: 1rem;
    border-color: #e5e7eb;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

.woocommerce-mini-cart__buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.woocommerce-mini-cart__buttons .button {
    flex: 1 1 auto;
    text-align: center;
}

.prose p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.prose h2,
.prose h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Hide legacy shop hero/banner sections from old Elementor or shop-builder templates. */
.woocommerce-shop .page-header,
.woocommerce-shop .page-title-bar,
.woocommerce-shop .page-title-area,
.woocommerce-shop .page-banner,
.woocommerce-shop .shop-banner,
.woocommerce-shop .breadcrumb-area,
.woocommerce-shop .woocommerce-products-header,
.post-type-archive-product .page-header,
.post-type-archive-product .page-title-bar,
.post-type-archive-product .page-title-area,
.post-type-archive-product .page-banner,
.post-type-archive-product .shop-banner,
.post-type-archive-product .breadcrumb-area,
.post-type-archive-product .woocommerce-products-header {
    display: none !important;
}
