/* Shared layout. Astra and WooCommerce keep their normal page templates. */
body.redronic-newtheme{background:#fff;color:var(--ntp-text);font-family:var(--ntp-font-body)}body.redronic-newtheme #page{background:#fff}body.redronic-newtheme:not(.redronic-newtheme-home) #content>.ast-container{max-width:1360px;width:calc(100% - 70px);padding:0;margin:auto}body.redronic-newtheme:not(.redronic-newtheme-home) #primary{margin:38px 0;padding:0;border:0}body.redronic-newtheme .entry-content{max-width:none}body.redronic-newtheme .entry-title{font-size:35px;line-height:1.7}body.redronic-newtheme .ast-article-single,body.redronic-newtheme .ast-article-post{padding:0;background:transparent}#redronic-ntp .rnt-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:50%;background:var(--ntp-accent);color:var(--ntp-text);font-size:12px;margin-inline-start:5px}#redronic-ntp .rnt-primary-menu{list-style:none;margin:0;padding:0}#redronic-ntp .rnt-home{margin:0;padding:0;width:100%}#redronic-ntp .rnt-empty{padding:18px;color:var(--ntp-muted);font-size:15px}#redronic-ntp .ntp-hero-image>img{object-fit:contain}#redronic-ntp .rnt-home .woocommerce-notices-wrapper{padding-top:15px}
body.redronic-newtheme.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;clear:both;border-top:1px solid var(--ntp-line);border-inline-end:1px solid var(--ntp-line)}body.redronic-newtheme.woocommerce ul.products::before,body.redronic-newtheme.woocommerce ul.products::after{display:none}body.redronic-newtheme.woocommerce ul.products li.product{float:none;width:100%;margin:0;clear:none;border:0;padding:0}body.redronic-newtheme.woocommerce ul.products li.product .ntp-product-card{height:100%;border-inline-start:1px solid var(--ntp-line);border-bottom:1px solid var(--ntp-line)}body.redronic-newtheme.woocommerce ul.products li.product .ntp-product-image{height:180px}body.redronic-newtheme.woocommerce ul.products li.product .ntp-product-image img{width:auto;max-width:100%;max-height:160px;margin:auto}body.redronic-newtheme .woocommerce div.product .product_title{font-size:33px;line-height:1.8}body.redronic-newtheme.woocommerce div.product .summary{font-size:17px;line-height:2}body.redronic-newtheme .woocommerce a.button,body.redronic-newtheme .woocommerce button.button,body.redronic-newtheme .woocommerce input.button,body.redronic-newtheme.woocommerce a.button,body.redronic-newtheme.woocommerce button.button{padding:13px 20px}body.redronic-newtheme :is(input.input-text,input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],select,textarea){border:1px solid #dce1e6;border-radius:var(--rnt-radius-sm);background:#fff}body.redronic-newtheme .woocommerce table.shop_table{border-radius:var(--rnt-radius-sm);border-color:var(--ntp-line)}body.redronic-newtheme .woocommerce-message,body.redronic-newtheme .woocommerce-info{border-top-color:var(--ntp-accent)}body.redronic-newtheme .woocommerce-MyAccount-navigation{border:1px solid var(--ntp-line);border-radius:var(--rnt-radius-sm);padding:15px}body.redronic-newtheme .woocommerce-MyAccount-navigation li{padding:8px}body.redronic-newtheme .rnt-demo-label{font-size:14px;color:var(--ntp-muted)}body.redronic-newtheme .woocommerce-breadcrumb{margin-top:15px}
/* Native WooCommerce loop markup is retained so extension hooks still execute. */
body.redronic-newtheme.woocommerce ul.products li.product{padding:20px;border-inline-start:1px solid var(--ntp-line);border-bottom:1px solid var(--ntp-line);display:flex;flex-direction:column}body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap{height:190px;display:flex;align-items:center;justify-content:center}body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img{max-height:170px;width:auto;margin:auto;object-fit:contain}body.redronic-newtheme.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.9;min-height:54px}body.redronic-newtheme.woocommerce ul.products li.product .price{font-size:20px;margin:12px 0}body.redronic-newtheme.woocommerce ul.products li.product .button{margin-top:auto;align-self:flex-start}body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1}
@media(max-width:1000px){body.redronic-newtheme.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.redronic-newtheme:not(.redronic-newtheme-home) #content>.ast-container{width:calc(100% - 30px)}body.redronic-newtheme.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}body.redronic-newtheme.woocommerce div.product .product_title{font-size:26px}#redronic-ntp .rnt-cart-count{min-width:18px;height:18px;font-size:12px}body.redronic-newtheme .woocommerce-MyAccount-navigation{margin-bottom:20px}}
@media(max-width:760px){#redronic-ntp .ntp-intro>.ntp-sidebar,#redronic-ntp .ntp-intro>.ntp-hero{width:100%}#redronic-ntp .ntp-category-selector{display:block}#redronic-ntp .ntp-intro>.ntp-sidebar{display:none}#redronic-ntp .ntp-intro>.ntp-sidebar:target{display:block}}
#redronic-ntp ul.products .woocommerce-loop-product__title{font-size:16px;line-height:1.9;font-weight:500;min-height:54px}#redronic-ntp .product .product_title{font-size:33px;line-height:1.8}
@media(max-width:760px){#redronic-ntp .product .product_title{font-size:26px}body.redronic-newtheme.woocommerce ul.products li.product{padding:14px 11px}}
/* Interior-page category disclosure stays on the current WordPress page. */
#redronic-ntp .ntp-nav{position:relative;z-index:100}#redronic-ntp .ntp-nav.rnt-sticky{position:sticky;top:var(--wp-admin--admin-bar--height,0px);background:var(--ntp-surface)}@media(max-width:600px){#redronic-ntp .ntp-nav.rnt-sticky{top:0}}#redronic-ntp .rnt-category-menu{position:relative;flex:0 0 245px;align-self:stretch;display:flex;align-items:stretch}#redronic-ntp .rnt-category-trigger{width:100%;margin:0;border:0;box-shadow:none;line-height:inherit;text-align:start;color:var(--ntp-text);cursor:pointer}#redronic-ntp .rnt-category-panel{position:absolute;inset-inline-start:0;top:100%;width:340px;max-width:calc(100vw - 30px);padding-top:8px;z-index:101}#redronic-ntp .rnt-category-panel[hidden]{display:none!important}#redronic-ntp .rnt-category-panel .ntp-sidebar{width:100%;max-height:var(--rnt-menu-height,70vh);overflow-y:auto;box-shadow:0 14px 34px rgba(20,45,90,.22),0 2px 6px rgba(20,45,90,.12);background:var(--ntp-surface)}#redronic-ntp .rnt-category-panel .ntp-category-tree{max-height:none;overflow:visible}
@media(max-width:1100px){#redronic-ntp .rnt-category-menu{flex-basis:215px}}
@media(max-width:760px){#redronic-ntp .rnt-category-menu{width:100%;display:block}#redronic-ntp .rnt-category-panel{width:100%;max-width:100%}}
#redronic-ntp .rnt-category-panel[data-placement="above"]{top:auto;bottom:100%;padding-top:0;padding-bottom:8px}
#redronic-ntp .ntp-section-head .rnt-view-all{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 4px;border:0;background:none;color:var(--ntp-text);font-size:13px;font-weight:600;white-space:nowrap}#redronic-ntp .ntp-section-head .rnt-view-all:hover{background:none}
/* Scroll-to-top sits opposite the chat launcher, which stays bottom-right. */
body.redronic-ntp-page #ast-scroll-top.ast-scroll-to-top-right{right:auto;left:30px}
/* WooCommerce loop: native markup restyled as the homepage .ntp-product card family. */
body.redronic-newtheme.woocommerce ul.products li.product{padding:20px;transition:box-shadow .2s,transform .2s;background:var(--ntp-surface)}
body.redronic-newtheme.woocommerce ul.products li.product:hover{box-shadow:inset 0 0 0 1px var(--ntp-accent),0 6px 16px rgba(40,50,61,.1);transform:translateY(-2px);position:relative;z-index:1}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap{position:relative;height:165px;overflow:hidden;margin-bottom:16px}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img{max-height:160px;transition:transform .2s}
body.redronic-newtheme.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap img{transform:scale(1.03)}
body.redronic-newtheme.woocommerce ul.products li.product .ast-on-card-button{display:none}
body.redronic-newtheme.woocommerce ul.products li.product .ast-shop-product-out-of-stock{position:absolute;inset-block-start:0;inset-inline-start:0;top:0;left:auto;right:auto;inset-inline-start:0;transform:none;width:auto;height:auto;padding:1px 7px;border-radius:var(--rnt-radius-xs);background:var(--ntp-unavailable-background);color:var(--ntp-unavailable-text);font-size:14px;font-weight:400;line-height:1.7;margin:0}
body.redronic-newtheme.woocommerce ul.products li.product .ast-woo-product-category{order:-1;display:block;font-size:14px;line-height:1.7;color:var(--ntp-muted);margin-bottom:8px}
body.redronic-newtheme.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:600;line-height:1.9;min-height:52px;margin:0 0 17px;padding:0;color:#12618a}
body.redronic-newtheme.woocommerce ul.products li.product .price{font-size:20px;font-weight:500;color:#35434e;margin:auto 0 15px;min-height:33px}
body.redronic-newtheme.woocommerce ul.products li.product .price del{font-size:14px;color:var(--ntp-price-old)}
body.redronic-newtheme.woocommerce ul.products li.product .price ins{background:none;text-decoration:none;font-weight:700}
body.redronic-newtheme.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol{font-size:14px;color:var(--ntp-muted)}
body.redronic-newtheme.woocommerce ul.products li.product .review-rating:has(span[style*="width:0%"]){display:none}
body.redronic-newtheme.woocommerce ul.products li.product a.button{display:flex;align-items:center;justify-content:space-between;align-self:stretch;width:100%;min-height:44px;margin:0;padding:13px 0 0;background:none;border:0;border-top:1px solid #eef0f1;border-radius:0;color:var(--ntp-text);font-size:14px;font-weight:400;line-height:1.7}
body.redronic-newtheme.woocommerce ul.products li.product a.button::after{content:"←";flex:none;width:28px;height:28px;border-radius:50%;background:#f1f3f4;display:grid;place-items:center;font-size:18px;line-height:1;transition:background .2s}
body.redronic-newtheme.woocommerce ul.products li.product:hover a.button::after,body.redronic-newtheme.woocommerce ul.products li.product a.button:focus-visible::after{background:var(--ntp-accent)}
body.redronic-newtheme.woocommerce ul.products li.product a.button.added{font-size:14px}
/* Stars: darker amber, 3:1+ on white. */
body.redronic-newtheme .star-rating,body.redronic-newtheme .star-rating::before,body.redronic-newtheme .star-rating span,body.redronic-newtheme .star-rating span::before,body.redronic-newtheme p.stars a,body.redronic-newtheme p.stars a::before{color:var(--ntp-accent)}
/* Astra adds 2px letter-spacing per star but only 5px of width; 5 stars need 10px, or RTL clips the leftmost star. */
body.redronic-newtheme .star-rating{width:calc(5.4em + 10px)}
/* Brand leaks: pagination, review submit, links, tabs. */
/* Page numbers read 1→N left to right; inc/catalog.php sets the arrows to match (prev ←, next →). */
body.redronic-newtheme .woocommerce-pagination ul.page-numbers{direction:ltr}
/* #primary and the footer leave 64px below the page numbers; match it above (collapses with the grid's own 16px margin). */
body.redronic-newtheme .woocommerce-pagination{margin-top:64px}
body.redronic-newtheme #respond input#submit,body.redronic-newtheme #respond .form-submit input,body.redronic-newtheme .woocommerce #respond input#submit{padding:13px 20px}
body.redronic-newtheme.woocommerce #content a:not(.button):not(.page-numbers):not(.ntp-product-image):not(.woocommerce-LoopProduct-link):hover,body.redronic-newtheme .woocommerce-breadcrumb a:hover{color:var(--ntp-link-hover);text-decoration:underline;text-decoration-color:var(--ntp-accent);text-underline-offset:4px;text-decoration-thickness:2px}
body.redronic-newtheme .woocommerce-tabs ul.tabs li.active,body.redronic-newtheme .woocommerce-tabs ul.tabs li.active a{color:var(--ntp-text);border-color:var(--ntp-accent)}
body.redronic-newtheme .woocommerce-tabs ul.tabs li.active::after,body.redronic-newtheme .woocommerce-tabs ul.tabs li.active::before{border-color:var(--ntp-accent);background:var(--ntp-accent)}
body.redronic-newtheme.woocommerce :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ntp-focus);outline-offset:2px}
/* Contrast and sizes. */
body.redronic-newtheme .woocommerce-breadcrumb,body.redronic-newtheme .woocommerce-breadcrumb a{color:var(--ntp-text-secondary);font-size:14px}
body.redronic-newtheme .woocommerce-breadcrumb a{display:inline-block;min-height:24px;line-height:24px;padding-inline:4px}
body.redronic-newtheme .woocommerce-breadcrumb{line-height:24px}
body.redronic-newtheme .woocommerce-Tabs-panel,body.redronic-newtheme .woocommerce-product-details__short-description,body.redronic-newtheme .woocommerce-Tabs-panel p,body.redronic-newtheme .woocommerce-product-details__short-description p{font-size:16px;line-height:2}
body.redronic-newtheme .product_meta,body.redronic-newtheme .product_meta>span{font-size:14px;line-height:2}
/* Touch targets. */
body.redronic-newtheme input.only_stocked{width:24px;height:24px;margin-inline:8px}
body.redronic-newtheme .woocommerce-ordering+form label,body.redronic-newtheme .only_stocked_wrap label{display:inline-flex;align-items:center;gap:8px;min-height:24px}
body.redronic-newtheme .comment-form-rating p.stars a{position:relative;display:inline-block;width:24px;height:24px;margin-inline-end:8px;font-size:0}
body.redronic-newtheme .comment-form-rating p.stars a::before{width:24px;height:24px;line-height:24px;font-size:18px;text-indent:0;text-align:center;left:0;top:0}
body.redronic-newtheme .comment-form-rating p.stars span{display:inline-flex;gap:8px}
body.redronic-newtheme #commentform input[type=checkbox]{width:24px;height:24px}
body.redronic-newtheme .product_meta a{display:inline-block;min-height:24px;line-height:24px;padding-inline:4px}
body.redronic-newtheme #commentform input#wp-comment-cookies-consent{width:24px;height:24px;margin-inline-end:8px}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-summary-wrap .price{display:block;align-self:stretch;text-align:start}
body.redronic-newtheme.woocommerce ul.products li.product .ast-shop-product-out-of-stock{min-width:0;min-height:0;display:inline-block;text-align:start;aspect-ratio:auto;box-shadow:none;z-index:1}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ast-shop-product-out-of-stock{bottom:auto;white-space:nowrap;height:auto!important;width:auto!important;display:inline-block!important}
body.redronic-newtheme .single-product-category a{display:inline-block;min-height:24px;line-height:24px}
body.redronic-newtheme .comment-form-cookies-consent input#wp-comment-cookies-consent{width:24px!important;height:24px!important;min-width:24px;min-height:24px}
/* equal-height shop cards: reserve image area, pin button row to the bottom */
body.redronic-newtheme.woocommerce ul.products li.product{display:flex;flex-direction:column;height:100%}
body.redronic-newtheme.woocommerce ul.products li.product:not(:has(.astra-shop-thumbnail-wrap))::before{content:"";display:block;flex:none;height:165px;margin-bottom:16px}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-thumbnail-wrap{flex:none}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1 1 auto}
body.redronic-newtheme.woocommerce ul.products li.product a.button{margin-top:auto}
body.redronic-newtheme.woocommerce ul.products li.product .astra-shop-summary-wrap>.rnt-price-row + a.button{margin-top:0}
/* Shop and category grids: the same separate boxed cards as the homepage. */
body.redronic-newtheme.woocommerce ul.products{gap:20px;border:0}
body.redronic-newtheme.woocommerce ul.products li.product{border:1px solid var(--ntp-line)}
body.redronic-newtheme.woocommerce ul.products li.product:hover{border-color:var(--ntp-accent);box-shadow:0 8px 22px rgba(40,50,61,.12)}
@media(max-width:1100px){body.redronic-newtheme.woocommerce ul.products{gap:16px}}
@media(max-width:760px){body.redronic-newtheme.woocommerce ul.products{gap:12px}}
/* Scroll-to-top in the brand colours instead of Astra's default blue. */
body.redronic-ntp-page #ast-scroll-top{width:44px;height:44px;line-height:44px;border-radius:var(--rnt-radius-md);background:var(--ntp-text);color:#fff;transition:background-color .15s}body.redronic-ntp-page #ast-scroll-top .ast-icon svg,body.redronic-ntp-page #ast-scroll-top .ast-arrow-svg{fill:#fff;color:#fff}
body.redronic-ntp-page #ast-scroll-top:hover{background:#0f171f}
@media(prefers-reduced-motion:reduce){body.redronic-ntp-page #ast-scroll-top{transition:none;transform:none}}
