/* ROYLLENT New v15 — mobile-only adaptation.
   Loaded by WordPress only for screens up to 768px.
   Desktop styles remain untouched. */

:root{--rl-mobile-gutter:16px}
html,body{overflow-x:hidden}
body{font-size:16px}
.wrap{width:calc(100% - (var(--rl-mobile-gutter) * 2));max-width:none}
.section{padding:34px 0}

/* Header */
.site-header{position:sticky;top:0}
.header-inner{height:62px;grid-template-columns:minmax(0,1fr) auto auto;gap:12px}
.brand-main{font-size:21px;letter-spacing:.09em}
.brand-sub{font-size:7px;letter-spacing:.24em}
.custom-logo{max-height:42px;width:auto}
.nav-toggle{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:rgba(255,255,255,.06);font-size:24px;order:3}
.header-actions{gap:12px;font-size:20px;order:2}
.header-actions>a{min-width:34px;min-height:40px;display:grid;place-items:center}
.header-actions>a[aria-label="Избранное"]{display:none}
.primary-nav{display:none;position:fixed;left:0;right:0;top:62px;bottom:0;padding:22px 18px 28px;background:rgba(8,12,16,.985);overflow:auto;z-index:70}
.primary-nav.is-open{display:block}
.primary-nav .menu{display:flex;flex-direction:column;gap:0}
.primary-nav .menu li{border-bottom:1px solid rgba(255,255,255,.1)}
.primary-nav .menu a{display:block;padding:17px 4px;font-size:19px;font-weight:850}
.cart-link span{right:-4px;top:-2px;min-width:18px;height:18px;font-size:11px}

/* Hero */
.hero{min-height:0;background-position:center center}
.hero-grid{display:grid;grid-template-columns:1fr!important;gap:18px!important;min-height:0!important;padding:0!important}
.hero-copy{padding:38px 0 6px!important;max-width:none!important}
.hero .eyebrow{font-size:10px;letter-spacing:.18em}
.hero h1{font-size:clamp(38px,11vw,54px)!important;line-height:.91!important;margin:14px 0 18px!important;max-width:none!important;word-break:normal}
.hero-text{font-size:16px!important;line-height:1.45!important;max-width:none!important}
.hero-actions{display:grid!important;grid-template-columns:1fr;gap:10px!important;margin-top:22px!important}
.hero-actions .btn{width:100%;min-height:52px;font-size:15px}
.hero-visual-store{min-height:0!important;height:auto!important;margin:0 calc(var(--rl-mobile-gutter) * -1);width:calc(100% + (var(--rl-mobile-gutter) * 2));padding:0!important;overflow:hidden}
.hero-random-product{width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:4/3;background-size:cover!important;background-position:center!important;border:0!important;border-radius:0!important;box-shadow:none!important}

/* Statistics */
.stats-grid{grid-template-columns:1fr 1fr!important}
.stat-item{min-height:92px;padding:15px 12px!important;border-right:1px solid #293039!important;border-bottom:1px solid #293039;gap:10px}
.stat-item:nth-child(2n){border-right:0!important}
.stat-icon{font-size:23px}
.stats-grid strong{font-size:16px}
.stats-grid p span{font-size:11px;line-height:1.3}

/* Section headers */
.section-head{display:flex;align-items:flex-end!important;gap:12px;margin-bottom:18px}
.section-head h2,.howto h2,.split-cta h2{font-size:29px!important;line-height:1.02}
.section-head>a{font-size:12px;white-space:nowrap}
.catalog-head{align-items:flex-start!important}
.catalog-head-actions{gap:10px}
.catalog-carousel-controls button{width:42px;height:42px;font-size:20px;border-radius:50%}

/* Choose your style: swipeable cards, one-plus card visible */
.catalog-carousel-viewport{overflow:hidden;margin-right:calc(var(--rl-mobile-gutter) * -1)}
.style-grid.catalog-carousel-track{display:flex!important;grid-template-columns:none!important;gap:12px!important;width:max-content;will-change:transform}
.style-grid.catalog-carousel-track .style-card{flex:0 0 76vw;width:76vw;height:230px!important;min-height:230px!important;border-radius:16px!important;padding:18px!important;background-size:cover!important;background-position:center!important}
.style-card span{font-size:21px!important}
.style-card small{font-size:13px!important}

/* Product grid */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.woocommerce ul.products li.product{padding:9px!important;border-radius:14px!important}
.woocommerce ul.products li.product img{border-radius:10px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.25!important;min-height:0!important}
.woocommerce ul.products li.product .price{font-size:16px!important}
.woocommerce ul.products li.product .button{display:flex!important;justify-content:center;align-items:center;width:100%;min-height:44px;padding:9px 10px!important;font-size:12px!important}
.products-section .section-head{align-items:flex-end!important}

/* News: swipe cards */
.news-section{padding:34px 0}
.news-grid{display:flex!important;gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--rl-mobile-gutter) 12px;margin:0 calc(var(--rl-mobile-gutter) * -1);scrollbar-width:none}
.news-grid::-webkit-scrollbar{display:none}
.news-card{flex:0 0 84vw;scroll-snap-align:start;border-radius:16px;overflow:hidden}
.news-card-image{height:210px!important}
.news-card-body{padding:18px!important}
.news-card h3{font-size:20px!important;line-height:1.18}
.news-card p{font-size:14px;line-height:1.45}

/* How to install */
.howto{padding:42px 0}
.howto-grid{grid-template-columns:1fr!important;gap:16px!important}
.howto-intro{padding:0!important}
.howto-intro h2{font-size:34px!important}
.howto-intro .btn{width:100%;min-height:50px;margin-top:8px}
.steps{grid-template-columns:1fr!important;gap:12px!important}
.step-card{min-height:0!important;display:grid!important;grid-template-columns:46px 88px 1fr;align-items:center;gap:12px;padding:14px!important}
.step-card b{width:38px;height:38px}
.step-card-icon{height:84px!important;font-size:40px!important}
.step-card h3{font-size:17px!important}
.step-card p{font-size:13px!important}
.lamination{min-height:0;padding:20px!important}
.lamination .plus{margin-bottom:54px!important}
.lamination .btn{width:100%;min-height:50px}

/* Real people: horizontal swipe */
.proof .section-head{align-items:flex-start!important}
.proof-grid{display:flex!important;overflow-x:auto;gap:12px!important;scroll-snap-type:x mandatory;padding-bottom:12px;margin-right:calc(var(--rl-mobile-gutter) * -1);scrollbar-width:none}
.proof-grid::-webkit-scrollbar{display:none}
.proof-photo{flex:0 0 78vw;height:300px!important;scroll-snap-align:start;border-radius:16px!important}
.proof-grid blockquote{flex:0 0 86vw;scroll-snap-align:start;padding:22px!important;font-size:16px!important;border-radius:16px!important}

/* Bottom CTA */
.split-cta{grid-template-columns:1fr!important;gap:12px!important;padding-bottom:34px!important}
.split-cta article{min-height:260px!important;padding:26px 22px!important;border-radius:16px!important;background-position:center!important}
.split-cta .btn{width:100%;min-height:50px}

/* Catalog page */
.rl-catalog-hero,.rl-commerce-hero{padding:38px 0 30px!important}
.rl-catalog-hero h1,.rl-commerce-hero h1{font-size:38px!important;line-height:.94!important;margin:12px 0 14px!important}
.rl-catalog-hero p,.rl-commerce-hero p{font-size:15px;line-height:1.45}
.rl-catalog-search{height:52px;border-radius:14px}
.rl-catalog-search input{font-size:16px}
.rl-catalog-toolbar{display:grid!important;grid-template-columns:1fr;gap:14px!important}
.rl-catalog-toolbar .btn{width:100%;min-height:50px}
.rl-category-grid{grid-template-columns:1fr!important;gap:14px!important}
.rl-category-card{height:240px!important;border-radius:18px!important;background-size:cover!important;background-position:center!important}
.rl-category-content strong{font-size:24px!important}
.rl-category-content small,.rl-category-content em{font-size:14px!important}

/* Single product */
.single-product .woo-shell{padding-top:24px!important}
.single-product div.product{display:block!important}
.single-product div.product div.images,.single-product div.product div.summary{width:100%!important;float:none!important;margin:0 0 22px!important}
.single-product div.product .product_title{font-size:30px!important;line-height:1.05}
.single-product div.product p.price{font-size:24px!important}
.single-product form.cart{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:20px 0!important}
.single-product form.cart .quantity.rl-qty-control{grid-template-columns:64px minmax(90px,1fr) 64px!important;width:100%!important;gap:10px!important}
.single-product form.cart .rl-qty-btn{width:64px!important;height:60px!important;font-size:34px!important;border-radius:14px!important}
.single-product form.cart .quantity.rl-qty-control .qty{width:100%!important;height:60px!important;min-height:60px!important;font-size:22px!important;border-radius:14px!important}
.single-product form.cart .single_add_to_cart_button{width:100%!important;height:60px!important;min-height:60px!important;line-height:60px!important;font-size:18px!important}

/* Cart */
.rl-cart-page{padding-top:22px!important;padding-bottom:120px!important}
.woocommerce-cart form.woocommerce-cart-form{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce-cart table.shop_table{font-size:15px!important}
.woocommerce-cart table.shop_table thead{display:none!important}
.woocommerce-cart table.shop_table tbody tr.cart_item{display:grid!important;grid-template-columns:78px 1fr!important;gap:8px 12px!important;padding:14px!important;border-radius:16px!important;margin-bottom:14px!important;background:#f7f8f9!important}
.woocommerce-cart table.shop_table td{padding:4px!important;background:transparent!important;display:block!important;text-align:left!important;border-radius:0!important}
.woocommerce-cart td.product-remove{grid-column:1;grid-row:1}
.woocommerce-cart td.product-thumbnail{grid-column:1;grid-row:2/6;width:auto!important}
.woocommerce-cart td.product-thumbnail img{width:72px!important;height:96px!important;border-radius:10px!important}
.woocommerce-cart td.product-name{grid-column:2;grid-row:1/3}
.woocommerce-cart td.product-name a{font-size:16px!important;line-height:1.25}
.woocommerce-cart td.product-price,.woocommerce-cart td.product-quantity,.woocommerce-cart td.product-subtotal{grid-column:2!important;font-size:16px!important}
.woocommerce-cart .quantity.rl-qty-control{grid-template-columns:56px 72px 56px!important;gap:8px!important}
.woocommerce-cart .rl-qty-btn{width:56px!important;height:56px!important;font-size:31px!important;border-radius:14px!important}
.woocommerce-cart .quantity.rl-qty-control .qty{width:72px!important;height:56px!important;min-height:56px!important;font-size:20px!important;border-radius:14px!important}
.woocommerce-cart .actions{padding:10px 0 0!important}
.woocommerce-cart .actions .coupon{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.woocommerce-cart .coupon input.input-text{width:100%!important;height:52px!important}
.woocommerce-cart .actions .button{width:100%!important;min-height:52px!important;margin-top:8px!important}
.woocommerce-cart .cart-collaterals{margin-top:18px!important}
.woocommerce-cart .cart_totals{width:100%!important;padding:20px!important;border-radius:16px!important}
.woocommerce-cart .cart_totals h2{font-size:25px!important}
.woocommerce-cart .wc-proceed-to-checkout{position:sticky;bottom:8px;z-index:20;background:rgba(245,247,248,.96);padding:10px!important;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{min-height:58px!important;font-size:17px!important}

/* Checkout */
.rl-checkout-page{padding-top:22px!important}
.woocommerce-checkout form.checkout{grid-template-columns:1fr!important;gap:16px!important}
.woocommerce-checkout .col2-set,.woocommerce-checkout #order_review{padding:18px!important;border-radius:16px!important}
.woocommerce-checkout .form-row{margin-bottom:14px!important}
.woocommerce-checkout input.input-text,.woocommerce-checkout textarea,.woocommerce-checkout select,.woocommerce-checkout .select2-selection{min-height:52px!important;font-size:16px!important;border-radius:12px!important}
.woocommerce-checkout #place_order{width:100%!important;min-height:58px!important;font-size:17px!important}

/* Footer */
.site-footer{padding:34px 0 24px!important}
.footer-grid-main{grid-template-columns:1fr!important;gap:24px!important}
.footer-brand .brand-main{font-size:26px!important}
.footer-production h3{font-size:21px!important}
.footer-production p{font-size:16px!important;line-height:1.5!important}
.footer-menu{display:grid!important;grid-template-columns:1fr 1fr;gap:0 18px!important}
.footer-menu li{border-bottom:1px solid rgba(255,255,255,.1)}
.footer-menu a{display:block;padding:12px 0;font-size:15px}
.footer-note{font-size:18px;white-space:normal!important}
.footer-legal{margin-top:20px!important;padding-top:18px!important}
.footer-legal p{font-size:14px!important;line-height:1.55!important}

/* General touch targets */
button,a.btn,input[type="submit"],.button{touch-action:manipulation}
