/* ===========================================
   Gastronom Language Switcher Button v2
   =========================================== */
.gls-switcher {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
    display: flex;
    gap: 2px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 2px;
}

/* When moved into header by JS */
.gls-switcher.gls-in-header {
    position: static;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    z-index: auto;
}

.gls-btn {
    border: none !important;
    background: transparent !important;
    padding: 11px 12px !important;
    border-radius: 12px !important;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 700;
    color: #4b5563 !important;
    transition: all 0.2s ease !important;
    line-height: 1;
}

.gls-btn:hover {
    color: #1a3a5c !important;
    background: #eef3f8 !important;
}

.gls-btn.active {
    background: #1a3a5c !important;
    color: #fff !important;
    box-shadow: 0 1px 4px rgba(26,58,92,0.3);
}

footer .wow,
footer .bounceInUp,
#footer .wow,
#footer .bounceInUp,
.copyright-wrapper .wow,
.copyright-wrapper .bounceInUp {
    visibility: visible !important;
    animation: none !important;
}

footer,
#footer,
.copyright-wrapper {
    background: #1a3a5c !important;
    color: #d8e0ea !important;
}

footer h3,
footer p,
footer strong,
footer a,
footer span,
footer li,
#footer h3,
#footer p,
#footer strong,
#footer a,
#footer span,
#footer li,
.copyright-wrapper h3,
.copyright-wrapper p,
.copyright-wrapper strong,
.copyright-wrapper a,
.copyright-wrapper span,
.copyright-wrapper li {
    color: #d8e0ea !important;
}

footer h3,
#footer h3,
.copyright-wrapper h3 {
    color: #ffffff !important;
}

footer a,
#footer a,
.copyright-wrapper a {
    color: #e8b04a !important;
}

footer a:hover,
#footer a:hover,
.copyright-wrapper a:hover {
    color: #ffd27a !important;
}

@media (max-width: 768px) {
    .gls-switcher {
        top: auto;
        bottom: 12px;
        right: 12px;
    }
    .gls-switcher.gls-in-header {
        position: static;
    }
}

/* ===========================================
   GASTRONOM SITE-WIDE STYLING OVERHAUL
   Color scheme: Navy (#1a3a5c) + Gold (#c8a455)
   =========================================== */

/* --- Color Scheme Override --- */
/* Change all red/green theme accents to navy blue */
a, 
.woocommerce-result-count,
.cat-item a,
.widget_product_categories a,
.entry-title a:hover {
    color: #1a3a5c !important;
}

a:hover,
.cat-item a:hover,
.widget_product_categories a:hover {
    color: #c8a455 !important;
}

/* Primary buttons: red -> navy */
button,
input[type="submit"],
.button,
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wp-block-button__link,
#theme-starter .starter-btn a,
.starter-btn a,
.wc-block-grid__product-add-to-cart a,
a.added_to_cart,
.food_grocery_store_starter .starter-btn a {
    background-color: #1a3a5c !important;
    background: #1a3a5c !important;
    color: #fff !important;
    border-color: #1a3a5c !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wp-block-button__link:hover,
a.added_to_cart:hover {
    background-color: #c8a455 !important;
    background: #c8a455 !important;
    border-color: #c8a455 !important;
    color: #fff !important;
}

/* Improve contrast for the main homepage CTA button */
body.home .wp-block-button__link,
body.page-id-27 .wp-block-button__link {
    background: #1a3a5c !important;
    border-color: #1a3a5c !important;
    color: #ffffff !important;
}

body.home .wp-block-button__link:hover,
body.page-id-27 .wp-block-button__link:hover {
    background: #8f6a1f !important;
    border-color: #8f6a1f !important;
    color: #ffffff !important;
}

/* Keep the front page calmer after removing WOW.js on the first screen */
body.home *,
body.page-id-27 * {
    scroll-behavior: auto;
}

/* Small visible polish for the first screen only */
body.home .wp-block-cover,
body.page-id-27 .wp-block-cover {
    min-height: 480px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 48px rgba(12, 24, 38, 0.14) !important;
    margin-bottom: 28px !important;
}

body.home .wp-block-cover img,
body.page-id-27 .wp-block-cover img {
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}

body.home .wp-block-cover::before,
body.page-id-27 .wp-block-cover::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: transparent !important;
    z-index: 1 !important;
}

body.home .wp-block-cover__inner-container,
body.page-id-27 .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 640px !important;
    padding: 42px 34px !important;
}

body.home .wp-block-cover h2,
body.page-id-27 .wp-block-cover h2,
body.home .wp-block-cover h1,
body.page-id-27 .wp-block-cover h1 {
    color: #ffffff !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

body.home .wp-block-cover p,
body.page-id-27 .wp-block-cover p {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 560px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

body.home .wp-block-cover .wp-block-button__link,
body.page-id-27 .wp-block-cover .wp-block-button__link {
    border-radius: 999px !important;
    padding: 15px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 24px rgba(26, 58, 92, 0.24) !important;
}

@media (max-width: 768px) {
    body.home .wp-block-cover,
    body.page-id-27 .wp-block-cover {
        min-height: 360px !important;
        border-radius: 14px !important;
    }

    body.home .wp-block-cover__inner-container,
    body.page-id-27 .wp-block-cover__inner-container {
        padding: 28px 22px !important;
    }
}

/* Small visual cleanup for category cards */
body.home .wc-block-grid__product,
body.home .product-category,
body.home li.product,
body.page-id-27 .wc-block-grid__product,
body.page-id-27 .product-category,
body.page-id-27 li.product {
    background: #ffffff !important;
    border: 1px solid rgba(26, 58, 92, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(12, 24, 38, 0.06) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.home .wc-block-grid__product:hover,
body.home .product-category:hover,
body.home li.product:hover,
body.page-id-27 .wc-block-grid__product:hover,
body.page-id-27 .product-category:hover,
body.page-id-27 li.product:hover {
    box-shadow: 0 12px 28px rgba(12, 24, 38, 0.1) !important;
}

body.home .wc-block-grid__product img,
body.home .product-category img,
body.home li.product img,
body.page-id-27 .wc-block-grid__product img,
body.page-id-27 .product-category img,
body.page-id-27 li.product img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    width: 100% !important;
    border-radius: 0 !important;
}

body.home .wc-block-grid__product-title,
body.home .woocommerce-loop-category__title,
body.home .woocommerce-loop-product__title,
body.page-id-27 .wc-block-grid__product-title,
body.page-id-27 .woocommerce-loop-category__title,
body.page-id-27 .woocommerce-loop-product__title {
    color: #1f2937 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    padding: 14px 14px 18px !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Header cleanup */
.site-header,
.header,
.main-header,
#header,
header.header {
    border-bottom: 1px solid rgba(26, 58, 92, 0.08) !important;
    box-shadow: 0 8px 20px rgba(12, 24, 38, 0.04) !important;
}

.search-box,
.woocommerce-product-search,
form.woocommerce-product-search {
    max-width: 720px !important;
    margin: 0 auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.search-box input[type="search"],
.woocommerce-product-search input[type="search"],
form.woocommerce-product-search input[type="search"] {
    border: 1px solid #d71920 !important;
    border-right: 0 !important;
    border-radius: 14px 0 0 14px !important;
    min-height: 58px !important;
    padding: 0 18px !important;
    box-shadow: none !important;
    outline: none !important;
}

.search-box button,
.woocommerce-product-search button,
form.woocommerce-product-search button[type="submit"] {
    border: 1px solid #d71920 !important;
    border-left: 0 !important;
    border-radius: 0 14px 14px 0 !important;
    min-height: 58px !important;
    min-width: 140px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
}

.wishlist,
.wishlist.mt-2 {
    gap: 18px !important;
    align-items: center !important;
}

.wishlist a,
.wishlist .cart-value,
.wishlist .account,
.wishlist .cart,
.wishlist .wishlist-icon {
    color: #1a3a5c !important;
}

.responsivetoggle,
button.responsivetoggle {
    background: #1a3a5c !important;
    border-radius: 12px !important;
    width: 52px !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 18px rgba(26, 58, 92, 0.18) !important;
}

.gls-footer-credit {
    margin-top: 20px !important;
    padding: 18px 0 8px !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* Search button */
.search-box button,
.woocommerce-product-search button,
form.woocommerce-product-search button[type="submit"] {
    background: #1a3a5c !important;
    color: #fff !important;
    border: none !important;
}

.search-box button:hover,
.woocommerce-product-search button:hover {
    background: #c8a455 !important;
}

/* Header background */
.header,
.main-header,
.site-header,
#header,
header.header {
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

/* Navigation menu */
.main-navigation a,
.primary-navigation a,
nav.main-navigation ul li a,
.main-menu a,
#theme-starter .main-menu a {
    color: #333 !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.main-navigation a:hover,
.primary-navigation a:hover,
nav.main-navigation ul li a:hover,
.main-navigation .current-menu-item > a,
.primary-navigation .current-menu-item > a,
nav.main-navigation ul li.current-menu-item > a {
    color: #1a3a5c !important;
}

/* Active menu item styling */
.main-navigation .current-menu-item > a,
nav.main-navigation ul li.current-menu-item > a {
    color: #1a3a5c !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #1a3a5c !important;
    padding-bottom: 2px !important;
}

/* --- Logo Size Fix --- */
.logo img,
.custom-logo,
.site-logo img,
.custom-logo-link img,
img.custom-logo,
.header .logo img,
.site-branding img {
    max-height: 70px !important;
    max-width: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.logo,
.custom-logo-link,
.site-logo,
.site-branding {
    max-height: 80px !important;
    display: flex !important;
    align-items: center !important;
}

/* Force logo container to not stretch */
.logo.p-lg-0 {
    max-width: 100px !important;
}

/* Hide "Gastronom" text under logo (site-title on header) */
.site-title,
.header .site-title,
h1.site-title,
p.site-title,
[class*="site-title"] {
    display: none !important;
}

/* Hide site description in header if any */
.site-description {
    display: none !important;
}

/* --- Hide category dropdown in search form --- */
.product-cat-box,
.product-cat,
.drp_dwn_menu {
    display: none !important;
}

/* --- Homepage Cleanup --- */
/* Hide page title on front page (theme uses .vw-page-title) */
body.home .entry-title,
body.home .page-title,
body.home h1.entry-title,
body.home h1.vw-page-title,
body.page-id-27 .entry-title,
body.page-id-27 h1.entry-title,
body.page-id-27 h1.vw-page-title,
h1.vw-page-title {
    display: none !important;
}

/* Hide breadcrumbs on front page (theme misspells as .bradcrumbs) */
body.home .woocommerce-breadcrumb,
body.home .breadcrumbs,
body.home .breadcrumb,
body.home .bradcrumbs,
body.home nav.woocommerce-breadcrumb,
body.page-id-27 .woocommerce-breadcrumb,
body.page-id-27 .breadcrumbs,
body.page-id-27 .bradcrumbs {
    display: none !important;
}

/* Hide the red tag pills on homepage */
body.home .tags-bg,
body.home .tag-cloud-link,
body.page-id-27 .tags-bg,
body.page-id-27 .tag-cloud-link,
body.home .entry-meta,
body.page-id-27 .entry-meta {
    display: none !important;
}

/* --- Banner / Cover Block Styling --- */
.wp-block-cover {
    min-height: 450px !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.wp-block-cover h1,
.wp-block-cover h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    letter-spacing: 0.5px !important;
}

.wp-block-cover p {
    font-size: 1.15rem !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
}

.wp-block-cover .wp-block-button__link {
    font-size: 1.1rem !important;
    padding: 14px 36px !important;
    border-radius: 30px !important;
    background: #c8a455 !important;
    border-color: #c8a455 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
}

.wp-block-cover .wp-block-button__link:hover {
    background: #1a3a5c !important;
    border-color: #1a3a5c !important;
}

/* --- Section Headings --- */
.entry-content h2 {
    text-align: center;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #1a3a5c !important;
    margin: 2rem 0 1.5rem !important;
    position: relative;
    padding-bottom: 12px;
}

.entry-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c8a455;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- Category List Styling --- */
.wp-block-woocommerce-product-categories ul,
.wc-block-product-categories-list {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 12px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.wp-block-woocommerce-product-categories ul li,
.wc-block-product-categories-list-item {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e9ecef !important;
}

.wp-block-woocommerce-product-categories ul li:hover,
.wc-block-product-categories-list-item:hover {
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.12) !important;
    transform: translateY(-2px) !important;
    border-color: #1a3a5c !important;
}

.wp-block-woocommerce-product-categories ul li a,
.wc-block-product-categories-list-item a {
    display: block !important;
    padding: 16px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    text-align: center !important;
}

.wp-block-woocommerce-product-categories ul li a:hover {
    color: #1a3a5c !important;
}

/* Hide broken category images */
.wp-block-woocommerce-product-categories img,
.wc-block-product-categories-list-item img {
    display: none !important;
}

/* --- Related Products on Single Product Page --- */
/* Fix: clear floats so "Похожие товары" appears below gallery+summary */
.woocommerce div.product section.related,
section.related.products {
    clear: both !important;
    width: 100% !important;
    margin-top: 2em !important;
}

.woocommerce div.product section.related h2,
section.related.products h2 {
    color: #1a3a5c !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1em !important;
}

/* --- WooCommerce Product Cards --- */
.woocommerce ul.products li.product,
.wc-block-grid__product {
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid #eee !important;
    padding-bottom: 15px !important;
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

.woocommerce ul.products li.product .price,
.wc-block-grid__product .wc-block-grid__product-price {
    color: #1a3a5c !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #333 !important;
}

/* --- Footer --- */
.footer,
footer,
#footer,
.site-footer {
    background: #1a3a5c !important;
    color: #ccc !important;
    padding: 30px 0 15px !important;
}

.footer a,
footer a,
.site-footer a {
    color: #c8a455 !important;
}

.footer a:hover,
footer a:hover,
.site-footer a:hover {
    color: #fff !important;
}

/* Hide VWThemes credit */
.footer .copyright,
.site-footer .copyright,
.footer-content-right,
footer .site-info,
.powered-by,
.theme-flavor,
footer p:last-child {
    display: none !important;
}

/* Custom footer copyright - injected by plugin */
.gls-footer-credit {
    text-align: center;
    padding: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 15px;
}

/* --- Hide broken image on Contact page --- */
.elementor-element-1b6dbd1 {
    display: none !important;
}

/* --- Hide default footer widgets (Archives, Meta, Categories) --- */
.footer_hide {
    display: none !important;
}

/* --- Scroll-to-top button --- */
.scrollup,
.scroll-top,
#scroll-top,
.back-to-top {
    background: #1a3a5c !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* --- Final footer override: stronger separation and readable text --- */
footer {
    margin-top: 40px !important;
    border-top: 4px solid #c8a455 !important;
}

footer,
footer #footer,
footer .footer.close-sticky,
footer #footer-2 {
    background: #1a3a5c !important;
}

footer h3,
footer strong {
    color: #ffffff !important;
}

footer,
footer p,
footer li,
footer span,
footer div,
footer a,
footer .wp-block-heading,
footer .widget,
footer .widget p,
footer .widget li {
    color: rgba(255, 255, 255, 0.86) !important;
}

footer a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
}

footer a:hover {
    color: #ffffff !important;
}

footer #footer-2 {
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

footer .footer-block h3,
footer .footer-block p,
footer .footer-block a,
footer .footer-block li,
footer .footer-block .gls-content-sk,
footer .footer-block .gls-content-ru,
footer .footer-block .gls-content-sk p,
footer .footer-block .gls-content-ru p {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer .footer-block h3 {
    color: #ffffff !important;
}

footer .footer-block a {
    color: #f2d38e !important;
}

footer .footer-block a:hover {
    color: #ffffff !important;
}

.scrollup:hover,
.scroll-top:hover {
    background: #c8a455 !important;
}

/* Absolute footer guard: keep the restored footer readable even if theme
   or old overrides inject darker colors later. */
footer .copyright-wrapper,
footer .copyright-wrapper *,
footer #footer,
footer #footer * {
    color: #d8e0ea !important;
}

footer .copyright-wrapper h1,
footer .copyright-wrapper h2,
footer .copyright-wrapper h3,
footer .copyright-wrapper h4,
footer .copyright-wrapper strong,
footer #footer h1,
footer #footer h2,
footer #footer h3,
footer #footer h4,
footer #footer strong {
    color: #ffffff !important;
}

footer .copyright-wrapper a,
footer #footer a {
    color: #f2d38e !important;
}

footer h3,
#footer h3,
.copyright-wrapper h3 {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* --- Spacing and Typography --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

.entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WooCommerce sidebar on shop page */
.woocommerce-ordering select {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
}

/* Price filter, rating stars in navy */
.star-rating span::before,
.woocommerce .star-rating span::before {
    color: #c8a455 !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background: #c8a455 !important;
    color: #fff !important;
    border-radius: 4px !important;
}

/* --- Latest Posts (News) section --- */
.wp-block-latest-posts {
    max-width: 800px !important;
    margin: 0 auto !important;
}

.wp-block-latest-posts li {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.wp-block-latest-posts__post-title {
    color: #1a3a5c !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.wp-block-latest-posts__post-date {
    color: #999 !important;
    font-size: 0.85rem !important;
}

/* --- Cookie consent bar styling --- */
.cookie-notice,
.cookie-bar {
    background: #1a3a5c !important;
}

/* --- WooCommerce mini-cart --- */
.widget_shopping_cart .total {
    color: #1a3a5c !important;
    font-weight: 700 !important;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .wp-block-cover {
        min-height: 300px !important;
    }
    
    .wp-block-cover h1 {
        font-size: 1.6rem !important;
    }
    
    .wp-block-cover p {
        font-size: 0.95rem !important;
    }
    
    .wp-block-woocommerce-product-categories ul {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .entry-content h2 {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .wp-block-woocommerce-product-categories ul {
        grid-template-columns: 1fr !important;
    }
}

/* === Cart/Checkout UX === */
/* Pick-up point note on cart */
.gls-pickup-note {
    margin: 2px 0 0 24px !important;
    color: #888 !important;
    font-style: italic !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

/* Hide Google Pay / Apple Pay express checkout on cart page (only show on checkout) */
body.woocommerce-cart .wcpay-express-checkout-wrapper,
body.woocommerce-cart .wc-stripe-payment-request-wrapper,
body.woocommerce-cart #wcpay-express-checkout-wrapper,
body.woocommerce-cart [id*="payment-request"] {
    display: none !important;
}

/* --- Catalog quality pass: cleaner grid, equal cards, calmer controls --- */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    margin-bottom: 18px !important;
}

.woocommerce .woocommerce-ordering select {
    min-height: 44px !important;
    border: 1px solid rgba(26, 58, 92, 0.14) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1a3a5c !important;
    box-shadow: 0 4px 14px rgba(12, 24, 38, 0.04) !important;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px)) !important;
    gap: 18px !important;
    justify-content: start !important;
}

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

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
    border: 1px solid rgba(26, 58, 92, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(12, 24, 38, 0.06) !important;
    overflow: hidden !important;
    padding-bottom: 18px !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
}

.woocommerce ul.products li.product img {
    width: calc(100% - 24px) !important;
    margin: 12px auto 0 !important;
    border-radius: 14px !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    background: #f3f6fa !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.2em !important;
    margin: 14px 14px 8px !important;
    color: #18324c !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product .price {
    margin: 0 14px 12px !important;
    color: #102b45 !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    width: calc(100% - 28px) !important;
    margin: auto 14px 0 !important;
    text-align: center !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.02em !important;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: inline-flex !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    border-radius: 10px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(26, 58, 92, 0.1) !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 3.5em !important;
        font-size: 0.92rem !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 520px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}
