@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//primer.su/wp-content/themes/primer/fonts/woodmart-font-1-400.woff2?v=8.4.0") format("woff2");
}

:root {
	--wd-text-font: Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(84,90,94);
	--wd-text-font-size: 16px;
	--wd-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-transform: none;
	--wd-title-color: rgb(52,101,138);
	--wd-entities-title-font: Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(25,50,68);
	--wd-entities-title-color-hover: rgb(25,50,68);
	--wd-alternative-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(51,51,51);
	--wd-widget-title-font-size: 12px;
	--wd-header-el-font: "'Arial Black', Gadget, sans-serif", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(52,101,138);
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(244,123,77);
	--btn-default-bgcolor-hover: rgb(35,166,183);
	--btn-accented-bgcolor: rgb(244,123,77);
	--btn-accented-bgcolor-hover: rgb(236,87,39);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(68,187,164);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(244,211,94);
	--notices-warning-color: rgb(52,101,138);
	--wd-link-color: rgb(255,86,0);
	--wd-link-color-hover: rgb(147,0,0);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 470px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: no-repeat;
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(25,53,69);
	background-image: none;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: "'Arial Black', Gadget, sans-serif", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: rgb(255,255,255);
}
html .wd-nav.wd-nav-main > li:hover > a, html .wd-nav.wd-nav-main > li.current-menu-item > a {
	color: rgb(244,123,77);
}
html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a, html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title, html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-family: Arial, Helvetica, sans-serif;	font-weight: 500;
	font-size: 22px;
	color: rgb(249,249,249);
}
html .wd-product .price, html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price {
	font-family: Arial, Helvetica, sans-serif;	font-weight: 300;
	font-size: 14px;
	color: rgb(244,123,77);
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "'Arial Black', Gadget, sans-serif", Arial, Helvetica, sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: rgb(25,50,68);
}
html .product-image-summary-wrap .product_title:hover, html .wd-single-title .product_title:hover {
	color: rgb(25,50,68);
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,252,252);
	background-image: none;
	background-repeat: repeat;
	background-size: contain;
	background-position: center center;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: #F8F8F8;
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-attachment: scroll;
	background-position: center center;
}
html div.wpcf7 input[type="submit"] {
	font-family: Arial, Helvetica, sans-serif;	font-weight: 600;
	text-transform: capitalize;
	color: rgb(255,255,255);
	background: rgb(244,123,77);
}
html div.wpcf7 input[type="submit"]:hover {
	background: rgb(35,166,183);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 17px;
	}

}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1300px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(12,30,101);
}

/* =========================================================
PRIMER.SU — Custom CSS (Refactored)
Theme: Woodmart / WooCommerce / Elementor / WPBakery
Changes: Duplicate removal, cascade unification, logical grouping, 
         safe overrides preserved. No visual changes.
========================================================= */

/* =========================================================
01. GLOBAL UTILITIES / HIDES
========================================================= */
.woocommerce-ordering,
.wd-products-per-page,
.single-post .woodmart-entry-meta,
.single-post .wd-social-buttons,
.wd-single-post-header .wd-post-meta {
  display: none !important;
}

iframe { overflow: hidden; }

.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

/* =========================================================
02. NAVIGATION & MENUS
========================================================= */
/* --- Mega Menu: Catalog (#menu-item-9379) --- */
#menu-item-9379 { position: relative; }
#menu-item-9379 > a { position: relative; z-index: 3; }
#menu-item-9379 > .wd-dropdown-menu {
  padding: 26px 0 28px !important;
  border-top: 1px solid rgba(15, 47, 64, 0.06) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
  box-shadow: 0 24px 60px rgba(15, 47, 64, 0.16) !important;
}
#menu-item-9379 > .wd-dropdown-menu .container {
  max-width: 1280px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
#menu-item-9379 .wpb-content-wrapper > .vc_row { margin: 0 -12px !important; margin-bottom: 0 !important; }
#menu-item-9379 .wpb-content-wrapper > .vc_row > .wpb_column { padding: 0 12px !important; }
#menu-item-9379 .vc_column-inner { margin-bottom: 0 !important; padding: 0 !important; }
#menu-item-9379 .widget.woocommerce.widget_products { height: 100%; }
#menu-item-9379 .widgettitle {
  margin: 0 0 16px !important; padding: 0 !important;
  color: #5e7387 !important; font-size: 12px !important; line-height: 1.2 !important;
  font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important;
}
#menu-item-9379 .product_list_widget {
  display: grid !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
#menu-item-9379 .product_list_widget > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#menu-item-9379 .widget-product-wrap {
  display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; align-items: center !important; gap: 12px !important;
  min-height: 76px; padding: 10px !important; border: 1px solid #e6edf4 !important; border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 8px 20px rgba(15, 47, 64, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
#menu-item-9379 .product_list_widget > li:hover .widget-product-wrap {
  transform: translateY(-2px) !important; border-color: #d8e3ee !important;
  box-shadow: 0 14px 28px rgba(15, 47, 64, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}
#menu-item-9379 .widget-product-img {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 64px !important; min-width: 64px !important; height: 64px !important; overflow: hidden !important;
  border: 1px solid #edf2f7 !important; border-radius: 12px !important;
  background: linear-gradient(180deg, #f4f7fa 0%, #eef3f8 100%) !important;
}
#menu-item-9379 .widget-product-img img { width: 100% !important; height: 100% !important; padding: 6px !important; object-fit: contain !important; }
#menu-item-9379 .widget-product-info { display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 4px !important; min-width: 0 !important; }
#menu-item-9379 .widget-product-info .wd-entities-title {
  display: block !important; margin: 0 !important; color: #16384d !important; font-size: 15px !important; line-height: 1.3 !important;
  font-weight: 500 !important; text-decoration: none !important; transition: color 0.2s ease !important;
}
#menu-item-9379 .widget-product-wrap:hover .wd-entities-title { color: #245d86 !important; }
#menu-item-9379 .widget-product-info .price {
  margin: 0 !important; color: #f26c2a !important; font-size: 13px !important; line-height: 1.3 !important; font-weight: 500 !important;
}
#menu-item-9379 .widget-product-info .price .amount,
#menu-item-9379 .widget-product-info .price .woocommerce-Price-amount,
#menu-item-9379 .widget-product-info .price .woocommerce-Price-currencySymbol { color: inherit !important; }
#menu-item-9379 .vc_custom_1628518991904,
#menu-item-9379 .vc_custom_1628518985195,
#menu-item-9379 .vc_custom_1628518980867,
#menu-item-9379 .vc_custom_1628518971056,
#menu-item-9379 .vc_custom_1628518975220 { margin-bottom: 0 !important; }
#menu-item-9379 .wpb_wrapper > .widget_products + .widget_products { margin-top: 18px !important; }

@media (min-width: 1025px) {
  #menu-item-9379 .widget-product-wrap { grid-template-columns: 60px minmax(0, 1fr) !important; min-height: 72px; padding: 9px !important; }
  #menu-item-9379 .widget-product-img { width: 60px !important; min-width: 60px !important; height: 60px !important; }
  #menu-item-9379 .widget-product-info .wd-entities-title { font-size: 14px !important; }
  #menu-item-9379 .widget-product-info .price { font-size: 12px !important; }
}
@media (max-width: 1024px) {
  #menu-item-9379 > .wd-dropdown-menu { padding: 20px 0 22px !important; }
  #menu-item-9379 > .wd-dropdown-menu .container { padding: 0 16px !important; }
  #menu-item-9379 .widgettitle { margin-bottom: 12px !important; font-size: 11px !important; }
  #menu-item-9379 .widget-product-wrap { grid-template-columns: 56px minmax(0, 1fr) !important; gap: 10px !important; min-height: 68px; padding: 8px !important; border-radius: 14px !important; }
  #menu-item-9379 .widget-product-img { width: 56px !important; min-width: 56px !important; height: 56px !important; border-radius: 10px !important; }
  #menu-item-9379 .widget-product-info .wd-entities-title { font-size: 13px !important; line-height: 1.26 !important; }
  #menu-item-9379 .widget-product-info .price { font-size: 12px !important; }
}

/* --- Mobile Navigation --- */
.mobile-nav.wd-side-hidden { background: linear-gradient(180deg, #1a3a4f 0%, #122838 100%) !important; }
.mobile-nav .wd-heading { padding: 18px 20px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; background: rgba(255, 255, 255, 0.04) !important; }
.mobile-nav .close-side-widget.wd-action-btn a {
  padding: 8px 14px !important; border: 1px solid rgba(255, 255, 255, 0.12) !important; border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important; color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important;
  transition: all 0.2s ease !important;
}
.mobile-nav .close-side-widget.wd-action-btn a:hover { border-color: rgba(255, 255, 255, 0.2) !important; background: rgba(255, 255, 255, 0.12) !important; color: #ffffff !important; }
.mobile-nav .wd-search-form { display: none !important; }
.mobile-nav .mobile-pages-menu { padding: 12px 0 !important; }
.mobile-nav .mobile-pages-menu > li { border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }
.mobile-nav .mobile-pages-menu > li:last-child { border-bottom: 0 !important; }
.mobile-nav .mobile-pages-menu > li > a {
  display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 18px 20px !important;
  color: rgba(255, 255, 255, 0.88) !important; font-size: 16px !important; line-height: 1.3 !important;
  font-weight: 500 !important; text-decoration: none !important; transition: all 0.2s ease !important;
}
.mobile-nav .mobile-pages-menu > li > a:hover { background: rgba(255, 255, 255, 0.04) !important; color: #ffffff !important; }
.mobile-nav .mobile-pages-menu > li.current-menu-item > a,
.mobile-nav .mobile-pages-menu > li.current_page_item > a {
  padding-left: 17px !important; border-left: 3px solid #f26c2a !important;
  background: rgba(242, 108, 42, 0.12) !important; color: #f2a075 !important;
}
.mobile-nav .wd-opener-arrow { color: rgba(255, 255, 255, 0.5) !important; font-size: 14px !important; transition: all 0.2s ease !important; }
.mobile-nav .menu-item-has-children > a:hover .wd-opener-arrow { transform: translateX(2px) !important; color: rgba(255, 255, 255, 0.8) !important; }
.mobile-nav .sub-menu { padding: 8px 0 !important; background: rgba(0, 0, 0, 0.15) !important; }
.mobile-nav .sub-menu li a { padding-left: 36px !important; color: rgba(255, 255, 255, 0.72) !important; font-size: 14px !important; transition: all 0.2s ease !important; }
.mobile-nav .sub-menu li a:hover { padding-left: 38px !important; background: rgba(255, 255, 255, 0.03) !important; color: #ffffff !important; }
.mobile-nav .sub-menu li.current-menu-item > a { background: rgba(242, 108, 42, 0.08) !important; color: #f2a075 !important; }
.mobile-nav::-webkit-scrollbar { width: 4px !important; }
.mobile-nav::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03) !important; }
.mobile-nav::-webkit-scrollbar-thumb { border-radius: 2px !important; background: rgba(255, 255, 255, 0.15) !important; }
.mobile-nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25) !important; }
.mobile-nav .wd-scroll-content { padding-bottom: 40px !important; }
.wd-menu-btn-icon { background: rgba(255, 255, 255, 0.9) !important; }
.wd-side-overlay { background: rgba(5, 15, 25, 0.75) !important; backdrop-filter: blur(4px) !important; }

/* =========================================================
03. CATALOG / ARCHIVE PAGES (Unified)
========================================================= */
.tax-product_cat .site-content,
.post-type-archive-product .site-content,
.term-product_brand .site-content {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%) !important;
}
.tax-product_cat .main-page-wrapper,
.post-type-archive-product .main-page-wrapper,
.term-product_brand .main-page-wrapper {
  padding-top: 18px !important; padding-bottom: 42px !important;
}

/* Intro / Title Block */
.tax-product_cat .wpb_text_column,
.post-type-archive-product .wpb_text_column,
.term-product_brand .wpb_text_column {
  margin-bottom: 18px !important;
}
.tax-product_cat .wpb_text_column .wpb_wrapper,
.post-type-archive-product .wpb_text_column .wpb_wrapper,
.term-product_brand .wpb_text_column .wpb_wrapper {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
.tax-product_cat .wpb_text_column h1,
.tax-product_cat .wpb_text_column h2,
.tax-product_cat .wpb_text_column h3,
.post-type-archive-product .wpb_text_column h1,
.post-type-archive-product .wpb_text_column h2,
.post-type-archive-product .wpb_text_column h3,
.term-product_brand .wpb_text_column h1,
.term-product_brand .wpb_text_column h2,
.term-product_brand .wpb_text_column h3 {
  margin: 0 0 12px !important; color: #173d55 !important; font-size: 30px !important; line-height: 1.1 !important;
  font-weight: 700 !important; text-align: left !important; text-transform: none !important; letter-spacing: -0.02em !important;
}
.tax-product_cat .wpb_text_column p,
.post-type-archive-product .wpb_text_column p,
.term-product_brand .wpb_text_column p {
  max-width: 920px !important; margin: 0 0 10px !important; color: #5f7283 !important;
  font-size: 15px !important; line-height: 1.68 !important; text-align: left !important;
}
.tax-product_cat .wpb_text_column p:last-child,
.post-type-archive-product .wpb_text_column p:last-child,
.term-product_brand .wpb_text_column p:last-child { margin-bottom: 0 !important; }

/* Toolbar / Actions */
.tax-product_cat .shop-loop-head,
.post-type-archive-product .shop-loop-head,
.term-product_brand .shop-loop-head,
.tax-product_cat .wd-shop-tools,
.post-type-archive-product .wd-shop-tools,
.term-product_brand .wd-shop-tools {
  margin-bottom: 14px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.tax-product_cat .open-shop-sidebar,
.post-type-archive-product .open-shop-sidebar,
.term-product_brand .open-shop-sidebar,
.tax-product_cat .wd-show-sidebar-btn,
.post-type-archive-product .wd-show-sidebar-btn,
.term-product_brand .wd-show-sidebar-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 40px !important; padding: 8px 14px !important; border: 1px solid #d9e3ec !important; border-radius: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%) !important; box-shadow: 0 6px 16px rgba(15, 47, 64, 0.05) !important;
  color: #173d55 !important; font-size: 12px !important; font-weight: 700 !important; text-transform: none !important;
}

/* Sidebar Widget */
.tax-product_cat .widget-area,
.post-type-archive-product .widget-area,
.term-product_brand .widget-area { padding: 0 !important; }
.tax-product_cat .widget_product_categories,
.post-type-archive-product .widget_product_categories,
.term-product_brand .widget_product_categories,
.tax-product_cat .wd-widget,
.post-type-archive-product .wd-widget,
.term-product_brand .wd-widget {
  padding: 18px 16px !important; border: 1px solid #e6edf4 !important; border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 12px 30px rgba(15, 47, 64, 0.06), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}
.tax-product_cat .widget_product_categories .widget-title,
.post-type-archive-product .widget_product_categories .widget-title,
.term-product_brand .widget_product_categories .widget-title,
.tax-product_cat .wd-widget .widget-title,
.post-type-archive-product .wd-widget .widget-title,
.term-product_brand .wd-widget .widget-title {
  margin: 0 0 14px !important; padding-bottom: 10px !important; border-bottom: 1px solid #edf3f8 !important;
  color: #5d7285 !important; font-size: 11px !important; line-height: 1.2 !important;
  font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important;
}
.tax-product_cat .widget_product_categories ul,
.post-type-archive-product .widget_product_categories ul,
.term-product_brand .widget_product_categories ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.tax-product_cat .widget_product_categories li,
.post-type-archive-product .widget_product_categories li,
.term-product_brand .widget_product_categories li { margin: 0 0 8px !important; padding: 0 !important; }
.tax-product_cat .widget_product_categories li:last-child,
.post-type-archive-product .widget_product_categories li:last-child,
.term-product_brand .widget_product_categories li:last-child { margin-bottom: 0 !important; }
.tax-product_cat .widget_product_categories a,
.post-type-archive-product .widget_product_categories a,
.term-product_brand .widget_product_categories a {
  display: block !important; padding: 10px 12px !important; border: 1px solid transparent !important; border-radius: 12px !important;
  background: transparent !important; color: #1d4a67 !important; font-size: 14px !important; line-height: 1.35 !important;
  font-weight: 500 !important; text-decoration: none !important; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}
.tax-product_cat .widget_product_categories a:hover,
.post-type-archive-product .widget_product_categories a:hover,
.term-product_brand .widget_product_categories a:hover {
  transform: translateX(2px) !important; border-color: #e2ebf3 !important;
  background: linear-gradient(180deg, #f5f9fc 0%, #edf3f8 100%) !important; color: #173d55 !important;
}
.tax-product_cat .widget_product_categories .current-cat > a,
.post-type-archive-product .widget_product_categories .current-cat > a,
.term-product_brand .widget_product_categories .current-cat > a {
  border-color: #d7e3ed !important; background: linear-gradient(180deg, #f7fbfe 0%, #edf5fa 100%) !important;
  color: #173d55 !important; font-weight: 700 !important;
}

/* Product Grid */
.tax-product_cat .woocommerce-result-count,
.post-type-archive-product .woocommerce-result-count,
.term-product_brand .woocommerce-result-count { display: none !important; }
.tax-product_cat .products.wd-products,
.post-type-archive-product .products.wd-products,
.term-product_brand .products.wd-products {
  --wd-col-lg: 4 !important; --wd-col-md: 3 !important; --wd-col-sm: 2 !important;
  --wd-gap-lg: 18px !important; --wd-gap-sm: 10px !important; margin-top: 8px !important;
}
.tax-product_cat .products.wd-products .wd-product,
.post-type-archive-product .products.wd-products .wd-product,
.term-product_brand .products.wd-products .wd-product { margin-bottom: 0 !important; }
.tax-product_cat .products.wd-products .product-wrapper,
.post-type-archive-product .products.wd-products .product-wrapper,
.term-product_brand .products.wd-products .product-wrapper {
  display: flex !important; flex-direction: column !important; height: 100% !important; padding: 10px !important;
  border: 1px solid #e6edf4 !important; border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 10px 24px rgba(15, 47, 64, 0.06), inset 0 1px 0 rgba(255,255,255,0.76) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.tax-product_cat .products.wd-products .wd-product:hover .product-wrapper,
.post-type-archive-product .products.wd-products .wd-product:hover .product-wrapper,
.term-product_brand .products.wd-products .wd-product:hover .product-wrapper {
  transform: translateY(-2px) !important; border-color: #d7e2ed !important;
  box-shadow: 0 16px 34px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255,255,255,0.84) !important;
}
.tax-product_cat .products.wd-products .product-element-top,
.post-type-archive-product .products.wd-products .product-element-top,
.term-product_brand .products.wd-products .product-element-top { margin-bottom: 8px !important; }
.tax-product_cat .products.wd-products .product-image-link,
.post-type-archive-product .products.wd-products .product-image-link,
.term-product_brand .products.wd-products .product-image-link {
  display: block !important; overflow: hidden !important; border: 1px solid #edf2f7 !important; border-radius: 12px !important;
  background: linear-gradient(180deg, #f4f7fa 0%, #eef3f8 100%) !important;
}
.tax-product_cat .products.wd-products .product-image-link img,
.post-type-archive-product .products.wd-products .product-image-link img,
.term-product_brand .products.wd-products .product-image-link img {
  display: block !important; width: 100% !important; aspect-ratio: 1 / 1 !important; padding: 8px !important; object-fit: contain !important;
}
.tax-product_cat .products.wd-products .product-element-bottom,
.post-type-archive-product .products.wd-products .product-element-bottom,
.term-product_brand .products.wd-products .product-element-bottom {
  display: flex !important; flex-direction: column !important; flex-grow: 1 !important; gap: 5px !important; padding: 0 2px 2px !important;
}
.tax-product_cat .products.wd-products .wd-entities-title,
.post-type-archive-product .products.wd-products .wd-entities-title,
.term-product_brand .products.wd-products .wd-entities-title {
  margin: 0 !important; color: #173d55 !important; font-size: 13px !important; line-height: 1.32 !important;
  font-weight: 600 !important; text-transform: none !important;
}
.tax-product_cat .products.wd-products .wd-entities-title a,
.post-type-archive-product .products.wd-products .wd-entities-title a,
.term-product_brand .products.wd-products .wd-entities-title a { color: inherit !important; text-decoration: none !important; }
.tax-product_cat .products.wd-products .price,
.post-type-archive-product .products.wd-products .price,
.term-product_brand .products.wd-products .price {
  margin-top: auto !important; padding: 4px 8px !important; border: 1px solid rgba(242, 108, 42, 0.14) !important;
  border-radius: 999px !important; background: rgba(242, 108, 42, 0.08) !important; color: #f26c2a !important;
  font-size: 11px !important; line-height: 1.2 !important; font-weight: 700 !important;
}

/* Bottom SEO / Description */
.tax-product_cat .term-description,
.post-type-archive-product .term-description,
.term-product_brand .term-description,
.tax-product_cat .archive-description,
.post-type-archive-product .archive-description,
.term-product_brand .archive-description {
  margin-top: 20px !important; padding: 22px 24px !important; border: 1px solid #e6edf4 !important; border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important; box-shadow: 0 12px 28px rgba(15, 47, 64, 0.05) !important;
}
.tax-product_cat .term-description h2, .tax-product_cat .term-description h3,
.post-type-archive-product .term-description h2, .post-type-archive-product .term-description h3,
.term-product_brand .term-description h2, .term-product_brand .term-description h3,
.tax-product_cat .archive-description h2, .tax-product_cat .archive-description h3,
.post-type-archive-product .archive-description h2, .post-type-archive-product .archive-description h3,
.term-product_brand .archive-description h2, .term-product_brand .archive-description h3 {
  margin: 0 0 12px !important; color: #173d55 !important; font-size: 22px !important; line-height: 1.2 !important;
  font-weight: 700 !important; text-transform: none !important; letter-spacing: -0.01em !important;
}
.tax-product_cat .term-description p, .tax-product_cat .term-description li,
.post-type-archive-product .term-description p, .post-type-archive-product .term-description li,
.term-product_brand .term-description p, .term-product_brand .term-description li,
.tax-product_cat .archive-description p, .tax-product_cat .archive-description li,
.post-type-archive-product .archive-description p, .post-type-archive-product .archive-description li,
.term-product_brand .archive-description p, .term-product_brand .archive-description li {
  color: #5d7080 !important; font-size: 15px !important; line-height: 1.7 !important;
}
.tax-product_cat .term-description ul, .post-type-archive-product .term-description ul, .term-product_brand .term-description ul,
.tax-product_cat .archive-description ul, .post-type-archive-product .archive-description ul, .term-product_brand .archive-description ul {
  margin: 0 0 12px 20px !important; padding: 0 !important;
}

/* Catalog Responsive */
@media (min-width: 1025px) {
  .tax-product_cat .wpb_text_column h1, .post-type-archive-product .wpb_text_column h1, .term-product_brand .wpb_text_column h1,
  .tax-product_cat .wpb_text_column h2, .post-type-archive-product .wpb_text_column h2, .term-product_brand .wpb_text_column h2,
  .tax-product_cat .wpb_text_column h3, .post-type-archive-product .wpb_text_column h3, .term-product_brand .wpb_text_column h3 { font-size: 32px !important; }
}
@media (max-width: 1024px) {
  .tax-product_cat .main-page-wrapper, .post-type-archive-product .main-page-wrapper, .term-product_brand .main-page-wrapper { padding: 14px 0 34px !important; }
  .tax-product_cat .wpb_text_column h1, .post-type-archive-product .wpb_text_column h1, .term-product_brand .wpb_text_column h1,
  .tax-product_cat .wpb_text_column h2, .post-type-archive-product .wpb_text_column h2, .term-product_brand .wpb_text_column h2,
  .tax-product_cat .wpb_text_column h3, .post-type-archive-product .wpb_text_column h3, .term-product_brand .wpb_text_column h3 { font-size: 26px !important; }
  .tax-product_cat .wpb_text_column p, .post-type-archive-product .wpb_text_column p, .term-product_brand .wpb_text_column p { font-size: 14px !important; }
  .tax-product_cat .products.wd-products, .post-type-archive-product .products.wd-products, .term-product_brand .products.wd-products { --wd-col-md: 3 !important; --wd-gap-lg: 14px !important; }
  .tax-product_cat .widget_product_categories, .post-type-archive-product .widget_product_categories, .term-product_brand .widget_product_categories,
  .tax-product_cat .wd-widget, .post-type-archive-product .wd-widget, .term-product_brand .wd-widget { padding: 16px 14px !important; border-radius: 16px !important; }
}
@media (max-width: 767px) {
  .tax-product_cat .main-page-wrapper, .post-type-archive-product .main-page-wrapper, .term-product_brand .main-page-wrapper { padding: 10px 0 28px !important; }
  .tax-product_cat .wpb_text_column { margin-bottom: 14px !important; }
  .tax-product_cat .wpb_text_column h1, .post-type-archive-product .wpb_text_column h1, .term-product_brand .wpb_text_column h1,
  .tax-product_cat .wpb_text_column h2, .post-type-archive-product .wpb_text_column h2, .term-product_brand .wpb_text_column h2,
  .tax-product_cat .wpb_text_column h3, .post-type-archive-product .wpb_text_column h3, .term-product_brand .wpb_text_column h3 { margin-bottom: 10px !important; font-size: 20px !important; line-height: 1.15 !important; }
  .tax-product_cat .wpb_text_column p, .post-type-archive-product .wpb_text_column p, .term-product_brand .wpb_text_column p { font-size: 13px !important; line-height: 1.6 !important; }
  .tax-product_cat .products.wd-products, .post-type-archive-product .products.wd-products, .term-product_brand .products.wd-products { --wd-col-sm: 2 !important; --wd-gap-sm: 10px !important; margin-top: 6px !important; }
  .tax-product_cat .products.wd-products .product-wrapper, .post-type-archive-product .products.wd-products .product-wrapper, .term-product_brand .products.wd-products .product-wrapper { padding: 8px !important; border-radius: 14px !important; }
  .tax-product_cat .products.wd-products .product-image-link, .post-type-archive-product .products.wd-products .product-image-link, .term-product_brand .products.wd-products .product-image-link { border-radius: 11px !important; }
  .tax-product_cat .products.wd-products .wd-entities-title, .post-type-archive-product .products.wd-products .wd-entities-title, .term-product_brand .products.wd-products .wd-entities-title { font-size: 12px !important; line-height: 1.3 !important; }
  .tax-product_cat .products.wd-products .price, .post-type-archive-product .products.wd-products .price, .term-product_brand .products.wd-products .price { font-size: 11px !important; }
  .tax-product_cat .term-description, .post-type-archive-product .term-description, .term-product_brand .term-description,
  .tax-product_cat .archive-description, .post-type-archive-product .archive-description, .term-product_brand .archive-description { margin-top: 18px !important; padding: 16px 14px !important; border-radius: 14px !important; }
  .tax-product_cat .term-description h2, .tax-product_cat .term-description h3, .post-type-archive-product .term-description h2, .post-type-archive-product .term-description h3,
  .term-product_brand .term-description h2, .term-product_brand .term-description h3, .tax-product_cat .archive-description h2, .tax-product_cat .archive-description h3,
  .post-type-archive-product .archive-description h2, .post-type-archive-product .archive-description h3, .term-product_brand .archive-description h2, .term-product_brand .archive-description h3 { font-size: 18px !important; line-height: 1.24 !important; }
  .tax-product_cat .term-description p, .tax-product_cat .term-description li, .post-type-archive-product .term-description p, .post-type-archive-product .term-description li,
  .term-product_brand .term-description p, .term-product_brand .term-description li, .tax-product_cat .archive-description p, .tax-product_cat .archive-description li,
  .post-type-archive-product .archive-description p, .post-type-archive-product .archive-description li, .term-product_brand .archive-description p, .term-product_brand .archive-description li { font-size: 13px !important; line-height: 1.65 !important; }
}

/* Sidebar Button Visibility */
@media (min-width: 1025px) {
  .tax-product_cat .open-shop-sidebar, .post-type-archive-product .open-shop-sidebar, .term-product_brand .open-shop-sidebar,
  .tax-product_cat .wd-show-sidebar-btn, .post-type-archive-product .wd-show-sidebar-btn, .term-product_brand .wd-show-sidebar-btn { display: none !important; }
}

/* =========================================================
   B2B PRODUCT LAYOUT REFACTOR (CLEAN & PROFESSIONAL)
========================================================= */

/* 1. Заголовок и Бренд */
.single-product .product_title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

/* Логотип бренда рядом с заголовком */
.single-product .wd-product-brands {
    margin-bottom: 15px !important;
}
.single-product .wd-product-brands img {
    max-width: 80px !important;
    filter: grayscale(1); /* Делаем лого строгим, серым */
    opacity: 0.6;
}

/* 2. Компактные теги (Отрасли / Применение) */
.single-product .woocommerce-product-attributes {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.single-product .woocommerce-product-attributes tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    border: none !important;
}
.single-product .woocommerce-product-attributes th {
    width: 100px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    background: transparent !important;
    padding: 0 !important;
}
.single-product .woocommerce-product-attributes td {
    padding: 0 !important;
}
.single-product .woocommerce-product-attributes td a {
    display: inline-block !important;
    padding: 4px 12px !important;
    background: #f1f5f9 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.2s;
}
.single-product .woocommerce-product-attributes td a:hover {
    background: #e2e8f0 !important;
    color: #1e3a5f !important;
}

/* 3. Таблица материалов (Инженерный стиль) */
.primer-materials-table {
    margin: 25px 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.primer-materials-table__row {
    display: flex !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.primer-materials-table__row:last-child { border-bottom: none !important; }
.primer-materials-table__label {
    width: 30% !important;
    background: #f8fafc !important;
    padding: 12px 15px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1e3a5f !important;
    border-right: 1px solid #e2e8f0 !important;
}
.primer-materials-table__value {
    width: 70% !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
    color: #475569 !important;
    background: #fff !important;
}

/* 4. Правый сайдбар (Блок цены и КП) */
.prime-sidebar-sticky, 
[data-woodmart-filter="price"] { /* Селектор зависит от виджета */
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}

/* Кнопка КП */
.prime-btn-kp, 
.single-product .button.add_to_cart_button,
.single-product .wd-buy-now-btn {
    background-color: #1C435A !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    padding: 15px !important;
    border: none !important;
}

/* Контакты (Arial Medium 17px) */
.prime-sidebar-contacts a {
    display: block !important;
    font-family: Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 17px !important;
    line-height: 25.5px !important;
    color: #1e3a5f !important;
    margin-top: 10px !important;
    text-decoration: none !important;
}

/* 5. Табы (Описание и т.д.) */
.wd-nav-tabs {
    justify-content: flex-start !important;
    border-bottom: 2px solid #f1f5f9 !important;
}
.wd-nav-tabs li a {
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 16px !important;
}

/* 6. Уменьшение фото товара */
.woocommerce-product-gallery img {
    max-height: 350px !important;
    width: auto !important;
    margin: 0 auto !important;
}

/* =========================================================
   РЕФАКТОРИНГ РАСПОЛОЖЕНИЯ БЛОКОВ
========================================================= */

/* 1. СКРЫВАЕМ АТРИБУТЫ В ЦЕНТРАЛЬНОЙ КОЛОНКЕ (чтобы не дублировались) */
.summary.entry-summary .woocommerce-product-attributes,
.summary.entry-summary .shop_attributes {
    display: none !important;
}

/* 2. СТИЛИ ДЛЯ АТРИБУТОВ ПОД ФОТО (СЛЕВА) */
.primer-left-attributes {
    margin-top: 20px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Превращаем таблицу атрибутов слева в аккуратный список */
.primer-left-attributes .woocommerce-product-attributes {
    border: none !important;
    margin: 0 !important;
}

.primer-left-attributes .woocommerce-product-attributes-item {
    display: flex !important;
    flex-direction: column !important; /* Заголовок над значением для узости колонки */
    margin-bottom: 12px !important;
    border: none !important;
    padding: 0 !important;
}

.primer-left-attributes .woocommerce-product-attributes-item__label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    padding: 0 0 4px 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.primer-left-attributes .woocommerce-product-attributes-item__value {
    padding: 0 !important;
    font-size: 13px !important;
    color: #1e3a5f !important;
}

/* Стили тегов для ссылок внутри атрибутов слева */
.primer-left-attributes .woocommerce-product-attributes-item__value a {
    display: inline-block !important;
    margin: 2px 4px 2px 0 !important;
    padding: 3px 10px !important;
    background: #f1f5f9 !important;
    border-radius: 6px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 12px !important;
}

/* 3. ТАБЛИЦА МАТЕРИАЛОВ (ТЕПЕРЬ В ЦЕНТРЕ) */
.primer-materials-table {
    margin: 20px 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    width: 100% !important;
}

.primer-materials-table__title {
    background: #f8fafc !important;
    padding: 10px 15px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #1e3a5f !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.primer-materials-table__row {
    display: flex !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.primer-materials-table__row:last-child {
    border-bottom: none !important;
}

.primer-materials-table__label {
    width: 25% !important; /* В центре места больше, можно сделать ярлык уже */
    background: #f4f7f9 !important;
    padding: 12px 15px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1e3a5f !important;
    border-right: 1px solid #e2e8f0 !important;
}

.primer-materials-table__value,
.primer-materials-table__row-value {
    width: 75% !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    color: #475569 !important;
}

/* =========================================================
05. COMPONENTS
========================================================= */
/* --- Category Cards --- */
.wd-cats-element .wd-cat-content.hover-mask .wd-entities-title,
.wd-cats-element .product-category .wd-entities-title {
  position: relative !important; display: inline-block !important; max-width: 92% !important; margin: 0 auto !important;
  padding: 14px 18px !important; border-radius: 6px !important; background-color: rgba(30, 58, 81, 0.92) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important; color: #ffffff !important; font-size: 14px !important;
  line-height: 1.3 !important; font-weight: 600 !important; text-align: center !important; text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.tax-product_cat .wd-cats-element .wd-cat,
.post-type-archive-product .wd-cats-element .wd-cat,
.page-id-12 .wd-cats-element .wd-cat { padding: 0 !important; }
.tax-product_cat .wd-cats-element .wd-cat-thumb,
.post-type-archive-product .wd-cats-element .wd-cat-thumb,
.page-id-12 .wd-cats-element .wd-cat-thumb {
  overflow: hidden !important; border: 1px solid #e7edf4 !important; border-radius: 16px !important;
  background: linear-gradient(180deg, #f4f7fa 0%, #eef3f8 100%) !important;
  box-shadow: 0 10px 24px rgba(15, 47, 64, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.tax-product_cat .wd-cats-element .wd-cat:hover .wd-cat-thumb,
.post-type-archive-product .wd-cats-element .wd-cat:hover .wd-cat-thumb,
.page-id-12 .wd-cats-element .wd-cat:hover .wd-cat-thumb {
  transform: translateY(-2px) !important; border-color: #d7e2ed !important;
  box-shadow: 0 16px 34px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}
.tax-product_cat .wd-cats-element .wd-cat-thumb img,
.post-type-archive-product .wd-cats-element .wd-cat-thumb img,
.page-id-12 .wd-cats-element .wd-cat-thumb img { object-fit: contain !important; padding: 10px !important; }
.tax-product_cat .wd-cat-content.hover-mask .wd-entities-title,
.post-type-archive-product .wd-cats-element .wd-entities-title,
.page-id-12 .wd-cats-element .wd-entities-title {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: auto !important; max-width: calc(100% - 20px) !important; min-height: 42px !important; margin: 0 auto 10px !important;
  padding: 8px 12px !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(27, 74, 99, 0.96) 0%, rgba(15, 47, 64, 0.98) 100%) !important;
  box-shadow: 0 10px 22px rgba(7, 28, 43, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important; font-size: 11px !important; line-height: 1.2 !important; font-weight: 700 !important;
  text-align: center !important; text-transform: none !important; letter-spacing: 0.01em !important;
  white-space: normal !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important;
}
.tax-product_cat .wd-cat-content.hover-mask .wd-entities-title a,
.post-type-archive-product .wd-cats-element .wd-entities-title a,
.page-id-12 .wd-cats-element .wd-entities-title a {
  display: block !important; color: inherit !important; text-align: center !important; text-decoration: none !important;
  white-space: normal !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important;
}
.tax-product_cat .wd-cats-element .wd-cat-content,
.post-type-archive-product .wd-cats-element .wd-cat-content,
.page-id-12 .wd-cats-element .wd-cat-content { padding: 10px 10px 12px !important; text-align: center !important; }

@media (max-width: 1024px) and (min-width: 769px) {
  .wd-cats-element .wd-cat-content.hover-mask .wd-entities-title { padding: 12px 15px !important; font-size: 13px !important; }
}
@media (max-width: 768px) {
  .wd-cats-element .wd-cat-content.hover-mask .wd-entities-title { max-width: 88% !important; padding: 11px 13px !important; font-size: 12px !important; }
  .wd-cats-element .products { --wd-gap-lg: 12px !important; --wd-gap-md: 10px !important; }
}
@media (max-width: 767px) {
  .tax-product_cat .wd-cats-element .wd-cat-thumb, .post-type-archive-product .wd-cats-element .wd-cat-thumb, .page-id-12 .wd-cats-element .wd-cat-thumb { border-radius: 14px !important; }
  .tax-product_cat .wd-cats-element .wd-cat-thumb img, .post-type-archive-product .wd-cats-element .wd-cat-thumb img, .page-id-12 .wd-cats-element .wd-cat-thumb img { padding: 8px !important; }
  .tax-product_cat .wd-cat-content.hover-mask .wd-entities-title, .post-type-archive-product .wd-cats-element .wd-entities-title, .page-id-12 .wd-cats-element .wd-entities-title { max-width: calc(100% - 14px) !important; min-height: 38px !important; margin: 0 auto 8px !important; padding: 7px 10px !important; border-radius: 10px !important; font-size: 11px !important; line-height: 1.15 !important; }
  .tax-product_cat .wd-cats-element .wd-cat-content, .post-type-archive-product .wd-cats-element .wd-cat-content, .page-id-12 .wd-cats-element .wd-cat-content { padding: 8px 8px 10px !important; }
}
@media (max-width: 480px) {
  .wd-cats-element .wd-cat-content.hover-mask .wd-entities-title { max-width: 85% !important; padding: 10px 12px !important; font-size: 11px !important; }
}
@media (max-width: 360px) {
  .wd-cats-element .wd-cat-content.hover-mask .wd-entities-title { padding: 8px 10px !important; font-size: 10px !important; }
}
@media (hover: none) {
  .wd-cats-element .wd-cat-content.hover-mask { visibility: visible !important; opacity: 1 !important; }
  .wd-cats-element .wd-cat-content.hover-mask .wd-entities-title { display: block !important; opacity: 1 !important; }
}
@media (hover: hover) {
  .wd-cats-element .wd-cat-inner:hover .wd-entities-title { transform: translateY(-2px) !important; background-color: rgba(26, 48, 71, 0.98) !important; transition: all 0.3s ease !important; }
}

/* --- Brands Grid --- */
#brands_6513 .wd-carousel-inner { overflow: visible !important; }
#brands_6513 .wd-carousel { display: block !important; transform: none !important; }
#brands_6513 .wd-carousel-wrap { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; width: 100% !important; transform: none !important; }
#brands_6513 .wd-carousel-item { display: block !important; width: auto !important; margin: 0 !important; flex: none !important; }
#brands_6513 .wd-brand-item {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 88px;
  padding: 16px 18px; border: 1px solid #e6edf4; border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); box-shadow: 0 10px 26px rgba(15, 47, 64, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
#brands_6513 .wd-brand-item:hover { transform: translateY(-2px); border-color: #d7e2ed; box-shadow: 0 16px 34px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85); }
#brands_6513 .wd-brand-item img { display: block; width: auto; height: auto; max-width: 170px; max-height: 40px; margin: 0 auto; object-fit: contain; opacity: 0.92; transition: opacity 0.2s ease, transform 0.2s ease; }
#brands_6513 .wd-brand-item:hover img { transform: scale(1.02); opacity: 1; }
#brands_6513 .wd-nav-arrows, #brands_6513 .wd-nav-scroll, #brands_6513 .swiper-notification, #brands_6513 .wd-prev, #brands_6513 .wd-next { display: none !important; }

@media (max-width: 1024px) {
  #brands_6513 .wd-carousel-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
  #brands_6513 .wd-brand-item { min-height: 80px; padding: 14px; border-radius: 16px; }
  #brands_6513 .wd-brand-item img { max-width: 145px; max-height: 34px; }
}
@media (max-width: 767px) {
  #brands_6513 .wd-carousel-wrap { grid-template-columns: 1fr !important; gap: 10px !important; }
  #brands_6513 .wd-brand-item { min-height: 72px; padding: 12px; border-radius: 14px; }
  #brands_6513 .wd-brand-item img { max-width: 130px; max-height: 30px; }
}

/* --- App Cards --- */
.prime-app-cards .info-box-wrapper { height: 100%; }
.prime-app-cards .wpb_column { margin-bottom: 20px !important; }
.prime-app-cards .wd-info-box {
  position: relative !important; display: flex !important; flex-direction: column !important; height: 100% !important;
  min-height: 258px; padding: 18px 18px 16px !important; overflow: hidden !important; border: 1px solid #e4ebf3 !important; border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%) !important;
  box-shadow: 0 14px 34px rgba(15, 47, 64, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease !important;
}
.prime-app-cards .wd-info-box::before { content: "" !important; position: absolute !important; top: 0 !important; left: 18px !important; right: 18px !important; height: 3px !important; border-radius: 999px !important; background: linear-gradient(90deg, #f26c2a 0%, #4f88ad 100%) !important; opacity: 0.95 !important; }
.prime-app-cards .wd-info-box::after { content: "" !important; position: absolute !important; top: -20px !important; right: -20px !important; width: 120px !important; height: 120px !important; border-radius: 50% !important; background: radial-gradient(circle, rgba(79, 136, 173, 0.08) 0%, rgba(79, 136, 173, 0) 72%) !important; pointer-events: none !important; }
.prime-app-cards .wd-info-box:hover { transform: translateY(-3px) !important; border-color: #d4e0eb !important; box-shadow: 0 22px 48px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important; }
.prime-app-cards .wd-info-box .box-icon-wrapper { position: relative; z-index: 2; margin-bottom: 14px !important; }
.prime-app-cards .wd-info-box .info-box-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #e5edf4; border-radius: 14px; background: linear-gradient(180deg, #f5f9fc 0%, #edf3f8 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 6px 14px rgba(15, 47, 64, 0.05); }
.prime-app-cards .wd-info-box .info-svg-wrapper, .prime-app-cards .wd-info-box .info-svg-wrapper img { width: 22px !important; height: 22px !important; }
.prime-app-cards .wd-info-box .info-svg-wrapper img { opacity: 0.9; }
.prime-app-cards .wd-info-box .info-box-content { position: relative; z-index: 2; display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.prime-app-cards .wd-info-box .info-box-title { margin: 0 0 10px !important; color: var(--prime-text-dark, #1e3850) !important; font-size: var(--prime-font-lg, 18px) !important; line-height: var(--prime-lh-title, 1.02) !important; font-weight: var(--prime-fw-semibold, 600) !important; letter-spacing: var(--prime-ls-tight, -0.02em) !important; }
.prime-app-cards .wd-info-box .info-box-inner { flex: 1 1 auto; }
.prime-app-cards .wd-info-box .info-box-inner p { margin: 0 !important; color: var(--prime-text-muted, #58697b) !important; font-size: var(--prime-font-sm, 14px) !important; line-height: var(--prime-lh-base, 1.65) !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; }
.prime-app-cards .wd-info-box .info-box-inner p:empty { display: none !important; }
.prime-app-cards .wd-info-box .info-btn-wrapper { margin-top: 18px !important; }
.prime-app-cards .wd-info-box .info-btn-wrapper .btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 38px !important;
  padding: 8px 13px !important; border: 1px solid #d7e2ec !important; border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.88) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: var(--prime-text, #18384d) !important; font-size: var(--prime-font-xs, 12px) !important; line-height: var(--prime-lh-tight, 1.2) !important;
  font-weight: var(--prime-fw-bold, 700) !important; text-transform: none !important; letter-spacing: 0.02em !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
.prime-app-cards .wd-info-box .info-btn-wrapper .btn:hover { transform: translateY(-1px) !important; border-color: #c7d6e3 !important; background: #ffffff !important; box-shadow: 0 8px 18px rgba(15, 47, 64, 0.08) !important; color: #16384d !important; }
.prime-app-cards .wd-info-box .info-btn-wrapper .wd-btn-icon { margin-left: 6px !important; }
.prime-app-cards .wd-info-box .info-btn-wrapper .wd-btn-icon img { width: 11px !important; height: 11px !important; opacity: 0.72; }

@media (max-width: 1024px) {
  .prime-app-cards .wd-info-box { min-height: 240px; padding: 16px !important; border-radius: 16px !important; }
  .prime-app-cards .wd-info-box::before { left: 16px !important; right: 16px !important; }
  .prime-app-cards .wd-info-box .info-box-title { font-size: 17px !important; }
  .prime-app-cards .wd-info-box .info-box-inner p { font-size: 14px !important; line-height: 1.58 !important; }
}
@media (max-width: 767px) {
  .prime-app-cards .wd-info-box { min-height: 0; padding: 14px !important; border-radius: 14px !important; }
  .prime-app-cards .wd-info-box::before { left: 14px !important; right: 14px !important; }
  .prime-app-cards .wd-info-box .box-icon-wrapper { margin-bottom: 12px !important; }
  .prime-app-cards .wd-info-box .info-box-icon { width: 42px; height: 42px; border-radius: 12px; }
  .prime-app-cards .wd-info-box .info-box-title { margin-bottom: 8px !important; font-size: 16px !important; line-height: 1.22 !important; }
  .prime-app-cards .wd-info-box .info-box-inner p { font-size: 13px !important; line-height: 1.5 !important; }
  .prime-app-cards .wd-info-box .info-btn-wrapper { margin-top: 14px !important; }
  .prime-app-cards .wd-info-box .info-btn-wrapper .btn { min-height: 34px !important; padding: 8px 11px !important; border-radius: 9px !important; font-size: 11px !important; }
}

/* --- Blog / KB Cards --- */
.blog-design-list .wd-post, .archive.category-knowledge-base .wd-post, .blog-style-bg .wd-post { margin-bottom: 0 !important; }
.blog-design-list .wd-post .wd-post-inner, .archive.category-knowledge-base .wd-post .wd-post-inner, .blog-style-bg .wd-post .wd-post-inner,
.wd-post.category-knowledge-base .wd-post-inner, .wd-post.blog-design-list .wd-post-inner {
  display: flex !important; flex-direction: column !important; height: 100% !important; padding: 20px !important;
  border: 1px solid #e6edf4 !important; border-radius: 18px !important; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 12px 30px rgba(15, 47, 64, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.blog-design-list .wd-post:hover .wd-post-inner, .archive.category-knowledge-base .wd-post:hover .wd-post-inner, .blog-style-bg .wd-post:hover .wd-post-inner,
.wd-post.category-knowledge-base:hover .wd-post-inner, .wd-post.blog-design-list:hover .wd-post-inner {
  transform: translateY(-2px) !important; border-color: #d7e2ed !important; box-shadow: 0 18px 40px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}
.blog-design-list .wd-post .wd-post-thumb, .archive.category-knowledge-base .wd-post .wd-post-thumb, .blog-style-bg .wd-post .wd-post-thumb {
  display: flex !important; align-items: center !important; justify-content: center !important; min-height: 140px !important; margin-bottom: 14px !important;
  overflow: hidden !important; border: 1px dashed #d7e2ed !important; border-radius: 14px !important; background: linear-gradient(135deg, #f3f7fb 0%, #ebf1f7 100%) !important;
}
.blog-design-list .wd-post .wd-post-thumb .wd-post-link.wd-fill, .archive.category-knowledge-base .wd-post .wd-post-thumb .wd-post-link.wd-fill, .blog-style-bg .wd-post .wd-post-thumb .wd-post-link.wd-fill { position: relative !important; z-index: 2 !important; }
.blog-design-list .wd-post .wd-post-title, .archive.category-knowledge-base .wd-post .wd-post-title, .blog-style-bg .wd-post .wd-post-title,
.wd-post.category-knowledge-base .wd-post-title, .wd-post.blog-design-list .wd-post-title {
  margin: 0 0 12px !important; color: #16384d !important; font-size: 17px !important; line-height: 1.35 !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
}
.blog-design-list .wd-post .wd-post-title a, .archive.category-knowledge-base .wd-post .wd-post-title a, .blog-style-bg .wd-post .wd-post-title a,
.wd-post.category-knowledge-base .wd-post-title a, .wd-post.blog-design-list .wd-post-title a { display: block !important; color: inherit !important; text-decoration: none !important; transition: color 0.2s ease !important; }
.blog-design-list .wd-post:hover .wd-post-title a, .archive.category-knowledge-base .wd-post:hover .wd-post-title a, .blog-style-bg .wd-post:hover .wd-post-title a,
.wd-post.category-knowledge-base:hover .wd-post-title a, .wd-post.blog-design-list:hover .wd-post-title a { color: #245d86 !important; }
.blog-design-list .wd-post .wd-post-content-inner, .archive.category-knowledge-base .wd-post .wd-post-content-inner, .blog-style-bg .wd-post .wd-post-content-inner { flex: 1 1 auto !important; min-height: 0 !important; }
.blog-design-list .wd-post .wd-post-read-more, .archive.category-knowledge-base .wd-post .wd-post-read-more, .blog-style-bg .wd-post .wd-post-read-more,
.wd-post.category-knowledge-base .wd-post-read-more, .wd-post.blog-design-list .wd-post-read-more { margin-top: auto !important; padding-top: 14px !important; }
.blog-design-list .wd-post .wd-post-read-more .btn, .archive.category-knowledge-base .wd-post .wd-post-read-more .btn, .blog-style-bg .wd-post .wd-post-read-more .btn,
.wd-post.category-knowledge-base .wd-post-read-more .btn, .wd-post.blog-design-list .wd-post-read-more .btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 36px !important;
  padding: 8px 14px !important; border: 1px solid #d7e1ec !important; border-radius: 10px !important; background: #ffffff !important;
  color: #1d4a67 !important; font-size: 12px !important; font-weight: 700 !important; text-transform: none !important; text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}
.blog-design-list .wd-post .wd-post-read-more .btn:hover, .archive.category-knowledge-base .wd-post .wd-post-read-more .btn:hover, .blog-style-bg .wd-post .wd-post-read-more .btn:hover,
.wd-post.category-knowledge-base .wd-post-read-more .btn:hover, .wd-post.blog-design-list .wd-post-read-more .btn:hover {
  transform: translateY(-1px) !important; border-color: #c7d6e3 !important; background: #f7fafc !important; color: #16384d !important;
}
.blog-design-list .wd-posts, .archive.category-knowledge-base .wd-posts, .blog-style-bg .wd-posts { --wd-gap-lg: 18px !important; --wd-gap-sm: 14px !important; }

@media (max-width: 767px) {
  .blog-design-list .wd-post .wd-post-inner, .archive.category-knowledge-base .wd-post .wd-post-inner, .blog-style-bg .wd-post .wd-post-inner,
  .wd-post.category-knowledge-base .wd-post-inner, .wd-post.blog-design-list .wd-post-inner { padding: 16px !important; border-radius: 16px !important; }
  .blog-design-list .wd-post .wd-post-thumb, .archive.category-knowledge-base .wd-post .wd-post-thumb, .blog-style-bg .wd-post .wd-post-thumb { min-height: 120px !important; margin-bottom: 12px !important; border-radius: 12px !important; }
  .blog-design-list .wd-post .wd-post-title, .archive.category-knowledge-base .wd-post .wd-post-title, .blog-style-bg .wd-post .wd-post-title,
  .wd-post.category-knowledge-base .wd-post-title, .wd-post.blog-design-list .wd-post-title { font-size: 15px !important; line-height: 1.32 !important; }
  .blog-design-list .wd-post .wd-post-read-more .btn, .archive.category-knowledge-base .wd-post .wd-post-read-more .btn, .blog-style-bg .wd-post .wd-post-read-more .btn,
  .wd-post.category-knowledge-base .wd-post-read-more .btn, .wd-post.blog-design-list .wd-post-read-more .btn { min-height: 34px !important; padding: 7px 12px !important; font-size: 11px !important; }
}

/* --- Homepage Timeline --- */
.prime-process-v3 {
  position: relative; padding: 28px 24px 20px; border: 1px solid #e6edf4; border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(79,136,173,0.06) 0%, rgba(79,136,173,0) 24%), linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 14px 34px rgba(15, 47, 64, 0.05), inset 0 1px 0 rgba(255,255,255,0.82); overflow: hidden;
}
.prime-process-v3::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #f26c2a 0%, #4f88ad 100%); opacity: 0.9; }
.prime-process-v3__head { margin-bottom: 24px; text-align: center; }
.prime-process-v3__title { margin: 0 0 8px; color: #173d55; font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.prime-process-v3__subtitle { max-width: 760px; margin: 0 auto; color: #617284; font-size: 15px; line-height: 1.68; }
.prime-process-v3__timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: start; padding-top: 24px; }
.prime-process-v3__timeline::before { content: ""; position: absolute; top: 13px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, rgba(242,108,42,0.28) 0%, rgba(79,136,173,0.26) 100%); z-index: 0; }
.prime-process-v3__step { position: relative; z-index: 1; min-width: 0; }
.prime-process-v3__node { position: relative; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto 14px; border: 1px solid rgba(242,108,42,0.22); border-radius: 999px; background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%); box-shadow: 0 5px 12px rgba(15, 47, 64, 0.05), inset 0 1px 0 rgba(255,255,255,0.85); }
.prime-process-v3__node::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: linear-gradient(180deg, #f26c2a 0%, #e7611e 100%); }
.prime-process-v3__node span { position: relative; z-index: 1; color: #ffffff; font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: 0.06em; }
.prime-process-v3__body { position: relative; min-height: 126px; padding: 0 4px 0 2px; text-align: left; }
.prime-process-v3__step-title { margin: 0 0 8px; color: #173d55; font-size: 15px; line-height: 1.26; font-weight: 600; letter-spacing: -0.01em; }
.prime-process-v3__text { margin: 0; color: #5d7080; font-size: 13px; line-height: 1.58; }
.prime-process-v3__step:not(:last-child) .prime-process-v3__body::after { content: ""; position: absolute; top: 0; right: -9px; width: 1px; height: 72px; background: linear-gradient(180deg, rgba(223,232,240,0) 0%, rgba(223,232,240,0.92) 20%, rgba(223,232,240,0.4) 100%); }
.prime-process-v3__step:hover .prime-process-v3__step-title { color: #1f5578; }
.prime-process-v3__step:hover .prime-process-v3__node { border-color: rgba(242,108,42,0.34); box-shadow: 0 8px 18px rgba(15, 47, 64, 0.08), inset 0 1px 0 rgba(255,255,255,0.9); }

@media (max-width: 1280px) {
  .prime-process-v3__timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; padding-top: 0; }
  .prime-process-v3__timeline::before { display: none; }
  .prime-process-v3__node { margin-left: 0; margin-right: 0; }
  .prime-process-v3__body { min-height: 0; padding-right: 0; }
  .prime-process-v3__step:not(:last-child) .prime-process-v3__body::after { display: none; }
}
@media (max-width: 1024px) {
  .prime-process-v3 { padding: 24px 20px 18px; border-radius: 20px; }
  .prime-process-v3::before { left: 20px; right: 20px; }
  .prime-process-v3__head { margin-bottom: 20px; }
  .prime-process-v3__title { font-size: 26px; }
  .prime-process-v3__subtitle { font-size: 14px; }
  .prime-process-v3__timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .prime-process-v3__step-title { font-size: 15px; }
  .prime-process-v3__text { font-size: 13px; line-height: 1.56; }
}
@media (max-width: 767px) {
  .prime-process-v3 { padding: 20px 16px 14px; border-radius: 18px; }
  .prime-process-v3::before { left: 16px; right: 16px; }
  .prime-process-v3__head { margin-bottom: 18px; text-align: left; }
  .prime-process-v3__title { font-size: 22px; line-height: 1.14; }
  .prime-process-v3__subtitle { margin: 0; font-size: 14px; line-height: 1.58; }
  .prime-process-v3__timeline { display: block; padding-top: 0; }
  .prime-process-v3__timeline::before { display: none; }
  .prime-process-v3__step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; margin-bottom: 14px; }
  .prime-process-v3__step:last-child { margin-bottom: 0; padding-bottom: 0; }
  .prime-process-v3__step::before { content: ""; position: absolute; top: 28px; left: 13px; bottom: -14px; width: 1px; background: linear-gradient(180deg, rgba(242,108,42,0.22) 0%, rgba(79,136,173,0.2) 100%); }
  .prime-process-v3__step:last-child::before { display: none; }
  .prime-process-v3__node { width: 28px; height: 28px; margin: 0; }
  .prime-process-v3__body { min-height: 0; padding: 2px 0 0; }
  .prime-process-v3__step-title { margin-bottom: 7px; font-size: 16px; line-height: 1.24; }
  .prime-process-v3__text { font-size: 13px; line-height: 1.55; }
}

/* --- Prime Tech Specs --- */
.prime-spec-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prime-spec-card { position: relative; background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.prime-spec-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15, 47, 64, 0.12); border-color: #cbd5e1; }
.prime-spec-card__header { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 1px solid #e2e8f0; }
.prime-spec-card__code { font-size: 15px; font-weight: 700; color: #1e3a5f; letter-spacing: 0.02em; }
.prime-spec-card__desc { font-size: 13px; color: #64748b; font-weight: 500; }
.prime-spec-card__image { padding: 24px; min-height: 220px; display: flex; align-items: center; justify-content: center; background: #ffffff; }
.prime-spec-placeholder { font-size: 12px; color: #94a3b8; text-align: center; padding: 12px; border: 2px dashed #e2e8f0; border-radius: 8px; background: #f8fafc; }

@media (max-width: 1200px) { .prime-spec-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .prime-tech-specs { padding: 32px 0; }
  .prime-tech-specs__container { padding: 0 16px; }
  .prime-tech-specs__title { font-size: 24px; }
  .prime-spec-group { padding: 18px; }
  .prime-spec-cards { grid-template-columns: 1fr; gap: 14px; }
  .prime-spec-card__header { padding: 10px 12px; }
  .prime-spec-card__code { font-size: 14px; }
  .prime-spec-card__image { padding: 18px; min-height: 180px; }
}
@media (max-width: 480px) { .prime-spec-card__image { min-height: 160px; padding: 16px; } }

/* --- Cookies Consent --- */
.wd-cookies-popup.popup-display {
  position: fixed !important; bottom: 24px !important; left: 50% !important; transform: translateX(-50%) !important; z-index: 9999 !important;
  width: calc(100% - 48px) !important; max-width: 720px !important; padding: 0 !important; background: transparent !important;
  border: 0 !important; box-shadow: none !important; animation: primeCookieSlideUp 0.35s ease-out;
}
@keyframes primeCookieSlideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.wd-cookies-popup .wd-cookies-inner {
  padding: 20px 24px !important; border-radius: 18px !important; border: 1px solid #e6edf4 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important; box-shadow: 0 24px 60px rgba(15, 47, 64, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important; backdrop-filter: blur(8px) !important;
}
.wd-cookies-popup .cookies-info-text { margin-bottom: 16px !important; }
.wd-cookies-popup .cookies-info-text p { margin: 0 !important; font-size: 14px !important; line-height: 1.6 !important; color: #516273 !important; }
.wd-cookies-popup .cookies-info-text a { color: #1d4a67 !important; font-weight: 600 !important; text-decoration: none !important; border-bottom: 1px solid rgba(29, 74, 103, 0.2) !important; transition: color 0.2s ease, border-color 0.2s ease !important; }
.wd-cookies-popup .cookies-info-text a:hover { color: #f26c2a !important; border-bottom-color: rgba(242, 108, 42, 0.4) !important; }
.wd-cookies-popup .cookies-buttons { display: flex !important; align-items: center !important; gap: 12px !important; flex-wrap: wrap !important; }
.wd-cookies-popup .cookies-more-btn {
  display: inline-flex !important; align-items: center !important; min-height: 44px !important; padding: 10px 18px !important;
  border-radius: 12px !important; border: 1px solid #d7e1ec !important; background: rgba(255, 255, 255, 0.7) !important;
  color: #1b2a3a !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease !important; backdrop-filter: blur(4px) !important;
}
.wd-cookies-popup .cookies-more-btn:hover { background: #ffffff !important; border-color: #c6d3e1 !important; color: #16384d !important; transform: translateY(-1px) !important; }
.wd-cookies-popup .cookies-accept-btn, .wd-cookies-popup .cookies-accept-btn.btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 120px !important;
  min-height: 44px !important; padding: 10px 20px !important; border-radius: 12px !important; border: 1px solid transparent !important;
  background: #f26c2a !important; color: #ffffff !important; font-size: 13px !important; font-weight: 700 !important;
  text-decoration: none !important; box-shadow: 0 10px 24px rgba(242, 108, 42, 0.22) !important; transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease !important;
}
.wd-cookies-popup .cookies-accept-btn:hover, .wd-cookies-popup .cookies-accept-btn.btn:hover { background: #e7601d !important; transform: translateY(-1px) !important; box-shadow: 0 12px 28px rgba(242, 108, 42, 0.28) !important; }
.wd-cookies-popup .screen-reader-text { display: none !important; }

@media (max-width: 767px) {
  .wd-cookies-popup.popup-display { bottom: 16px !important; width: calc(100% - 32px) !important; max-width: none !important; }
  .wd-cookies-popup .wd-cookies-inner { padding: 16px 18px !important; border-radius: 16px !important; }
  .wd-cookies-popup .cookies-info-text p { font-size: 13px !important; line-height: 1.55 !important; }
  .wd-cookies-popup .cookies-buttons { gap: 10px !important; }
  .wd-cookies-popup .cookies-more-btn, .wd-cookies-popup .cookies-accept-btn, .wd-cookies-popup .cookies-accept-btn.btn { min-height: 42px !important; padding: 9px 16px !important; font-size: 12px !important; }
  .wd-cookies-popup .cookies-accept-btn, .wd-cookies-popup .cookies-accept-btn.btn { min-width: 100px !important; }
}
@media (max-width: 420px) {
  .wd-cookies-popup .cookies-buttons { flex-direction: column !important; align-items: stretch !important; }
  .wd-cookies-popup .cookies-more-btn, .wd-cookies-popup .cookies-accept-btn, .wd-cookies-popup .cookies-accept-btn.btn { width: 100% !important; justify-content: center !important; }
}

/* --- Prime Materials Table --- */
.single-product .primer-materials-table { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3ebf1; }
.single-product .primer-materials-table__title { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #234a67; text-transform: uppercase; letter-spacing: 0.03em; }
.single-product .primer-materials-table__rows { border: 1px solid #e2eaf0; border-radius: 10px; overflow: hidden; background: #f9fcfe; }
.single-product .primer-materials-table__row { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid #e2eaf0; }
.single-product .primer-materials-table__row:last-child { border-bottom: none; }
.single-product .primer-materials-table__label { padding: 10px 12px; font-size: 12px; font-weight: 700; color: #2a4d67; background: #f1f6fa; }
.single-product .primer-materials-table__value { padding: 10px 12px; font-size: 12px; line-height: 1.45; color: #61798d; background: #fff; }
@media (max-width: 767px) { .single-product .primer-materials-table { display: none; } }

/* --- Compact Catalog Products --- */
.prime-catalog-products .products.wd-products { --wd-col-lg: 4 !important; --wd-col-md: 2 !important; --wd-col-sm: 1 !important; --wd-gap-lg: 16px !important; --wd-gap-sm: 10px !important; margin-top: 0; }
.prime-catalog-products .products.wd-products .wd-product { margin-bottom: 0; }
.prime-catalog-products .products.wd-products .product-wrapper { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 112px; padding: 10px; border: 1px solid #e6edf4; border-radius: 16px; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); box-shadow: 0 10px 26px rgba(15, 47, 64, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.prime-catalog-products .products.wd-products .wd-product:hover .product-wrapper { transform: translateY(-2px); border-color: #d7e2ed; box-shadow: 0 16px 34px rgba(15, 47, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85); }
.prime-catalog-products .products.wd-products .product-element-top { margin: 0; }
.prime-catalog-products .products.wd-products .product-image-link { display: block; width: 92px; min-width: 92px; overflow: hidden; border: 1px solid #edf2f7; border-radius: 12px; background: linear-gradient(180deg, #f4f7fa 0%, #eef3f8 100%); }
.prime-catalog-products .products.wd-products .product-image-link img { display: block; width: 100%; height: 92px; padding: 8px; object-fit: contain; background: transparent; }
.prime-catalog-products .products.wd-products .product-element-bottom { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 0; }
.prime-catalog-products .products.wd-products .wd-entities-title { margin: 0; color: #16384d; font-size: 14px; line-height: 1.3; font-weight: 500; }
.prime-catalog-products .products.wd-products .wd-entities-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.prime-catalog-products .products.wd-products .wd-product:hover .wd-entities-title a { color: #245d86; }
.prime-catalog-products .products.wd-products .price { margin: 0; color: #f26c2a; font-size: 12px; line-height: 1.3; font-weight: 500; }
.prime-catalog-products .products.wd-products .price .amount,
.prime-catalog-products .products.wd-products .price .woocommerce-Price-amount,
.prime-catalog-products .products.wd-products .price .woocommerce-Price-currencySymbol { color: inherit; }

@media (min-width: 1025px) {
  .prime-catalog-products .products.wd-products .product-wrapper { grid-template-columns: 88px minmax(0, 1fr); min-height: 108px; }
  .prime-catalog-products .products.wd-products .product-image-link { width: 88px; min-width: 88px; }
  .prime-catalog-products .products.wd-products .product-image-link img { height: 88px; }
}
@media (max-width: 1024px) {
  .prime-catalog-products .products.wd-products .product-wrapper { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; min-height: 104px; border-radius: 15px; }
  .prime-catalog-products .products.wd-products .product-image-link { width: 84px; min-width: 84px; }
  .prime-catalog-products .products.wd-products .product-image-link img { height: 84px; padding: 7px; }
  .prime-catalog-products .products.wd-products .wd-entities-title { font-size: 13px; }
}
@media (max-width: 767px) {
  .prime-catalog-products .products.wd-products { --wd-gap-sm: 10px !important; }
  .prime-catalog-products .products.wd-products .product-wrapper { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; min-height: 100px; padding: 9px; border-radius: 14px; }
  .prime-catalog-products .products.wd-products .product-image-link { width: 82px; min-width: 82px; border-radius: 11px; }
  .prime-catalog-products .products.wd-products .product-image-link img { height: 82px; padding: 6px; }
  .prime-catalog-products .products.wd-products .product-element-bottom { gap: 4px; }
  .prime-catalog-products .products.wd-products .wd-entities-title { font-size: 13px; line-height: 1.24; }
  .prime-catalog-products .products.wd-products .price { font-size: 12px; line-height: 1.24; }
}
@media (max-width: 480px) {
  .prime-catalog-products .products.wd-products .product-wrapper { grid-template-columns: 78px minmax(0, 1fr); gap: 9px; min-height: 96px; padding: 8px; }
  .prime-catalog-products .products.wd-products .product-image-link { width: 78px; min-width: 78px; }
  .prime-catalog-products .products.wd-products .product-image-link img { height: 78px; padding: 5px; }
  .prime-catalog-products .products.wd-products .wd-entities-title { font-size: 13.5px; }
  .prime-catalog-products .products.wd-products .price { font-size: 11.5px; }
}

/* =========================================================
06. TITLES / SECTION HEADERS & SIDEBAR
========================================================= */
/* Unified Section Titles */
.title-wrapper.wd-title-style-shadow { max-width: 1160px !important; margin: 0 auto 32px !important; padding: 24px 20px !important; border: 1px solid #e6edf4 !important; border-radius: 18px !important; background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important; box-shadow: 0 12px 28px rgba(15, 47, 64, 0.06) !important; }
.title-wrapper.wd-title-style-shadow .liner-continer { margin-bottom: 10px !important; }
.title-wrapper.wd-title-style-shadow .woodmart-title-container.title { margin: 0 !important; color: #2b5d84 !important; font-size: 28px !important; line-height: 1.2 !important; font-weight: 500 !important; text-align: center !important; text-transform: uppercase !important; letter-spacing: 0.02em !important; }
.title-wrapper.wd-title-style-shadow .title-after_title, .title-after_title.wd-fontsize-xs { max-width: 820px !important; margin: 0 auto !important; color: #58697b !important; font-size: 16px !important; line-height: 1.65 !important; font-weight: 400 !important; letter-spacing: 0 !important; text-align: center !important; }
.vc_row + .title-wrapper.wd-title-style-shadow { margin-top: 64px !important; }
.title-wrapper.wd-title-style-shadow + .vc_row { margin-top: 0 !important; }

@media (max-width: 1024px) {
  .title-wrapper.wd-title-style-shadow { margin-bottom: 28px !important; padding: 22px 18px !important; }
  .title-wrapper.wd-title-style-shadow .woodmart-title-container.title { font-size: 24px !important; }
  .title-wrapper.wd-title-style-shadow .title-after_title, .title-after_title.wd-fontsize-xs { font-size: 15px !important; line-height: 1.6 !important; }
}
@media (max-width: 767px) {
  .title-wrapper.wd-title-style-shadow { margin-bottom: 24px !important; padding: 20px 16px !important; border-radius: 16px !important; }
  .title-wrapper.wd-title-style-shadow .woodmart-title-container.title { font-size: 22px !important; line-height: 1.18 !important; }
  .title-wrapper.wd-title-style-shadow .title-after_title, .title-after_title.wd-fontsize-xs { font-size: 14px !important; line-height: 1.55 !important; }
}

/* Prime Tech Sidebar */
.prime-tech-sidebar .widget-area { padding: 0 !important; }
.prime-sidebar-widget { padding: 18px 16px; border: 1px solid #e6edf4; border-radius: 18px; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); box-shadow: 0 12px 30px rgba(15, 47, 64, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76); }
.prime-sidebar-title { margin: 0 0 16px !important; padding-bottom: 10px !important; border-bottom: 1px solid #eef3f8 !important; color: #5e7387 !important; font-size: 12px !important; line-height: 1.2 !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; }
.prime-tech-nav { display: flex; flex-direction: column; gap: 8px; }
.prime-tech-nav__item { display: block; padding: 11px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-decoration: none !important; transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease; }
.prime-tech-nav__item:hover { transform: translateX(2px); border-color: #e2ebf3; background: linear-gradient(180deg, #f5f9fc 0%, #edf3f8 100%); }
.prime-tech-nav__text { display: block; color: #1d4a67; font-size: 14px; line-height: 1.35; font-weight: 500; word-break: break-word; }

@media (max-width: 767px) {
  .prime-sidebar-widget { padding: 15px 13px; border-radius: 14px; }
  .prime-sidebar-title { margin-bottom: 12px !important; padding-bottom: 8px !important; font-size: 11px !important; }
  .prime-tech-nav__item { padding: 10px 11px; }
  .prime-tech-nav__text { font-size: 13px; }
}

/* =========================================================
07. BREADCRUMBS & ATTRIBUTES
========================================================= */
/* Generic Home Icon */
.woocommerce-breadcrumb a[href="https://primer.su"]:first-child { position: relative; width: 16px; height: 16px; padding-left: 18px; overflow: hidden; font-size: 0; }
.woocommerce-breadcrumb a[href="https://primer.su"]:first-child::before { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 16px; transform: translateY(-50%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: contain; }

/* Single Product Breadcrumbs */
.single-breadcrumbs-wrapper { margin: 0 !important; padding: 1px 0 14px !important; background: transparent !important; }
.single-breadcrumbs-wrapper .wd-grid-f.container { max-width: 1280px !important; padding: 0 24px !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 2px !important; margin: 0 !important; padding: 0 !important; color: #6b7f8f !important; font-size: 13px !important; line-height: 1.2 !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a { display: inline-flex !important; align-items: center !important; padding: 4px 6px !important; border-radius: 6px !important; color: #6b7f8f !important; font-weight: 500 !important; text-decoration: none !important; transition: color 0.2s ease !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a:hover { background: rgba(29, 74, 103, 0.04) !important; color: #1d4a67 !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child { position: relative !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 28px !important; height: 28px !important; padding-left: 28px !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child::before { content: "" !important; position: absolute !important; top: 50% !important; left: 0 !important; width: 18px !important; height: 18px !important; transform: translateY(-50%) !important; opacity: 0.85 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E") !important; background-position: center !important; background-repeat: no-repeat !important; background-size: contain !important; transition: opacity 0.2s ease !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child:hover::before { opacity: 1 !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child span { display: none !important; }
.single-breadcrumbs-wrapper .wd-delimiter { display: inline-flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; padding: 0 4px !important; color: #9aaebf !important; font-size: 14px !important; line-height: 1 !important; }
.single-breadcrumbs-wrapper .wd-delimiter::after { content: "/" !important; font-weight: 400 !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a.wd-last-link { display: inline-flex !important; align-items: center !important; padding: 4px 8px !important; border-radius: 6px !important; background: rgba(29, 74, 103, 0.06) !important; color: #1d4a67 !important; font-weight: 600 !important; transition: background 0.2s ease, color 0.2s ease !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs a.wd-last-link:hover { background: rgba(29, 74, 103, 0.1) !important; color: #16384d !important; }
.single-breadcrumbs-wrapper .wd-breadcrumbs .wd-last { display: inline-block !important; padding: 4px 6px !important; color: #6b7f8f !important; font-weight: 500 !important; }

@media (max-width: 767px) {
  .single-breadcrumbs-wrapper { padding: 12px 0 10px !important; }
  .single-breadcrumbs-wrapper .wd-grid-f.container { padding: 0 16px !important; }
  .single-breadcrumbs-wrapper .wd-breadcrumbs { gap: 1px !important; font-size: 11px !important; }
  .single-breadcrumbs-wrapper .wd-breadcrumbs a { padding: 3px 5px !important; }
  .single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child { min-width: 24px !important; height: 24px !important; padding-left: 24px !important; }
  .single-breadcrumbs-wrapper .wd-breadcrumbs a[href="https://primer.su"]:first-child::before { width: 16px !important; height: 16px !important; }
  .single-breadcrumbs-wrapper .wd-delimiter { padding: 0 3px !important; font-size: 12px !important; }
  .single-breadcrumbs-wrapper .wd-breadcrumbs .wd-last { padding: 3px 6px !important; }
}

/* Hide Catalog Breadcrumbs */
.tax-product_cat .woocommerce-breadcrumb, .post-type-archive-product .woocommerce-breadcrumb, .term-product_brand .woocommerce-breadcrumb,
.tax-product_cat .single-breadcrumbs-wrapper, .post-type-archive-product .single-breadcrumbs-wrapper, .term-product_brand .single-breadcrumbs-wrapper,
.tax-product_cat .wd-breadcrumbs, .post-type-archive-product .wd-breadcrumbs, .term-product_brand .wd-breadcrumbs { display: none !important; }

/* Attribute & Price Badges */
.woocommerce-product-attributes-item__value { display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-product-attributes-item__value .wd-attr-term p { margin: 0; }
.woocommerce-product-attributes-item__value .wd-attr-term + text { display: none; }

.tax-product_cat .woocommerce-product-attributes td a,
.single-product .woocommerce-product-attributes td a,
.post-type-archive-product .woocommerce-product-attributes td a {
  display: inline-flex !important; align-items: center !important; margin: 0 6px 6px 0 !important; padding: 5px 11px !important;
  border: 1px solid rgba(27, 74, 99, 0.14) !important; border-radius: 999px !important; background: rgba(27, 74, 99, 0.08) !important;
  color: #1d4a67 !important; font-size: 13px !important; font-weight: 500 !important; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}
.tax-product_cat .woocommerce-product-attributes td a:hover,
.single-product .woocommerce-product-attributes td a:hover,
.post-type-archive-product .woocommerce-product-attributes td a:hover {
  transform: translateY(-1px) !important; border-color: rgba(27, 74, 99, 0.22) !important; background: rgba(27, 74, 99, 0.14) !important; color: #f47b4c !important;
}
.single-product .price, .tax-product_cat .price, .post-type-archive-product .price {
  display: inline-flex !important; align-items: center !important; min-height: 24px !important; padding: 4px 4px !important;
  border: 1px solid rgba(242, 108, 42, 0.18) !important; border-radius: 12px !important; background: rgba(242, 108, 42, 0.08) !important;
}
.single-product .price .woocommerce-Price-amount, .tax-product_cat .price .woocommerce-Price-amount, .post-type-archive-product .price .woocommerce-Price-amount { font-size: 14px !important; font-weight: 700 !important; }
.woocommerce .price { display: inline-flex; align-items: baseline; gap: 4px; }
.woocommerce .price .woocommerce-Price-amount { margin-left: 4px; }

/* =========================================================
08. PAGINATION
========================================================= */
.tax-product_cat nav.woocommerce-pagination,
.post-type-archive-product nav.woocommerce-pagination,
.term-product_brand nav.woocommerce-pagination { margin-top: 34px; text-align: center; }
.tax-product_cat nav.woocommerce-pagination ul,
.post-type-archive-product nav.woocommerce-pagination ul,
.term-product_brand nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0 !important; background: transparent; }
.tax-product_cat nav.woocommerce-pagination ul li,
.post-type-archive-product nav.woocommerce-pagination ul li,
.term-product_brand nav.woocommerce-pagination ul li { border: 0 !important; }
.tax-product_cat nav.woocommerce-pagination ul li span,
.tax-product_cat nav.woocommerce-pagination ul li a,
.post-type-archive-product nav.woocommerce-pagination ul li span,
.post-type-archive-product nav.woocommerce-pagination ul li a,
.term-product_brand nav.woocommerce-pagination ul li span,
.term-product_brand nav.woocommerce-pagination ul li a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #e2ebf3; border-radius: 12px;
  background: #fff; color: #16384d; font-size: 14px; text-decoration: none; transition: all 0.2s ease;
}
.tax-product_cat nav.woocommerce-pagination ul li span.current,
.post-type-archive-product nav.woocommerce-pagination ul li span.current,
.term-product_brand nav.woocommerce-pagination ul li span.current { border-color: #f26c2a; background: #f26c2a; color: #fff; }
.tax-product_cat nav.woocommerce-pagination ul li a:hover,
.post-type-archive-product nav.woocommerce-pagination ul li a:hover,
.term-product_brand nav.woocommerce-pagination ul li a:hover { border-color: #cfddea; background: #f9fbfd; }

@media (max-width: 767px) {
  .tax-product_cat nav.woocommerce-pagination, .post-type-archive-product nav.woocommerce-pagination, .term-product_brand nav.woocommerce-pagination { margin-top: 24px; }
  .tax-product_cat nav.woocommerce-pagination ul li span, .tax-product_cat nav.woocommerce-pagination ul li a,
  .post-type-archive-product nav.woocommerce-pagination ul li span, .post-type-archive-product nav.woocommerce-pagination ul li a,
  .term-product_brand nav.woocommerce-pagination ul li span, .term-product_brand nav.woocommerce-pagination ul li a { width: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
}

/* =========================================================
   ФИНАЛЬНАЯ ЧИСТКА: АТРИБУТЫ В МЕТА И МАТЕРИАЛЫ
========================================================= */

/* 1. ПОЛНОСТЬЮ СКРЫВАЕМ СТАНДАРТНЫЕ ТАБЛИЦЫ АТРИБУТОВ ВЕЗДЕ */
.summary.entry-summary .woocommerce-product-attributes,
.summary.entry-summary .shop_attributes,
.primer-left-attributes {
    display: none !important;
}

/* 2. СТИЛИ ДЛЯ АТРИБУТОВ В ЗОНЕ МЕТА (УЗКИЕ ПОЛОСКИ) */
.primer-meta-attributes {
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.primer-meta-row {
    font-size: 13px;
    line-height: 1.8;
    color: #7e8e9e; /* Спокойный серый цвет */
}

.primer-meta-label {
    font-weight: 700;
    color: #475569;
    margin-right: 5px;
}

.primer-meta-value {
    color: #1e3a5f;
}

/* Стилизуем саму категорию, чтобы она была в том же стиле */
.product_meta {
    font-size: 13px !important;
    color: #7e8e9e !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 5px !important;
}

.product_meta .meta-label {
    font-weight: 700 !important;
    color: #475569 !important;
}

/* 3. ТАБЛИЦА МАТЕРИАЛОВ (В ЦЕНТРЕ) */
.primer-materials-table {
    margin: 25px 0 !important;
    background: transparent;
}

.primer-materials-table__title {
    padding: 0 0 10px 0;
    font-weight: 700;
    font-size: 13px;
    color: #1e3a5f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.primer-materials-table__rows {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.primer-materials-table__row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.primer-materials-table__row:last-child {
    border-bottom: none;
}

.primer-materials-table__label {
    width: 25%;
    background: #f4f7f9; /* Тот самый серо-голубой */
    padding: 10px 15px;
    font-weight: 700;
    font-size: 13px;
    color: #1e3a5f;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.primer-materials-table__value {
    width: 75%;
    padding: 10px 15px;
    font-size: 14px;
    color: #475569;
    background: #ffffff;
    line-height: 1.5;
}

/* 4. УБИРАЕМ ЛИШНИЕ ОТСТУПЫ У ГАЛЕРЕИ */
.woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

/* Стили для ссылок в атрибутах мета-зоны */
.primer-meta-value a {
    color: #1e3a5f; /* Твой темно-синий цвет */
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px dotted rgba(30, 58, 95, 0.2); /* Тонкое подчеркивание, чтобы было понятно, что это ссылка */
}

.primer-meta-value a:hover {
    color: #f26c2a; /* Оранжевый акцент при наведении */
    border-bottom-color: #f26c2a;
}

/* Убираем подчеркивание у запятых между ссылками */
.primer-meta-value {
    color: #7e8e9e; 
}

/* =========================================================
   САЙДБАР PRIMER V4 (ВСЁ В ОДНОМ: ЦЕНА + КП + PDF)
========================================================= */

/* 1. ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ САЙДБАРА ПО ВЫСОТЕ H1 */
@media (min-width: 1025px) {
    .single-product .sidebar-container {
        padding-top: 0 !important;
        margin-top: -70px !important; /* Подгонка по высоте H1 */
        z-index: 10;
    }
    .single-product .widget-area,
    .single-product .widget-area .widget {
        padding-top: 0 !important;
        margin-top: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
    }
    .single-product .widget-area .widget::before, 
    .single-product .widget-area .widget::after {
        display: none !important;
    }
    .single-product .widget-area .widget-title {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
}

/* 2. ГЛАВНЫЙ КОНТЕЙНЕР (Приподнят) */
.primer-v3-sidebar {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    border-radius: 12px !important; /* Красивое скругление */
    overflow: hidden !important;
    font-family: Arial, sans-serif !important;
    box-shadow: 0 12px 30px rgba(15, 47, 64, 0.08) !important; /* Мягкая объемная тень */
    display: block !important;
    transition: box-shadow 0.3s ease !important;
}
.primer-v3-sidebar:hover {
    box-shadow: 0 16px 40px rgba(15, 47, 64, 0.12) !important; /* Тень чуть усиливается при наведении */
}

/* 3. СТРОКИ (Цена и Заказ) */
.pv3-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.pv3-qty {
    background-color: #f8fafc !important;
}
.pv3-label {
    font-size: 14px !important;
    color: #64748b !important;
}
.pv3-price-amount, .pv3-value {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
}
/* "Цена" */
.pv3-price-amount .price-label {
    display: none !important;
}
.pv3-price-amount .amount, .pv3-price-amount ins {
    color: #1e3a5f !important;
    text-decoration: none !important;
    font-size: 16px !important;
}

/* 4. БЛОК КНОПОК (В ОДИН РЯД) */
.pv3-btn-wrap { 
    padding: 20px !important; 
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important; /* Кнопки одинаковой высоты */
}

/* Главная кнопка (Запросить КП) */
.pv3-button {
    flex: 1 !important; /* Занимает всё свободное место */
    margin: 0 !important;
    background: linear-gradient(180deg, #1D455D 0%, #204961 100%) !important;
    color: #ffffff !important;
    padding: 12px 10px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}
.pv3-button:hover { 
    filter: brightness(1.1) !important; 
    box-shadow: 0 4px 15px rgba(29, 69, 93, 0.3) !important;
}

/* Боковые кнопки (PDF / Конфигуратор) */
.pv3-side-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    
    /* 1. УМЕНЬШАЕМ ОТСТУПЫ (было 8px 12px, стало 8px 8px) */
    padding: 6px 6px !important; 
    
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    
    /* 2. УМЕНЬШАЕМ ШИРИНУ (было 105px, сделай 85px или 90px) */
    min-width: 60px !important; 
}

/* Бейджики */
.pv3-badge-pdf {
    background: #f26c2a !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    padding: 1px 3px !important;
    border-radius: 2px !important;
    margin-bottom: 6px !important; /* Отступ от бейджа до текста */
    display: inline-block !important;
}
.pv3-badge-config {
    background: #1e3a5f !important;
    color: #fff !important;
    font-size: 12px !important;
    padding: 0 4px !important;
    border-radius: 3px !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* Нижняя часть боковой кнопки (Текст + Иконка) */
.pv3-side-bottom {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important; /* Расстояние между текстом и стрелочкой */
}

/* Текст под бейджем */
.pv3-side-text {
    font-size: 8px !important;
    line-height: 1.1 !important;
    color: #475569 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Иконка скачивания */
.pv3-icon-dl {
    width: 14px !important;
    height: 14px !important;
    color: #1e3a5f !important;
    flex-shrink: 0 !important;
}

/* 5. КОНТАКТЫ */
.pv3-contacts {
    padding: 0 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}
.pv3-contact-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}
.pv3-contact-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.pv3-contact-link {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.pv3-contact-link:hover {
    color: #f26c2a !important;
}

/* Блок копирования Email */
.pv3-email-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    width: fit-content !important;
}
.pv3-copy-icon {
    width: 14px !important;
    height: 14px !important;
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
}
.pv3-email-wrapper:hover .pv3-copy-icon {
    color: #f26c2a !important; /* Иконка рыжеет при наведении */
}
.pv3-email-wrapper:hover .pv3-contact-link {
    color: #f26c2a !important;
}

/* Всплывающая плашка (Тултип) */
.pv3-tooltip {
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #1e3a5f !important;
    color: #ffffff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s ease !important;
    margin-bottom: 8px !important;
    pointer-events: none !important;
    z-index: 100 !important;
}
/* Треугольник под плашкой */
.pv3-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 4px !important;
    border-style: solid !important;
    border-color: inherit !important;
    border-bottom-color: transparent !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
}
.pv3-email-wrapper:hover .pv3-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 6. УТП (ГАЛОЧКИ) */
.pv3-usps {
    background: #fafafa !important;
    padding: 15px 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.pv3-usp { 
    font-size: 12px !important; 
    color: #475569 !important; 
    display: flex !important; 
    align-items: center !important; 
    gap: 8px !important; 
}
.pv3-usp span { 
    color: #f26c2a !important; 
    font-weight: bold !important; 
}

/* 7. СКРЫВАЕМ ДУБЛЬ ЦЕНЫ В ЦЕНТРЕ СТРАНИЦЫ */
.single-product .summary-inner > .price,
.single-product .summary > .price {
    display: none !important;
}

/* 8. СПАСАЕМ SEO НА МОБИЛЬНЫХ (Принудительный показ) */
@media (max-width: 767px) {
    .single-product .primer-materials-table,
    .primer-misumi-materials {
        display: block !important;
    }
    .single-product .sidebar-container {
        margin-top: 30px !important;
    }
}

/* =========================================================
   СТИЛИ ДЛЯ НАСТОЯЩЕЙ КОРЗИНЫ (СЧЕТЧИК КОЛИЧЕСТВА)
========================================================= */
.pv3-qty-real {
    background-color: #f8fafc !important;
}
.primer-quantity-selector {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    height: 32px !important;
}
.primer-quantity-selector button {
    background: transparent !important;
    border: none !important;
    color: #475569 !important;
    font-size: 16px !important;
    width: 30px !important;
    height: 100% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}
.primer-quantity-selector button:hover {
    background: #f1f5f9 !important;
    color: #1e3a5f !important;
}
.primer-quantity-selector input {
    width: 40px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #1e3a5f !important;
    padding: 0 !important;
    -moz-appearance: textfield !important;
}
.primer-quantity-selector input::-webkit-outer-spin-button,
.primer-quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.primer-b2b-cart-form {
    margin-bottom: 0 !important;
}

/* Скрываем в центральной колонке */
.single-product .summary-inner > form.cart,
.single-product .summary-inner > .stock {
    display: none !important;
}

/* =========================================================
   B2B КОРЗИНА И МИНИ-КОРЗИНА (ДИЗАЙН)
========================================================= */

/* 1. Скрываем лишний функционал расчета доставки (B2B это не нужно) */
.cart-collaterals .shipping-calculator-button,
.cart-collaterals .woocommerce-shipping-calculator {
    display: none !important;
}

/* 2. Кнопка "Перейти к запросу" (бывшая Просмотр корзины) - делаем строгой синей */
.widget_shopping_cart .buttons .wc-forward:not(.checkout) {
    background: #1e3a5f !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
}
.widget_shopping_cart .buttons .wc-forward:not(.checkout):hover {
    background: #162b47 !important;
}

/* 3. Главная кнопка "Отправить запрос" (бывшая Оформить заказ) - делаем фирменной оранжевой */
.widget_shopping_cart .buttons .checkout,
.cart-collaterals .checkout-button {
    background: linear-gradient(135deg, #e86a2a, #f0873f) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(232, 106, 42, 0.2) !important;
}
.widget_shopping_cart .buttons .checkout:hover,
.cart-collaterals .checkout-button:hover {
    background: linear-gradient(135deg, #d45a1a, #e86a2a) !important;
    box-shadow: 0 6px 20px rgba(232, 106, 42, 0.3) !important;
}

/* 4. Делаем таблицу корзины более строгой */
.woocommerce-cart .cart-data-form {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.cart-totals-inner {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
}

/* =========================================================
   УЛЬТРА-МИНИМАЛИСТИЧНЫЙ B2B ЧЕКАУТ (ДИЗАЙН)
========================================================= */

/* 1. Скрываем плашку купонов и лишние заголовки */
.woocommerce-form-coupon-toggle,
.woocommerce-additional-fields h3 {
    display: none !important;
}

/* 2. СКРЫВАЕМ ДУБЛИРУЮЩУЮСЯ СУММУ (Подытог) В ТАБЛИЦЕ */
.woocommerce-checkout-review-order-table .cart-subtotal,
.shop_table.order_details .cart-subtotal {
    display: none !important;
}

/* 3. Стилизуем оставшиеся поля */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout textarea {
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 14px 15px !important;
    background-color: #f8fafc !important;
    color: #1e3a5f !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    background-color: #ffffff !important;
    border-color: #1e3a5f !important;
    box-shadow: 0 0 0 1px #1e3a5f !important;
}


/* 5. Блок с таблицей заказа справа */
#order_review {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}

/* 6. Таблица товаров в чекауте */
.woocommerce-checkout-review-order-table th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
}

/* 7. Финальная кнопка "Отправить запрос" */
#place_order {
    background: linear-gradient(135deg, #e86a2a, #f0873f) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    padding: 18px !important;
    font-size: 16px !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(232, 106, 42, 0.2) !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}

#place_order:hover {
    background: linear-gradient(135deg, #d45a1a, #e86a2a) !important;
    box-shadow: 0 6px 20px rgba(232, 106, 42, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* =========================================================
   B2B ЧЕКАУТ: ИСПРАВЛЕНИЕ ДИЗАЙНА
========================================================= */

/* 1. Меняем заголовок "Платёжные реквизиты" через CSS */
.woocommerce-billing-fields h3 {
    font-size: 0 !important; /* Скрываем старый текст */
    margin-bottom: 25px !important;
}
.woocommerce-billing-fields h3::before {
    content: "ДАННЫЕ ДЛЯ КОММЕРЧЕСКОГО ПРЕДЛОЖЕНИЯ"; /* Пишем новый текст */
    font-size: 20px !important;
    color: #1e3a5f !important;
    font-weight: bold !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 10px !important;
    display: block !important;
}

/* 2. Скрываем блок "Доставка по другому адресу" */
#ship-to-different-address,
.woocommerce-shipping-fields {
    display: none !important;
}

/* 3. Скрываем визуальный выбор способа оплаты (оставляем только кнопку) */
#payment .payment_methods {
    display: none !important;
}
#payment {
    background: transparent !important;
    padding: 0 !important;
}
#payment .place-order {
    padding: 0 !important;
    margin-top: 20px !important;
}

/* 4. Стилизуем поля ввода */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea {
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 14px 15px !important;
    background-color: #f8fafc !important;
    color: #1e3a5f !important;
    font-size: 15px !important;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    background-color: #ffffff !important;
    border-color: #1e3a5f !important;
    box-shadow: 0 0 0 1px #1e3a5f !important;
}
/* =========================================================
   СТРАНИЦА "СПАСИБО ЗА ЗАКАЗ"
========================================================= */

/* 1. Убираем зеленую пунктирную рамку и делаем аккуратную плашку */
.woocommerce-order .woocommerce-notice--success {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}
.woocommerce-order .woocommerce-notice--success::before { 
    display: none !important; /* Убираем стандартную иконку галочки темы */
}

/* 2. Скрываем лишние строки в таблице заказа (Подытог и Оплата) */
.woocommerce-order-details .cart-subtotal,
.woocommerce-order-details .payment-method {
    display: none !important;
}

/* 3. Кастомный блок "Что дальше?" */
.primer-thankyou-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 40px 30px !important;
    margin: 0 0 40px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    text-align: center !important;
}
.primer-thankyou-box h2 {
    color: #1e3a5f !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
    border: none !important;
}
.primer-thankyou-box p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin: 0 auto 30px !important;
}

/* 4. Кнопки действий */
.primer-thankyou-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}
.primer-btn-outline {
    padding: 14px 28px !important;
    border: 2px solid #1e3a5f !important;
    color: #1e3a5f !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}
.primer-btn-outline:hover {
    background: #f8fafc !important;
    color: #1e3a5f !important;
}
.primer-btn-solid {
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #e86a2a, #f0873f) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(232, 106, 42, 0.2) !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}
.primer-btn-solid:hover {
    background: linear-gradient(135deg, #d45a1a, #e86a2a) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(232, 106, 42, 0.3) !important;
    color: #ffffff !important;
}

/* =========================================================
   ЖЕСТКАЯ ЗАЧИСТКА ТАБЛИЦЫ НА СТРАНИЦЕ "СПАСИБО" (ИСПРАВЛЕНО)
========================================================= */

/* 1. Скрываем "Способ оплаты" в верхнем блоке с номером заказа */
.woocommerce-order-overview li.woocommerce-order-overview__payment-method,
.woocommerce-order-overview li.payment-method {
    display: none !important;
}

/* 2. Скрываем Подытог и Способ оплаты внутри самой таблицы */
.woocommerce-table--order-details tfoot tr.cart-subtotal,
.woocommerce-table--order-details tfoot tr.payment-method,
.shop_table.order_details tfoot tr.cart-subtotal,
.shop_table.order_details tfoot tr.payment-method {
    display: none !important;
}

/* 3. Принудительно скрываем любые левые кнопки от плагинов в таблице */
.woocommerce-table--order-details tfoot tr:has(.button),
.shop_table.order_details tfoot tr:has(.button) {
    display: none !important;
}

/* 4. Убираем рамку над "Итого" */
.woocommerce-table--order-details tfoot tr.order_total th,
.woocommerce-table--order-details tfoot tr.order_total td,
.shop_table.order_details tfoot tr.order_total th,
.shop_table.order_details tfoot tr.order_total td {
    border-top: none !important;
}
/* =========================================================
   НОВЫЕ ПРАВКИ: ГАЛОЧКА, СКРЫТИЕ ИТОГО И КОНТАКТОВ
========================================================= */

/* 1. Красивая галочка согласия перед кнопкой */
.privacy-checkbox-row {
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
}
.privacy-checkbox-row label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin: 0 !important;
    cursor: pointer !important;
}
.privacy-checkbox-row input[type="checkbox"] {
    margin-right: 10px !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}
.privacy-checkbox-row a {
    color: #1e3a5f !important;
    text-decoration: underline !important;
    margin-left: 4px !important;
}

/* 2. Скрываем "Итого" в верхнем блоке на странице Спасибо */
.woocommerce-order-overview li.woocommerce-order-overview__total,
.woocommerce-order-overview li.total {
    display: none !important;
}

/* 3. Полностью скрываем блок "Ваши контактные данные" в самом низу */
.woocommerce-customer-details {
    display: none !important;
}

/* =========================================================
   ПЛАШКА "ПОД ЗАКАЗ" (СПОКДИЗАЙН И ФИКС ПОЗИЦИИ)
========================================================= */

/* 1. ФИКС ИСЧЕЗНОВЕНИЯ: Удерживаем плашку строго внутри колонки с фото */
.single-product .product-images,
.product-element-top, 
.woocommerce-product-gallery {
    position: relative !important;
}

/* 2. СПОКОЙНЫЙ ДИЗАЙН ПЛАШКИ */
.primer-badge-pod-zakaz {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    
    /* Делаем её менее заметной */
    background-color: #f8fafc !important; /* Очень светлый серо-голубой фон */
    color: #64748b !important; /* Приглушенный серый текст */
    border: 1px solid #cbd5e1 !important; /* Тонкая аккуратная рамка */
    box-shadow: none !important; /* Убрали тень */
    
    padding: 2px 4px !important;
    font-size: 10px !important;
    font-weight: 600 !important; /* Сделали шрифт тоньше */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    z-index: 99 !important;
    pointer-events: none !important;
}

/* 3. Чуть крупнее на странице самого товара */
.single-product .primer-badge-pod-zakaz {
    top: 15px !important;
    left: 15px !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
}

/* =========================================================
   КАЛЬКУЛЯТОР В САЙДБАРЕ (С КНОПКОЙ-ГАРМОШКОЙ)
========================================================= */
.pv3-price-left {
    display: flex !important;
    flex-direction: column !important;
}
.pv3-price-hint {
    font-size: 10px !important;
    color: #94a3b8 !important;
    margin-top: 2px !important;
    font-weight: normal !important;
}

/* Кнопка раскрытия калькулятора */
.pv3-calc-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    background: #f8fafc !important;
    cursor: pointer !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: background 0.2s ease !important;
}
.pv3-calc-toggle:hover {
    background: #f1f5f9 !important;
}
.pv3-calc-toggle-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    color: #1e3a5f !important;
}
.pv3-calc-toggle-left svg {
    width: 16px !important;
    height: 16px !important;
    color: #f26c2a !important; /* Оранжевая иконка микросхемы */
}
.pv3-calc-arrow {
    width: 16px !important;
    height: 16px !important;
    color: #94a3b8 !important;
    transition: transform 0.3s ease !important;
}
.pv3-calc-toggle.active .pv3-calc-arrow {
    transform: rotate(180deg) !important; /* Стрелочка переворачивается при открытии */
}

/* Внутренности калькулятора */
.pv3-calc-content {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.pv3-calc-fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 15px 20px !important;
}
.pv3-calc-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.pv3-calc-group label {
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}
.pv3-calc-group input, .pv3-calc-group select {
    width: 100% !important;
    padding: 6px 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: #1e3a5f !important;
    font-weight: bold !important;
    background: #fff !important;
    height: 32px !important;
    box-sizing: border-box !important;
}
.pv3-calc-group input:focus, .pv3-calc-group select:focus {
    border-color: #f26c2a !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(242, 108, 42, 0.2) !important;
}
.pv3-calc-result {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: #fff !important;
    border-top: 1px dashed #cbd5e1 !important;
}
.pv3-calc-result-label {
    font-size: 12px !important;
    color: #475569 !important;
    font-weight: bold !important;
}
.pv3-calc-result-value {
    font-size: 18px !important;
    color: #f26c2a !important;
    font-weight: bold !important;
}

/* =========================================================
   ПРЕДУПРЕЖДЕНИЕ И КНОПКА СБРОСА В КАЛЬКУЛЯТОРЕ
========================================================= */

/* Предупреждение об изменении цены */
.pv3-calc-warning {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background-color: #fffbeb !important; /* Светло-желтый фон */
    border-top: 1px solid #fef3c7 !important;
    border-bottom: 1px solid #fef3c7 !important;
}
.pv3-calc-warning svg {
    width: 16px !important;
    height: 16px !important;
    color: #d97706 !important; /* Оранжево-желтая иконка */
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}
.pv3-calc-warning span {
    font-size: 11px !important;
    color: #92400e !important;
    line-height: 1.3 !important;
}

/* Левая часть блока с итогом (Текст + Кнопка сброса) */
.pv3-calc-result-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
}

/* Кнопка сброса */
.pv3-calc-reset {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: color 0.2s ease !important;
}
.pv3-calc-reset:hover {
    color: #f26c2a !important;
}

/* =========================================================
   СТРАНИЦА "СПАСИБО ЗА ЗАКАЗ" (БЕЗ БАЗЫ ДАННЫХ)
========================================================= */

/* 1. Плашка успеха */
.woocommerce-order .woocommerce-notice--success {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}
.woocommerce-order .woocommerce-notice--success::before { display: none !important; }

/* 2. Кастомный блок "Что дальше?" */
.primer-thankyou-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 40px 30px !important;
    margin: 0 0 40px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    text-align: center !important;
}
.primer-thankyou-box h2 {
    color: #1e3a5f !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
    border: none !important;
}
.primer-thankyou-box p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin: 0 auto 20px !important;
}

/* 3. Кнопки действий */
.primer-thankyou-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}
.primer-btn-outline {
    padding: 14px 28px !important;
    border: 2px solid #1e3a5f !important;
    color: #1e3a5f !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
}
.primer-btn-outline:hover {
    background: #f8fafc !important;
    color: #1e3a5f !important;
}
.primer-btn-solid {
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #e86a2a, #f0873f) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(232, 106, 42, 0.2) !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
.primer-btn-solid:hover {
    background: linear-gradient(135deg, #d45a1a, #e86a2a) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(232, 106, 42, 0.3) !important;
}

/* 4. ПОЛНОСТЬЮ СКРЫВАЕМ СТАНДАРТНЫЕ БЛОКИ WOOCOMMERCE */
.woocommerce-order > ul.woocommerce-order-overview,
.woocommerce-order > section.woocommerce-order-details,
.woocommerce-order > section.woocommerce-customer-details {
    display: none !important;
}

/* =========================================================
   КАСТОМИЗАЦИЯ СТРАНИЦЫ КОРЗИНЫ (/cart/)
========================================================= */

/* 1. Скрываем колонку "Предварительная сумма" в таблице товаров */
.woocommerce-cart-form__contents th.product-subtotal,
.woocommerce-cart-form__contents td.product-subtotal {
    display: none !important;
}

/* 2. Улучшаем дизайн правого блока "СУММА ЗАПРОСА" */
.cart-totals-inner {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 12px 30px rgba(15, 47, 64, 0.06) !important; /* Мягкая тень */
}

.cart-totals-inner h2 {
    font-size: 18px !important;
    color: #1e3a5f !important;
    font-weight: bold !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
}

/* 3. Красиво оформляем блок доставки */
#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}
#shipping_method li {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    color: #1e3a5f !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
/* Скрываем кружок (radio button), так как вариант доставки один */
#shipping_method input[type="radio"] {
    display: none !important;
}

/* 4. Выделяем Итоговую сумму */
.order-total th {
    font-size: 16px !important;
    color: #1e3a5f !important;
}
.order-total td {
    font-size: 16px !important;
    color: #f26c2a !important;
    font-weight: bold !important;
}

/* 5. Кнопка "Продолжить" (Оформление заказа) */
.wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #e86a2a, #f0873f) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    padding: 18px !important;
    font-size: 15px !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(232, 106, 42, 0.2) !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
    background: linear-gradient(135deg, #d45a1a, #e86a2a) !important;
    box-shadow: 0 6px 20px rgba(232, 106, 42, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* =========================================================
   БЛОК ДОСТАВКИ В САЙДБАРЕ
========================================================= */
.pv3-shipping-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    background-color: #f0f9ff !important; /* Нежно-голубой фон */
    border-top: 1px solid #e0f2fe !important;
}
.pv3-shipping-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15) !important;
    flex-shrink: 0 !important;
}
.pv3-shipping-icon svg {
    width: 16px !important;
    height: 16px !important;
    color: #0284c7 !important; /* Синий цвет иконки */
}
.pv3-shipping-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.pv3-shipping-text strong {
    font-size: 12px !important;
    color: #1e3a5f !important;
    font-weight: 700 !important;
}
.pv3-shipping-text span {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}@media (min-width: 1025px) {
	body h1{
 font-size: 25px !important;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	body h1{
 font-size: 20px !important;
}
}

@media (max-width: 576px) {
	body h1{
 font-size: 20px !important;
}
}

