/**
 * Cross-page responsive polish — blog, shop, product, archives.
 */

/* ── Tablet (≤991px) ── */
@media (max-width: 991px) {
	.rabor-content-area--single-post {
		padding-block: 1rem 2rem;
	}

	.rabor-entry--single .rabor-entry-header {
		padding: 1.15rem 1.2rem;
	}

	.rabor-entry--single .rabor-entry-content {
		padding: 1.25rem 1.2rem;
	}

	.rabor-entry--single .rabor-entry-featured {
		border-radius: 16px;
	}

	.rabor-archive-title {
		font-size: clamp(1.25rem, 4vw, 1.75rem);
	}

	.rabor-content-area--blog,
	.rabor-blog-archive .rabor-content-area {
		padding-block: 1rem 2rem;
	}

	.rabor-single-product-page .elementor-11173 .elementor-element-08e375c {
		padding: 1.15rem 1.2rem;
		border-radius: 16px;
	}

	.rabor-single-product-page .rabor-single-product__gallery,
	.rabor-single-product-page .elementor-11173 .woocommerce-product-gallery {
		padding: 0.85rem;
		border-radius: 16px;
	}

	.rabor-single-product-page .elementor-11173 .woocommerce-breadcrumb {
		font-size: 0.82rem;
		line-height: 1.65;
	}

	.rabor-single-product-page .rabor-product-reviews .rabor-comments-area,
	.rabor-single-product-page .rabor-product-reviews.woocommerce-Reviews {
		padding: 0;
	}

	.rabor-shop-page .rabor-shop-grid-row>.e-con-inner {
		flex-wrap: wrap !important;
	}

	.rabor-shop-page .elementor-2127 .elementor-element-e9e4911>.e-con-inner {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.rabor-shop-page .elementor-element-a568764 {
		overflow: visible;
	}

	.rabor-blog-page .elementor-element-853b6c6 .elementor-loop-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.rabor-theme .e-con.e-flex:not(.elementor-hidden-tablet)>.e-con-inner {
		flex-wrap: var(--flex-wrap-mobile, wrap);
	}

	.rabor-theme .elementor-widget-wrap,
	.rabor-theme .elementor-widget-container {
		max-width: 100%;
		min-width: 0;
	}
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
	.rabor-entry--single .rabor-entry-header {
		padding: 1rem;
		border-radius: 16px;
	}

	.rabor-entry--single .rabor-entry-content {
		padding: 1rem;
		border-radius: 16px;
		font-size: 0.95rem;
		line-height: 1.85;
	}

	.rabor-entry--single .rabor-entry-content :is(table, .wp-block-table) {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.rabor-entry--single .rabor-entry-hero {
		margin-bottom: 1.15rem;
	}

	.rabor-entry--single .rabor-entry-meta {
		gap: 0.4rem 0.55rem;
	}

	.rabor-post-toc {
		margin-bottom: 1rem;
		border-radius: 16px;
	}

	.rabor-comment__header {
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
	}

	.rabor-comment__author-wrap {
		order: -1;
	}

	.rabor-comment__date {
		white-space: normal;
		text-align: end;
		font-size: 0.76rem;
	}

	.rabor-comment-form__logged-in-main {
		display: block;
	}

	.rabor-comment-form__logged-in-actions {
		display: flex;
		flex-wrap: wrap;
		margin-inline-start: 0;
		margin-top: 0.35rem;
	}

	.rabor-archive-header {
		margin-bottom: 1rem;
	}

	.rabor-blog-pagination .nav-links,
	.rabor-content-area--blog .elementor-pagination {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.15rem;
	}

	.rabor-blog-page .elementor-element-853b6c6 .elementor-loop-container {
		grid-template-columns: 1fr !important;
	}


	.rabor-blog-page .elementor-element-b439dbf {
		flex-direction: column;
		align-items: stretch !important;
	}

	.rabor-single-product-page .elementor-11173 .elementor-element-ad2e91b,
	.rabor-single-product-page .elementor-11173 .e-con-boxed>.e-con-inner,
	.rabor-single-product-page .elementor-11173 .elementor-element-ac998c8>.e-con-inner,
	.rabor-single-product-page .elementor-11173 .elementor-element-5a54fc4>.e-con-inner {
		padding-inline: 12px;
	}

	.rabor-single-product-page .flex-control-thumbs li {
		width: calc(20% - 8px);
	}

	.rabor-single-product-page .elementor-11173 form.cart {
		flex-direction: column;
		align-items: stretch;
		gap: 0.55rem;
		width: 100%;
	}

	.rabor-single-product-page .elementor-11173 form.cart .quantity {
		width: 100%;
		max-width: none;
	}

	.rabor-single-product-page .elementor-11173 .single_add_to_cart_button {
		width: 100%;
		flex: 1 1 auto;
		min-width: 0;
	}

	.rabor-single-product-page .rabor-product-description,
	.rabor-single-product-page .rabor-product-attributes,
	.rabor-single-product-page .rabor-product-description table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.rabor-single-product-page .rabor-related-products-slider .wd-nav-arrows {
		gap: 0.5rem;
	}

	.rabor-shop-page .elementor-element-ed5a72c {
		min-width: 0;
		overflow: visible !important;
	}

	.rabor-shop-page .rabor-product-card .product-wrapper:hover,
	.rabor-product-cards-context .rabor-product-card .product-wrapper:hover {
		transform: none;
	}

	.rabor-shop-page .rabor-product-card .product-image-link,
	.rabor-shop-page .rabor-product-card .rabor-product-card__media,
	.rabor-product-cards-context .rabor-product-card .product-image-link {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		aspect-ratio: 1 / 1;
		overflow: hidden;
		background: #f7f7fb;
	}

	.rabor-shop-page .rabor-product-card .product-image-link img,
	.rabor-product-cards-context .rabor-product-card .product-image-link img {
		display: block !important;
		width: 100% !important;
		max-height: 100% !important;
		object-fit: contain !important;
		visibility: visible !important;
	}

	.rabor-shop-page .rabor-product-card .rabor-product-image--primary,
	.rabor-product-cards-context .rabor-product-card .rabor-product-image--primary {
		height: auto !important;
	}

	.rabor-shop-page .rabor-product-card .rabor-product-image--hover,
	.rabor-product-cards-context .rabor-product-card .rabor-product-image--hover {
		height: 100% !important;
		max-height: none !important;
	}

	.rabor-product-card .wd-entities-title,
	.rabor-product-card .woocommerce-loop-product__title {
		font-size: 0.9rem !important;
		line-height: 1.5 !important;
	}

	.rabor-product-card .price .login-to-prices-msg {
		font-size: 0.74rem;
		line-height: 1.45;
	}

	.rabor-theme .e-con.e-flex:not(.elementor-hidden-mobile)>.e-con-inner {
		flex-wrap: var(--flex-wrap-mobile, wrap) !important;
		padding: 0;
	}

.rabor-theme .e-con.e-flex:not(.elementor-hidden-mobile)>.e-con-inner > div {
		padding: 0;
	}

	.elementor-element.elementor-element-2b0c66a.e-con-full.e-flex.e-con.e-parent {
		padding: 0;
	}

	.rabor-theme .elementor-widget-wrap,
	.rabor-theme .elementor-widget-container {
		max-width: 100%;
		min-width: 0;
	}
}

/* ── Small phones (≤575px) ── */
@media (max-width: 575px) {
	.rabor-single-product-page .elementor-11173 .product_title {
		font-size: 1.2rem;
	}

	.rabor-single-product-page .elementor-11173 .elementor-element-8fea194 {
		grid-template-columns: 1fr;
	}

	.rabor-single-product-page .rabor-product-trust-row {
		grid-template-columns: 1fr;
	}

	.rabor-single-product-page .elementor-11173 form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.rabor-single-product-page .elementor-11173 .single_add_to_cart_button {
		width: 100%;
	}

	.rabor-single-product-page .elementor-11173 form.cart .quantity {
		max-width: none;
	}
}

/* ── Safe area (notched phones) ── */
@supports (padding: max(0px)) {
	@media (max-width: 991px) {

		.rabor-shop-filters-column.is-open,
		.rabor-main .elementor-element-1cf3e36.is-open {
			padding-bottom: max(1rem, env(safe-area-inset-bottom));
		}
	}
}

/* ── WooCommerce flows (cart / checkout / account) ── */
@media (max-width: 767px) {

	body.rabor-cart-page .rabor-container--cart,
	body.rabor-checkout-page .rabor-container--checkout,
	body.rabor-account-page .rabor-container--account {
		padding-inline: 0;
	}
}

@media (max-width: 991px) {
	.rabor-single-product-page .rabor-product-trust-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
		padding: 0.65rem;
	}

	.rabor-single-product-page .rabor-product-trust-row .elementor-icon-box-wrapper {
		padding: 1rem 0.65rem;
	}
}

@media (max-width: 360px) {

	.rabor-single-product-page .elementor-element-e80d901 ul.products.wd-products,
	.rabor-single-product-page .elementor-element-e80d901 .rabor-related-products-grid,
	.rabor-single-product-page .elementor-element-e80d901 .wd-carousel-wrap {
		grid-template-columns: 1fr;
	}
}


.admin-bar .pswp {
	    z-index: 9999;
}
