.kct-prices {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    width: 100%;
    margin: .5rem 0;
    font-size: 1rem;
    line-height: 1.4;
}
.kct-prices .kct-price-layer {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: .7rem .85rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.kct-prices .kct-price-name,
.kct-prices .kct-price-layer .amount {
    color: inherit;
    font-size: 1em;
    font-weight: 700;
}
.kct-prices .kct-price-layer .amount {
    white-space: nowrap;
}
.kct-prices .kct-price-layer ins {
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    margin-inline-start: .25em;
}
.single-product .summary .kct-prices,
.single-product .woocommerce-variation-price .kct-prices {
    font-size: 1.125rem;
}
.single-product form.cart:has(.kct-fotos){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.single-product form.cart:has(.kct-fotos) .single_add_to_cart_button,.single-product .kct-fotos{float:none;margin:0!important;text-align:center}.single-product form.variations_form .single_variation_wrap{width:100%}.single-product .woocommerce-variation-add-to-cart:has(.kct-fotos){display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}.kct-staff-tools{padding:16px;border:1px solid #aa476f;border-radius:6px;margin:16px 0}.kct-money-editor{display:flex;align-items:end;gap:8px;margin:12px 0}.kct-money-editor label{flex:1;display:flex;flex-direction:column;gap:6px}.kct-money-editor input{max-width:100%;width:100%;padding:8px}.kct-staff-tools button{padding:8px;cursor:pointer}.kct-staff-tools button:disabled{cursor:not-allowed;opacity:.6}
.kct-whatsapp{position:fixed;bottom:20px;left:20px;width:60px;height:60px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.3);z-index:9999;text-decoration:none}
.kct-whatsapp img{width:32px;height:32px}

/* Sidebar sorting occupies its own row above product categories. */
.widget-area .woocommerce-ordering { float: none; display: block; width: 100%; margin: 0 0 1rem; }
.widget-area .woocommerce-ordering select { max-width: 100%; }
.widget-area .wc-block-product-categories { clear: both; }
.widget-area .wc-block-product-categories ul[hidden] { display:none !important; }
.widget-area .kct-category-toggle { display:inline-flex; align-items:center; justify-content:center; width:20px; height:24px; padding:0; margin:0 3px 0 0; border:0; box-shadow:none; background:transparent; color:inherit; font-size:14px; font-weight:400; line-height:1; vertical-align:middle; cursor:pointer; }
.widget-area .kct-category-toggle:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.widget-area a.kct-category-current { font-weight:700; color:#842568; background:#f7edf4; border-radius:2px; box-shadow:0 0 0 3px #f7edf4; }
.kct-category-hamburger { display:none; }
.kct-home-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:32px; align-items:start; }
.kct-home-layout > .kct-home-categories { width:100% !important; float:none !important; margin:0 !important; padding:0; }
.kct-home-categories ul { list-style:none; padding:0; margin:0; }
.kct-home-categories ul ul { margin-left:16px; }
.kct-home-categories li { margin:0 0 5px; }
.kct-home-products { min-width:0; }
.kct-home-banner { width:100%; margin:0 0 24px; }
.kct-home-banner img { display:block; width:100%; height:auto; }
@media(max-width:767px) { .kct-home-layout { display:block; } .kct-home-categories { display:none; } }

.wc-block-product-categories[hidden] { display:none !important; }
.kct-mobile-categories summary { cursor:pointer; padding:12px 0; font-weight:600; }
.handheld-navigation .kct-mobile-category-tree ul { position:static; float:none; display:block; margin:0; padding:0; }
.handheld-navigation .kct-mobile-category-tree ul ul { margin-left:16px; }
.handheld-navigation .kct-mobile-category-tree ul[hidden] { display:none !important; }
.handheld-navigation .kct-mobile-category-tree li { display:block; }
.handheld-navigation .kct-mobile-category-tree a { display:inline-block; padding:7px 0; }
.handheld-navigation .kct-category-toggle { width:24px; padding:0; background:transparent; color:inherit; border:0; box-shadow:none; }
.handheld-navigation a.kct-category-current { font-weight:700; text-decoration:underline; }

.widget-area .wc-block-product-categories ul ul { margin-left:35px !important; padding-left:0 !important; }
.kct-home-categories .wc-block-product-categories ul ul { margin-left:12px !important; }
.handheld-navigation .kct-mobile-category-tree ul ul { margin-left:36px !important; padding-left:0 !important; }
/* Keep the full thumbnail and a discreet arrow visible before hover. */
@media (min-width:768px) {
.storefront-product-pagination a[rel="prev"]:not(:hover) { left:-386px; }
.storefront-product-pagination a[rel="next"]:not(:hover) { right:-386px; }
.storefront-product-pagination a:not(:hover)::before { position:absolute; width:24px; text-align:center; font-size:24px; line-height:1; }
.storefront-product-pagination a[rel="prev"]:not(:hover)::before { content:'‹'; right:90px; }
.storefront-product-pagination a[rel="next"]:not(:hover)::before { content:'›'; left:90px; }
}

/* Sidebar contains categories; header search and catalog sorting remain available. */
.widget-area form[role='search'], .widget-area .widget_search, .widget-area .widget_product_search, .widget-area .wp-block-search, .widget-area .woocommerce-ordering { display:none !important; }

@media(max-width:767px) {
 .site-footer { padding:24px 0 80px; }
 .site-footer .footer-widgets { padding:0; border:0; }
 .site-footer .footer-widgets .block, .site-footer .footer-widgets .widget { margin:0; }
 .site-footer .footer-widgets p { margin:0; }
 .site-footer .footer-widgets a { display:inline-block; padding:8px 0; }
 .site-footer .site-info { padding:16px 0 0; font-size:14px; line-height:1.6; }
 #site-navigation.kct-floating-menu .menu-toggle { position:fixed; top:var(--kct-menu-top); right:var(--kct-menu-right); z-index:9998; }
 #site-navigation.kct-floating-menu.toggled .handheld-navigation { position:fixed; top:var(--kct-menu-bottom); left:12px; right:12px; max-height:calc(100dvh - var(--kct-menu-bottom) - 80px); overflow-y:auto; background:#202323; color:white; padding:12px 20px; z-index:9997; box-shadow:0 4px 16px #0004; }
 #site-navigation.kct-floating-menu.toggled .handheld-navigation a { color:white; }
}
@media(max-width:767px) {
 #site-navigation.kct-floating-menu.toggled .handheld-navigation { padding-top:64px; background-size:cover; background-position:center; }
 .handheld-navigation .kct-menu-logo { position:absolute; top:10px; right:14px; width:44px; height:44px; object-fit:contain; }
}
@media(min-width:768px) { .kct-menu-logo { display:none; } }
@media(max-width:767px) {
 .kct-whatsapp { width:36px; height:36px; left:16px; bottom:calc(80px + env(safe-area-inset-bottom, 0px)); }
 .kct-whatsapp img { width:19.2px; height:19.2px; }
}
/* Reserve separate space for the logo beside the collapsed menu button. */
@media(max-width:767px) {
 #site-navigation.kct-floating-menu:not(.toggled) .kct-menu-logo { display:block; position:fixed; top:var(--kct-menu-top); right:var(--kct-menu-right); z-index:9998; }
 #site-navigation.kct-floating-menu:not(.toggled) .menu-toggle { right:calc(var(--kct-menu-right) + 56px); }
 #site-navigation.toggled .kct-menu-logo { display:block; }
}
