html { scroll-behavior: smooth; }
body { direction: rtl; }
.screen-reader-text,
.skip-link {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    width: auto;
    top: 10px;
    right: 10px;
    z-index: 99999;
    background: #fff;
    color: #000;
    padding: 10px 16px;
}
.menu-toggle { background: transparent; border: 0; cursor: pointer; padding: 0; }
.menu-toggle svg { width: 32px; height: 32px; display: block; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.site-search {
    position: absolute;
    left: 35px;
    top: 140px;
    z-index: 222;
    background: #fff;
    padding: 12px;
    box-shadow: 0 4px 20px #00000033;
    width: min(420px, calc(100% - 30px));
}
.site-search input#lubliner-search-field{
    padding: 7px 15px;
}
.site-search form { display: flex; gap: 8px; }
.site-search button { background: #3A6851; color: #fff; border: 0; padding: 0 16px; cursor: pointer; }
.custom-logo { width: 100%; height: auto; }
.navbar ul li.menu-item-has-children > a::after { content: none; }
.Product_Row.lubliner-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 40px 0;
}
.Product_Row.lubliner-products-grid > .item { width: auto; position: relative; }
.woocommerce .slider-content-box .button { border-radius: 0; font-weight: 600; }
.woocommerce-products-header .page-title { text-align: center; }
.prd-hover-content a { color: #111; }
.prd-hover-content .whatsapp-img { width: 16%; }
.prd-hover-content .whatsapp-text { width: 83%; }
.slider-content-box .img_holder:focus-within .prd-hover-content,
.slider-content-box:hover .prd-hover-content {
    opacity: 1;
    visibility: visible;
}
.slider-content-box .img_holder:focus-within .prd-img img,
.slider-content-box:hover .prd-img img {
    transform: scale(1.2);
}
@media (max-width: 900px) {
    .site-search { top: 105px; left: 15px; }
    .Product_Row.lubliner-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}
@media (max-width: 499px) {
    .Product_Row.lubliner-products-grid { grid-template-columns: 1fr; }
}

/* Product page accessibility + WooCommerce integration */
.product_gallery .thumb-button {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 3px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.product_gallery .thumb-button:last-child { margin-bottom: 0; }
.product_gallery .thumb-button:focus-visible .thumb {
    outline: 3px solid #3a6851;
    outline-offset: 2px;
}
.product_details .description p:last-child,
.product_details .tab-content p:last-child { margin-bottom: 0; }
.product_details .action-buttons .button { text-decoration: none; }
.product_details .action-buttons .btn.loading::after { display: none; }
.product_details .action-buttons .btn.added::after { content: none; }
.woocommerce-notices-wrapper:not(:empty) {
    max-width: 1632px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.related-products-section { background: #f4f4f4; }
.product-why-section { margin-top: 0; }

/* Category archive integration */
.category_page .woocommerce-ordering { margin: 0; }
.category_page .woocommerce-ordering select { width: 100%; }
.category_page .woocommerce-result-count { margin: 0; }
.category_page .Product_Row .slider-content-box { position: relative; }
.category_page .woocommerce-pagination { width: 100%; text-align: center; margin-top: 30px; }
.category_page .woocommerce-pagination ul { display: inline-flex; gap: 8px; padding: 0; margin: 0; list-style: none; }
.category_page .woocommerce-pagination a,
.category_page .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; padding: 0 10px; text-decoration: none; }
.category_page .woocommerce-pagination .current { font-weight: 700; }
.category_right .widget { list-style: none; }
.category_right .filter_box ul { margin: 0; padding: 0; list-style: none; }
.lubliner-admin-note p { margin: 0; }
