/*
Theme Name: Ramed Eyewear Stage 21
Theme URI: https://example.com/ramed-eyewear
Author: Ramed
Description: قالب فارسی فروشگاه عینک، سازگار با ووکامرس و المنتور.
Version: 2.7.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: ramed-eyewear
*/
@font-face{font-family:Shazde;src:url('assets/fonts/Shazde-Regular.woff') format('woff');font-weight:100 900;font-style:normal;font-display:swap}
:root{--blue:#155eef;--navy:#0b2a55;--black:#101828;--green:#16b878;--green-dark:#0e8f5b;--mint:#effbf5;--bg:#fff;--surface:#f6f8fa;--muted:#667085;--border:#e7eaee;--radius:22px;--shadow:0 18px 50px rgba(16,24,40,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body,button,input,select,textarea{font-family:Shazde,Tahoma,Arial,sans-serif}body{margin:0;background:#fff;color:var(--black);line-height:1.9;direction:rtl}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.container{width:min(1240px,calc(100% - 40px));margin:auto}.site-main{min-height:60vh}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{background:#07111f;color:#fff;font-size:13px}.topbar .container{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.header-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:15px 0}.site-branding{display:flex;align-items:center;gap:10px}.brand-mark{font-size:30px;font-weight:900;letter-spacing:-1px}.brand-mark span{color:var(--green)}.custom-logo{max-height:48px;width:auto}.main-navigation ul{display:flex;justify-content:center;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.main-navigation a{font-weight:700;font-size:14px;transition:.2s}.main-navigation a:hover{color:var(--green)}.header-actions{display:flex;gap:9px}.icon-btn{position:relative;width:43px;height:43px;border:1px solid var(--border);border-radius:14px;display:grid;place-items:center;background:#fff;transition:.2s}.icon-btn:hover{color:var(--green);border-color:#bcebd5;transform:translateY(-2px)}.icon-btn small{position:absolute;top:-6px;right:-5px;background:var(--green);color:#fff;border-radius:99px;min-width:18px;height:18px;line-height:18px;text-align:center}.mobile-toggle,.mobile-menu{display:none}
.hero-reference{position:relative;overflow:hidden;background:linear-gradient(135deg,#f3fff8 0%,#fff 62%,#f8fbff 100%);padding:62px 0 48px}.hero-reference:before,.hero-reference:after{content:"";position:absolute;border-radius:45% 55% 58% 42%;filter:blur(1px);opacity:.75}.hero-reference:before{width:420px;height:350px;background:#e1f8ec;right:43%;top:42px;transform:rotate(18deg)}.hero-reference:after{width:230px;height:190px;background:#fbf7ea;right:4%;bottom:30px}.hero-reference-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.06fr .94fr;gap:58px;align-items:center;direction:rtl}.hero-content{order:1;text-align:right}.hero-proof{display:inline-flex;border:1px solid #bdebd6;background:rgba(255,255,255,.85);color:var(--green-dark);padding:7px 16px;border-radius:99px;font-weight:800;box-shadow:0 6px 18px rgba(22,184,120,.08)}.hero-content h1{font-size:58px;line-height:1.34;letter-spacing:-2.6px;margin:24px 0 15px;color:var(--navy)}.hero-content h1 em{font-style:normal;color:var(--green);display:block}.hero-content>p{font-size:18px;color:var(--muted);max-width:650px;margin:0 0 28px}.hero-search{position:relative;background:#fff;padding:9px;border-radius:18px;display:flex;box-shadow:0 18px 42px rgba(16,24,40,.1);border:1px solid #eef0f2}.hero-search input{flex:1;border:0;outline:0;padding:10px 18px;font-size:15px;background:transparent}.hero-search button{border:0;background:var(--green);color:#fff;border-radius:13px;padding:12px 23px;font-weight:900;font-size:15px;cursor:pointer}.hero-search button:hover{background:var(--green-dark)}.live-search-results{display:none;position:absolute;top:calc(100% + 8px);right:0;left:0;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);z-index:20;padding:8px}.live-search-results.open{display:block}.search-result-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px}.search-result-item:hover{background:var(--surface)}.search-result-item img{width:52px;height:52px;object-fit:cover;border-radius:10px}.search-result-item span,.search-result-item strong,.search-result-item small{display:block}.hero-suggestions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px;color:#98a2b3}.hero-suggestions a{background:#f4f6f8;border-radius:99px;padding:4px 13px;font-size:13px;color:#667085}.hero-showcase{order:2;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:155px 210px 150px;gap:16px;direction:ltr}.hero-card{direction:rtl;border-radius:24px;background:#fff;border:1px solid #edf0f2;box-shadow:var(--shadow);overflow:hidden}.hero-benefit{grid-column:1;grid-row:1;background:linear-gradient(135deg,#1ac382,#10a668);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.hero-benefit span{font-size:30px}.hero-benefit strong,.hero-stat strong{font-size:26px}.hero-benefit small{opacity:.9}.hero-product{padding:15px;display:flex;flex-direction:column}.hero-product-large{grid-column:2;grid-row:1/3}.hero-product-small{grid-column:1;grid-row:2/4}.hero-product img{width:100%;background:#f5f7f8;border-radius:17px;object-fit:contain}.hero-product-large img{height:190px}.hero-product-small img{height:185px}.hero-product h3{margin:10px 0 0;font-size:16px}.hero-product small{color:#98a2b3}.hero-product div{display:flex;flex-direction:column;margin-top:auto}.hero-product del{font-size:12px;color:#98a2b3}.hero-product b{color:var(--green)}.hero-stat{grid-column:2;grid-row:3;background:linear-gradient(140deg,#0b2a55,#155eef);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.section{padding:48px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-kicker{color:var(--green);font-weight:800;font-size:13px}.section-kicker.light{color:#90f2c7}.section-title{font-size:30px;line-height:1.4;margin:3px 0}.section-subtitle{color:var(--muted);margin:0}.link-more{font-weight:800;color:var(--blue)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.category-card{border:1px solid var(--border);border-radius:20px;padding:15px;background:#fff;text-align:center;transition:.25s}.category-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#bdebd6}.category-image{background:var(--surface);border-radius:16px;height:130px;display:grid;place-items:center;overflow:hidden}.category-image img{width:92%;height:100%;object-fit:contain}.category-card h3{margin:12px 0 0;font-size:16px}.category-card small{color:var(--muted)}
.slider-head-actions{display:flex;align-items:center;gap:9px}.slider-arrow{width:39px;height:39px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;font-size:19px}.slider-arrow:hover{background:var(--black);color:#fff}.ramed-slider-track{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab}.ramed-slider-track::-webkit-scrollbar{display:none}.ramed-slider-track.dragging{cursor:grabbing;scroll-snap-type:none}.ramed-slider-track>ul.products{display:flex!important;gap:14px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important}.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex:0 0 calc((100% - 56px)/5)!important;width:calc((100% - 56px)/5)!important;margin:0!important;scroll-snap-align:start}.product-card,.woocommerce ul.products li.product{background:#fff;border:1px solid var(--border);border-radius:19px;padding:10px!important;position:relative;transition:.25s;overflow:hidden}.product-card:hover,.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-thumb,.woocommerce ul.products li.product a img{background:var(--surface);border-radius:14px;aspect-ratio:1.15/1;object-fit:contain;margin:0 0 11px!important}.product-meta{padding:0 3px 5px}.product-meta h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.65;margin:0 0 5px!important;padding:0!important}.price,.woocommerce ul.products li.product .price{color:var(--black)!important;font-weight:900!important;font-size:14px!important}.product-badge,.woocommerce span.onsale{position:absolute!important;top:17px!important;right:17px!important;left:auto!important;min-height:auto!important;min-width:auto!important;line-height:1!important;background:var(--green)!important;color:#fff!important;border-radius:99px!important;padding:6px 9px!important;font-size:10px!important;font-weight:800!important;z-index:2}.woocommerce ul.products li.product .button,.add-to-cart{display:block;width:100%;background:var(--black)!important;color:#fff!important;border-radius:11px!important;text-align:center;padding:9px!important;margin-top:9px!important;font-size:12px!important}.woocommerce ul.products li.product .button:hover,.add-to-cart:hover{background:var(--blue)!important}.promo-strip{background:linear-gradient(135deg,#07111f,#0b2a55);color:#fff;border-radius:26px;padding:35px;display:grid;grid-template-columns:1fr auto;align-items:center}.promo-strip h2{margin:0;font-size:30px}.promo-strip p{margin:4px 0;color:#d0d5dd}.btn{display:inline-flex;padding:11px 19px;border-radius:12px;font-weight:800}.btn-green{background:var(--green);color:#fff}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.feature{border:1px solid var(--border);border-radius:18px;padding:20px;background:#fff}.feature-icon{font-size:25px;color:var(--green)}.feature strong,.feature span{display:block}.feature span{font-size:13px;color:var(--muted)}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.article-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#fff}.article-card img,.article-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;background:linear-gradient(135deg,#eafaf2,#eaf1ff);display:grid;place-items:center;font-size:30px;font-weight:900;color:var(--navy)}.article-card .content{padding:17px}.article-card h3{margin:0;font-size:17px}.article-card p{color:var(--muted);font-size:13px}
.site-footer{background:#07111f;color:#fff;margin-top:45px}.footer-newsletter{padding:30px 0;border-bottom:1px solid rgba(255,255,255,.1)}.newsletter-box{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#0b2a55,#103969);padding:25px;border-radius:22px}.newsletter-box h3{margin:0}.newsletter-form{display:flex;background:#fff;padding:5px;border-radius:13px;min-width:420px}.newsletter-form input{flex:1;border:0;outline:0;padding:9px 13px}.newsletter-form button{border:0;border-radius:10px;background:var(--green);color:#fff;padding:9px 17px;font-weight:800}.footer-grid{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:30px;padding:48px 0 30px}.site-footer h4{margin:0 0 13px}.site-footer p,.site-footer li{color:#b8c1ce}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:7px 0}.footer-licenses{display:flex;gap:10px;margin-top:17px;flex-wrap:wrap}.license-badge{width:74px;height:74px;border-radius:14px;background:#fff;color:#0b2a55;display:grid;place-items:center;text-align:center;font-size:11px;font-weight:900;padding:7px}.social-links{display:flex;gap:8px;margin-top:15px}.social-links a{width:37px;height:37px;border:1px solid rgba(255,255,255,.16);border-radius:10px;display:grid;place-items:center}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;color:#98a2b3;font-size:13px}.footer-bottom .container{display:flex;justify-content:space-between;gap:15px}
.page-header{background:var(--surface);padding:40px 0}.entry-content{max-width:900px;margin:30px auto}.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--blue)!important;border-radius:12px}.woocommerce-message,.woocommerce-info{border-top-color:var(--green)!important}
@media(max-width:1020px){.main-navigation{display:none}.mobile-toggle{display:grid}.header-main{grid-template-columns:auto 1fr auto}.hero-reference-grid{grid-template-columns:1fr;gap:35px}.hero-content{order:1}.hero-showcase{order:2;max-width:720px;width:100%;margin:auto}.category-grid{grid-template-columns:repeat(3,1fr)}.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex-basis:calc((100% - 28px)/3)!important;width:calc((100% - 28px)/3)!important}.footer-grid{grid-template-columns:1fr 1fr}.newsletter-box{align-items:flex-start;flex-direction:column}.newsletter-form{width:100%;min-width:0}.mobile-menu.open{display:block}.mobile-menu ul{list-style:none;padding:8px 0 15px;margin:0}.mobile-menu li{padding:8px 0;border-bottom:1px solid var(--border)}}
@media(max-width:650px){.container{width:min(100% - 22px,1440px)}.topbar .left{display:none}.topbar .container{justify-content:center}.header-main{gap:8px}.header-actions .account{display:none}.hero-reference{padding:35px 0}.hero-content h1{font-size:39px;letter-spacing:-1.5px}.hero-content>p{font-size:15px}.hero-search button span{display:none}.hero-showcase{grid-template-rows:120px 175px 125px;gap:10px}.hero-product{padding:9px}.hero-product-large img,.hero-product-small img{height:125px}.hero-product h3{font-size:13px}.hero-benefit strong,.hero-stat strong{font-size:20px}.category-grid{display:flex;overflow-x:auto;gap:10px;scrollbar-width:none}.category-card{flex:0 0 155px}.category-image{height:105px}.section{padding:35px 0}.section-title{font-size:24px}.section-head{align-items:flex-start}.slider-head-actions .link-more{display:none}.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex-basis:calc((100% - 10px)/2)!important;width:calc((100% - 10px)/2)!important}.features{grid-template-columns:1fr 1fr}.article-grid{grid-template-columns:1fr}.promo-strip{grid-template-columns:1fr;gap:16px}.footer-grid{grid-template-columns:1fr}.footer-bottom .container{flex-direction:column}.newsletter-form{flex-direction:column}.newsletter-form button{padding:12px}.header-actions{gap:5px}.icon-btn{width:39px;height:39px}}
.ramed-search-form{display:flex;gap:8px;max-width:680px;margin:24px auto}.ramed-search-form input{flex:1;border:1px solid var(--border);border-radius:14px;padding:12px 16px;outline:0}.ramed-search-form button{border:0;border-radius:12px;background:var(--green);color:#fff;padding:11px 20px;font-weight:800;cursor:pointer}.comments-area{max-width:900px;margin:50px auto}.comment-list{list-style:none;padding:0}.comment-body{border:1px solid var(--border);border-radius:16px;padding:18px;margin:12px 0}.nav-links{display:flex;justify-content:center;gap:8px;margin:28px 0}.page-numbers{padding:8px 13px;border:1px solid var(--border);border-radius:10px}.page-numbers.current{background:var(--green);color:#fff;border-color:var(--green)}

/* Stage 2: coded hero collage + Elementor widgets */
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px}.btn-primary{background:var(--navy);color:#fff}.btn-primary:hover{background:#123c74}.btn-light{background:#fff;color:var(--navy);border:1px solid var(--border)}
.hero-collage{position:relative;display:grid;grid-template-columns:1.35fr .8fr;grid-template-rows:1fr 1fr;gap:16px;min-height:470px;padding:18px;border-radius:34px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.85);box-shadow:0 30px 80px rgba(11,42,85,.12);backdrop-filter:blur(12px)}
.hero-collage figure{margin:0;overflow:hidden;background:#f1f3f5;border-radius:25px;border:1px solid rgba(11,42,85,.06)}.hero-collage img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}.hero-collage figure:hover img{transform:scale(1.045)}
.hero-collage-main{grid-row:1/3}.hero-collage-small.top{grid-column:2;grid-row:1}.hero-collage-small.bottom{grid-column:2;grid-row:2}.hero-collage-main img{object-fit:contain;padding:24px}.hero-collage-small img{object-fit:contain;padding:14px}
.hero-floating-note,.hero-floating-stat{position:absolute;z-index:4;background:#fff;border:1px solid var(--border);box-shadow:0 18px 38px rgba(11,42,85,.14);border-radius:18px;padding:12px 16px;direction:rtl}.hero-floating-note{right:-22px;bottom:42px}.hero-floating-stat{left:-18px;top:36px;background:var(--green);color:#fff;border-color:transparent}.hero-floating-note strong,.hero-floating-note span,.hero-floating-stat strong,.hero-floating-stat span{display:block}.hero-floating-note span,.hero-floating-stat span{font-size:12px;opacity:.8}.hero-floating-stat strong{font-size:22px}
.slider-dots{display:flex;justify-content:center;gap:7px;margin-top:16px}.slider-dot{border:0;width:8px;height:8px;border-radius:99px;background:#d8dee8;padding:0;cursor:pointer;transition:.2s}.slider-dot.active{width:24px;background:var(--green)}
.elementor-ramed-products .container,.ramed-elementor-hero .container{width:min(1440px,calc(100% - 40px))}
@media(max-width:1020px){.hero-collage{min-height:420px}.hero-floating-note{right:12px}.hero-floating-stat{left:12px}}
@media(max-width:650px){.hero-actions .btn{flex:1;text-align:center}.hero-collage{min-height:340px;grid-template-columns:1fr 1fr;padding:10px;border-radius:22px}.hero-collage-main{grid-column:1/3;grid-row:1}.hero-collage-small.top{grid-column:1;grid-row:2}.hero-collage-small.bottom{grid-column:2;grid-row:2}.hero-floating-note{right:14px;bottom:14px;padding:8px 11px}.hero-floating-stat{left:14px;top:14px;padding:8px 11px}.hero-collage-main img{padding:14px}}

/* Stage 3: professional licenses, single product and single article */
.footer-kicker{display:block;color:#61d5a2;font-size:12px;font-weight:900;letter-spacing:.02em;margin-bottom:4px}.footer-license-section{display:grid;grid-template-columns:1fr auto;align-items:center;gap:38px;padding:26px 0 42px;border-top:1px solid rgba(255,255,255,.1)}.license-copy h3{margin:0 0 6px;font-size:21px}.license-copy p{margin:0;color:#a9b4c3;max-width:650px;font-size:13px}.footer-license-section .footer-licenses{margin:0;display:grid;grid-template-columns:repeat(3,110px);gap:12px}.footer-license-section .license-badge{width:110px;height:125px;padding:10px;background:#fff;border:1px solid rgba(255,255,255,.16);transition:.25s}.footer-license-section .license-badge:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(0,0,0,.18)}.license-badge img{width:68px;height:68px;object-fit:contain}.license-badge strong{font-size:11px;line-height:1.5}.license-placeholder{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:var(--mint);color:var(--green);font-size:25px}.footer-about{max-width:360px}

/* WooCommerce single product */
.ramed-single-product-page{background:linear-gradient(180deg,#fbfcfd 0,#fff 420px)}.ramed-product-breadcrumbs{padding-top:22px}.ramed-product-breadcrumbs .woocommerce-breadcrumb{margin:0;color:var(--muted);font-size:13px}.ramed-product-shell{padding-top:20px;padding-bottom:30px}.ramed-product-shell .woocommerce-notices-wrapper{margin-bottom:18px}.ramed-product-shell div.product{background:#fff;border:1px solid var(--border);border-radius:28px;padding:24px;box-shadow:0 20px 60px rgba(16,24,40,.055)}.ramed-product-shell div.product::after{content:"";display:block;clear:both}.ramed-product-shell div.product div.images{width:54%;margin:0}.ramed-product-shell div.product div.summary{width:42%;margin:0;padding:16px 8px 10px 22px}.ramed-product-shell div.product .woocommerce-product-gallery__wrapper{background:#f7f8fa;border-radius:22px;overflow:hidden}.ramed-product-shell div.product .woocommerce-product-gallery__image a{display:block;padding:28px}.ramed-product-shell div.product .woocommerce-product-gallery__image img{aspect-ratio:1.12/1;object-fit:contain}.ramed-product-shell .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px!important}.ramed-product-shell .flex-control-thumbs li{width:auto!important;float:none!important;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#f7f8fa}.ramed-product-shell .flex-control-thumbs img{aspect-ratio:1/1;object-fit:contain;padding:5px}.ramed-product-shell div.product .product_title{font-size:33px;line-height:1.45;margin:0 0 12px;color:var(--navy)}.ramed-product-shell .woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin:0 0 14px}.ramed-product-shell div.product p.price,.ramed-product-shell div.product span.price{font-size:22px!important;color:var(--navy)!important;margin:12px 0}.ramed-product-shell .woocommerce-product-details__short-description{color:var(--muted);font-size:14px}.ramed-product-shell form.cart{display:flex;gap:10px;align-items:center;padding:20px 0;margin:0!important;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.ramed-product-shell form.cart .quantity .qty{height:48px;width:76px;border:1px solid var(--border);border-radius:12px;padding:0 10px}.ramed-product-shell form.cart .single_add_to_cart_button{height:48px;flex:1;background:var(--green)!important;border-radius:12px!important;font-weight:900!important}.ramed-product-shell form.cart .single_add_to_cart_button:hover{background:var(--green-dark)!important}.ramed-product-shell .product_meta{display:grid;gap:7px;color:var(--muted);font-size:13px;padding-top:16px}.ramed-product-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.ramed-product-trust>div{background:#f8fafb;border:1px solid var(--border);border-radius:15px;padding:12px 9px;text-align:center}.ramed-product-trust span{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 6px;border-radius:10px;background:var(--mint);color:var(--green);font-weight:900}.ramed-product-trust strong,.ramed-product-trust small{display:block}.ramed-product-trust strong{font-size:11px}.ramed-product-trust small{font-size:9px;color:var(--muted);margin-top:3px}.ramed-product-support{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#eef8ff,#f1fbf6);border:1px solid #dcecf4;border-radius:20px;padding:18px 20px;margin:30px 0}.ramed-product-support .support-icon{width:48px;height:48px;border-radius:15px;background:#fff;display:grid;place-items:center;font-size:22px;color:var(--blue)}.ramed-product-support div{flex:1}.ramed-product-support strong,.ramed-product-support p{display:block;margin:0}.ramed-product-support p{color:var(--muted);font-size:12px}.ramed-product-support a{background:var(--navy);color:#fff;padding:10px 15px;border-radius:11px;font-size:13px}.ramed-product-shell .woocommerce-tabs{padding-top:35px}.ramed-product-shell .woocommerce-tabs ul.tabs{display:flex;gap:8px;padding:0!important;margin:0 0 18px!important;border-bottom:1px solid var(--border)}.ramed-product-shell .woocommerce-tabs ul.tabs::before,.ramed-product-shell .woocommerce-tabs ul.tabs li::before,.ramed-product-shell .woocommerce-tabs ul.tabs li::after{display:none!important}.ramed-product-shell .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;border-radius:0!important;margin:0!important;padding:0 18px 12px!important}.ramed-product-shell .woocommerce-tabs ul.tabs li.active{border-bottom:3px solid var(--green)!important}.ramed-product-shell .woocommerce-tabs .panel{background:#fff;border:1px solid var(--border);border-radius:20px;padding:24px!important;margin:0!important}.ramed-product-shell .related.products,.ramed-product-shell .upsells.products{margin-top:46px}.ramed-product-shell .related.products>h2,.ramed-product-shell .upsells.products>h2{font-size:27px;color:var(--navy);margin-bottom:20px}.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ramed-product-shell .related.products ul.products li.product,.ramed-product-shell .upsells.products ul.products li.product{width:auto!important;margin:0!important}

/* Professional single article */
.ramed-single-article{background:#fff}.article-hero{background:linear-gradient(145deg,#f3f8ff,#f5fbf8);padding:28px 0 48px;border-bottom:1px solid var(--border)}.article-breadcrumbs{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:26px;white-space:nowrap;overflow:hidden}.article-breadcrumbs span:last-child{overflow:hidden;text-overflow:ellipsis}.article-heading{display:grid;grid-template-columns:.9fr 1.1fr;gap:42px;align-items:center}.article-heading-content{padding:10px 0}.article-category a{display:inline-flex;background:#eaf8f1;color:var(--green-dark);padding:6px 11px;border-radius:99px;font-size:12px;font-weight:900}.article-heading h1{font-size:43px;line-height:1.55;letter-spacing:-1.1px;color:var(--navy);margin:15px 0}.article-lead{font-size:16px;color:var(--muted);margin:0 0 22px}.article-byline{display:flex;align-items:center;gap:11px}.article-byline img{border-radius:50%}.article-byline strong,.article-byline span{display:block}.article-byline span{font-size:12px;color:var(--muted)}.article-cover{margin:0;border-radius:27px;overflow:hidden;box-shadow:0 25px 65px rgba(11,42,85,.12)}.article-cover img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.article-layout{display:grid;grid-template-columns:235px minmax(0,850px);justify-content:center;gap:34px;align-items:start;padding:48px 0}.article-sidebar{position:sticky;top:105px;display:grid;gap:14px}.article-share-card,.article-toc{border:1px solid var(--border);border-radius:18px;padding:16px;background:#fff}.article-share-card>strong,.article-toc>strong{display:block;color:var(--navy);margin-bottom:10px}.article-share-links{display:grid;gap:7px}.article-share-links a,.article-share-links button{border:1px solid var(--border);border-radius:10px;background:#fff;padding:8px 10px;text-align:right;font-family:inherit;cursor:pointer;font-size:12px}.article-share-links a:hover,.article-share-links button:hover{background:var(--mint);border-color:#cfeedd}.article-toc nav{display:grid;gap:5px}.article-toc nav a{font-size:12px;color:#4f5f73;padding:5px 0;border-bottom:1px dashed #edf0f3}.article-toc nav a.toc-child{padding-right:12px;font-size:11px}.article-content-card{min-width:0}.ramed-article-content{max-width:none;margin:0;font-size:16px;color:#27364a}.ramed-article-content>p:first-child{font-size:18px;color:#344054}.ramed-article-content h2{font-size:29px;color:var(--navy);margin:42px 0 12px}.ramed-article-content h3{font-size:22px;color:var(--navy);margin:32px 0 10px}.ramed-article-content p{margin:0 0 18px}.ramed-article-content img{border-radius:20px;margin:14px auto}.ramed-article-content blockquote{margin:26px 0;border-right:4px solid var(--green);background:var(--mint);border-radius:15px;padding:18px 22px;color:#224737}.ramed-article-content ul,.ramed-article-content ol{background:#fafbfc;border:1px solid var(--border);border-radius:17px;padding:18px 38px 18px 18px}.article-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:35px 0 20px;padding-top:20px;border-top:1px solid var(--border)}.article-tags a{background:#f2f4f7;padding:5px 10px;border-radius:99px;font-size:12px}.article-author-box{display:flex;gap:17px;align-items:center;background:linear-gradient(135deg,#f7f9fc,#f0faf5);border:1px solid var(--border);border-radius:22px;padding:22px}.article-author-box img{border-radius:50%}.article-author-box span{font-size:11px;color:var(--green-dark)}.article-author-box h3{margin:0;color:var(--navy)}.article-author-box p{margin:4px 0 0;color:var(--muted);font-size:13px}.ramed-related-posts{padding:32px 0}.ramed-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.ramed-related-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#fff;transition:.25s}.ramed-related-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.related-image{display:block;background:#f5f7f9}.related-image img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.related-image>span{display:grid;place-items:center;aspect-ratio:16/10;font-size:35px;color:var(--navy)}.related-body{padding:16px}.article-meta{display:flex;gap:10px;color:var(--muted);font-size:10px}.related-body h3{font-size:17px;line-height:1.65;margin:6px 0}.related-body p{font-size:12px;color:var(--muted);margin:0 0 8px}.read-more{color:var(--green-dark);font-size:12px;font-weight:900}

@media(max-width:1020px){.footer-license-section{grid-template-columns:1fr}.footer-license-section .footer-licenses{justify-content:start}.ramed-product-shell div.product div.images,.ramed-product-shell div.product div.summary{width:100%;float:none}.ramed-product-shell div.product div.summary{padding:25px 5px 5px}.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{grid-template-columns:repeat(3,1fr)}.article-heading{grid-template-columns:1fr}.article-heading-content{order:2}.article-cover{order:1;max-width:800px}.article-layout{grid-template-columns:1fr}.article-sidebar{position:static;grid-template-columns:1fr 1fr}.article-heading h1{font-size:36px}}
@media(max-width:650px){.footer-license-section .footer-licenses{grid-template-columns:repeat(3,1fr);width:100%}.footer-license-section .license-badge{width:100%;height:112px}.ramed-product-shell{width:min(100% - 14px,1440px)}.ramed-product-shell div.product{padding:12px;border-radius:20px}.ramed-product-shell div.product .product_title{font-size:25px}.ramed-product-trust{grid-template-columns:1fr}.ramed-product-support{align-items:flex-start;flex-wrap:wrap}.ramed-product-support a{width:100%;text-align:center}.ramed-product-shell .woocommerce-tabs ul.tabs{overflow-x:auto}.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{grid-template-columns:repeat(2,1fr)}.article-hero{padding-bottom:30px}.article-heading{gap:20px}.article-heading h1{font-size:29px}.article-cover{border-radius:19px}.article-layout{padding:28px 0}.article-sidebar{grid-template-columns:1fr}.ramed-article-content{font-size:15px}.ramed-article-content h2{font-size:24px}.ramed-related-grid{grid-template-columns:1fr}.article-author-box{align-items:flex-start}.article-byline span{font-size:10px}}


/* Stage 4 — stable WooCommerce product layout */
.woocommerce ul.products,
.woocommerce-page ul.products{
  list-style:none;
  margin:0!important;
  padding:0!important;
}

/* Product sliders: WooCommerce shortcode adds a wrapper div, so target it too. */
.ramed-slider-track .woocommerce,
.ramed-slider-track .woocommerce-page{
  width:100%;
  min-width:100%;
}
.ramed-slider-track .woocommerce ul.products,
.ramed-slider-track .woocommerce-page ul.products,
.ramed-slider-track > ul.products{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  gap:16px!important;
  width:max-content!important;
  min-width:100%!important;
  margin:0!important;
  padding:2px 2px 16px!important;
  clear:none!important;
}
.ramed-slider-track .woocommerce ul.products::before,
.ramed-slider-track .woocommerce ul.products::after,
.ramed-slider-track .woocommerce-page ul.products::before,
.ramed-slider-track .woocommerce-page ul.products::after{
  display:none!important;
  content:none!important;
}
.ramed-slider-track .woocommerce ul.products li.product,
.ramed-slider-track .woocommerce-page ul.products li.product,
.ramed-slider-track > ul.products li.product,
.ramed-slider-track > .product-card{
  float:none!important;
  clear:none!important;
  flex:0 0 calc((min(1440px, calc(100vw - 40px)) - 64px) / 5)!important;
  width:calc((min(1440px, calc(100vw - 40px)) - 64px) / 5)!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-self:stretch!important;
  scroll-snap-align:start;
}
.ramed-slider-track .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.ramed-slider-track .woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link{
  display:flex;
  flex-direction:column;
  flex:1;
}
.ramed-slider-track .woocommerce ul.products li.product .button,
.ramed-slider-track .woocommerce-page ul.products li.product .button{
  margin-top:auto!important;
}

/* Shop/archive products: clean grid with cards side by side. */
.woocommerce.archive ul.products,
.woocommerce-page.archive ul.products,
.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.tax-product_tag ul.products{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
}
.woocommerce.archive ul.products::before,
.woocommerce.archive ul.products::after,
.woocommerce-page.archive ul.products::before,
.woocommerce-page.archive ul.products::after{
  display:none!important;
  content:none!important;
}
.woocommerce.archive ul.products li.product,
.woocommerce-page.archive ul.products li.product,
.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.tax-product_tag ul.products li.product{
  float:none!important;
  clear:none!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
.woocommerce.archive ul.products li.product .button,
.woocommerce-page.archive ul.products li.product .button{
  margin-top:auto!important;
}

/* Keep product images and text aligned across every card. */
.woocommerce ul.products li.product a img{
  width:100%!important;
  height:auto!important;
  display:block!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:3.3em;
}
.woocommerce ul.products li.product .price{
  min-height:2em;
  display:flex!important;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

@media(max-width:1180px){
  .ramed-slider-track .woocommerce ul.products li.product,
  .ramed-slider-track .woocommerce-page ul.products li.product,
  .ramed-slider-track > ul.products li.product,
  .ramed-slider-track > .product-card{
    flex-basis:calc((100vw - 72px)/3)!important;
    width:calc((100vw - 72px)/3)!important;
  }
  .woocommerce.archive ul.products,
  .woocommerce-page.archive ul.products,
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .ramed-slider-track .woocommerce ul.products,
  .ramed-slider-track .woocommerce-page ul.products,
  .ramed-slider-track > ul.products{
    gap:10px!important;
  }
  .ramed-slider-track .woocommerce ul.products li.product,
  .ramed-slider-track .woocommerce-page ul.products li.product,
  .ramed-slider-track > ul.products li.product,
  .ramed-slider-track > .product-card{
    flex-basis:calc((100vw - 42px)/2)!important;
    width:calc((100vw - 42px)/2)!important;
  }
  .woocommerce.archive ul.products,
  .woocommerce-page.archive ul.products,
  .post-type-archive-product ul.products,
  .tax-product_cat ul.products,
  .tax-product_tag ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}

/* Stage 5 — polished products, product page, article and cart */
:root{--ramed-card-gap:16px}
.ramed-slider-track{width:100%;overflow-x:auto;overflow-y:visible;padding:4px 0 12px}
.ramed-slider-track .woocommerce{width:max-content!important;min-width:100%!important}
.ramed-slider-track .woocommerce ul.products,.ramed-slider-track>ul.products{width:max-content!important;min-width:100%!important;align-items:stretch!important}
.ramed-slider-track .woocommerce ul.products li.product,.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex-basis:calc((var(--ramed-slider-width,1200px) - 64px)/5)!important;width:calc((var(--ramed-slider-width,1200px) - 64px)/5)!important;min-width:190px!important}
.woocommerce ul.products li.product{display:flex!important;flex-direction:column!important;height:auto;border-radius:18px!important;padding:10px!important;background:#fff!important;border:1px solid #e7ebef!important;box-shadow:0 5px 18px rgba(16,24,40,.035)}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1!important}
.woocommerce ul.products li.product a img{aspect-ratio:1.18/1!important;object-fit:contain!important;background:#f4f5f7!important;border-radius:13px!important;padding:12px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.25em!important;font-size:14px!important;line-height:1.65!important;color:var(--navy)!important}
.woocommerce ul.products li.product .price{min-height:2.2em!important;margin-top:auto!important;font-size:14px!important}
.woocommerce ul.products li.product .button{margin-top:10px!important;min-height:40px!important;display:grid!important;place-items:center!important}
.woocommerce ul.products li.product .added_to_cart{font-size:11px;text-align:center;margin-top:6px;color:var(--green-dark)}

/* Professional single product */
.single-product .site-main{padding-bottom:45px}
.ramed-product-shell div.product{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:42px;align-items:start;padding:28px!important}
.ramed-product-shell div.product div.images,.ramed-product-shell div.product div.summary{float:none!important;width:auto!important;margin:0!important}
.ramed-product-shell div.product div.summary{position:sticky;top:112px;padding:8px 0!important}
.ramed-product-shell div.product .woocommerce-product-gallery{min-width:0}
.ramed-product-shell div.product .woocommerce-product-gallery__wrapper{border:1px solid #edf0f2;background:#f7f8f9!important}
.ramed-product-shell div.product .woocommerce-product-gallery__image img{max-height:570px}
.ramed-product-shell .summary .woocommerce-breadcrumb{display:none}
.ramed-product-shell .summary .product_title{font-size:34px!important;letter-spacing:-.4px}
.ramed-product-shell .summary .price{padding:14px 0;border-top:1px dashed var(--border);border-bottom:1px dashed var(--border)}
.ramed-product-shell .summary .stock{display:inline-flex;padding:5px 10px;border-radius:99px;background:var(--mint);color:var(--green-dark);font-size:12px;font-weight:800}
.ramed-product-shell form.variations_form{display:block!important}
.ramed-product-shell table.variations{margin:14px 0!important}
.ramed-product-shell table.variations th,.ramed-product-shell table.variations td{display:block;padding:4px 0!important;text-align:right}
.ramed-product-shell table.variations select{width:100%;height:46px;border:1px solid var(--border);border-radius:12px;background:#fff;padding:0 12px;font-family:inherit}
.ramed-product-shell .woocommerce-tabs,.ramed-product-shell .ramed-product-support,.ramed-product-shell .related.products,.ramed-product-shell .upsells.products{grid-column:1/-1;width:100%}
.ramed-product-shell .woocommerce-tabs{margin-top:12px}
.ramed-product-shell .woocommerce-tabs .panel{line-height:2;color:#344054}
.ramed-product-shell .woocommerce-tabs table.shop_attributes{border:0}
.ramed-product-shell .woocommerce-tabs table.shop_attributes th,.ramed-product-shell .woocommerce-tabs table.shop_attributes td{border:0;border-bottom:1px solid var(--border);padding:13px;background:transparent}
.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important}

/* Professional single article */
.ramed-single-article .article-content-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:clamp(22px,4vw,48px);box-shadow:0 14px 45px rgba(16,24,40,.04)}
.ramed-single-article .article-sidebar>div{background:#fff;border:1px solid var(--border);border-radius:18px;padding:17px}
.ramed-single-article .article-cover img{width:100%;height:100%;object-fit:cover}
.ramed-single-article .article-breadcrumbs{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ramed-single-article .comments-area{background:#fff;border:1px solid var(--border);border-radius:22px;padding:24px;margin-bottom:40px}
.ramed-single-article .comment-form input:not([type=submit]),.ramed-single-article .comment-form textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px;font-family:inherit}
.ramed-single-article .comment-form .submit{border:0;border-radius:12px;background:var(--green);color:#fff;padding:11px 22px;font-family:inherit;font-weight:900}

/* Cart */
.woocommerce-cart .site-main{background:#f8fafb;padding:34px 0 60px}
.woocommerce-cart .site-main>.container{max-width:1440px}
.ramed-cart-page{width:min(100% - 40px,1440px);margin:0 auto}
.ramed-cart-header{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:25px}
.ramed-cart-header h1{font-size:34px;margin:4px 0;color:var(--navy)}.ramed-cart-header p{margin:0;color:var(--muted)}
.ramed-checkout-steps{display:flex;align-items:center;gap:9px}.ramed-checkout-steps span{display:flex;align-items:center;gap:6px;color:#98a2b3;font-size:12px}.ramed-checkout-steps span b{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#e9edf1}.ramed-checkout-steps span.active{color:var(--green-dark);font-weight:900}.ramed-checkout-steps span.active b{background:var(--green);color:#fff}.ramed-checkout-steps i{width:35px;height:1px;background:#d9dfe5}
.ramed-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start}
.ramed-cart-items,.ramed-summary-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px}
.ramed-cart-items-head{display:flex;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--border)}.ramed-cart-items-head span{color:var(--muted);font-size:12px}
.ramed-cart-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:20px 0;border-bottom:1px solid var(--border)}
.ramed-cart-thumb{background:#f5f6f7;border-radius:16px;overflow:hidden}.ramed-cart-thumb img{width:100%;aspect-ratio:1.15/1;object-fit:contain;padding:10px}
.ramed-cart-product-info{min-width:0}.ramed-cart-title-row{display:flex;justify-content:space-between;gap:12px}.ramed-cart-product-name{font-size:17px;font-weight:900;color:var(--navy)}.ramed-remove-item{width:32px;height:32px;border-radius:10px;background:#fff1f1;color:#c33!important;display:grid;place-items:center;font-size:21px!important}
.ramed-cart-meta{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.ramed-cart-meta span{font-size:10px;background:#f3faf6;color:var(--green-dark);padding:4px 8px;border-radius:99px}
.ramed-cart-item-bottom{display:flex;justify-content:space-between;align-items:end;gap:15px}.ramed-cart-quantity label,.ramed-cart-price small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.ramed-cart-quantity .qty{width:72px;height:40px;border:1px solid var(--border);border-radius:10px;padding:0 10px}.ramed-cart-price{text-align:left}.ramed-cart-price strong{font-size:16px;color:var(--navy)}
.ramed-cart-actions{padding-top:18px;display:flex;align-items:end;justify-content:space-between;gap:15px}.ramed-coupon label{display:block;font-size:11px;margin-bottom:5px}.ramed-coupon>div{display:flex}.ramed-coupon input{height:42px;border:1px solid var(--border);border-radius:0 11px 11px 0;padding:0 12px;font-family:inherit}.ramed-coupon button,.ramed-update-cart{height:42px!important;border:0!important;border-radius:11px!important;padding:0 15px!important;font-family:inherit!important}.ramed-coupon button{border-radius:11px 0 0 11px!important;background:var(--navy)!important;color:#fff!important}.ramed-update-cart{background:#eef1f4!important;color:var(--navy)!important}
.ramed-cart-summary{position:sticky;top:105px}.ramed-summary-card h2{font-size:21px;margin:0 0 15px}.ramed-summary-card .cart_totals{float:none!important;width:100%!important}.ramed-summary-card .cart_totals>h2{display:none}.ramed-summary-card table{border-collapse:collapse!important}.ramed-summary-card th,.ramed-summary-card td{padding:13px 0!important;border-bottom:1px solid var(--border)!important}.ramed-summary-card td{text-align:left}.ramed-summary-card .order-total strong{font-size:20px;color:var(--navy)}.ramed-summary-card .wc-proceed-to-checkout{padding:15px 0 0}.ramed-summary-card .checkout-button{background:var(--green)!important;border-radius:12px!important;font-size:15px!important;margin:0!important;padding:14px!important}.ramed-cart-trust{display:grid;gap:7px;padding-top:15px;border-top:1px solid var(--border);font-size:11px;color:#526171}.ramed-continue-shopping{display:block;text-align:center;margin-top:12px;font-size:12px;color:var(--navy)}
.woocommerce-cart .cross-sells{margin-top:30px}.woocommerce-cart .cross-sells ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}

@media(max-width:1100px){
 .ramed-slider-track .woocommerce ul.products li.product,.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex-basis:calc((var(--ramed-slider-width,900px) - 32px)/3)!important;width:calc((var(--ramed-slider-width,900px) - 32px)/3)!important}
 .ramed-product-shell div.product{grid-template-columns:1fr;gap:22px}.ramed-product-shell div.product div.summary{position:static}.ramed-cart-layout{grid-template-columns:1fr}.ramed-cart-summary{position:static}.ramed-checkout-steps{display:none}.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
 .ramed-slider-track .woocommerce ul.products li.product,.ramed-slider-track>ul.products li.product,.ramed-slider-track>.product-card{flex-basis:calc((var(--ramed-slider-width,340px) - 10px)/2)!important;width:calc((var(--ramed-slider-width,340px) - 10px)/2)!important;min-width:145px!important}
 .ramed-product-shell div.product{padding:12px!important}.ramed-product-shell .related.products ul.products,.ramed-product-shell .upsells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ramed-cart-page{width:min(100% - 18px,1440px)}.ramed-cart-header{align-items:start}.ramed-cart-header h1{font-size:27px}.ramed-cart-item{grid-template-columns:92px minmax(0,1fr);gap:11px}.ramed-cart-items{padding:13px}.ramed-cart-product-name{font-size:14px}.ramed-cart-item-bottom{align-items:start;flex-direction:column}.ramed-cart-price{text-align:right}.ramed-cart-actions{align-items:stretch;flex-direction:column}.ramed-coupon>div{width:100%}.ramed-coupon input{min-width:0;flex:1}.woocommerce-cart .cross-sells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ================= Stage 6: product cards, shop, blog, single product ================= */
.woocommerce ul.products li.product.ramed-product-card{background:#fff;border:1px solid #e7ebef;border-radius:18px;padding:10px!important;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;min-width:0}
.woocommerce ul.products li.product.ramed-product-card:hover{transform:translateY(-4px);border-color:#d6ded9;box-shadow:0 16px 34px rgba(20,37,46,.09)}
.woocommerce ul.products li.product.ramed-product-card a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1;color:inherit}
.woocommerce ul.products li.product.ramed-product-card a img{aspect-ratio:1.2/1;object-fit:contain;background:#f4f6f7;border-radius:13px;padding:12px;margin:0 0 12px!important;transition:transform .3s ease}
.woocommerce ul.products li.product.ramed-product-card:hover a img{transform:scale(1.04)}
.woocommerce ul.products li.product.ramed-product-card .woocommerce-loop-product__title{font-size:14px!important;line-height:1.75!important;padding:0 3px!important;margin:0!important;color:var(--navy);min-height:3.5em}
.woocommerce ul.products li.product.ramed-product-card .price{font-size:14px!important;font-weight:900!important;color:var(--navy)!important;padding:8px 3px 2px;min-height:2.5em}
.woocommerce ul.products li.product.ramed-product-card .button{width:100%;border-radius:11px!important;background:#eef8f2!important;color:var(--green-dark)!important;font-size:12px!important;padding:11px 8px!important;transition:.2s}
.woocommerce ul.products li.product.ramed-product-card .button:hover{background:var(--green)!important;color:#fff!important}
.ramed-slider-track{cursor:grab;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;user-select:none}
.ramed-slider-track.dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.ramed-slider-track a,.ramed-slider-track img{-webkit-user-drag:none}
.ramed-slider-track .woocommerce{width:max-content!important;min-width:100%!important}
.ramed-slider-track .woocommerce ul.products{width:max-content!important}

/* Shop */
.ramed-shop-page{background:#f8fafb;padding-bottom:64px}
.ramed-shop-hero{background:linear-gradient(120deg,#0b2239,#123b48);color:#fff;padding:54px 0 46px;overflow:hidden}
.ramed-shop-hero-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.ramed-shop-hero h1{font-size:clamp(34px,5vw,58px);margin:5px 0 8px}.ramed-shop-hero p{max-width:650px;color:#dce7eb;margin:0}.ramed-shop-hero span{color:#90d8b0;font-size:13px}
.ramed-shop-hero-art{width:260px;height:130px;border:1px solid rgba(255,255,255,.18);border-radius:70px 18px 70px 18px;background:rgba(255,255,255,.07);display:grid;place-items:center;align-content:center}.ramed-shop-hero-art span{font-size:35px;font-weight:900;color:#fff;letter-spacing:4px}.ramed-shop-hero-art small{color:#9fc2ca}
.ramed-shop-breadcrumb{padding-top:20px;color:var(--muted);font-size:12px}
.ramed-shop-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;padding-top:20px}
.ramed-shop-sidebar{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;position:sticky;top:100px}.ramed-shop-sidebar-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--border);margin-bottom:14px}.ramed-filter-close{display:none}
.ramed-shop-filter-block{padding:12px 0;border-bottom:1px solid var(--border)}.ramed-shop-filter-block:last-child{border:0}.ramed-shop-filter-block h3,.ramed-shop-sidebar .widget-title{font-size:14px;margin:0 0 12px}
.ramed-shop-cat-list,.ramed-shop-sidebar ul{list-style:none;margin:0;padding:0}.ramed-shop-cat-list li,.ramed-shop-sidebar .widget li{display:flex;justify-content:space-between;padding:7px 0;font-size:12px}.ramed-shop-cat-list a,.ramed-shop-sidebar a{color:#44535f}.ramed-shop-cat-list a:hover,.ramed-shop-sidebar a:hover{color:var(--green-dark)}
.ramed-shop-results{min-width:0}.ramed-shop-toolbar{background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px 15px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.ramed-result-count p{margin:0!important;font-size:12px;color:var(--muted)}.ramed-ordering .woocommerce-ordering{margin:0!important}.ramed-ordering select{border:1px solid var(--border);border-radius:10px;padding:9px 12px;font-family:inherit;background:#fff}.ramed-filter-toggle{display:none;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:9px 13px;font-family:inherit}
.ramed-shop-results ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0!important}.ramed-shop-results ul.products:before,.ramed-shop-results ul.products:after{display:none!important}.ramed-shop-results ul.products li.product{float:none!important;width:auto!important;margin:0!important}
.ramed-shop-pagination{margin-top:30px}.ramed-shop-pagination ul.page-numbers{border:0!important;display:flex;justify-content:center;gap:7px}.ramed-shop-pagination ul.page-numbers li{border:0!important}.ramed-shop-pagination .page-numbers a,.ramed-shop-pagination .page-numbers span{width:38px;height:38px;display:grid!important;place-items:center;border:1px solid var(--border)!important;border-radius:10px!important;background:#fff!important}.ramed-shop-pagination .page-numbers.current{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}

/* Blog */
.ramed-blog-page{background:#fff;padding-bottom:70px}.ramed-blog-hero{padding:68px 0 55px;background:linear-gradient(135deg,#eef9f3,#f4f7fb);text-align:center}.ramed-blog-hero h1{font-size:clamp(32px,5vw,56px);max-width:900px;margin:7px auto 12px;color:var(--navy)}.ramed-blog-hero p{color:var(--muted);margin:0 auto;max-width:670px}
.ramed-blog-categories{display:flex;gap:8px;overflow:auto;padding-top:20px;padding-bottom:20px}.ramed-blog-categories a{white-space:nowrap;border:1px solid var(--border);border-radius:99px;padding:8px 15px;font-size:12px;color:#3d4b56}.ramed-blog-categories a.active,.ramed-blog-categories a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.ramed-featured-article{display:grid;grid-template-columns:1.25fr .75fr;border:1px solid var(--border);border-radius:24px;overflow:hidden;background:#fff;margin:8px 0 45px}.ramed-featured-image{min-height:390px;background:#f0f4f5;display:grid;place-items:center;color:#9aa9af;font-size:30px}.ramed-featured-image img{width:100%;height:100%;object-fit:cover}.ramed-featured-content{padding:clamp(25px,4vw,50px);display:flex;flex-direction:column;justify-content:center}.ramed-featured-content h2{font-size:clamp(25px,3vw,38px);line-height:1.6;margin:12px 0}.ramed-featured-content p{color:var(--muted);line-height:2}.ramed-featured-content .btn{align-self:start;margin-top:10px}
.ramed-blog-heading{display:flex;justify-content:space-between;margin-bottom:18px}.ramed-blog-heading h2{font-size:30px;margin:5px 0}.ramed-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ramed-blog-card{border:1px solid var(--border);border-radius:19px;overflow:hidden;background:#fff;transition:.25s}.ramed-blog-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(20,37,46,.08)}.ramed-blog-card-image{height:220px;background:#f0f3f4;display:grid;place-items:center;color:#9aa7ad}.ramed-blog-card-image img{width:100%;height:100%;object-fit:cover}.ramed-blog-card-body{padding:18px}.ramed-blog-card h3{font-size:18px;line-height:1.8;margin:10px 0}.ramed-blog-card p{font-size:13px;color:var(--muted);line-height:1.9}.article-meta{display:flex;gap:12px;color:#88959f;font-size:11px}.ramed-blog-pagination{display:flex;justify-content:center;gap:6px;margin-top:30px}.ramed-blog-pagination .page-numbers{width:38px;height:38px;border:1px solid var(--border);border-radius:9px;display:grid;place-items:center}.ramed-blog-pagination .current{background:var(--green);color:#fff;border-color:var(--green)}

/* Single product v2 */
.ramed-single-product-v2{background:#f8fafb;padding:20px 0 65px}.ramed-product-layout-v2{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:24px;align-items:start}.ramed-product-gallery-card,.ramed-product-info-card,.ramed-product-details-v2,.ramed-related-v2{background:#fff;border:1px solid var(--border);border-radius:22px}.ramed-product-gallery-card{padding:18px;position:relative}.ramed-product-gallery-card div.images{float:none!important;width:100%!important;margin:0!important}.ramed-product-gallery-card .woocommerce-product-gallery__wrapper{background:#f5f7f8;border-radius:16px;overflow:hidden}.ramed-product-gallery-card .woocommerce-product-gallery__image img{max-height:620px;object-fit:contain;padding:25px}.ramed-product-gallery-card .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px!important}.ramed-product-gallery-card .flex-control-thumbs li{float:none!important;width:auto!important;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:#f7f8f9}.ramed-product-gallery-card .onsale{right:28px!important;left:auto!important;top:28px!important;z-index:5}
.ramed-product-info-card{padding:28px;position:sticky;top:100px}.ramed-product-topline{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;margin-bottom:10px}.ramed-product-category a{color:var(--green-dark)}.ramed-product-info-card .product_title{font-size:clamp(27px,3vw,39px)!important;line-height:1.45;margin:0 0 13px}.ramed-product-shortdesc{color:#60707b;line-height:2;font-size:13px}.ramed-product-shortdesc p{margin:0}.ramed-product-price-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0;padding:17px 0;border-top:1px dashed var(--border);border-bottom:1px dashed var(--border)}.ramed-product-price-row .price{font-size:24px!important;font-weight:900;color:var(--navy)!important;margin:0!important}.ramed-stock-state .stock{margin:0!important;font-size:11px;padding:6px 10px;border-radius:99px;background:#eef9f3;color:var(--green-dark)}
.ramed-purchase-panel{background:#f7faf8;border:1px solid #e3eee7;border-radius:16px;padding:16px}.ramed-purchase-panel form.cart{display:flex!important;gap:10px;margin:0!important;align-items:stretch}.ramed-purchase-panel .quantity .qty{height:48px;width:72px;border:1px solid var(--border);border-radius:11px}.ramed-purchase-panel .single_add_to_cart_button{flex:1!important;border-radius:11px!important;background:var(--green)!important;min-height:48px!important;font-family:inherit!important}.ramed-purchase-panel table.variations{width:100%;margin:0 0 12px!important}.ramed-purchase-panel table.variations th,.ramed-purchase-panel table.variations td{display:block;text-align:right;padding:4px 0!important}.ramed-purchase-panel select{width:100%;height:44px;border:1px solid var(--border);border-radius:10px;padding:0 10px;background:#fff;font-family:inherit}.ramed-purchase-panel .woocommerce-variation-add-to-cart{display:flex!important;gap:10px}
.ramed-product-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.ramed-product-benefits>div{border:1px solid var(--border);border-radius:12px;padding:10px;display:flex;gap:8px;align-items:center}.ramed-product-benefits b{width:28px;height:28px;border-radius:8px;background:#eef9f3;color:var(--green-dark);display:grid;place-items:center}.ramed-product-benefits span{display:flex;flex-direction:column}.ramed-product-benefits strong{font-size:11px}.ramed-product-benefits small{font-size:9px;color:var(--muted)}.ramed-product-meta-box{font-size:11px;color:var(--muted);padding:15px 0}.ramed-product-meta-box .product_meta{display:grid;gap:5px}.ramed-product-consult{display:flex;align-items:center;gap:11px;border-radius:14px;background:var(--navy);color:#fff!important;padding:13px}.ramed-product-consult>span{font-size:23px}.ramed-product-consult div{display:flex;flex-direction:column;flex:1}.ramed-product-consult small{color:#c6d6df;font-size:9px}.ramed-product-consult>b{font-size:12px}
.ramed-product-details-v2,.ramed-related-v2{grid-column:1/-1;padding:24px;margin-top:0}.ramed-product-details-v2 .woocommerce-tabs{margin:0!important}.ramed-product-details-v2 ul.tabs{display:flex!important;gap:8px;border-bottom:1px solid var(--border);padding:0!important;margin:0 0 24px!important}.ramed-product-details-v2 ul.tabs:before{display:none!important}.ramed-product-details-v2 ul.tabs li{border:0!important;background:transparent!important;margin:0!important;padding:0!important}.ramed-product-details-v2 ul.tabs li:before,.ramed-product-details-v2 ul.tabs li:after{display:none!important}.ramed-product-details-v2 ul.tabs li a{padding:12px 16px!important}.ramed-product-details-v2 ul.tabs li.active a{color:var(--green-dark)!important;border-bottom:2px solid var(--green)}.ramed-product-details-v2 .panel{line-height:2.1;color:#3d4d58}.ramed-related-v2 section.products{margin-top:10px}.ramed-related-v2 ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}.ramed-related-v2 ul.products:before,.ramed-related-v2 ul.products:after{display:none!important}.ramed-related-v2 ul.products li{width:auto!important;margin:0!important;float:none!important}

@media(max-width:1150px){.ramed-shop-results ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ramed-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ramed-product-layout-v2{grid-template-columns:1fr}.ramed-product-info-card{position:static}.ramed-related-v2 ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){.ramed-shop-layout{grid-template-columns:1fr}.ramed-filter-toggle{display:block}.ramed-shop-sidebar{position:fixed;right:0;top:0;bottom:0;width:min(88vw,330px);z-index:9999;border-radius:0;transform:translateX(105%);transition:.25s;overflow:auto}.ramed-shop-sidebar.open{transform:translateX(0)}.ramed-filter-close{display:block;border:0;background:#eee;border-radius:8px;font-size:22px}.ramed-shop-hero-art{display:none}.ramed-shop-hero-inner{display:block}.ramed-featured-article{grid-template-columns:1fr}.ramed-featured-image{min-height:280px}.ramed-product-benefits{grid-template-columns:1fr 1fr}.ramed-filter-open:after{content:"";position:fixed;inset:0;background:rgba(8,22,33,.45);z-index:9998}}
@media(max-width:620px){.ramed-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ramed-shop-toolbar{align-items:stretch;flex-wrap:wrap}.ramed-result-count{order:3;width:100%}.ramed-blog-grid{grid-template-columns:1fr}.ramed-blog-card-image{height:210px}.ramed-product-gallery-card,.ramed-product-info-card,.ramed-product-details-v2,.ramed-related-v2{border-radius:16px;padding:13px}.ramed-product-info-card{padding:18px}.ramed-product-benefits{grid-template-columns:1fr}.ramed-product-topline{flex-direction:column;gap:4px}.ramed-product-price-row{align-items:flex-start;flex-direction:column}.ramed-purchase-panel form.cart,.ramed-purchase-panel .woocommerce-variation-add-to-cart{flex-wrap:wrap}.ramed-purchase-panel .single_add_to_cart_button{min-width:calc(100% - 85px)}.ramed-related-v2 ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ramed-product-details-v2 ul.tabs{overflow:auto;white-space:nowrap}.ramed-featured-content{padding:22px}.ramed-featured-image{min-height:220px}}

/* Stage 7 — reliable product links, professional shop/blog and purchase flow */
ul.products li.product.ramed-product-card{float:none!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important}.ramed-product-card-inner{height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:.25s}.ramed-product-card:hover .ramed-product-card-inner{transform:translateY(-4px);box-shadow:0 16px 36px rgba(17,36,48,.09)}.ramed-product-media{position:relative;aspect-ratio:1/1;background:#f4f6f7;overflow:hidden}.ramed-product-image-link{display:block;width:100%;height:100%}.ramed-product-image-link img{width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;padding:20px;transition:.35s}.ramed-product-card:hover .ramed-product-image-link img{transform:scale(1.045)}.ramed-sale-badge{position:absolute;top:12px;right:12px;background:var(--green);color:#fff;padding:5px 10px;border-radius:99px;font-size:10px}.ramed-product-card-body{padding:15px;display:flex;flex-direction:column;flex:1}.ramed-product-card-cats{font-size:10px;color:var(--muted);min-height:18px}.ramed-product-card-cats a{color:inherit}.ramed-product-card .woocommerce-loop-product__title{font-size:15px!important;line-height:1.8!important;padding:0!important;margin:5px 0 9px!important;min-height:54px}.ramed-product-card .woocommerce-loop-product__title a{color:var(--navy)}.ramed-product-card-price{font-size:15px;font-weight:800;color:var(--navy);margin-top:auto}.ramed-product-card-price del{font-size:11px;color:#96a1a8}.ramed-product-card-price ins{text-decoration:none}.ramed-product-card-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:13px}.ramed-product-card-actions .button{margin:0!important;border-radius:10px!important;background:var(--navy)!important;color:#fff!important;padding:11px 9px!important;text-align:center!important;font-family:inherit!important;font-size:11px!important}.ramed-product-card-actions .button.added{background:var(--green)!important}.ramed-product-card-actions .added_to_cart{grid-column:1/-1;text-align:center;font-size:11px;color:var(--green-dark)}.ramed-view-product{display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;padding:0 11px;font-size:11px}.ramed-slider-track{cursor:grab;user-select:none;touch-action:pan-y;scroll-snap-type:x mandatory}.ramed-slider-track.dragging{cursor:grabbing;scroll-snap-type:none}.ramed-slider-track ul.products li.product{scroll-snap-align:start}
.ramed-shop-benefit-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.ramed-shop-benefit-row b{background:#fff;border:1px solid rgba(255,255,255,.45);border-radius:99px;padding:7px 12px;font-size:10px}.ramed-shop-results ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0!important}.ramed-shop-results ul.products:before,.ramed-shop-results ul.products:after{display:none!important}.ramed-shop-results{min-width:0}.ramed-shop-toolbar select{border:1px solid var(--border);border-radius:11px;padding:10px;background:#fff;font-family:inherit}.ramed-shop-pagination ul{display:flex!important;justify-content:center;gap:7px;border:0!important}.ramed-shop-pagination li{border:0!important}.ramed-shop-pagination a,.ramed-shop-pagination span{width:40px;height:40px;display:grid!important;place-items:center;border:1px solid var(--border)!important;border-radius:10px}.ramed-shop-pagination .current{background:var(--navy)!important;color:#fff!important}
.ramed-blog-search{max-width:590px;margin:24px auto 0;display:flex;background:#fff;padding:6px;border-radius:14px;border:1px solid var(--border)}.ramed-blog-search input{flex:1;border:0;padding:11px 14px;font-family:inherit;outline:0}.ramed-blog-search button{border:0;background:var(--navy);color:#fff;border-radius:10px;padding:0 22px;font-family:inherit}.ramed-empty-state{grid-column:1/-1;padding:45px;text-align:center;border:1px dashed var(--border);border-radius:18px}
.ramed-commerce-page{padding-top:30px;padding-bottom:70px}.ramed-checkout-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:750px;margin:0 auto 35px}.ramed-checkout-step{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--border);border-radius:13px;color:var(--muted)}.ramed-checkout-step span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eef1f3}.ramed-checkout-step.active{border-color:var(--green);color:var(--navy);background:#f3fbf6}.ramed-checkout-step.active span,.ramed-checkout-step.done span{background:var(--green);color:#fff}.ramed-commerce-heading{text-align:center;margin-bottom:30px}.ramed-commerce-heading span{color:var(--green-dark);font-size:11px}.ramed-commerce-heading h1{font-size:clamp(28px,4vw,43px);margin:7px 0}.ramed-commerce-heading p{color:var(--muted)}.ramed-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}.ramed-cart-items,.ramed-cart-summary,.ramed-checkout-fields,.ramed-order-review{border:1px solid var(--border);border-radius:20px;background:#fff}.ramed-cart-items{padding:10px 20px}.ramed-cart-item{display:grid;grid-template-columns:105px minmax(0,1fr) 100px 130px 36px;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border)}.ramed-cart-thumb{aspect-ratio:1;background:#f4f6f7;border-radius:13px;overflow:hidden}.ramed-cart-thumb img{width:100%;height:100%;object-fit:contain}.ramed-cart-info h2{font-size:15px;margin:0 0 8px}.ramed-cart-info .variation{font-size:10px;color:var(--muted)}.ramed-cart-price-mobile{display:none}.ramed-cart-qty .qty{width:70px;height:42px;border:1px solid var(--border);border-radius:9px}.ramed-cart-subtotal{font-weight:800}.ramed-cart-remove .remove{width:30px;height:30px;border-radius:8px;background:#fff1f1!important;color:#b73535!important;display:grid!important;place-items:center!important}.ramed-cart-actions{display:flex;justify-content:space-between;gap:10px;padding:18px 0 8px}.ramed-cart-actions .coupon{display:flex;gap:7px}.ramed-cart-actions input{border:1px solid var(--border);border-radius:10px;padding:10px}.ramed-cart-actions .button{border-radius:10px!important;font-family:inherit!important}.ramed-cart-summary{padding:22px;position:sticky;top:95px}.ramed-cart-summary h2{font-size:21px}.ramed-cart-summary table{width:100%;border-collapse:collapse}.ramed-cart-summary th,.ramed-cart-summary td{padding:13px 0;border-bottom:1px solid var(--border)}.ramed-cart-summary .wc-proceed-to-checkout a{display:block;background:var(--green)!important;border-radius:11px!important;text-align:center;font-family:inherit!important}.cart-collaterals .cross-sells{margin-top:35px}.ramed-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:22px;align-items:start}.ramed-checkout-fields,.ramed-order-review{padding:24px}.ramed-checkout-fields .col-1,.ramed-checkout-fields .col-2{float:none!important;width:100%!important}.ramed-checkout-fields .woocommerce-billing-fields__field-wrapper,.ramed-checkout-fields .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ramed-checkout-fields .form-row{float:none!important;width:auto!important;margin:0!important}.ramed-checkout-fields .form-row-wide{grid-column:1/-1}.ramed-checkout-fields input,.ramed-checkout-fields select,.ramed-checkout-fields textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:11px;font-family:inherit}.ramed-order-review{position:sticky;top:95px}.ramed-order-review h2{font-size:21px}.ramed-order-review table{width:100%;border-collapse:collapse}.ramed-order-review th,.ramed-order-review td{padding:13px 0;border-bottom:1px solid var(--border)}.ramed-order-review #payment{background:#f7f9fa!important;border-radius:13px!important}.ramed-order-review .place-order .button{width:100%;background:var(--green)!important;border-radius:11px!important;font-family:inherit!important}.ramed-order-success{text-align:center;max-width:720px;margin:0 auto 30px;padding:35px;border:1px solid var(--border);border-radius:22px}.ramed-success-icon{width:74px;height:74px;margin:0 auto 17px;border-radius:50%;display:grid;place-items:center;background:#e9f8ef;color:var(--green-dark);font-size:35px}.ramed-order-success h1{font-size:36px;margin:5px}.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(4,1fr);gap:10px;padding:0!important;margin:0 auto 30px!important;max-width:1000px}.woocommerce-order-overview li{float:none!important;margin:0!important;padding:18px!important;border:1px solid var(--border)!important;border-radius:13px!important;display:flex;flex-direction:column;gap:6px}
@media(max-width:1100px){.ramed-shop-results ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ramed-cart-layout,.ramed-checkout-grid{grid-template-columns:1fr}.ramed-cart-summary,.ramed-order-review{position:static}.woocommerce-order-overview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.ramed-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ramed-product-card-body{padding:11px}.ramed-product-card .woocommerce-loop-product__title{font-size:13px!important;min-height:47px}.ramed-product-card-actions{grid-template-columns:1fr}.ramed-view-product{display:none}.ramed-checkout-steps{gap:5px}.ramed-checkout-step{padding:8px;justify-content:center}.ramed-checkout-step strong{display:none}.ramed-cart-item{grid-template-columns:78px minmax(0,1fr) 32px;gap:10px}.ramed-cart-qty,.ramed-cart-subtotal{grid-column:2}.ramed-cart-remove{grid-column:3;grid-row:1}.ramed-cart-price-mobile{display:block}.ramed-cart-actions{flex-direction:column}.ramed-cart-actions .coupon{display:grid;grid-template-columns:1fr auto}.ramed-checkout-fields .woocommerce-billing-fields__field-wrapper,.ramed-checkout-fields .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}.ramed-checkout-fields .form-row-wide{grid-column:auto}.woocommerce-order-overview{grid-template-columns:1fr}.ramed-blog-search button{padding:0 13px}}


/* Stage 8: narrower canvas and cleaner product-card actions */
.ramed-product-card-actions .ramed-view-product{display:none!important}
.ramed-product-card-actions{grid-template-columns:1fr!important}
.ramed-product-card-actions .button,
.ramed-product-card-actions .add_to_cart_button{width:100%;text-align:center;justify-content:center}
.ramed-product-card-image>a,
.woocommerce-loop-product__title>a{display:block}
.ramed-product-card-image>a{height:100%}
.ramed-product-card-image img{pointer-events:none}
.added_to_cart.wc-forward{margin-top:8px;display:block;text-align:center;font-weight:700;color:var(--green)}
@media(max-width:600px){.container{width:min(100% - 24px,1240px)}}

/* Stage 9: product links remain clickable while drag-scrolling */
.ramed-product-image-link,
.ramed-product-card .woocommerce-loop-product__title a{
  position:relative;
  z-index:3;
  pointer-events:auto!important;
  cursor:pointer;
}
.ramed-product-media{z-index:1;}
.ramed-product-card-actions{position:relative;z-index:4;}
.ramed-slider-track:not(.dragging) a{pointer-events:auto!important;}

/* Stage 10: two categories, clickable product cards and customer dashboard */
.category-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.category-card-icon{min-height:155px;display:grid;grid-template-columns:92px 1fr auto;align-items:center;gap:18px;text-align:right;padding:24px}.category-card-icon h3{font-size:21px;margin:0 0 7px}.category-card-icon small{font-size:13px}.category-minimal-icon{width:82px;height:82px;border-radius:22px;background:#eef5ff;display:grid;place-items:center}.category-minimal-icon-women{background:#eefaf4}.category-minimal-icon svg{width:52px;height:52px;fill:none;stroke:var(--navy);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.category-minimal-icon-women svg{stroke:var(--green-dark)}.category-arrow{font-size:24px;color:var(--muted)}
.ramed-product-card[data-product-url]{cursor:pointer}.ramed-product-card[data-product-url]:focus-visible{outline:3px solid rgba(21,94,239,.25);outline-offset:3px}
.woocommerce-account .site-main{background:#f7f9fb;padding:35px 0 70px}.woocommerce-account .woocommerce{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;align-items:start}.woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--border);border-radius:20px;padding:12px;position:sticky;top:95px}.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-MyAccount-navigation li{margin:3px 0}.woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-radius:11px;color:#44515c;font-weight:700}.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation a:hover{background:#eef8f3;color:var(--green-dark)}.woocommerce-MyAccount-content{min-width:0}.ramed-account-welcome{background:linear-gradient(135deg,#0b2a55,#154a72);color:#fff;border-radius:24px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ramed-account-welcome span{color:#9ee1bf;font-size:12px}.ramed-account-welcome h1{font-size:32px;margin:7px 0}.ramed-account-welcome p{margin:0;color:#dce7ef}.ramed-account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:16px 0}.ramed-account-stats>div{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;display:flex;flex-direction:column}.ramed-account-stats b{font-size:28px;color:var(--navy)}.ramed-account-stats span{font-size:12px;color:var(--muted)}.ramed-account-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ramed-account-quick-grid>a{background:#fff;border:1px solid var(--border);border-radius:17px;padding:20px;display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:13px;color:var(--navy);transition:.22s}.ramed-account-quick-grid>a:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(20,37,46,.08);border-color:#cce7d8}.ramed-account-quick-grid>a>span{width:45px;height:45px;border-radius:13px;background:#eef8f3;display:grid;place-items:center;font-size:21px;color:var(--green-dark)}.ramed-account-quick-grid strong,.ramed-account-quick-grid small{display:block}.ramed-account-quick-grid small{color:var(--muted);margin-top:5px}.woocommerce-MyAccount-content .woocommerce-orders-table,.woocommerce-MyAccount-content .woocommerce-table{background:#fff;border:1px solid var(--border)!important;border-radius:18px!important;overflow:hidden}.woocommerce-MyAccount-content input,.woocommerce-MyAccount-content select{border:1px solid var(--border);border-radius:10px;padding:11px;font-family:inherit}.woocommerce-MyAccount-content .button{border-radius:10px!important;font-family:inherit!important}
@media(max-width:850px){.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-MyAccount-navigation{position:static;overflow:auto}.woocommerce-MyAccount-navigation ul{display:flex;min-width:max-content}.category-card-icon{grid-template-columns:70px 1fr auto}.category-minimal-icon{width:65px;height:65px}.ramed-account-welcome{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.category-grid-two{display:grid;grid-template-columns:1fr}.category-card-icon{min-width:0}.ramed-account-stats{grid-template-columns:1fr}.ramed-account-quick-grid{grid-template-columns:1fr}.ramed-account-welcome h1{font-size:25px}}

/* Stage 11: compact products, desktop account dashboard, modern cart */
/* More compact product cards */
.ramed-product-card,
.woocommerce ul.products li.product{padding:8px!important;border-radius:17px!important}
.ramed-product-card-image,
.ramed-product-media{aspect-ratio:1.42/1!important;min-height:0!important}
.ramed-product-card-image img,
.ramed-product-media img,
.woocommerce ul.products li.product a img{aspect-ratio:1.42/1!important;max-height:185px!important;object-fit:contain!important;margin-bottom:7px!important}
.ramed-product-card-body{padding:8px 7px 9px!important}
.ramed-product-card .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.55!important;min-height:40px!important;margin-bottom:4px!important}
.ramed-product-card .price,
.woocommerce ul.products li.product .price{font-size:13px!important;margin-bottom:5px!important}
.ramed-product-card-actions .button,
.woocommerce ul.products li.product .button{min-height:36px!important;padding:7px 9px!important;margin-top:5px!important;font-size:11px!important;border-radius:10px!important}

/* Clean and ordered My Account layout on desktop */
.woocommerce-account .site-main>.container,
.woocommerce-account .site-main .container{width:min(100% - 40px,1180px)!important;max-width:1180px!important;margin-inline:auto!important}
.woocommerce-account .woocommerce{grid-template-columns:220px minmax(0,1fr)!important;gap:20px!important;width:100%!important}
.woocommerce-MyAccount-navigation{width:100%!important;box-sizing:border-box!important;padding:10px!important;border-radius:18px!important}
.woocommerce-MyAccount-navigation a{padding:11px 12px!important;font-size:13px!important}
.woocommerce-MyAccount-content{width:100%!important;max-width:none!important;overflow:visible!important}
.ramed-account-welcome{min-height:165px!important;padding:26px 28px!important;border-radius:22px!important;box-sizing:border-box!important}
.ramed-account-welcome>div{min-width:0!important;max-width:620px!important}
.ramed-account-welcome h1{font-size:29px!important;line-height:1.4!important}
.ramed-account-welcome .btn{flex:0 0 auto!important;white-space:nowrap!important}
.ramed-account-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}
.ramed-account-stats>div{min-height:105px!important;justify-content:center!important;padding:16px!important}
.ramed-account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.ramed-account-quick-grid>a{min-height:104px!important;padding:17px!important;grid-template-columns:42px minmax(0,1fr) 20px!important;gap:11px!important}
.ramed-account-quick-grid>a>span{width:42px!important;height:42px!important}
.ramed-account-quick-grid strong{font-size:14px!important}
.ramed-account-quick-grid small{font-size:11px!important;line-height:1.7!important}

/* Modern cart */
.woocommerce-cart .site-main{background:linear-gradient(180deg,#f5f8fa 0,#fff 520px)!important}
.ramed-cart-page-modern{width:min(100% - 40px,1180px)!important;max-width:1180px!important}
.ramed-cart-modern-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:24px 0 22px}
.ramed-cart-kicker{display:inline-flex;background:#eaf8f1;color:var(--green-dark);border-radius:99px;padding:6px 11px;font-size:11px;font-weight:800}
.ramed-cart-modern-header h1{font-size:34px;line-height:1.25;margin:9px 0 4px;color:var(--navy)}
.ramed-cart-modern-header p{margin:0;color:var(--muted);font-size:13px}
.ramed-cart-back-shop{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:11px 15px;color:var(--navy);font-weight:800;font-size:12px}
.ramed-cart-modern-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:20px;align-items:start}
.ramed-cart-modern-items,.ramed-cart-modern-summary-card{background:#fff;border:1px solid #e5eaee;border-radius:22px;box-shadow:0 16px 45px rgba(16,34,45,.045)}
.ramed-cart-modern-items{padding:20px}
.ramed-cart-modern-items-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--border)}
.ramed-cart-modern-items-head h2{font-size:19px;margin:0;color:var(--navy)}
.ramed-cart-modern-items-head span{background:#f1f4f6;border-radius:99px;padding:5px 10px;font-size:11px;color:var(--muted)}
.ramed-cart-modern-item{display:grid;grid-template-columns:125px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--border)}
.ramed-cart-modern-thumb{background:#f6f8f9;border-radius:16px;overflow:hidden}
.ramed-cart-modern-thumb img{width:100%;aspect-ratio:1.15/1;object-fit:contain;padding:9px}
.ramed-cart-modern-title-row{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.ramed-cart-modern-title-row h3{font-size:16px;line-height:1.6;margin:2px 0 5px}
.ramed-cart-modern-title-row h3 a{color:var(--navy)}
.ramed-cart-modern-meta,.ramed-cart-modern-meta dl{font-size:10px;color:var(--muted);margin:0}
.ramed-cart-modern-remove{flex:0 0 32px;width:32px!important;height:32px!important;border-radius:10px!important;background:#fff1f1!important;color:#c83f3f!important;display:grid!important;place-items:center!important;font-size:20px!important}
.ramed-cart-modern-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-top:18px}
.ramed-cart-modern-qty label,.ramed-cart-modern-price small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}
.ramed-cart-modern-qty .qty{width:70px;height:39px;border:1px solid var(--border);border-radius:10px;padding:0 9px;font-family:inherit}
.ramed-cart-modern-price{text-align:left}.ramed-cart-modern-price strong{font-size:16px;color:var(--navy)}
.ramed-cart-modern-actions{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;padding-top:18px}
.ramed-cart-modern-coupon label{display:block;font-size:11px;font-weight:700;margin-bottom:6px;color:#53616d}
.ramed-cart-modern-coupon>div{display:flex}
.ramed-cart-modern-coupon input{height:42px;border:1px solid var(--border);border-radius:0 11px 11px 0;padding:0 12px;font-family:inherit;min-width:190px}
.ramed-cart-modern-coupon button{height:42px!important;border-radius:11px 0 0 11px!important;background:var(--navy)!important;color:#fff!important;padding:0 15px!important}
.ramed-cart-modern-update{height:42px!important;border-radius:11px!important;background:#eef2f4!important;color:var(--navy)!important;padding:0 15px!important}
.ramed-cart-modern-summary{position:sticky;top:95px}
.ramed-cart-modern-summary-card{padding:21px}
.ramed-cart-modern-summary-title{display:flex;justify-content:space-between;align-items:center;font-size:19px;font-weight:900;color:var(--navy);padding-bottom:14px;border-bottom:1px solid var(--border)}
.ramed-cart-modern-summary-title i{width:29px;height:29px;border-radius:9px;background:#eaf8f1;color:var(--green-dark);display:grid;place-items:center;font-style:normal}
.ramed-cart-modern-summary .cart_totals{float:none!important;width:100%!important}.ramed-cart-modern-summary .cart_totals>h2{display:none!important}
.ramed-cart-modern-summary table{width:100%!important;border-collapse:collapse!important}
.ramed-cart-modern-summary th,.ramed-cart-modern-summary td{padding:13px 0!important;border-bottom:1px solid var(--border)!important;font-size:12px!important}
.ramed-cart-modern-summary td{text-align:left!important}.ramed-cart-modern-summary .order-total strong{font-size:19px!important;color:var(--navy)!important}
.ramed-cart-modern-summary .wc-proceed-to-checkout{padding:16px 0 0!important}
.ramed-cart-modern-summary .checkout-button{margin:0!important;padding:14px!important;border-radius:12px!important;background:var(--green)!important;font-size:14px!important;font-weight:900!important}
.ramed-cart-modern-benefits{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.ramed-cart-modern-benefits>div{display:flex;align-items:center;gap:10px}.ramed-cart-modern-benefits>div>span{width:28px;height:28px;border-radius:9px;background:#eef8f3;color:var(--green-dark);display:grid;place-items:center;font-size:11px}
.ramed-cart-modern-benefits p{margin:0}.ramed-cart-modern-benefits strong,.ramed-cart-modern-benefits small{display:block}.ramed-cart-modern-benefits strong{font-size:11px}.ramed-cart-modern-benefits small{font-size:9px;color:var(--muted);margin-top:2px}

@media(max-width:980px){
 .woocommerce-account .woocommerce{grid-template-columns:1fr!important}
 .woocommerce-MyAccount-navigation{position:static!important;overflow:auto!important}
 .woocommerce-MyAccount-navigation ul{display:flex!important;min-width:max-content!important}
 .ramed-cart-modern-layout{grid-template-columns:1fr}
 .ramed-cart-modern-summary{position:static}
}
@media(max-width:650px){
 .ramed-product-card-image img,.ramed-product-media img,.woocommerce ul.products li.product a img{max-height:145px!important}
 .ramed-account-welcome{align-items:flex-start!important;flex-direction:column!important;padding:22px!important}
 .ramed-account-stats,.ramed-account-quick-grid{grid-template-columns:1fr!important}
 .ramed-cart-page-modern{width:min(100% - 22px,1180px)!important}
 .ramed-cart-modern-header{align-items:flex-start;flex-direction:column}
 .ramed-cart-modern-header h1{font-size:28px}
 .ramed-cart-modern-item{grid-template-columns:88px minmax(0,1fr);gap:11px}
 .ramed-cart-modern-title-row h3{font-size:14px}
 .ramed-cart-modern-actions{align-items:stretch;flex-direction:column}
 .ramed-cart-modern-coupon>div{display:grid;grid-template-columns:1fr auto}
 .ramed-cart-modern-coupon input{min-width:0;width:100%}
 .ramed-cart-modern-update{width:100%}
}


/* Stage 12: real full-card product links. The overlay is an actual anchor, while
   image/title links and WooCommerce controls stay above it and remain clickable. */
.woocommerce ul.products li.product.ramed-product-card{
  position:relative!important;
  isolation:isolate;
  cursor:pointer;
}
.ramed-product-card .ramed-card-stretched-link{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  z-index:2!important;
  border-radius:inherit;
  text-indent:-9999px;
  overflow:hidden;
}
.ramed-product-card .ramed-product-card-inner{
  position:relative;
  z-index:1;
  pointer-events:none;
}
.ramed-product-card .ramed-product-image-link,
.ramed-product-card .woocommerce-loop-product__title a,
.ramed-product-card .ramed-product-card-actions,
.ramed-product-card .ramed-product-card-actions a,
.ramed-product-card .ramed-product-card-actions button,
.ramed-product-card .ramed-product-card-actions input,
.ramed-product-card .added_to_cart{
  position:relative;
  z-index:4!important;
  pointer-events:auto!important;
}
.ramed-product-card .ramed-product-image-link{display:block!important;}
.ramed-product-card .woocommerce-loop-product__title a{display:block!important;}
.ramed-slider-track.dragging .ramed-card-stretched-link,
.ramed-slider-track.dragging .ramed-product-image-link,
.ramed-slider-track.dragging .woocommerce-loop-product__title a{
  pointer-events:none!important;
}

/* Stage 13: predictable product-card interactions.
   Only the image and title open the product page. The purchase button remains an
   independent WooCommerce control and is never covered by an overlay link. */
.woocommerce ul.products li.product.ramed-product-card{
  cursor:default!important;
  isolation:auto!important;
}
.ramed-product-card .ramed-card-stretched-link{
  display:none!important;
}
.ramed-product-card .ramed-product-card-inner{
  position:relative;
  z-index:auto!important;
  pointer-events:auto!important;
}
.ramed-product-card .ramed-product-media,
.ramed-product-card .ramed-product-card-body,
.ramed-product-card .woocommerce-loop-product__title,
.ramed-product-card .ramed-product-card-price{
  pointer-events:auto!important;
}
.ramed-product-card .ramed-product-image-link,
.ramed-product-card .ramed-product-title-link{
  position:relative;
  z-index:1!important;
  display:block!important;
  pointer-events:auto!important;
  cursor:pointer;
}
.ramed-product-card .ramed-product-card-actions{
  position:relative;
  z-index:3!important;
  pointer-events:auto!important;
}
.ramed-product-card .ramed-product-card-actions .button,
.ramed-product-card .ramed-product-card-actions .add_to_cart_button,
.ramed-product-card .ramed-product-card-actions .ajax_add_to_cart,
.ramed-product-card .ramed-product-card-actions .added_to_cart{
  position:relative;
  z-index:4!important;
  pointer-events:auto!important;
  cursor:pointer;
}
.ramed-slider-track.dragging .ramed-product-image-link,
.ramed-slider-track.dragging .ramed-product-title-link{
  pointer-events:none!important;
}

/* Stage 14: premium authentication and customer dashboard */
body.woocommerce-account:not(.logged-in) .site-main{background:linear-gradient(180deg,#f5f8fb 0,#fff 100%);padding:48px 0 80px}
body.woocommerce-account:not(.logged-in) .woocommerce{display:block!important;max-width:1120px;margin:auto}
.ramed-auth-shell{display:grid;grid-template-columns:1.02fr .98fr;min-height:690px;background:#fff;border:1px solid #e8edf2;border-radius:32px;overflow:hidden;box-shadow:0 30px 90px rgba(11,42,85,.11);direction:ltr}
.ramed-auth-visual,.ramed-auth-panels{direction:rtl}.ramed-auth-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#071c37 0%,#0b2a55 58%,#0f6c55 135%);color:#fff;padding:42px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}.ramed-auth-visual:after{content:"";position:absolute;inset:auto -90px -130px auto;width:360px;height:360px;border:80px solid rgba(255,255,255,.05);border-radius:50%;z-index:-1}.ramed-auth-orb{position:absolute;border-radius:50%;filter:blur(1px);z-index:-1}.ramed-auth-orb.orb-one{width:260px;height:260px;background:rgba(26,195,130,.18);top:-80px;left:-70px}.ramed-auth-orb.orb-two{width:180px;height:180px;background:rgba(75,151,255,.12);bottom:100px;right:-70px}.ramed-auth-brand{display:flex;align-items:center;gap:12px}.ramed-auth-brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff;color:var(--navy);font-size:26px;font-weight:900}.ramed-auth-brand strong,.ramed-auth-brand small{display:block}.ramed-auth-brand strong{font-size:21px}.ramed-auth-brand small{font-size:11px;color:#b9c9da}.ramed-auth-visual-copy{max-width:460px}.ramed-auth-kicker{display:inline-flex;padding:6px 13px;border-radius:99px;background:rgba(255,255,255,.1);color:#80e0b5;font-size:12px;font-weight:900}.ramed-auth-visual-copy h1{font-size:44px;line-height:1.45;letter-spacing:-1.8px;margin:18px 0 12px}.ramed-auth-visual-copy p{color:#cad7e5;margin:0;font-size:15px}.ramed-auth-benefits{display:grid;gap:12px}.ramed-auth-benefits>div{display:flex;gap:12px;align-items:center;padding:13px 14px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.09);border-radius:16px;backdrop-filter:blur(8px)}.ramed-auth-benefits>div>span{width:34px;height:34px;border-radius:11px;background:#19b978;display:grid;place-items:center;font-weight:900}.ramed-auth-benefits p,.ramed-auth-benefits strong,.ramed-auth-benefits small{display:block;margin:0}.ramed-auth-benefits strong{font-size:13px}.ramed-auth-benefits small{font-size:10px;color:#b9c9da;margin-top:2px}.ramed-auth-panels{padding:48px 52px;display:flex;flex-direction:column;justify-content:center}.ramed-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2f5f7;padding:5px;border-radius:14px;margin-bottom:28px}.ramed-auth-tabs button{border:0;background:transparent;padding:11px;border-radius:10px;font-family:inherit;font-weight:900;color:#7b8793;cursor:pointer}.ramed-auth-tabs button.is-active{background:#fff;color:var(--navy);box-shadow:0 5px 16px rgba(16,24,40,.08)}.ramed-auth-panel{display:none}.ramed-auth-panel.is-active{display:block;animation:ramedFade .25s ease}@keyframes ramedFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.ramed-auth-panel header span{color:var(--green-dark);font-size:12px;font-weight:900}.ramed-auth-panel header h2{font-size:30px;color:var(--navy);margin:5px 0 4px}.ramed-auth-panel header p{color:var(--muted);font-size:13px;margin:0 0 24px}.ramed-field{margin:0 0 16px!important}.ramed-field label{display:block;font-size:12px;font-weight:800;color:#344054;margin-bottom:7px}.ramed-input-wrap{position:relative;display:block}.ramed-input-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#91a0ae;font-size:13px;z-index:1}.ramed-auth-panel .input-text{width:100%!important;height:52px!important;border:1px solid #dfe6ec!important;border-radius:14px!important;background:#fbfcfd!important;padding:0 43px 0 14px!important;font-family:inherit!important;outline:none!important;transition:.2s}.ramed-auth-panel .input-text:focus{background:#fff!important;border-color:#61cfa2!important;box-shadow:0 0 0 4px rgba(22,184,120,.1)!important}.ramed-auth-options{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;margin:2px 0 19px}.ramed-auth-options label{display:flex;align-items:center;gap:7px;color:#667085}.ramed-auth-options a{color:var(--green-dark);font-weight:800}.ramed-auth-submit{margin:0!important}.ramed-auth-submit .button{width:100%!important;height:52px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#16b878,#0e8f5b)!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:900!important;box-shadow:0 12px 25px rgba(14,143,91,.22)!important;transition:.2s}.ramed-auth-submit .button:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(14,143,91,.28)!important}.ramed-auth-switch{text-align:center;color:#7a8792;font-size:12px;margin:19px 0 0}.ramed-auth-switch button{border:0;background:transparent;color:var(--green-dark);font-family:inherit;font-weight:900;cursor:pointer}.ramed-auto-password{padding:12px 14px;border-radius:12px;background:#f0f8f4;color:#4c6559;font-size:12px}

body.woocommerce-account.logged-in .site-main{background:linear-gradient(180deg,#f4f7fa 0,#fff 520px);padding:38px 0 78px}.woocommerce-account.logged-in .woocommerce{grid-template-columns:230px minmax(0,1fr)!important;gap:24px!important;align-items:start}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{border:0!important;border-radius:22px!important;padding:10px!important;box-shadow:0 18px 50px rgba(16,24,40,.07);top:92px}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation:before{content:"حساب من";display:block;padding:15px 15px 11px;color:var(--navy);font-size:17px;font-weight:900;border-bottom:1px solid var(--border);margin-bottom:7px}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{position:relative;padding:13px 14px!important;border-radius:12px!important;font-size:13px!important}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,#eef9f4,#f5fbf8)!important;box-shadow:inset -3px 0 0 var(--green);color:var(--green-dark)!important}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{border-top:1px solid var(--border);margin-top:7px;padding-top:7px}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#d14e55}.woocommerce-account.logged-in .woocommerce-MyAccount-content{min-width:0}.ramed-account-welcome{position:relative;overflow:hidden;background:linear-gradient(125deg,#0a2448 0%,#0b3d68 62%,#0b7a5d 145%)!important;border-radius:25px!important;padding:29px 31px!important;box-shadow:0 22px 55px rgba(11,42,85,.16)}.ramed-account-welcome:after{content:"";position:absolute;width:190px;height:190px;border:45px solid rgba(255,255,255,.055);border-radius:50%;left:-45px;top:-60px}.ramed-account-welcome>div,.ramed-account-welcome>a{position:relative;z-index:1}.ramed-account-welcome h1{font-size:29px!important}.ramed-account-welcome .btn{background:#fff!important;color:var(--navy)!important;border-radius:12px!important;padding:11px 18px!important;box-shadow:0 9px 25px rgba(0,0,0,.12)}.ramed-account-stats{grid-template-columns:repeat(3,1fr)!important;gap:14px!important;margin:16px 0 22px!important}.ramed-account-stats>div{position:relative;overflow:hidden;border:0!important;box-shadow:0 11px 30px rgba(16,24,40,.055);padding:18px 19px!important}.ramed-account-stats>div:after{content:"";position:absolute;width:54px;height:54px;border-radius:18px;background:#f0f8f4;left:-12px;bottom:-15px}.ramed-account-stats b{font-size:27px!important}.ramed-dashboard-section{background:#fff;border:1px solid #edf0f3;border-radius:22px;padding:22px;box-shadow:0 16px 45px rgba(16,24,40,.055)}.ramed-dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.ramed-dashboard-heading span{font-size:11px;color:var(--green-dark);font-weight:900}.ramed-dashboard-heading h2{margin:3px 0 0;color:var(--navy);font-size:21px}.ramed-dashboard-heading p{margin:0;color:var(--muted);font-size:11px}.ramed-account-quick-grid{gap:12px!important}.ramed-account-quick-grid>a{border:1px solid #edf0f3!important;border-radius:16px!important;padding:16px!important;grid-template-columns:42px 1fr auto!important;box-shadow:none!important}.ramed-account-quick-grid>a:hover{background:#fbfdfc;box-shadow:0 12px 25px rgba(16,24,40,.06)!important}.ramed-account-quick-grid .ramed-quick-icon{width:42px!important;height:42px!important;border-radius:12px!important}.ramed-account-quick-grid strong{font-size:13px}.ramed-account-quick-grid small{font-size:10px!important}.ramed-account-quick-grid b{color:#9aa6b2}.ramed-dashboard-help{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;background:linear-gradient(135deg,#eff9f5,#f2f7ff);border:1px solid #dcece5;border-radius:19px;padding:17px 19px}.ramed-dashboard-help>div{display:flex;align-items:center;gap:12px}.ramed-dashboard-help>div>span{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#fff;color:var(--green-dark);font-weight:900}.ramed-dashboard-help p,.ramed-dashboard-help strong,.ramed-dashboard-help small{display:block;margin:0}.ramed-dashboard-help strong{font-size:12px;color:var(--navy)}.ramed-dashboard-help small{font-size:10px;color:var(--muted);margin-top:2px}.ramed-dashboard-help>a{background:var(--navy);color:#fff;padding:9px 14px;border-radius:10px;font-size:11px;font-weight:900;white-space:nowrap}
@media(max-width:900px){.ramed-auth-shell{grid-template-columns:1fr;min-height:auto}.ramed-auth-visual{display:none}.ramed-auth-panels{padding:38px 30px}.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr!important}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{position:static!important}.ramed-account-stats{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:620px){body.woocommerce-account:not(.logged-in) .site-main{padding:22px 0 50px}.ramed-auth-shell{border-radius:22px}.ramed-auth-panels{padding:28px 20px}.ramed-auth-panel header h2{font-size:25px}.ramed-auth-tabs{margin-bottom:23px}.ramed-account-stats{grid-template-columns:1fr!important}.ramed-dashboard-heading,.ramed-dashboard-help{align-items:flex-start;flex-direction:column}.ramed-account-quick-grid{grid-template-columns:1fr!important}.ramed-dashboard-help>a{width:100%;text-align:center}}

/* Stage 15 — premium registration experience */
.ramed-register-panel{position:relative}.ramed-register-header{display:flex!important;align-items:flex-start;justify-content:space-between;gap:20px}.ramed-register-header>div:first-child{min-width:0}.ramed-register-badge{flex:0 0 auto;display:grid;place-items:center;min-width:76px;padding:10px 12px;border:1px solid #dcefe6;border-radius:16px;background:linear-gradient(145deg,#f3fbf7,#fff);text-align:center}.ramed-register-badge b,.ramed-register-badge strong{display:block}.ramed-register-badge b{font-size:9px;color:#839087}.ramed-register-badge strong{font-size:13px;color:var(--green-dark);margin-top:2px}.ramed-register-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-7px 0 20px}.ramed-register-perks>div{display:flex;align-items:center;gap:8px;padding:10px;background:#f8fafb;border:1px solid #edf1f3;border-radius:13px}.ramed-register-perks>div>span{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#eaf7f1;color:var(--green-dark);font-size:9px;font-weight:900}.ramed-register-perks p,.ramed-register-perks strong,.ramed-register-perks small{display:block;margin:0}.ramed-register-perks strong{font-size:10px;color:#263b4c}.ramed-register-perks small{font-size:8px;line-height:1.65;color:#87939e;margin-top:1px}.ramed-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ramed-register-form .ramed-field{margin-bottom:12px!important}.ramed-register-form .input-text{height:49px!important}.ramed-register-form .ramed-input-icon{min-width:21px;text-align:center;font-size:10px}.ramed-password-field .ramed-input-wrap .input-text{padding-left:65px!important}.ramed-password-toggle{position:absolute;left:9px;top:50%;transform:translateY(-50%);border:0;background:#eef4f1;color:var(--green-dark);border-radius:8px;padding:6px 9px;font-family:inherit;font-size:9px;font-weight:900;cursor:pointer}.ramed-password-hint{display:block;color:#89959f;font-size:9px;margin:6px 2px 0}.ramed-password-meter{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:7px}.ramed-password-meter i{display:block;height:3px;border-radius:9px;background:#e7ebee;transition:.2s}.ramed-password-meter[data-score="1"] i:nth-child(-n+1){background:#e06464}.ramed-password-meter[data-score="2"] i:nth-child(-n+2){background:#e3a536}.ramed-password-meter[data-score="3"] i:nth-child(-n+3){background:#6dbc8b}.ramed-password-meter[data-score="4"] i:nth-child(-n+4){background:#149966}.ramed-register-consent{display:flex;align-items:flex-start;gap:9px;margin:5px 0 15px;padding:11px 12px;border-radius:12px;background:#fafcfd;color:#6f7c86;font-size:10px;line-height:1.8;cursor:pointer}.ramed-register-consent input{margin-top:5px;accent-color:var(--green);flex:0 0 auto}.ramed-register-consent a{color:var(--green-dark);font-weight:900}.ramed-register-submit .button{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important}.ramed-register-submit .button b{font-size:18px;transition:.2s}.ramed-register-submit .button:hover b{transform:translateX(-4px)}.ramed-auth-shell.show-register .ramed-auth-visual{background:linear-gradient(145deg,#061a32 0%,#0a3154 55%,#08705a 135%)}.ramed-auth-shell.show-register .ramed-auth-kicker{color:#a4efd0}.ramed-auth-shell.show-register .ramed-auth-visual-copy h1:after{content:"عضو خانواده رامد شو";font-size:0}.ramed-register-panel .woocommerce-privacy-policy-text{font-size:9px;color:#89959f;line-height:1.8}.ramed-register-panel .woocommerce-privacy-policy-text p{margin:8px 0}.ramed-register-panel .woocommerce-password-strength{margin-top:7px;border-radius:8px;padding:5px 8px;font-size:9px}.ramed-register-panel .woocommerce-password-hint{display:none}
@media(max-width:1100px){.ramed-register-perks{grid-template-columns:1fr}.ramed-register-perks>div{padding:8px 10px}.ramed-register-perks small{display:none}}
@media(max-width:620px){.ramed-register-header{align-items:center}.ramed-register-badge{min-width:68px;padding:8px}.ramed-register-grid{grid-template-columns:1fr}.ramed-register-perks{grid-template-columns:1fr 1fr}.ramed-register-perks>div:last-child{grid-column:1/-1}.ramed-register-panel header p{margin-bottom:18px}.ramed-register-consent{font-size:9px}}

/* Stage 16 — premium single product and unified login / register */
.ramed-single-product-v2{background:linear-gradient(180deg,#f5f8fa 0,#fff 520px);padding:22px 0 80px}
.ramed-product-breadcrumbs{padding-top:10px;padding-bottom:18px}
.ramed-product-layout-v2{grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:28px}
.ramed-product-gallery-card,.ramed-product-info-card,.ramed-product-details-v2,.ramed-related-v2,.ramed-product-story{border-color:#e6ecef;border-radius:28px;box-shadow:0 18px 55px rgba(13,39,61,.055)}
.ramed-product-gallery-card{padding:22px;background:linear-gradient(145deg,#fff,#fbfcfd)}
.ramed-product-gallery-card .woocommerce-product-gallery__wrapper{border-radius:22px;background:radial-gradient(circle at 50% 40%,#fff 0,#f5f7f8 68%)}
.ramed-product-gallery-card .woocommerce-product-gallery__image img{max-height:590px;padding:35px;transition:transform .35s ease}
.ramed-product-gallery-card .woocommerce-product-gallery__image:hover img{transform:scale(1.025)}
.ramed-product-info-card{padding:32px;position:sticky;top:105px;background:#fff}
.ramed-product-topline{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:15px;margin-bottom:18px;border-bottom:1px solid #edf1f3}
.ramed-product-category a{display:inline-flex;padding:7px 11px;border-radius:999px;background:#edf8f4;color:#087052;font-size:11px;font-weight:900}
.ramed-product-code{font-size:10px;color:#8a98a4}
.ramed-product-info-card .product_title{font-size:34px!important;line-height:1.45;margin:0 0 13px!important;color:#0d2941;letter-spacing:-.4px}
.ramed-product-shortdesc{font-size:13px;line-height:2;color:#687985;margin-bottom:20px}
.ramed-product-price-row{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:18px 0;border-top:1px dashed #e3eaed;border-bottom:1px dashed #e3eaed}
.ramed-product-price-row .price{font-size:25px!important;font-weight:900;color:#0b7355!important;margin:0!important}
.ramed-stock-state{font-size:11px}.ramed-stock-state .in-stock{color:#15835f}
.ramed-purchase-panel{padding:22px 0 12px}.ramed-purchase-panel form.cart{display:grid;grid-template-columns:86px 1fr;gap:10px;margin:0!important}
.ramed-purchase-panel .quantity .qty{width:100%;height:52px;border:1px solid #dfe7ea;border-radius:15px;background:#fafcfc;text-align:center}
.ramed-purchase-panel .single_add_to_cart_button{height:52px!important;border-radius:15px!important;background:linear-gradient(135deg,#0b7f5d,#075c47)!important;box-shadow:0 12px 24px rgba(8,111,82,.2);font-family:inherit!important;font-weight:900!important}
.ramed-purchase-panel .single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(8,111,82,.28)}
.ramed-product-benefits{grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 0 18px}
.ramed-product-benefits>div{padding:12px 8px;border-radius:15px;background:#f8fafb;border:1px solid #edf1f2;align-items:center}
.ramed-product-benefits b{background:#e8f6f1;color:#0b7658;border-radius:10px}
.ramed-product-benefits strong{font-size:10px}.ramed-product-benefits small{font-size:8px}
.ramed-product-consult{border-radius:18px;background:linear-gradient(135deg,#eef6ff,#edf9f4);border-color:#dbeae7}
.ramed-product-story{grid-column:1/-1;padding:34px;background:#0d2941;color:#fff;overflow:hidden;position:relative}
.ramed-product-story:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(27,171,124,.13);left:-120px;top:-180px}
.ramed-product-story-head{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end;position:relative}
.ramed-product-story-head span{display:block;color:#8edfc1;font-size:11px;font-weight:900;margin-bottom:8px}
.ramed-product-story-head h2{color:#fff;font-size:29px;margin:0;line-height:1.5}.ramed-product-story-head>p{color:#c6d3dd;line-height:2;font-size:12px;margin:0}
.ramed-product-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px;position:relative}
.ramed-product-story-grid article{display:flex;gap:13px;padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(255,255,255,.055);backdrop-filter:blur(8px)}
.ramed-product-story-grid article>b{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:#11966e;color:#fff;font-size:10px}
.ramed-product-story-grid strong{display:block;color:#fff;font-size:12px;margin-bottom:5px}.ramed-product-story-grid p{margin:0;color:#b9c8d2;font-size:10px;line-height:1.9}
.ramed-product-details-v2{grid-column:1/-1;padding:28px}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs{display:flex;gap:8px;margin:0 0 24px!important;padding:0!important;border:0!important;background:#f5f8f9;border-radius:16px;padding:6px!important}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs:before,.ramed-product-details-v2 .woocommerce-tabs ul.tabs li:before,.ramed-product-details-v2 .woocommerce-tabs ul.tabs li:after{display:none!important}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0!important;padding:0!important;border-radius:12px!important}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs li a{padding:11px 18px!important;font-size:11px!important;color:#647682!important}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs li.active{background:#fff!important;box-shadow:0 5px 15px rgba(18,48,70,.07)}
.ramed-product-details-v2 .woocommerce-tabs ul.tabs li.active a{color:#0a7355!important}
.ramed-product-details-v2 .woocommerce-Tabs-panel{margin:0!important;padding:6px 4px 2px!important;color:#536672;line-height:2.15;font-size:13px}
.ramed-product-description-content h3{font-size:24px;color:#102f46;margin:0 0 15px}.ramed-product-description-content ul{display:grid;gap:9px;padding-right:18px}.ramed-product-description-content li::marker{color:#0b8a65}
.ramed-description-note{margin-top:20px!important;padding:13px 15px;border-radius:12px;background:#f4f8f7;color:#71827c;font-size:10px}
.ramed-related-v2{grid-column:1/-1;padding:28px}.ramed-related-v2>section>h2,.ramed-related-v2 .products>h2{font-size:26px;color:#102f46}

body.woocommerce-account:not(.logged-in) .site-main{background:linear-gradient(180deg,#f1f6f8,#fff);padding:48px 0 80px}
.ramed-auth-shell{max-width:1120px;margin:0 auto;grid-template-columns:.94fr 1.06fr;min-height:720px;border-radius:34px;border-color:#e2e9ed;box-shadow:0 30px 95px rgba(13,41,64,.13)}
.ramed-auth-tabs{display:grid!important;grid-template-columns:1fr 1fr;background:#f3f6f7;padding:6px;border-radius:15px;gap:5px}
.ramed-auth-tabs button{border-radius:11px!important;min-height:43px;font-family:inherit;font-weight:900}
.ramed-auth-tabs button.is-active{background:#fff!important;color:#087052!important;box-shadow:0 7px 20px rgba(15,52,75,.08)}
.ramed-auth-panel{animation:ramedAuthIn .25s ease}
@keyframes ramedAuthIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.ramed-auth-panel header h2{font-size:30px;color:#102f46}.ramed-auth-panel header>span{color:#0a8a65;font-weight:900}
.ramed-auth-switch{padding-top:15px;border-top:1px solid #edf1f3}
.ramed-auth-switch button{color:#087052!important;font-weight:900!important}
@media(max-width:1150px){.ramed-product-info-card{position:static}.ramed-product-story-head{grid-template-columns:1fr;gap:15px}}
@media(max-width:760px){.ramed-product-info-card{padding:23px}.ramed-product-info-card .product_title{font-size:27px!important}.ramed-product-story{padding:24px}.ramed-product-story-grid{grid-template-columns:1fr}.ramed-product-story-head h2{font-size:24px}.ramed-product-details-v2,.ramed-related-v2{padding:18px}.ramed-product-details-v2 .woocommerce-tabs ul.tabs{overflow:auto;white-space:nowrap}.ramed-product-benefits{grid-template-columns:1fr}.ramed-auth-shell{border-radius:24px}.ramed-auth-panels{padding:28px 20px}}

/* Stage 17: refined mobile header, mobile layout and floating bottom navigation */
.header-actions svg,.mobile-header-actions svg,.mobile-account-entry svg,.ramed-mobile-bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-header-bar{display:none}
@media(max-width:900px){
 body{padding-bottom:82px}.topbar{display:none}.site-header{top:0;box-shadow:0 8px 28px rgba(15,35,55,.055)}.site-header .header-main{display:none}.mobile-header-bar{display:flex;direction:rtl;align-items:center;justify-content:space-between;min-height:68px;padding-top:9px;padding-bottom:9px}.mobile-branding{display:flex;align-items:center;min-width:0}.mobile-branding .custom-logo-link{display:flex;align-items:center}.mobile-branding .custom-logo{max-height:42px;max-width:132px;width:auto;object-fit:contain}.mobile-branding .brand-mark{font-size:27px;line-height:1}.mobile-header-actions{display:flex;direction:rtl;align-items:center;gap:7px}.mobile-head-btn{position:relative;display:grid;place-items:center;width:39px;height:39px;padding:0;border:1px solid #e7ecef;border-radius:13px;background:#fff;color:#172c3e;box-shadow:0 5px 16px rgba(14,31,45,.035);cursor:pointer}.mobile-head-btn:active{transform:scale(.96)}.mobile-head-btn small{position:absolute;top:-5px;right:-4px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:var(--green);color:#fff;font-size:8px;line-height:1}.mobile-toggle{display:grid}.mobile-toggle .close-icon{display:none}.mobile-toggle[aria-expanded="true"] .menu-icon{display:none}.mobile-toggle[aria-expanded="true"] .close-icon{display:block}.mobile-menu{display:block;position:absolute;top:100%;right:0;left:0;max-height:0;overflow:hidden;background:rgba(255,255,255,.985);border-top:1px solid transparent;box-shadow:0 22px 45px rgba(11,31,48,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:max-height .35s ease,opacity .25s ease,transform .25s ease,visibility .25s}.mobile-menu.open{max-height:620px;overflow:auto;border-top-color:#edf1f3;opacity:1;visibility:visible;transform:none}.mobile-menu-inner{padding-top:17px;padding-bottom:20px}.mobile-menu-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}.mobile-menu-head strong{color:var(--navy);font-size:15px}.mobile-menu-head span{color:var(--muted);font-size:9px}.mobile-menu ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none}.mobile-menu li{margin:0}.mobile-menu li a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #edf1f3;border-radius:13px;background:#fafcfd;color:#23394a;font-size:11px;font-weight:800}.mobile-menu li.current-menu-item a{border-color:#caebdd;background:#eff9f5;color:var(--green-dark)}.mobile-account-entry{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;margin-top:12px;padding:12px;border-radius:15px;background:linear-gradient(135deg,#071f3b,#0b4c63);color:#fff}.mobile-account-entry-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.12)}.mobile-account-entry strong,.mobile-account-entry small{display:block}.mobile-account-entry strong{font-size:11px}.mobile-account-entry small{margin-top:3px;color:#c7d7df;font-size:8px}.mobile-account-entry b{font-size:25px;font-weight:400}.ramed-mobile-bottom-nav{position:fixed;z-index:999;right:10px;bottom:max(9px,env(safe-area-inset-bottom));left:10px;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;height:67px;padding:7px 5px 6px;border:1px solid rgba(224,231,235,.95);border-radius:21px;background:rgba(255,255,255,.96);box-shadow:0 12px 38px rgba(7,25,42,.16);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.ramed-mobile-bottom-nav>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;height:53px;border-radius:15px;color:#78858f;font-size:8px;font-weight:800;white-space:nowrap}.ramed-mobile-bottom-nav>a>svg,.ramed-bottom-cart-icon>svg{width:20px;height:20px}.ramed-mobile-bottom-nav>a.is-active{background:#f0f8f4;color:var(--green-dark)}.ramed-mobile-bottom-nav>a.is-active:after{content:"";position:absolute;bottom:3px;width:15px;height:2px;border-radius:9px;background:var(--green)}.ramed-bottom-search{transform:translateY(-13px)}.ramed-bottom-search-icon{display:grid;place-items:center;width:47px;height:47px;border:5px solid #fff;border-radius:17px;background:linear-gradient(135deg,var(--green),#08765b);color:#fff;box-shadow:0 8px 20px rgba(12,135,98,.27)}.ramed-bottom-search>span:last-child{margin-top:-2px}.ramed-bottom-cart-icon{position:relative;display:grid;place-items:center}.ramed-bottom-cart-icon small{position:absolute;top:-7px;right:-9px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border:2px solid #fff;border-radius:999px;background:#e8575d;color:#fff;font-size:7px}.site-footer{margin-bottom:0}.container{width:min(100% - 28px,var(--container))}.hero-reference{padding-top:32px}.section{padding-top:46px;padding-bottom:46px}.product-slider-section,.category-section,.magazine-section{overflow:hidden}
}
@media(max-width:520px){.mobile-header-bar{min-height:62px}.mobile-branding .custom-logo{max-height:37px;max-width:112px}.mobile-branding .brand-mark{font-size:24px}.mobile-header-actions{gap:5px}.mobile-head-btn{width:36px;height:36px;border-radius:12px}.mobile-head-btn svg{width:19px;height:19px}.mobile-menu ul{grid-template-columns:1fr 1fr}.ramed-mobile-bottom-nav{right:7px;left:7px;bottom:max(6px,env(safe-area-inset-bottom));height:64px;border-radius:19px}.ramed-mobile-bottom-nav>a{font-size:7.5px}.ramed-bottom-search-icon{width:45px;height:45px}.woocommerce ul.products,.products.columns-5,.products.columns-4,.products.columns-3{gap:10px!important}.woocommerce ul.products li.product{min-width:0}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;scrollbar-width:none}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{flex:0 0 auto}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation:before{display:none}}
@media(min-width:901px){.ramed-mobile-bottom-nav{display:none!important}}

/* Stage 18: mobile spacing, smaller typography and repaired authentication layout */
@media (max-width:900px){
  body{font-size:13px}
  .container{width:min(100% - 40px,var(--container))}
  .mobile-header-bar{padding-inline:2px;min-height:64px}
  .mobile-header-actions{gap:6px}
  .mobile-head-btn{width:37px;height:37px;border-radius:12px}
  .mobile-branding .custom-logo{max-height:39px;max-width:118px}
  .mobile-branding .brand-mark{font-size:25px}
  .mobile-menu-inner{padding-top:14px;padding-bottom:18px}
  .mobile-menu li a{min-height:41px;padding:8px 10px;font-size:10px}
  .mobile-account-entry{grid-template-columns:38px 1fr auto;gap:9px;padding:10px 11px}
  .mobile-account-entry-icon{width:38px;height:38px}
  .mobile-account-entry strong{font-size:10px}.mobile-account-entry small{font-size:7.5px}
  .section{padding-top:39px;padding-bottom:39px}
  .section-title h2,.section-head h2{font-size:23px}
  .section-title p,.section-head p{font-size:10px}
  .ramed-mobile-bottom-nav{right:14px;left:14px;height:63px;padding:6px 5px 5px;border-radius:19px}
  .ramed-mobile-bottom-nav>a{height:49px;gap:3px;font-size:7.5px;border-radius:13px}
  .ramed-mobile-bottom-nav>a>svg,.ramed-bottom-cart-icon>svg{width:18px;height:18px}
  .ramed-bottom-search-icon{width:44px;height:44px;border-radius:15px}

  body.woocommerce-account:not(.logged-in) .site-main{padding:24px 0 100px}
  body.woocommerce-account:not(.logged-in) .woocommerce{width:100%;max-width:none;margin:0}
  .ramed-auth-shell{display:block!important;width:100%;min-height:0!important;margin:0!important;border-radius:22px!important;overflow:hidden}
  .ramed-auth-visual{display:none!important}
  .ramed-auth-panels{display:block!important;width:100%;padding:25px 22px 27px!important}
  .ramed-auth-tabs{width:100%;margin:0 0 21px!important;padding:5px!important;border-radius:13px!important}
  .ramed-auth-tabs button{min-height:39px!important;padding:8px!important;font-size:11px!important}
  .ramed-auth-panel{width:100%;min-width:0}
  .ramed-auth-panel header{width:100%;min-width:0}
  .ramed-auth-panel header h2{font-size:23px!important;line-height:1.45;margin:4px 0!important}
  .ramed-auth-panel header>span{font-size:10px!important}
  .ramed-auth-panel header p{font-size:10.5px!important;line-height:1.9;margin:0 0 18px!important}
  .ramed-field{width:100%;min-width:0;margin-bottom:12px!important}
  .ramed-field label{font-size:10.5px;margin-bottom:6px}
  .ramed-input-wrap{width:100%;min-width:0}
  .ramed-auth-panel .input-text{display:block;width:100%!important;max-width:100%!important;height:46px!important;padding:0 39px 0 12px!important;border-radius:12px!important;font-size:12px!important;box-sizing:border-box!important}
  .ramed-input-icon{right:12px;font-size:11px}
  .ramed-auth-options{align-items:flex-start;gap:8px;margin:1px 0 16px;font-size:10px}
  .ramed-auth-options label{gap:5px;white-space:nowrap}
  .ramed-auth-options a{text-align:left;line-height:1.7}
  .ramed-auth-submit .button{height:47px!important;border-radius:12px!important;font-size:12px!important}
  .ramed-auth-switch{font-size:10.5px;margin-top:16px;padding-top:13px}

  .ramed-register-header{display:block!important;margin-bottom:13px}
  .ramed-register-header>div:first-child{width:100%}
  .ramed-register-badge{display:none!important}
  .ramed-register-perks{grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0 0 16px!important}
  .ramed-register-perks>div{min-width:0;padding:8px!important;border-radius:11px}
  .ramed-register-perks>div:last-child{grid-column:1/-1}
  .ramed-register-perks>div>span{width:24px;height:24px;border-radius:8px;font-size:8px}
  .ramed-register-perks strong{font-size:9px}.ramed-register-perks small{display:block!important;font-size:7px;line-height:1.55}
  .ramed-register-grid{grid-template-columns:1fr!important;gap:0!important}
  .ramed-register-form .ramed-field{margin-bottom:11px!important}
  .ramed-register-form .input-text{height:46px!important}
  .ramed-password-toggle{left:7px;padding:5px 7px;font-size:8px}
  .ramed-password-hint{font-size:8px;line-height:1.8}
  .ramed-register-consent{width:100%;box-sizing:border-box;margin:3px 0 13px;padding:9px 10px;font-size:8.5px;line-height:1.8;border-radius:10px}
  .ramed-register-panel .woocommerce-privacy-policy-text{font-size:8px}
  .woocommerce-error,.woocommerce-message,.woocommerce-info{font-size:10px!important;line-height:1.9!important;padding:12px 38px 12px 12px!important;border-radius:12px!important}
}

@media (max-width:520px){
  .container{width:min(100% - 34px,var(--container))}
  .mobile-header-bar{min-height:59px}
  .mobile-branding .custom-logo{max-height:34px;max-width:103px}
  .mobile-branding .brand-mark{font-size:22px}
  .mobile-header-actions{gap:4px}
  .mobile-head-btn{width:34px;height:34px;border-radius:11px}
  .mobile-head-btn svg{width:18px;height:18px}
  .mobile-menu ul{gap:7px}
  .mobile-menu li a{min-height:39px;padding:7px 8px;font-size:9.5px}
  .ramed-mobile-bottom-nav{right:12px;left:12px;bottom:max(7px,env(safe-area-inset-bottom));height:61px}
  .ramed-mobile-bottom-nav>a{font-size:7px}
  .ramed-bottom-search{transform:translateY(-11px)}
  .ramed-bottom-search-icon{width:42px;height:42px}
  .ramed-auth-panels{padding:22px 17px 24px!important}
  .ramed-auth-shell{border-radius:19px!important}
  .ramed-auth-panel header h2{font-size:21px!important}
  .ramed-auth-panel header p{font-size:10px!important}
  .ramed-auth-tabs{margin-bottom:18px!important}
  .ramed-auth-options{font-size:9px}
  .ramed-register-perks strong{font-size:8.5px}
}

@media (max-width:370px){
  .container{width:min(100% - 28px,var(--container))}
  .mobile-head-btn{width:32px;height:32px}
  .mobile-header-actions{gap:3px}
  .mobile-branding .custom-logo{max-width:92px}
  .ramed-auth-panels{padding-inline:14px!important}
  .ramed-register-perks{grid-template-columns:1fr!important}
  .ramed-register-perks>div:last-child{grid-column:auto}
}

/* Stage 19 — unified mobile gutters and compact premium mobile UI */
@media (max-width:900px){
  :root{--ramed-mobile-gutter:20px;--ramed-mobile-radius:16px}
  *,*:before,*:after{box-sizing:border-box}
  html,body{max-width:100%;overflow-x:hidden}

  /* One shared horizontal rhythm across the whole mobile site */
  .container,
  .site-main>.woocommerce,
  .woocommerce-page .site-main>.woocommerce,
  .ramed-commerce-page,
  .ramed-shop-page,
  .ramed-blog-page,
  .ramed-single-post,
  .ramed-product-page-v2,
  .woocommerce-account .site-main>.woocommerce{
    width:calc(100% - (var(--ramed-mobile-gutter) * 2))!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  .mobile-header-bar{
    width:calc(100% - (var(--ramed-mobile-gutter) * 2))!important;
    padding-inline:0!important;
    min-height:58px!important;
  }
  .mobile-branding{min-width:0;max-width:36%}
  .mobile-branding .custom-logo{max-width:96px!important;max-height:32px!important}
  .mobile-branding .brand-mark{font-size:21px!important}
  .mobile-header-actions{gap:4px!important;flex-shrink:0}
  .mobile-head-btn{width:32px!important;height:32px!important;border-radius:10px!important}
  .mobile-head-btn svg{width:17px!important;height:17px!important}
  .mobile-cart-count{min-width:14px!important;height:14px!important;font-size:6px!important;top:-4px!important;right:-4px!important}

  .mobile-menu-inner{
    width:calc(100% - (var(--ramed-mobile-gutter) * 2))!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  .mobile-menu-head strong{font-size:13px!important}.mobile-menu-head span{font-size:8px!important}
  .mobile-menu ul{gap:7px!important}
  .mobile-menu li a{min-height:38px!important;padding:7px 8px!important;border-radius:11px!important;font-size:9px!important}
  .mobile-account-entry{padding:9px 10px!important;border-radius:13px!important;grid-template-columns:34px 1fr auto!important}
  .mobile-account-entry-icon{width:34px!important;height:34px!important;border-radius:10px!important}

  body{font-size:12.5px!important}
  h1{font-size:25px!important}h2{font-size:21px!important}h3{font-size:17px!important}
  .section{padding-top:34px!important;padding-bottom:34px!important}
  .section-title h2,.section-head h2{font-size:20px!important}
  .section-title p,.section-head p{font-size:9px!important}
  .button,button,input,select,textarea{font-family:inherit}

  /* Prevent nested sections/cards from touching the viewport */
  .hero-reference,.category-section,.product-slider-section,.magazine-section,
  .ramed-shop-hero,.ramed-shop-toolbar,.ramed-shop-layout,
  .ramed-product-layout-v2,.ramed-featured-article,.ramed-blog-grid,
  .woocommerce-cart-form,.cart-collaterals,.ramed-checkout-shell,
  .woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{
    max-width:100%!important;
  }

  .ramed-product-card-inner{border-radius:14px!important}
  .ramed-product-card-body{padding:11px!important}
  .ramed-product-card .woocommerce-loop-product__title{font-size:12px!important;min-height:43px!important;margin:3px 0 7px!important}
  .ramed-product-card-price{font-size:12px!important}
  .ramed-product-image-link img{padding:13px!important}
  .ramed-product-card-actions{margin-top:9px!important;gap:6px!important}
  .ramed-product-card-actions .button{padding:9px 7px!important;font-size:9px!important;border-radius:9px!important}

  /* Auth: a clean contained card with identical outside spacing */
  body.woocommerce-account:not(.logged-in) .site-main{
    padding:18px 0 92px!important;
  }
  body.woocommerce-account:not(.logged-in) .site-main>.woocommerce{
    width:calc(100% - (var(--ramed-mobile-gutter) * 2))!important;
  }
  .ramed-auth-shell{
    width:100%!important;
    margin:0!important;
    border-radius:18px!important;
    box-shadow:0 12px 32px rgba(12,34,48,.08)!important;
  }
  .ramed-auth-panels{padding:20px 16px 22px!important}
  .ramed-auth-tabs{margin-bottom:16px!important;padding:4px!important;border-radius:11px!important}
  .ramed-auth-tabs button{min-height:36px!important;font-size:10px!important;border-radius:9px!important}
  .ramed-auth-panel header h2{font-size:19px!important}
  .ramed-auth-panel header>span{font-size:8.5px!important}
  .ramed-auth-panel header p{font-size:9.5px!important;margin-bottom:14px!important}
  .ramed-field{margin-bottom:10px!important}
  .ramed-field label{font-size:9.5px!important;margin-bottom:5px!important}
  .ramed-auth-panel .input-text{height:42px!important;border-radius:10px!important;font-size:11px!important;padding-right:36px!important}
  .ramed-input-icon{right:11px!important;font-size:10px!important}
  .ramed-auth-options{font-size:8.8px!important;margin-bottom:13px!important}
  .ramed-auth-submit .button{height:43px!important;border-radius:10px!important;font-size:11px!important}
  .ramed-auth-switch{font-size:9px!important;margin-top:13px!important;padding-top:11px!important}
  .ramed-register-perks{gap:6px!important;margin-bottom:13px!important}
  .ramed-register-perks>div{padding:7px!important;border-radius:9px!important}
  .ramed-register-perks strong{font-size:8px!important}.ramed-register-perks small{font-size:6.7px!important}
  .ramed-register-consent{font-size:7.8px!important;padding:8px 9px!important}

  /* Premium floating bottom bar with same edge gutter */
  .ramed-mobile-bottom-nav{
    right:var(--ramed-mobile-gutter)!important;
    left:var(--ramed-mobile-gutter)!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    height:58px!important;
    padding:5px 4px!important;
    border-radius:18px!important;
  }
  .ramed-mobile-bottom-nav>a{height:46px!important;font-size:6.8px!important;gap:2px!important;border-radius:11px!important}
  .ramed-mobile-bottom-nav>a>svg,.ramed-bottom-cart-icon>svg{width:17px!important;height:17px!important}
  .ramed-bottom-search{transform:translateY(-10px)!important}
  .ramed-bottom-search-icon{width:40px!important;height:40px!important;border-width:4px!important;border-radius:14px!important}
}

@media (max-width:480px){
  :root{--ramed-mobile-gutter:18px}
  .mobile-branding{max-width:32%}
  .mobile-branding .custom-logo{max-width:88px!important}
  .mobile-head-btn{width:30px!important;height:30px!important}
  .mobile-head-btn svg{width:16px!important;height:16px!important}
  .mobile-header-actions{gap:3px!important}
  .ramed-auth-panels{padding:18px 14px 20px!important}
}

@media (max-width:370px){
  :root{--ramed-mobile-gutter:14px}
  .mobile-branding .custom-logo{max-width:78px!important}
  .mobile-branding .brand-mark{font-size:19px!important}
  .mobile-head-btn{width:28px!important;height:28px!important}
  .mobile-header-actions{gap:2px!important}
  .ramed-mobile-bottom-nav{border-radius:16px!important}
  .ramed-auth-panels{padding-inline:12px!important}
}

/* =========================================================
   Stage 21 — refined mobile hero, product cards and product UI
   ========================================================= */
.ramed-product-card-cats{display:none!important}
.ramed-product-media{aspect-ratio:1.14/1;background:linear-gradient(145deg,#f7f9fa,#eef2f4)}
.ramed-product-image-link img{padding:12px!important;transform:scale(1.04)}
.ramed-product-card:hover .ramed-product-image-link img{transform:scale(1.085)}
.ramed-product-card-body{padding:13px 14px 14px}
.ramed-product-card .woocommerce-loop-product__title{margin:0 0 8px!important;min-height:48px;font-size:14px!important;line-height:1.7!important}
.ramed-product-card-price{font-size:14px}
.ramed-product-card-actions{margin-top:10px}

/* Product page — luxury minimal layout */
.ramed-single-product-v2{background:linear-gradient(180deg,#f7f9fa 0,#fff 620px);padding-top:18px}
.ramed-product-layout-v2{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:28px}
.ramed-product-gallery-card,.ramed-product-info-card,.ramed-product-details-v2,.ramed-related-v2{border-color:#e8edf0;box-shadow:0 18px 60px rgba(19,39,54,.055)}
.ramed-product-gallery-card{padding:16px;border-radius:28px;overflow:hidden}
.ramed-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 14px;color:#12283a}
.ramed-gallery-head span{font-size:13px;font-weight:900}
.ramed-gallery-head small{font-size:10px;color:#8a98a2}
.ramed-product-gallery-card div.images{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:start}
.ramed-product-gallery-card .woocommerce-product-gallery__wrapper{grid-column:2;grid-row:1;background:radial-gradient(circle at 50% 44%,#fff 0,#f5f7f8 66%,#eef2f4 100%);border-radius:22px;min-height:590px;display:flex;align-items:center}
.ramed-product-gallery-card .woocommerce-product-gallery__image{width:100%}
.ramed-product-gallery-card .woocommerce-product-gallery__image img{width:100%;max-height:590px;object-fit:contain;padding:34px;transition:transform .35s ease}
.ramed-product-gallery-card .woocommerce-product-gallery__image:hover img{transform:scale(1.025)}
.ramed-product-gallery-card .flex-viewport{grid-column:2;grid-row:1;border-radius:22px;background:radial-gradient(circle at 50% 44%,#fff 0,#f5f7f8 66%,#eef2f4 100%)}
.ramed-product-gallery-card .flex-control-thumbs{grid-column:1;grid-row:1;display:flex!important;flex-direction:column;gap:10px;margin:0!important;max-height:590px;overflow:auto;padding:1px;scrollbar-width:none}
.ramed-product-gallery-card .flex-control-thumbs::-webkit-scrollbar{display:none}
.ramed-product-gallery-card .flex-control-thumbs li{width:72px!important;height:72px;border:1px solid #e4eaed;border-radius:15px;background:#f8fafb;opacity:.72;transition:.2s}
.ramed-product-gallery-card .flex-control-thumbs li:hover,.ramed-product-gallery-card .flex-control-thumbs img.flex-active{opacity:1;border-color:#1bb27a;box-shadow:0 0 0 3px rgba(27,178,122,.1)}
.ramed-product-gallery-card .flex-control-thumbs img{width:100%;height:100%;object-fit:contain;padding:7px}
.ramed-product-gallery-card .woocommerce-product-gallery__trigger{top:18px!important;left:18px!important;right:auto!important;width:42px!important;height:42px!important;border:1px solid #e2e8eb!important;background:rgba(255,255,255,.9)!important;box-shadow:0 8px 22px rgba(15,35,49,.08)!important}
.ramed-product-gallery-card .onsale{top:66px!important;right:28px!important;padding:7px 13px!important;border-radius:999px!important}
.ramed-product-info-card{padding:28px;border-radius:28px;position:sticky;top:108px}
.ramed-product-info-card .product_title{font-size:clamp(27px,3vw,42px)!important;line-height:1.35!important;letter-spacing:-1px;margin:16px 0 12px!important}
.ramed-product-shortdesc{color:#64727d;font-size:14px;line-height:2}
.ramed-product-price-row{padding:20px 0;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3;margin:18px 0}
.ramed-product-price-row .price{font-size:25px!important;font-weight:900;color:#102a3d!important}
.ramed-purchase-panel{padding:16px;border:1px solid #e7ecef;border-radius:18px;background:#fafcfc}
.ramed-purchase-panel .single_add_to_cart_button{min-height:52px;border-radius:14px!important;background:linear-gradient(135deg,#0b2a55,#124f66)!important;box-shadow:0 12px 28px rgba(11,42,85,.18)}
.ramed-product-benefits{gap:9px;margin-top:14px}
.ramed-product-benefits>div{border:1px solid #e7ecef;border-radius:15px;background:#fff;padding:12px}
.ramed-product-details-v2,.ramed-related-v2{border-radius:26px;padding:24px}
.ramed-product-details-v2 ul.tabs{display:flex;gap:8px;padding:6px!important;border:1px solid #e8edf0!important;border-radius:15px;background:#f7f9fa}
.ramed-product-details-v2 ul.tabs li{border:0!important;background:transparent!important;border-radius:11px!important;margin:0!important}
.ramed-product-details-v2 ul.tabs li.active{background:#fff!important;box-shadow:0 5px 15px rgba(16,39,54,.07)}
.ramed-product-details-v2 .woocommerce-Tabs-panel{padding:24px 4px 4px!important;line-height:2.15;color:#53636f}

@media(max-width:700px){
  .hero-reference{padding:24px 0 28px!important}
  .hero-reference-grid{gap:20px!important}
  .hero-content{text-align:center!important;display:flex;flex-direction:column;align-items:center}
  .hero-proof{padding:5px 11px!important;font-size:9px!important}
  .hero-content h1{font-size:29px!important;line-height:1.42!important;letter-spacing:-1px!important;margin:14px 0 9px!important;max-width:330px}
  .hero-content h1 em{display:inline!important}
  .hero-content>p{font-size:12px!important;line-height:1.9!important;max-width:330px!important;margin:0 auto 16px!important}
  .hero-actions{justify-content:center!important;gap:7px!important;margin-bottom:14px!important;width:100%}
  .hero-actions .btn{flex:0 1 auto!important;min-width:112px;padding:9px 13px!important;font-size:10px!important;border-radius:11px!important}
  .hero-search{width:min(100%,330px);padding:6px!important;border-radius:14px!important;box-shadow:0 12px 28px rgba(16,24,40,.08)!important}
  .hero-search input{padding:8px 10px!important;font-size:11px!important;text-align:center}
  .hero-search button{padding:9px 12px!important;border-radius:10px!important;font-size:10px!important}
  .hero-suggestions{justify-content:center!important;gap:6px!important;margin-top:10px!important;font-size:9px!important}
  .hero-suggestions a{font-size:9px!important;padding:3px 8px!important}
  .hero-collage{min-height:260px!important;width:min(100%,340px)!important;margin-inline:auto!important;padding:7px!important;gap:7px!important;border-radius:19px!important}
  .hero-collage figure{border-radius:15px!important}
  .hero-collage-main img{padding:9px!important}
  .hero-collage-small img{padding:7px!important}
  .hero-floating-note,.hero-floating-stat{transform:scale(.82);transform-origin:center}

  .ramed-product-media{aspect-ratio:1.08/1!important}
  .ramed-product-image-link img{padding:7px!important;transform:scale(1.08)}
  .ramed-product-card-body{padding:9px 10px 11px!important}
  .ramed-product-card .woocommerce-loop-product__title{font-size:11px!important;line-height:1.75!important;min-height:39px!important;margin:0 0 6px!important}
  .ramed-product-card-price{font-size:11px!important}
  .ramed-product-card-actions{margin-top:7px!important}
  .ramed-product-card-actions .button{padding:8px 6px!important;font-size:8px!important;border-radius:8px!important}

  .ramed-single-product-v2{padding-top:8px!important}
  .ramed-product-layout-v2{display:block!important}
  .ramed-product-gallery-card,.ramed-product-info-card,.ramed-product-details-v2,.ramed-related-v2{border-radius:18px!important;box-shadow:0 12px 34px rgba(18,38,52,.05)!important}
  .ramed-product-gallery-card{padding:10px!important}
  .ramed-gallery-head{padding:2px 2px 9px!important}
  .ramed-gallery-head span{font-size:11px!important}.ramed-gallery-head small{font-size:8px!important}
  .ramed-product-gallery-card div.images{display:block!important}
  .ramed-product-gallery-card .woocommerce-product-gallery__wrapper,.ramed-product-gallery-card .flex-viewport{min-height:330px!important;border-radius:15px!important}
  .ramed-product-gallery-card .woocommerce-product-gallery__image img{max-height:330px!important;padding:17px!important}
  .ramed-product-gallery-card .flex-control-thumbs{display:flex!important;flex-direction:row!important;gap:7px!important;overflow-x:auto!important;max-height:none!important;margin-top:8px!important;padding-bottom:2px!important}
  .ramed-product-gallery-card .flex-control-thumbs li{flex:0 0 57px!important;width:57px!important;height:57px!important;border-radius:11px!important}
  .ramed-product-gallery-card .woocommerce-product-gallery__trigger{top:46px!important;left:14px!important;width:36px!important;height:36px!important}
  .ramed-product-gallery-card .onsale{top:48px!important;right:16px!important;font-size:9px!important}
  .ramed-product-info-card{position:static!important;margin-top:12px!important;padding:17px!important}
  .ramed-product-info-card .product_title{font-size:23px!important;line-height:1.45!important;margin:12px 0 8px!important;text-align:center}
  .ramed-product-topline{align-items:center!important;text-align:center}
  .ramed-product-shortdesc{text-align:center;font-size:11px!important;line-height:2!important}
  .ramed-product-price-row{align-items:center!important;text-align:center!important;padding:14px 0!important;margin:14px 0!important}
  .ramed-product-price-row .price{font-size:20px!important}
  .ramed-purchase-panel{padding:11px!important;border-radius:14px!important}
  .ramed-purchase-panel .single_add_to_cart_button{min-height:46px!important;border-radius:11px!important}
  .ramed-product-benefits{grid-template-columns:1fr!important}
  .ramed-product-benefits>div{padding:10px!important;border-radius:12px!important}
  .ramed-product-details-v2,.ramed-related-v2{padding:13px!important;margin-top:12px!important}
  .ramed-product-details-v2 ul.tabs{padding:4px!important;border-radius:12px!important;gap:4px!important}
  .ramed-product-details-v2 ul.tabs li a{font-size:10px!important;padding:7px 9px!important}
  .ramed-product-details-v2 .woocommerce-Tabs-panel{padding:16px 2px 2px!important;font-size:11px!important}
}

/* Stage 21 — refined premium single product page */
.ramed-single-product-v3{background:linear-gradient(180deg,#f6f8f9 0,#fff 560px);padding:18px 0 72px}
.ramed-product-layout-v3{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(390px,.97fr);gap:26px;align-items:start}
.ramed-product-gallery-v3,.ramed-product-summary-v3,.ramed-product-highlights-v3,.ramed-product-details-v3,.ramed-related-v3{background:#fff;border:1px solid #e7ecef;box-shadow:0 20px 55px rgba(22,42,56,.055)}
.ramed-product-gallery-v3{border-radius:26px;padding:15px;overflow:hidden}
.ramed-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 5px 14px}
.ramed-gallery-toolbar>div{display:flex;align-items:center;gap:9px}.ramed-gallery-eyebrow{padding:5px 9px;border-radius:99px;background:#eff8f4;color:#087254;font-size:9px;font-weight:900}.ramed-gallery-toolbar strong{font-size:12px;color:#172f40}.ramed-gallery-hint{font-size:9px;color:#8a97a0}
.ramed-gallery-stage{position:relative}
.ramed-product-gallery-v3 div.images{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:start;margin:0!important}
.ramed-product-gallery-v3 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v3 .flex-viewport{grid-column:2;grid-row:1;min-height:470px;max-height:500px;border-radius:20px;background:radial-gradient(circle at 50% 45%,#fff 0,#f7f8f9 62%,#eef1f3 100%);overflow:hidden}
.ramed-product-gallery-v3 .woocommerce-product-gallery__image{width:100%;height:100%}
.ramed-product-gallery-v3 .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;min-height:470px;max-height:500px}
.ramed-product-gallery-v3 .woocommerce-product-gallery__image img{display:block;width:100%!important;height:470px!important;max-height:470px!important;object-fit:contain!important;padding:30px!important;transition:transform .35s ease}
.ramed-product-gallery-v3 .woocommerce-product-gallery__image:hover img{transform:scale(1.018)}
.ramed-product-gallery-v3 .flex-control-thumbs{grid-column:1;grid-row:1;display:flex!important;flex-direction:column;gap:8px;max-height:470px;overflow:auto;margin:0!important;padding:1px;scrollbar-width:none}
.ramed-product-gallery-v3 .flex-control-thumbs::-webkit-scrollbar{display:none}.ramed-product-gallery-v3 .flex-control-thumbs li{width:66px!important;height:66px!important;flex:0 0 66px;border:1px solid #e4e9ec;border-radius:13px;background:#f8fafb;overflow:hidden;opacity:.7;transition:.2s}.ramed-product-gallery-v3 .flex-control-thumbs li:hover,.ramed-product-gallery-v3 .flex-control-thumbs li:has(img.flex-active){opacity:1;border-color:#15956d;box-shadow:0 0 0 3px rgba(21,149,109,.09)}.ramed-product-gallery-v3 .flex-control-thumbs img{width:100%;height:100%;object-fit:contain;padding:6px}.ramed-product-gallery-v3 .woocommerce-product-gallery__trigger{top:15px!important;left:15px!important;right:auto!important;width:39px!important;height:39px!important;border:1px solid #e0e7ea!important;background:rgba(255,255,255,.92)!important;box-shadow:0 8px 20px rgba(16,35,48,.08)!important}.ramed-product-gallery-v3 .onsale{top:16px!important;right:16px!important;padding:6px 11px!important;border-radius:999px!important;font-size:10px!important}
.ramed-product-summary-v3{border-radius:26px;padding:0}.ramed-product-summary-inner{padding:28px;position:sticky;top:102px}.ramed-product-summary-v3 .product_title{font-size:clamp(28px,2.7vw,39px)!important;line-height:1.42!important;letter-spacing:-1.1px;margin:15px 0 9px!important;color:#102b3e}.ramed-product-rating-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;color:#86939c;font-size:10px}.ramed-product-rating-line .woocommerce-product-rating{margin:0!important}.ramed-product-shortdesc{margin-top:14px;color:#62717b;font-size:13px;line-height:2}.ramed-product-price-row-v3{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:20px 0;padding:18px 0;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}.ramed-product-price-wrap small{display:block;margin-bottom:5px;color:#87949e;font-size:9px}.ramed-product-price-row-v3 .price{font-size:25px!important;font-weight:900;color:#0d2b3f!important}.ramed-product-price-row-v3 .stock{margin:0!important;padding:6px 10px;border-radius:99px;background:#eff8f4;color:#087254;font-size:9px;font-weight:900}.ramed-purchase-panel-v3{padding:14px;border:1px solid #e6ecef;border-radius:18px;background:#fafcfc}.ramed-purchase-panel-v3 form.cart{display:flex;align-items:stretch;gap:10px;margin:0!important}.ramed-purchase-panel-v3 .quantity{margin:0!important}.ramed-purchase-panel-v3 .qty{height:50px!important;border-radius:13px!important}.ramed-purchase-panel-v3 .single_add_to_cart_button{flex:1;min-height:50px;border-radius:13px!important;background:linear-gradient(135deg,#09284d,#0d5365)!important;box-shadow:0 12px 27px rgba(9,40,77,.18)!important}.ramed-product-benefits-v3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.ramed-product-benefits-v3 article{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center;padding:10px;border:1px solid #e9edef;border-radius:13px;background:#fff}.ramed-product-benefits-v3 article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#edf8f3;color:#087254;font-weight:900}.ramed-product-benefits-v3 strong,.ramed-product-benefits-v3 small{display:block}.ramed-product-benefits-v3 strong{font-size:9px;color:#173246}.ramed-product-benefits-v3 small{margin-top:2px;font-size:7px;color:#8a969f}.ramed-product-meta-details{margin-top:12px;border:1px solid #e9edef;border-radius:13px;overflow:hidden}.ramed-product-meta-details summary{cursor:pointer;padding:11px 13px;font-size:10px;font-weight:900;color:#223b4d;background:#fbfcfd}.ramed-product-meta-details>div{padding:11px 13px;border-top:1px solid #edf1f3;font-size:10px}.ramed-product-consult-v3{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;margin-top:12px;padding:12px 13px;border-radius:15px;background:linear-gradient(135deg,#eef8f4,#f2f7fb);border:1px solid #dfece7;color:#102f43}.ramed-consult-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:#087254}.ramed-product-consult-v3 strong,.ramed-product-consult-v3 small{display:block}.ramed-product-consult-v3 strong{font-size:10px}.ramed-product-consult-v3 small{font-size:8px;color:#7d8b95;margin-top:2px}.ramed-product-consult-v3 b{font-size:10px;white-space:nowrap}
.ramed-product-highlights-v3,.ramed-product-details-v3,.ramed-related-v3{grid-column:1/-1;border-radius:25px;padding:26px;margin-top:2px}.ramed-product-highlights-head{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:26px;align-items:end;padding-bottom:22px;border-bottom:1px solid #edf1f3}.ramed-product-highlights-head span{display:block;color:#087254;font-size:10px;font-weight:900}.ramed-product-highlights-head h2{margin:6px 0 0;color:#102e42;font-size:27px;line-height:1.55}.ramed-product-highlights-head p{margin:0;color:#6f7e88;font-size:12px;line-height:2}.ramed-product-highlights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.ramed-product-highlights-grid article{position:relative;padding:20px;border-radius:17px;background:#f8fafb;border:1px solid #edf1f3}.ramed-product-highlights-grid b{display:block;color:#0d8b66;font-size:10px;margin-bottom:20px}.ramed-product-highlights-grid strong{display:block;color:#173246;font-size:13px}.ramed-product-highlights-grid p{margin:6px 0 0;color:#71808a;font-size:10px;line-height:1.9}.ramed-product-details-v3 .woocommerce-tabs ul.tabs{display:flex;gap:7px;padding:5px!important;border:1px solid #e7ecef!important;border-radius:14px;background:#f6f8f9}.ramed-product-details-v3 .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;border-radius:10px!important;margin:0!important}.ramed-product-details-v3 .woocommerce-tabs ul.tabs li.active{background:#fff!important;box-shadow:0 5px 15px rgba(16,39,54,.07)}.ramed-product-details-v3 .woocommerce-Tabs-panel{padding:24px 5px 4px!important;color:#52636e;line-height:2.15;font-size:13px}.ramed-related-v3>section+section{margin-top:30px}
@media(max-width:1100px){.ramed-product-layout-v3{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)}.ramed-product-gallery-v3 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v3 .flex-viewport{min-height:430px}.ramed-product-gallery-v3 .woocommerce-product-gallery__image a{min-height:430px}.ramed-product-gallery-v3 .woocommerce-product-gallery__image img{height:430px!important;max-height:430px!important}.ramed-product-summary-inner{position:static}}
@media(max-width:800px){.ramed-product-layout-v3{display:block}.ramed-product-summary-v3{margin-top:12px}.ramed-product-gallery-v3,.ramed-product-summary-v3,.ramed-product-highlights-v3,.ramed-product-details-v3,.ramed-related-v3{border-radius:19px}.ramed-gallery-toolbar{padding-bottom:10px}.ramed-gallery-hint{display:none}.ramed-product-gallery-v3 div.images{display:block}.ramed-product-gallery-v3 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v3 .flex-viewport{min-height:330px;max-height:350px;border-radius:15px}.ramed-product-gallery-v3 .woocommerce-product-gallery__image a{min-height:330px;max-height:350px}.ramed-product-gallery-v3 .woocommerce-product-gallery__image img{height:330px!important;max-height:330px!important;padding:18px!important}.ramed-product-gallery-v3 .flex-control-thumbs{flex-direction:row;max-height:none;overflow-x:auto;margin-top:8px!important}.ramed-product-gallery-v3 .flex-control-thumbs li{flex:0 0 56px!important;width:56px!important;height:56px!important}.ramed-product-summary-inner{padding:18px}.ramed-product-summary-v3 .product_title{text-align:center;font-size:24px!important}.ramed-product-rating-line,.ramed-product-price-row-v3{align-items:center;text-align:center}.ramed-product-benefits-v3{grid-template-columns:1fr}.ramed-product-benefits-v3 article{grid-template-columns:34px 1fr}.ramed-product-highlights-v3,.ramed-product-details-v3,.ramed-related-v3{padding:16px;margin-top:12px}.ramed-product-highlights-head{grid-template-columns:1fr;gap:10px}.ramed-product-highlights-head h2{font-size:22px}.ramed-product-highlights-grid{grid-template-columns:1fr}.ramed-product-details-v3 .woocommerce-tabs ul.tabs{overflow:auto;white-space:nowrap}.ramed-product-consult-v3{grid-template-columns:38px 1fr}.ramed-product-consult-v3 b{grid-column:2}}

/* Stage 22 — luxury product page and four-image hero */
.hero-collage{grid-template-columns:minmax(0,1.55fr) minmax(118px,.72fr);grid-template-rows:repeat(3,1fr)}
.hero-collage-main{grid-row:1/4}.hero-collage-small.top{grid-column:2;grid-row:1}.hero-collage-small.middle{grid-column:2;grid-row:2}.hero-collage-small.bottom{grid-column:2;grid-row:3}
.hero-collage-small img{width:100%;height:100%;object-fit:contain}

.ramed-single-product-v4{padding:24px 0 84px;background:linear-gradient(180deg,#fbfcfd 0,#fff 360px)}
.ramed-product-breadcrumbs-v4{margin-bottom:18px;color:#81909a;font-size:11px}.ramed-product-breadcrumbs-v4 a{color:#526773}
.ramed-product-shell-v4{display:block}.ramed-product-primary-v4{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:24px;align-items:start}
.ramed-product-gallery-v4,.ramed-product-buybox-v4,.ramed-product-story-v4,.ramed-product-tabs-v4,.ramed-product-related-v4{border:1px solid #e9eef1;background:#fff;box-shadow:0 18px 55px rgba(15,35,48,.055)}
.ramed-product-gallery-v4{padding:18px;border-radius:28px}.ramed-gallery-head-v4{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 4px 15px}.ramed-gallery-head-v4>div{display:flex;align-items:center;gap:9px}.ramed-gallery-head-v4 span{padding:5px 10px;border-radius:999px;background:#eff8f4;color:#087254;font-size:9px;font-weight:900}.ramed-gallery-head-v4 strong{color:#183246;font-size:12px}.ramed-gallery-head-v4 small{color:#8a97a0;font-size:9px}
.ramed-gallery-canvas-v4{position:relative}.ramed-product-gallery-v4 div.images{display:grid;grid-template-columns:72px minmax(0,1fr);gap:13px;align-items:start;margin:0!important}.ramed-product-gallery-v4 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v4 .flex-viewport{grid-column:2;grid-row:1;min-height:440px;max-height:460px;border-radius:22px;background:radial-gradient(circle at 50% 45%,#fff 0,#f7f8f9 65%,#edf1f3 100%);overflow:hidden}.ramed-product-gallery-v4 .woocommerce-product-gallery__image,.ramed-product-gallery-v4 .woocommerce-product-gallery__image a{height:440px;min-height:440px;display:flex;align-items:center;justify-content:center}.ramed-product-gallery-v4 .woocommerce-product-gallery__image img{display:block;width:100%!important;height:440px!important;max-height:440px!important;object-fit:contain!important;padding:42px!important;transition:transform .35s ease}.ramed-product-gallery-v4 .woocommerce-product-gallery__image:hover img{transform:scale(1.025)}
.ramed-product-gallery-v4 .flex-control-thumbs{grid-column:1;grid-row:1;display:flex!important;flex-direction:column;gap:9px;max-height:440px;overflow:auto;margin:0!important;padding:1px;scrollbar-width:none}.ramed-product-gallery-v4 .flex-control-thumbs::-webkit-scrollbar{display:none}.ramed-product-gallery-v4 .flex-control-thumbs li{width:70px!important;height:70px!important;flex:0 0 70px;border:1px solid #e4eaed;border-radius:15px;background:#f8fafb;overflow:hidden;opacity:.72;transition:.2s}.ramed-product-gallery-v4 .flex-control-thumbs li:hover,.ramed-product-gallery-v4 .flex-control-thumbs li:has(img.flex-active){opacity:1;border-color:#14906b;box-shadow:0 0 0 3px rgba(20,144,107,.09)}.ramed-product-gallery-v4 .flex-control-thumbs img{width:100%;height:100%;object-fit:contain;padding:7px}.ramed-product-gallery-v4 .woocommerce-product-gallery__trigger{top:16px!important;left:16px!important;right:auto!important;width:42px!important;height:42px!important;border:1px solid #e0e7ea!important;background:rgba(255,255,255,.95)!important;box-shadow:0 8px 22px rgba(16,35,48,.09)!important}.ramed-product-gallery-v4 .onsale{top:16px!important;right:16px!important;border-radius:999px!important;padding:7px 12px!important;font-size:10px!important}.ramed-gallery-note-v4{display:flex;align-items:center;justify-content:center;gap:7px;padding-top:12px;color:#87949c;font-size:9px}.ramed-gallery-note-v4 span{color:#0b8b67}
.ramed-product-buybox-v4{position:sticky;top:100px;padding:30px;border-radius:28px}.ramed-product-topmeta-v4{display:flex;align-items:center;justify-content:space-between;gap:12px}.ramed-product-topmeta-v4>span{color:#0a815f;font-size:10px;font-weight:900}.ramed-product-topmeta-v4 small{color:#89969e;font-size:9px}.ramed-product-buybox-v4 .product_title{margin:15px 0 9px!important;color:#102c40;font-size:clamp(29px,2.6vw,41px)!important;line-height:1.38!important;letter-spacing:-1.2px}.ramed-product-review-v4{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #edf1f3;color:#89969f;font-size:10px}.ramed-product-review-v4 .woocommerce-product-rating{margin:0!important}.ramed-product-excerpt-v4{padding:15px 0;color:#60717c;font-size:12px;line-height:2}.ramed-product-price-card-v4{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:17px 18px;border-radius:18px;background:linear-gradient(135deg,#f5f9f7,#f7f9fb);border:1px solid #e5ece9}.ramed-product-price-card-v4 small{display:block;margin-bottom:5px;color:#85929b;font-size:9px}.ramed-product-price-card-v4 .price{margin:0!important;color:#0b2d42!important;font-size:25px!important;font-weight:900}.ramed-product-stock-v4 .stock{margin:0!important;padding:6px 10px;border-radius:999px;background:#e8f7f1;color:#087254;font-size:9px;font-weight:900}
.ramed-product-actions-v4{margin-top:13px;padding:13px;border:1px solid #e5ebee;border-radius:18px;background:#fbfcfd}.ramed-product-actions-v4 form.cart{display:flex;gap:10px;margin:0!important}.ramed-product-actions-v4 .quantity{margin:0!important}.ramed-product-actions-v4 .qty{height:52px!important;border-radius:13px!important}.ramed-product-actions-v4 .single_add_to_cart_button{flex:1;min-height:52px;border-radius:13px!important;background:linear-gradient(135deg,#08294d,#0b5866)!important;box-shadow:0 13px 28px rgba(8,41,77,.18)!important}
.ramed-product-services-v4{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.ramed-product-services-v4>div{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:8px;padding:10px;border:1px solid #e9eef0;border-radius:14px}.ramed-product-services-v4 i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf8f3;color:#087254;font-style:normal;font-weight:900}.ramed-product-services-v4 b,.ramed-product-services-v4 small{display:block}.ramed-product-services-v4 b{color:#193448;font-size:9px}.ramed-product-services-v4 small{margin-top:2px;color:#8a969f;font-size:7px}.ramed-product-meta-v4{margin-top:12px;border:1px solid #e8edef;border-radius:14px;overflow:hidden}.ramed-product-meta-v4 summary{display:flex;justify-content:space-between;cursor:pointer;padding:12px 14px;background:#fbfcfd;color:#263e4f;font-size:10px;font-weight:900}.ramed-product-meta-v4>div{padding:12px 14px;border-top:1px solid #edf1f3;font-size:10px}.ramed-product-support-v4{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;margin-top:12px;padding:13px 14px;border:1px solid #dfece7;border-radius:16px;background:linear-gradient(135deg,#eef8f4,#f2f7fb);color:#102f43}.ramed-product-support-v4 i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff;color:#087254;font-style:normal}.ramed-product-support-v4 b,.ramed-product-support-v4 small{display:block}.ramed-product-support-v4 b{font-size:10px}.ramed-product-support-v4 small{margin-top:2px;color:#7d8b95;font-size:8px}.ramed-product-support-v4 strong{font-size:10px;white-space:nowrap}
.ramed-product-story-v4,.ramed-product-tabs-v4,.ramed-product-related-v4{margin-top:24px;padding:30px;border-radius:28px}.ramed-product-story-v4 header{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:28px;align-items:end;padding-bottom:24px;border-bottom:1px solid #edf1f3}.ramed-product-story-v4 header span{display:block;color:#087254;font-size:10px;font-weight:900}.ramed-product-story-v4 h2{margin:6px 0 0;color:#102e42;font-size:28px;line-height:1.55}.ramed-product-story-v4 header p{margin:0;color:#6f7e88;font-size:12px;line-height:2}.ramed-product-story-grid-v4{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.ramed-product-story-grid-v4 article{padding:21px;border:1px solid #edf1f3;border-radius:18px;background:#f8fafb}.ramed-product-story-grid-v4 b{display:block;margin-bottom:18px;color:#0d8b66;font-size:10px}.ramed-product-story-grid-v4 h3{margin:0;color:#173246;font-size:13px}.ramed-product-story-grid-v4 p{margin:7px 0 0;color:#71808a;font-size:10px;line-height:1.9}
.ramed-product-tabs-v4 .woocommerce-tabs ul.tabs{display:flex;gap:7px;padding:5px!important;border:1px solid #e7ecef!important;border-radius:15px;background:#f6f8f9}.ramed-product-tabs-v4 .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;border-radius:11px!important;margin:0!important}.ramed-product-tabs-v4 .woocommerce-tabs ul.tabs li.active{background:#fff!important;box-shadow:0 5px 16px rgba(16,39,54,.07)}.ramed-product-tabs-v4 .woocommerce-Tabs-panel{padding:25px 6px 4px!important;color:#52636e;line-height:2.15;font-size:13px}.ramed-product-related-v4>section+section{margin-top:30px}
@media(max-width:1100px){.ramed-product-primary-v4{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)}.ramed-product-gallery-v4 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v4 .flex-viewport,.ramed-product-gallery-v4 .woocommerce-product-gallery__image,.ramed-product-gallery-v4 .woocommerce-product-gallery__image a{min-height:400px;height:400px}.ramed-product-gallery-v4 .woocommerce-product-gallery__image img{height:400px!important;max-height:400px!important}.ramed-product-buybox-v4{position:static}}
@media(max-width:800px){.ramed-single-product-v4{padding-top:12px}.ramed-product-primary-v4{display:block}.ramed-product-gallery-v4,.ramed-product-buybox-v4,.ramed-product-story-v4,.ramed-product-tabs-v4,.ramed-product-related-v4{border-radius:20px}.ramed-product-gallery-v4{padding:12px}.ramed-gallery-head-v4 small{display:none}.ramed-product-gallery-v4 div.images{display:block}.ramed-product-gallery-v4 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v4 .flex-viewport,.ramed-product-gallery-v4 .woocommerce-product-gallery__image,.ramed-product-gallery-v4 .woocommerce-product-gallery__image a{min-height:320px;height:320px;max-height:340px;border-radius:16px}.ramed-product-gallery-v4 .woocommerce-product-gallery__image img{height:320px!important;max-height:320px!important;padding:20px!important}.ramed-product-gallery-v4 .flex-control-thumbs{flex-direction:row;max-height:none;overflow-x:auto;margin-top:9px!important}.ramed-product-gallery-v4 .flex-control-thumbs li{flex:0 0 57px!important;width:57px!important;height:57px!important}.ramed-gallery-note-v4{font-size:8px}.ramed-product-buybox-v4{margin-top:12px;padding:19px}.ramed-product-topmeta-v4{align-items:flex-start}.ramed-product-buybox-v4 .product_title{text-align:center;font-size:25px!important}.ramed-product-review-v4,.ramed-product-price-card-v4{text-align:center;align-items:center}.ramed-product-services-v4{grid-template-columns:1fr}.ramed-product-support-v4{grid-template-columns:40px 1fr}.ramed-product-support-v4 strong{grid-column:2}.ramed-product-story-v4,.ramed-product-tabs-v4,.ramed-product-related-v4{margin-top:13px;padding:17px}.ramed-product-story-v4 header{grid-template-columns:1fr;gap:10px}.ramed-product-story-v4 h2{font-size:22px}.ramed-product-story-grid-v4{grid-template-columns:1fr}.ramed-product-tabs-v4 .woocommerce-tabs ul.tabs{overflow:auto;white-space:nowrap}}
@media(max-width:600px){.hero-collage{grid-template-columns:1.35fr .75fr;grid-template-rows:repeat(3,1fr);min-height:285px!important}.hero-collage-main{grid-row:1/4}.hero-collage-small.top{grid-row:1}.hero-collage-small.middle{grid-row:2}.hero-collage-small.bottom{grid-row:3}.hero-floating-note,.hero-floating-stat{display:none}}

/* =========================================================
   Stage 23 — completely rebuilt single product experience
   ========================================================= */
.ramed-single-product-v5{background:linear-gradient(180deg,#f5f7f8 0,#fff 520px);padding:18px 0 60px;color:#142d3e}
.ramed-product-breadcrumbs-v5{margin-bottom:14px;font-size:10px;color:#84919a}
.ramed-product-breadcrumbs-v5 a{color:#687985}
.ramed-product-shell-v5{max-width:1320px}
.ramed-product-hero-v5{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(410px,.82fr);gap:22px;align-items:start}
.ramed-product-gallery-v5,.ramed-product-panel-v5,.ramed-product-highlights-v5,.ramed-product-content-v5,.ramed-product-related-v5{background:rgba(255,255,255,.96);border:1px solid #e5eaed;box-shadow:0 20px 55px rgba(16,38,52,.055)}
.ramed-product-gallery-v5{padding:14px;border-radius:28px;overflow:hidden}
.ramed-gallery-toolbar-v5,.ramed-gallery-footer-v5{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ramed-gallery-toolbar-v5{padding:4px 5px 13px}
.ramed-gallery-label-v5{display:flex;align-items:center;gap:8px;color:#183549;font-size:11px;font-weight:900}
.ramed-gallery-dot-v5{width:7px;height:7px;border-radius:50%;background:#0d906a;box-shadow:0 0 0 5px rgba(13,144,106,.09)}
.ramed-gallery-hint-v5,.ramed-gallery-footer-v5{color:#8a969e;font-size:8.5px}
.ramed-gallery-stage-v5{position:relative;padding:0;border-radius:21px;background:linear-gradient(145deg,#f8fafb,#eef2f4);overflow:hidden}
.ramed-product-gallery-v5 div.images{display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:12px;margin:0!important;padding:12px!important}
.ramed-product-gallery-v5 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v5 .flex-viewport{grid-column:2;grid-row:1;width:100%!important;height:455px!important;min-height:455px!important;border-radius:17px;background:radial-gradient(circle at 50% 42%,#fff 0,#f7f9fa 68%,#edf1f3 100%);overflow:hidden}
.ramed-product-gallery-v5 .woocommerce-product-gallery__image,.ramed-product-gallery-v5 .woocommerce-product-gallery__image a{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:455px!important;min-height:455px!important}
.ramed-product-gallery-v5 .woocommerce-product-gallery__image img{display:block!important;width:100%!important;height:455px!important;max-height:455px!important;object-fit:contain!important;padding:34px!important;transition:transform .35s ease}
.ramed-product-gallery-v5 .woocommerce-product-gallery__image:hover img{transform:scale(1.025)}
.ramed-product-gallery-v5 .flex-control-thumbs{grid-column:1;grid-row:1;display:flex!important;flex-direction:column;gap:8px;margin:0!important;padding:0!important;max-height:455px;overflow-y:auto;scrollbar-width:none}
.ramed-product-gallery-v5 .flex-control-thumbs::-webkit-scrollbar{display:none}
.ramed-product-gallery-v5 .flex-control-thumbs li{float:none!important;width:66px!important;height:66px!important;flex:0 0 66px;border:1px solid #e1e7ea;border-radius:14px;background:#fff;overflow:hidden;opacity:.68;transition:.2s}
.ramed-product-gallery-v5 .flex-control-thumbs li:hover,.ramed-product-gallery-v5 .flex-control-thumbs li:has(img.flex-active){opacity:1;border-color:#0d906a;box-shadow:0 0 0 3px rgba(13,144,106,.09)}
.ramed-product-gallery-v5 .flex-control-thumbs img{width:100%;height:100%;object-fit:contain;padding:7px}
.ramed-product-gallery-v5 .woocommerce-product-gallery__trigger{top:16px!important;left:16px!important;right:auto!important;width:40px!important;height:40px!important;border:1px solid #e0e6e9!important;border-radius:12px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 20px rgba(15,36,50,.08)!important}
.ramed-product-gallery-v5 .onsale{top:16px!important;right:16px!important;border-radius:999px!important;padding:7px 12px!important;font-size:9px!important;z-index:4}
.ramed-gallery-footer-v5{padding:11px 5px 3px}

.ramed-product-panel-v5{position:sticky;top:92px;padding:27px;border-radius:28px}
.ramed-product-eyebrow-v5{display:flex;align-items:center;justify-content:space-between;gap:14px}
.ramed-product-eyebrow-v5>span{color:#0b805f;font-size:9px;font-weight:900}
.ramed-product-eyebrow-v5 small{color:#909ba2;font-size:8px}
.ramed-product-panel-v5 .product_title{margin:14px 0 8px!important;color:#102d41;font-size:clamp(27px,2.3vw,38px)!important;line-height:1.42!important;letter-spacing:-.8px}
.ramed-product-rating-row-v5{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf1f3}
.ramed-product-rating-row-v5 .woocommerce-product-rating{margin:0!important}
.ramed-product-curated-v5{color:#85929a;font-size:9px}
.ramed-product-short-v5{padding:14px 0;color:#60717c;font-size:11px;line-height:2}
.ramed-product-short-v5 p{margin:0}
.ramed-product-commerce-v5{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:16px 17px;border:1px solid #e2e9e6;border-radius:17px;background:linear-gradient(135deg,#f4f9f7,#f6f8fa)}
.ramed-product-price-v5>span{display:block;margin-bottom:5px;color:#839099;font-size:8px}
.ramed-product-price-v5 .price{margin:0!important;color:#0b2e43!important;font-size:23px!important;font-weight:900}
.ramed-product-stock-v5 .stock{margin:0!important;padding:6px 10px;border-radius:999px;background:#e4f6ef;color:#087154;font-size:8px;font-weight:900}
.ramed-product-cart-v5{margin-top:12px;padding:12px;border:1px solid #e5eaed;border-radius:17px;background:#fbfcfd}
.ramed-product-cart-v5 form.cart{display:flex;align-items:stretch;gap:9px;margin:0!important}
.ramed-product-cart-v5 .quantity{margin:0!important}
.ramed-product-cart-v5 .qty{width:76px!important;height:50px!important;border:1px solid #dfe6e9!important;border-radius:12px!important;background:#fff!important}
.ramed-product-cart-v5 .single_add_to_cart_button{flex:1;min-height:50px;border-radius:12px!important;background:linear-gradient(135deg,#092b50,#0b5965)!important;box-shadow:0 12px 25px rgba(8,42,77,.16)!important;font-size:11px!important}
.ramed-product-benefits-v5{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}
.ramed-product-benefits-v5>div{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #e8edef;border-radius:13px;background:#fff}
.ramed-benefit-icon-v5{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#ecf7f3;color:#087154;font-size:11px;font-weight:900}
.ramed-product-benefits-v5 strong,.ramed-product-benefits-v5 small{display:block}
.ramed-product-benefits-v5 strong{color:#193447;font-size:8px}.ramed-product-benefits-v5 small{margin-top:2px;color:#8a969e;font-size:6.5px}
.ramed-product-accordions-v5{margin-top:12px;border:1px solid #e6ecef;border-radius:15px;overflow:hidden}
.ramed-product-accordions-v5 details+details{border-top:1px solid #e8edef}
.ramed-product-accordions-v5 summary{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;background:#fbfcfd;color:#294254;font-size:9px;font-weight:900;list-style:none}
.ramed-product-accordions-v5 summary::-webkit-details-marker{display:none}.ramed-product-accordions-v5 summary i{font-style:normal;color:#0b805f;font-size:13px}
.ramed-product-accordions-v5 details>div{padding:11px 14px;border-top:1px solid #edf1f3;color:#687984;font-size:9px;line-height:1.9}
.ramed-product-accordions-v5 details p{margin:0}
.ramed-product-consult-v5{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;margin-top:12px;padding:12px 13px;border:1px solid #dceae5;border-radius:15px;background:linear-gradient(135deg,#eef8f4,#f3f7fb);color:#123247}
.ramed-consult-icon-v5{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff;color:#087154}
.ramed-product-consult-v5 strong,.ramed-product-consult-v5 small{display:block}.ramed-product-consult-v5 strong{font-size:9px}.ramed-product-consult-v5 small{margin-top:2px;color:#7c8b95;font-size:7px}.ramed-product-consult-v5 b{font-size:9px;white-space:nowrap}

.ramed-product-highlights-v5{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:22px;padding:10px;border-radius:24px}
.ramed-product-highlights-v5 article{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:19px 20px}
.ramed-product-highlights-v5 article+article{border-right:1px solid #edf1f3}
.ramed-product-highlights-v5 article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0f6f4;color:#0b805f;font-size:9px;font-weight:900}
.ramed-product-highlights-v5 h3{margin:0 0 5px;color:#173347;font-size:11px}.ramed-product-highlights-v5 p{margin:0;color:#74828c;font-size:9px;line-height:1.9}
.ramed-product-content-v5,.ramed-product-related-v5{margin-top:22px;padding:27px;border-radius:26px}
.ramed-product-section-heading-v5{padding-bottom:19px;border-bottom:1px solid #edf1f3}.ramed-product-section-heading-v5 span{color:#0b805f;font-size:9px;font-weight:900}.ramed-product-section-heading-v5 h2{margin:5px 0 0;color:#123044;font-size:24px;line-height:1.55}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs{display:flex;gap:6px;margin:18px 0 0!important;padding:5px!important;border:1px solid #e6ecef!important;border-radius:14px;background:#f5f7f8}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs:before{display:none!important}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs li:before,.ramed-product-content-v5 .woocommerce-tabs ul.tabs li:after{display:none!important}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs li a{padding:10px 15px!important;color:#657681!important;font-size:10px!important}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs li.active{background:#fff!important;box-shadow:0 5px 14px rgba(16,39,54,.06)}
.ramed-product-content-v5 .woocommerce-tabs ul.tabs li.active a{color:#123247!important}
.ramed-product-content-v5 .woocommerce-Tabs-panel{padding:24px 5px 4px!important;color:#52636e;font-size:12px;line-height:2.15}
.ramed-product-related-v5>section+section{margin-top:30px}

@media(max-width:1100px){
  .ramed-product-hero-v5{grid-template-columns:minmax(0,1fr) minmax(360px,.86fr)}
  .ramed-product-panel-v5{position:static}
  .ramed-product-gallery-v5 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v5 .flex-viewport,.ramed-product-gallery-v5 .woocommerce-product-gallery__image,.ramed-product-gallery-v5 .woocommerce-product-gallery__image a{height:410px!important;min-height:410px!important}
  .ramed-product-gallery-v5 .woocommerce-product-gallery__image img{height:410px!important;max-height:410px!important}
}
@media(max-width:800px){
  .ramed-single-product-v5{padding-top:10px}
  .ramed-product-hero-v5{display:block}
  .ramed-product-gallery-v5,.ramed-product-panel-v5,.ramed-product-highlights-v5,.ramed-product-content-v5,.ramed-product-related-v5{border-radius:20px}
  .ramed-product-gallery-v5{padding:10px}
  .ramed-gallery-hint-v5{display:none}
  .ramed-product-gallery-v5 div.images{display:block!important;padding:8px!important}
  .ramed-product-gallery-v5 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v5 .flex-viewport,.ramed-product-gallery-v5 .woocommerce-product-gallery__image,.ramed-product-gallery-v5 .woocommerce-product-gallery__image a{height:315px!important;min-height:315px!important;border-radius:15px}
  .ramed-product-gallery-v5 .woocommerce-product-gallery__image img{height:315px!important;max-height:315px!important;padding:22px!important}
  .ramed-product-gallery-v5 .flex-control-thumbs{display:flex!important;flex-direction:row;gap:7px;max-height:none;margin-top:8px!important;overflow-x:auto}
  .ramed-product-gallery-v5 .flex-control-thumbs li{width:55px!important;height:55px!important;flex:0 0 55px}
  .ramed-gallery-footer-v5{font-size:7px}
  .ramed-product-panel-v5{margin-top:12px;padding:18px}
  .ramed-product-panel-v5 .product_title{text-align:center;font-size:24px!important}
  .ramed-product-rating-row-v5,.ramed-product-commerce-v5{align-items:center;text-align:center}
  .ramed-product-benefits-v5{grid-template-columns:1fr}
  .ramed-product-consult-v5{grid-template-columns:38px 1fr}.ramed-product-consult-v5 b{grid-column:2}
  .ramed-product-highlights-v5{grid-template-columns:1fr;margin-top:13px;padding:6px}
  .ramed-product-highlights-v5 article+article{border-right:0;border-top:1px solid #edf1f3}
  .ramed-product-content-v5,.ramed-product-related-v5{margin-top:13px;padding:17px}
  .ramed-product-section-heading-v5 h2{font-size:20px}
  .ramed-product-content-v5 .woocommerce-tabs ul.tabs{overflow-x:auto;white-space:nowrap}
}
@media(max-width:430px){
  .ramed-product-gallery-v5 .woocommerce-product-gallery__wrapper,.ramed-product-gallery-v5 .flex-viewport,.ramed-product-gallery-v5 .woocommerce-product-gallery__image,.ramed-product-gallery-v5 .woocommerce-product-gallery__image a{height:285px!important;min-height:285px!important}
  .ramed-product-gallery-v5 .woocommerce-product-gallery__image img{height:285px!important;max-height:285px!important;padding:18px!important}
  .ramed-product-cart-v5 form.cart{display:grid;grid-template-columns:70px 1fr}
  .ramed-product-cart-v5 .qty{width:70px!important}
}

/* Stage 25: mobile sticky single-product purchase bar */
.ramed-mobile-sticky-cart-v25{display:none}
@media(max-width:800px){
  body.single-product{padding-bottom:calc(154px + env(safe-area-inset-bottom))}
  .ramed-mobile-sticky-cart-v25{position:fixed;z-index:220;right:14px;left:14px;bottom:calc(78px + env(safe-area-inset-bottom));display:block;visibility:hidden;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
  .ramed-mobile-sticky-cart-v25.is-visible{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
  .ramed-mobile-sticky-cart-inner-v25{display:grid;grid-template-columns:minmax(0,.72fr) minmax(155px,1.28fr);align-items:center;gap:10px;padding:9px;border:1px solid rgba(222,229,233,.95);border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 18px 48px rgba(8,31,48,.2);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .ramed-mobile-sticky-price-v25{min-width:0;padding:0 5px;text-align:right}
  .ramed-mobile-sticky-price-v25 small{display:block;margin-bottom:2px;color:#87939d;font-size:8px;font-weight:700}
  .ramed-mobile-sticky-price-value-v25{overflow:hidden;color:#102d41;font-size:13px;font-weight:900;line-height:1.45;white-space:nowrap;text-overflow:ellipsis}
  .ramed-mobile-sticky-price-value-v25 del{display:none}
  .ramed-mobile-sticky-price-value-v25 ins{text-decoration:none}
  .ramed-mobile-sticky-add-v25{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:0;padding:10px 12px;border:0;border-radius:14px;background:linear-gradient(135deg,#092b50,#0b5965);color:#fff;font-family:inherit;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 11px 24px rgba(8,42,77,.2);transition:transform .18s ease,opacity .18s ease}
  .ramed-mobile-sticky-add-v25:active{transform:scale(.98)}
  .ramed-mobile-sticky-add-v25:disabled,.ramed-mobile-sticky-add-v25.is-disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
  .ramed-mobile-sticky-cart-icon-v25{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:rgba(255,255,255,.13)}
  .ramed-mobile-sticky-cart-icon-v25 svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:370px){
  .ramed-mobile-sticky-cart-v25{right:10px;left:10px}
  .ramed-mobile-sticky-cart-inner-v25{grid-template-columns:minmax(0,.65fr) minmax(142px,1.35fr);gap:7px;padding:7px;border-radius:17px}
  .ramed-mobile-sticky-add-v25{min-height:44px;padding:8px;font-size:10px;border-radius:12px}
  .ramed-mobile-sticky-price-value-v25{font-size:11px}
}


/* Stage 26: premium four-card homepage hero mosaic */
.hero-mosaic-section{padding:28px 0 42px;background:#fff;overflow:hidden}
.hero-mosaic-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:210px 210px 210px;gap:16px;direction:ltr}
.hero-mosaic-card{position:relative;display:block;overflow:hidden;border-radius:28px;background:#eee6df;isolation:isolate;box-shadow:0 12px 34px rgba(17,31,44,.07);transform:translateZ(0)}
.hero-mosaic-card-one{grid-column:1;grid-row:1/3}.hero-mosaic-card-three{grid-column:1;grid-row:3}.hero-mosaic-card-two{grid-column:2;grid-row:1}.hero-mosaic-card-four{grid-column:2;grid-row:2/4}
.hero-mosaic-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.hero-mosaic-card:hover img{transform:scale(1.045)}
.hero-mosaic-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 34%,rgba(5,12,18,.08) 55%,rgba(5,12,18,.72) 100%);transition:opacity .3s ease}
.hero-mosaic-content{position:absolute;z-index:2;right:28px;bottom:26px;left:28px;display:flex;flex-direction:column;align-items:flex-start;text-align:right;direction:rtl;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.22)}
.hero-mosaic-content strong{font-size:28px;line-height:1.35;font-weight:950;letter-spacing:-.8px}
.hero-mosaic-content small{margin-top:6px;font-size:14px;line-height:1.8;color:rgba(255,255,255,.88)}
.hero-mosaic-button{display:inline-flex;align-items:center;gap:8px;margin-top:15px;padding:10px 15px;border:1px solid rgba(255,255,255,.56);border-radius:13px;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:12px;font-weight:900;transition:background .25s ease,color .25s ease,transform .25s ease}
.hero-mosaic-button b{font-size:16px}.hero-mosaic-card:hover .hero-mosaic-button{background:#fff;color:#111b23;text-shadow:none;transform:translateX(-3px)}
.hero-mosaic-card-two .hero-mosaic-content,.hero-mosaic-card-three .hero-mosaic-content{right:22px;bottom:20px}.hero-mosaic-card-two .hero-mosaic-content strong,.hero-mosaic-card-three .hero-mosaic-content strong{font-size:23px}.hero-mosaic-card-two .hero-mosaic-content small,.hero-mosaic-card-three .hero-mosaic-content small{font-size:12px}.hero-mosaic-card-two .hero-mosaic-button,.hero-mosaic-card-three .hero-mosaic-button{margin-top:10px;padding:8px 12px;font-size:11px}
@media(max-width:1020px){.hero-mosaic-grid{grid-template-rows:180px 180px 180px;gap:13px}.hero-mosaic-card{border-radius:23px}.hero-mosaic-content{right:22px;bottom:21px;left:22px}.hero-mosaic-content strong{font-size:24px}}
@media(max-width:650px){.hero-mosaic-section{padding:16px 0 28px}.hero-mosaic-grid{grid-template-columns:1fr 1fr;grid-template-rows:230px 145px 230px;gap:9px}.hero-mosaic-card{border-radius:18px}.hero-mosaic-card-one{grid-column:1/3;grid-row:1}.hero-mosaic-card-two{grid-column:1;grid-row:2}.hero-mosaic-card-three{grid-column:2;grid-row:2}.hero-mosaic-card-four{grid-column:1/3;grid-row:3}.hero-mosaic-content,.hero-mosaic-card-two .hero-mosaic-content,.hero-mosaic-card-three .hero-mosaic-content{right:15px;bottom:14px;left:15px}.hero-mosaic-content strong{font-size:20px}.hero-mosaic-content small{font-size:11px;line-height:1.65}.hero-mosaic-button{margin-top:9px;padding:8px 11px;border-radius:10px;font-size:10px}.hero-mosaic-card-two .hero-mosaic-content strong,.hero-mosaic-card-three .hero-mosaic-content strong{font-size:16px}.hero-mosaic-card-two .hero-mosaic-content small,.hero-mosaic-card-three .hero-mosaic-content small{display:none}.hero-mosaic-card-two .hero-mosaic-button,.hero-mosaic-card-three .hero-mosaic-button{margin-top:7px;padding:6px 8px;font-size:8px}.hero-mosaic-shade{background:linear-gradient(180deg,transparent 30%,rgba(5,12,18,.08) 50%,rgba(5,12,18,.75) 100%)}}
@media(max-width:380px){.hero-mosaic-grid{grid-template-rows:205px 132px 205px}.hero-mosaic-content strong{font-size:18px}.hero-mosaic-card-two .hero-mosaic-content strong,.hero-mosaic-card-three .hero-mosaic-content strong{font-size:14px}}

/* =========================================================
   Stage 27 — unified premium commerce UI (lightweight)
   ========================================================= */
:root{--ramed-edge:clamp(16px,3vw,34px);--ramed-soft:#f7f7f6;--ramed-line:#e9e9e7;--ramed-ink:#101214;--ramed-muted:#73777c;--ramed-radius:24px}
.ramed-eyebrow{display:inline-flex;margin-bottom:10px;padding:7px 12px;border:1px solid #ead6bd;border-radius:999px;color:#b17a3e;background:#fffaf4;font-size:13px}

/* Homepage hero */
.ramed-home-hero{padding:34px 0 24px;background:#fff}
.ramed-home-hero-grid{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(600px,1.35fr);gap:42px;align-items:center;direction:rtl}
.ramed-home-hero-copy{text-align:right;max-width:590px;margin-right:0;margin-left:auto}
.ramed-home-hero-kicker{display:inline-flex;padding:8px 13px;border:1px solid #ead6bd;border-radius:999px;color:#b17a3e;background:#fffaf4;font-size:13px;margin-bottom:22px}
.ramed-home-hero-copy h1{font-size:clamp(38px,4vw,64px);line-height:1.28;letter-spacing:-1.2px;margin:0 0 20px;color:#111315}
.ramed-home-hero-copy p{max-width:520px;margin:0 0 24px;color:#73777c;font-size:17px;line-height:2}
.ramed-home-hero-search{height:56px;max-width:520px;border:1px solid #e2e3e4;border-radius:17px;display:flex;align-items:center;background:#fff;overflow:hidden;margin-bottom:20px}
.ramed-home-hero-search input{border:0!important;box-shadow:none!important;height:100%;padding:0 18px;flex:1;background:transparent;font-family:inherit;font-size:14px}
.ramed-home-hero-search button{width:58px;height:100%;border:0;background:transparent;font-size:27px;cursor:pointer}
.ramed-home-hero-cta{display:inline-flex;align-items:center;gap:14px;background:#101214;color:#fff!important;padding:16px 24px;border-radius:15px;font-weight:700;transition:transform .18s ease,opacity .18s ease}
.ramed-home-hero-cta:hover{transform:translateY(-2px);opacity:.94}
.ramed-home-hero-mosaic{display:grid;grid-template-columns:1.06fr .76fr;grid-template-rows:208px 150px 150px;gap:14px;min-height:536px;direction:ltr}
.ramed-hero-card{position:relative;overflow:hidden;border-radius:24px;background:#eee;display:block;isolation:isolate}
.ramed-hero-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.ramed-hero-card:hover img{transform:scale(1.025)}
.ramed-hero-men{grid-column:2;grid-row:1/4}
.ramed-hero-women-wide{grid-column:1;grid-row:1}
.ramed-hero-women{grid-column:1;grid-row:2}
.ramed-hero-optical{grid-column:1;grid-row:3}
.ramed-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(8,10,12,.78) 100%);z-index:1}
.ramed-hero-men .ramed-hero-overlay{background:linear-gradient(180deg,transparent 38%,rgba(8,10,12,.82) 100%)}
.ramed-hero-card-content{position:absolute;z-index:2;right:20px;bottom:18px;left:18px;color:#fff;text-align:right;display:flex;flex-direction:column;align-items:flex-start;gap:5px;direction:rtl}
.ramed-hero-card-content strong{font-size:22px;line-height:1.4}
.ramed-hero-card-content small{font-size:13px;color:rgba(255,255,255,.82)}
.ramed-hero-card-content>span{margin-top:6px;font-size:12px;font-weight:700;border-bottom:1px solid rgba(255,255,255,.7);padding-bottom:2px}

/* Shop */
.ramed-shop-v27{background:#fff;padding-bottom:70px}
.ramed-shop-v27-head{padding:46px 0 26px;background:linear-gradient(180deg,#fafaf9 0%,#fff 100%);border-bottom:1px solid #f0f0ee}
.ramed-shop-v27-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.ramed-shop-v27-heading h1{font-size:clamp(36px,4vw,58px);margin:0 0 10px;color:var(--ramed-ink)}
.ramed-shop-v27-heading p{margin:0;color:var(--ramed-muted);font-size:16px}
.ramed-shop-v27-count{color:var(--ramed-muted);font-size:14px}
.ramed-shop-v27-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.ramed-shop-v27-chips a{padding:10px 16px;border:1px solid var(--ramed-line);border-radius:999px;color:#24272a;background:#fff;font-size:13px}
.ramed-shop-v27-chips a:hover{border-color:#111;background:#111;color:#fff}
.ramed-shop-v27-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px;padding-top:34px}
.ramed-shop-v27-filter{border:1px solid var(--ramed-line);border-radius:22px;padding:20px;height:max-content;position:sticky;top:112px;background:#fff}
.ramed-shop-v27-filter-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid var(--ramed-line)}
.ramed-shop-v27-filter-head strong{font-size:17px}.ramed-filter-close{display:none;border:0;background:none;font-size:25px}
.ramed-shop-v27-filter .widget{margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid var(--ramed-line)}
.ramed-shop-v27-filter .widget:last-of-type{border-bottom:0}
.ramed-shop-v27-note{padding:16px;border-radius:16px;background:var(--ramed-soft);display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--ramed-muted)}
.ramed-shop-v27-note strong{font-size:14px;color:#17191b}
.ramed-shop-v27-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:22px}
.ramed-filter-toggle{display:none;border:1px solid var(--ramed-line);background:#fff;border-radius:12px;padding:10px 14px;font-family:inherit}
.ramed-shop-v27-order select{height:44px;border:1px solid var(--ramed-line);border-radius:12px;padding:0 14px;background:#fff;font-family:inherit}
.ramed-shop-v27-results ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px!important;margin:0!important}
.ramed-shop-v27-results ul.products:before,.ramed-shop-v27-results ul.products:after{display:none!important}
.ramed-shop-v27-results ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.ramed-shop-v27-pagination{margin-top:34px}

/* Product cards v27 */
.ramed-product-card-inner{border:1px solid #eeeeec!important;border-radius:22px!important;background:#fff!important;box-shadow:none!important;overflow:hidden;padding:0!important;transition:transform .18s ease,border-color .18s ease}
.ramed-product-card-inner:hover{transform:translateY(-3px);border-color:#d8d8d5!important}
.ramed-product-media{aspect-ratio:1.08/1;background:#f5f5f4!important;padding:18px!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ramed-product-image-link{display:flex!important;width:100%;height:100%;align-items:center;justify-content:center}
.ramed-product-image-link img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}
.ramed-product-card-body{padding:16px 17px 18px!important;text-align:right!important}
.ramed-product-card-body h2{font-size:15px!important;line-height:1.75!important;min-height:52px!important;margin:0 0 8px!important}
.ramed-product-card-price{font-size:15px!important;margin-bottom:13px!important}
.ramed-product-card-actions .button{width:100%!important;border-radius:12px!important;min-height:43px!important;background:#111!important;color:#fff!important;text-align:center!important;font-size:13px!important}
.ramed-sale-badge{top:12px!important;right:12px!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important}

/* Shared commerce header */
.ramed-commerce-v27-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:34px 0 28px}
.ramed-commerce-v27-head h1{font-size:clamp(34px,4vw,54px);margin:0 0 10px;color:#111315}.ramed-commerce-v27-head p{margin:0;color:var(--ramed-muted)}
.ramed-commerce-v27-head>a,.ramed-checkout-v27-safe{border:1px solid var(--ramed-line);border-radius:13px;padding:11px 15px;color:#222;background:#fff;font-size:13px}

/* Cart */
.ramed-cart-v27{padding-bottom:80px}
.ramed-cart-v27-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.75fr);gap:30px;align-items:start}
.ramed-cart-v27-items,.ramed-cart-v27-summary-card{border:1px solid var(--ramed-line);border-radius:24px;background:#fff}
.ramed-cart-v27-items{padding:24px}.ramed-cart-v27-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid var(--ramed-line)}
.ramed-cart-v27-title h2{margin:0;font-size:20px}.ramed-cart-v27-title span{font-size:13px;color:var(--ramed-muted)}
.ramed-cart-v27-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--ramed-line)}
.ramed-cart-v27-thumb{height:130px;border-radius:17px;background:var(--ramed-soft);padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ramed-cart-v27-thumb img{width:100%;height:100%;object-fit:contain}
.ramed-cart-v27-body{display:flex;flex-direction:column;justify-content:space-between;min-width:0}.ramed-cart-v27-top{display:flex;justify-content:space-between;gap:18px}.ramed-cart-v27-top h3{margin:4px 0 5px;font-size:17px}.ramed-cart-v27-meta{font-size:12px;color:var(--ramed-muted)}
.ramed-cart-v27-remove{width:32px;height:32px;border:1px solid var(--ramed-line)!important;border-radius:50%;display:grid!important;place-items:center;color:#777!important;background:#fff!important;font-size:21px!important;line-height:1!important}
.ramed-cart-v27-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.ramed-cart-v27-bottom>strong{font-size:16px}.ramed-cart-v27-qty{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ramed-muted)}
.ramed-cart-v27-qty .quantity input{width:70px!important;height:38px!important;border:1px solid var(--ramed-line)!important;border-radius:10px!important}
.ramed-cart-v27-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-top:20px;flex-wrap:wrap}.ramed-cart-v27-coupon{display:flex;gap:8px}.ramed-cart-v27-coupon input{height:44px;border:1px solid var(--ramed-line);border-radius:11px;padding:0 13px;font-family:inherit}.ramed-cart-v27-coupon button,.ramed-cart-v27-update{height:44px;border:0;border-radius:11px;padding:0 16px;font-family:inherit;cursor:pointer}.ramed-cart-v27-coupon button{background:#111;color:#fff}.ramed-cart-v27-update{background:var(--ramed-soft);color:#222}
.ramed-cart-v27-summary{position:sticky;top:112px}.ramed-cart-v27-summary-card{padding:24px}.ramed-cart-v27-summary-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.ramed-cart-v27-summary-head span{font-size:20px;font-weight:700}.ramed-cart-v27-summary-head b{font-size:11px;border:1px solid #cde7d6;color:#267a45;border-radius:999px;padding:5px 9px;background:#f4fbf6}
.ramed-cart-v27-summary .cart_totals{width:100%!important;float:none!important}.ramed-cart-v27-summary .cart_totals h2{display:none}.ramed-cart-v27-summary table{border:0!important}.ramed-cart-v27-summary th,.ramed-cart-v27-summary td{padding:13px 0!important;border-bottom:1px solid var(--ramed-line)!important}.ramed-cart-v27-summary .wc-proceed-to-checkout a{background:#111!important;color:#fff!important;border-radius:14px!important;padding:16px!important;font-size:15px!important}
.ramed-cart-v27-trust{display:grid;gap:9px;margin-top:18px;padding-top:17px;border-top:1px solid var(--ramed-line);font-size:12px;color:var(--ramed-muted)}

/* Checkout */
.ramed-checkout-v27{padding-bottom:80px}.ramed-checkout-v27-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(350px,.72fr);gap:30px;align-items:start}
.ramed-checkout-v27-card,.ramed-checkout-v27-review-card{border:1px solid var(--ramed-line);border-radius:24px;background:#fff;padding:24px}
.ramed-checkout-v27-review{position:sticky;top:112px}.ramed-checkout-v27-card-head{display:flex;gap:13px;align-items:center;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--ramed-line)}.ramed-checkout-v27-card-head>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:700}.ramed-checkout-v27-card-head h2{font-size:20px;margin:0 0 4px}.ramed-checkout-v27-card-head p{margin:0;color:var(--ramed-muted);font-size:12px}
.ramed-checkout-v27 .woocommerce-billing-fields>h3,.ramed-checkout-v27 .woocommerce-shipping-fields>h3{font-size:16px;margin-bottom:16px}.ramed-checkout-v27 .form-row{margin-bottom:14px!important}.ramed-checkout-v27 label{font-size:13px;margin-bottom:7px}.ramed-checkout-v27 input.input-text,.ramed-checkout-v27 textarea,.ramed-checkout-v27 select,.ramed-checkout-v27 .select2-selection{min-height:48px!important;border:1px solid var(--ramed-line)!important;border-radius:12px!important;background:#fff!important;padding:10px 13px!important;box-shadow:none!important;font-family:inherit}.ramed-checkout-v27 textarea{min-height:100px!important}
.ramed-checkout-v27-review table{border:0!important;margin:0!important}.ramed-checkout-v27-review th,.ramed-checkout-v27-review td{padding:12px 0!important;border-bottom:1px solid var(--ramed-line)!important}.ramed-checkout-v27-review #payment{background:var(--ramed-soft)!important;border-radius:16px!important;margin-top:18px}.ramed-checkout-v27-review #place_order{width:100%!important;background:#111!important;color:#fff!important;border-radius:13px!important;min-height:52px!important;font-family:inherit!important}.ramed-checkout-v27-trust{display:flex;justify-content:space-between;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid var(--ramed-line);font-size:11px;color:var(--ramed-muted)}

@media (max-width:1024px){
  .ramed-home-hero-grid{grid-template-columns:1fr;gap:28px}.ramed-home-hero-copy{max-width:none}.ramed-home-hero-mosaic{min-height:500px}
  .ramed-shop-v27-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ramed-cart-v27-grid,.ramed-checkout-v27-grid{grid-template-columns:1fr}.ramed-cart-v27-summary,.ramed-checkout-v27-review{position:static}
}
@media (max-width:767px){
  .ramed-home-hero{padding:20px 0}.ramed-home-hero-grid{padding-left:var(--ramed-edge)!important;padding-right:var(--ramed-edge)!important}.ramed-home-hero-copy{text-align:center;display:flex;flex-direction:column;align-items:center}.ramed-home-hero-copy h1{font-size:31px;line-height:1.45}.ramed-home-hero-copy p{font-size:14px;line-height:1.9}.ramed-home-hero-search{width:100%;height:50px}.ramed-home-hero-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:180px 180px 150px;gap:10px;min-height:auto;width:100%}.ramed-hero-men{grid-column:2;grid-row:1/3}.ramed-hero-women-wide{grid-column:1;grid-row:1}.ramed-hero-women{grid-column:1;grid-row:2}.ramed-hero-optical{grid-column:1/3;grid-row:3}.ramed-hero-card{border-radius:18px}.ramed-hero-card-content{right:13px;bottom:12px;left:12px}.ramed-hero-card-content strong{font-size:16px}.ramed-hero-card-content small{font-size:11px}.ramed-hero-card-content>span{font-size:10px}
  .ramed-shop-v27-heading,.ramed-commerce-v27-head{align-items:flex-start;flex-direction:column}.ramed-shop-v27-shell{grid-template-columns:1fr;padding-left:var(--ramed-edge)!important;padding-right:var(--ramed-edge)!important}.ramed-shop-v27-filter{display:none;position:fixed;inset:0 0 0 auto;width:min(88vw,340px);z-index:99999;top:0;border-radius:0;overflow:auto}.ramed-shop-v27-filter.is-open{display:block}.ramed-filter-close,.ramed-filter-toggle{display:block}.ramed-shop-v27-toolbar{justify-content:space-between}.ramed-shop-v27-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.ramed-product-media{padding:10px!important}.ramed-product-card-body{padding:12px!important}.ramed-product-card-body h2{font-size:12px!important;min-height:44px!important}.ramed-product-card-price{font-size:12px!important}.ramed-product-card-actions .button{font-size:11px!important;min-height:39px!important;padding:8px!important}
  .ramed-cart-v27,.ramed-checkout-v27{padding-left:var(--ramed-edge)!important;padding-right:var(--ramed-edge)!important}.ramed-cart-v27-items,.ramed-cart-v27-summary-card,.ramed-checkout-v27-card,.ramed-checkout-v27-review-card{border-radius:19px;padding:16px}.ramed-cart-v27-item{grid-template-columns:96px minmax(0,1fr);gap:13px}.ramed-cart-v27-thumb{height:96px;padding:8px}.ramed-cart-v27-top h3{font-size:14px}.ramed-cart-v27-bottom{align-items:center}.ramed-cart-v27-actions{align-items:stretch;flex-direction:column}.ramed-cart-v27-coupon{width:100%}.ramed-cart-v27-coupon input{min-width:0;flex:1}.ramed-cart-v27-update{width:100%}.ramed-checkout-v27-trust{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.ramed-hero-card img,.ramed-home-hero-cta,.ramed-product-card-inner{transition:none!important}}

/* Stage 28 Final: aligned mobile hero + clean four-image masonry */
.ramed-home-hero-grid{direction:rtl;grid-template-columns:minmax(360px,.86fr) minmax(520px,1.14fr);align-items:center}
.ramed-home-hero-copy{grid-column:1;grid-row:1}
.ramed-home-hero-mosaic{grid-column:2;grid-row:1;display:grid;grid-template-columns:1.18fr .82fr;grid-template-rows:170px 170px 150px;gap:12px;min-height:514px;width:100%;direction:ltr}
.ramed-hero-card{position:relative;display:block;overflow:hidden;border-radius:24px;background:#f2f3f4;box-shadow:0 14px 34px rgba(15,23,42,.08)}
.ramed-hero-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.ramed-hero-card:hover img{transform:scale(1.018)}
.ramed-hero-overlay,.ramed-hero-card-content{display:none!important}
.ramed-hero-men,.ramed-hero-image-1{grid-column:1;grid-row:1/3}
.ramed-hero-women-wide,.ramed-hero-image-2{grid-column:2;grid-row:1}
.ramed-hero-women,.ramed-hero-image-3{grid-column:2;grid-row:2/4}
.ramed-hero-optical,.ramed-hero-image-4{grid-column:1;grid-row:3}

@media (max-width:1024px){
  .ramed-home-hero-grid{grid-template-columns:1fr;gap:30px}
  .ramed-home-hero-copy,.ramed-home-hero-mosaic{grid-column:1}
  .ramed-home-hero-copy{grid-row:1;max-width:760px;margin-inline:auto;width:100%}
  .ramed-home-hero-mosaic{grid-row:2;max-width:760px;margin-inline:auto}
}
@media (max-width:767px){
  .ramed-home-hero{padding:20px 0 28px;overflow:hidden}
  .ramed-home-hero>.container,.ramed-home-hero-grid{width:min(100% - 24px,1440px)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
  .ramed-home-hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important;justify-items:stretch!important;transform:none!important;left:auto!important;right:auto!important}
  .ramed-home-hero-copy{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:center!important;align-items:center!important;box-sizing:border-box}
  .ramed-home-hero-copy>*{max-width:100%}
  .ramed-home-hero-search{width:100%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
  .ramed-home-hero-mosaic{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important;min-height:0!important;grid-template-columns:1.08fr .92fr!important;grid-template-rows:132px 132px 112px!important;gap:9px!important;box-sizing:border-box;direction:ltr}
  .ramed-hero-card{border-radius:16px!important;min-width:0!important}
  .ramed-hero-men,.ramed-hero-image-1{grid-column:1!important;grid-row:1/3!important}
  .ramed-hero-women-wide,.ramed-hero-image-2{grid-column:2!important;grid-row:1!important}
  .ramed-hero-women,.ramed-hero-image-3{grid-column:2!important;grid-row:2/4!important}
  .ramed-hero-optical,.ramed-hero-image-4{grid-column:1!important;grid-row:3!important}
}
@media (max-width:390px){
  .ramed-home-hero>.container,.ramed-home-hero-grid{width:calc(100% - 20px)!important}
  .ramed-home-hero-mosaic{grid-template-rows:118px 118px 100px!important;gap:8px!important}
}

/* =========================================================
   Stage 29 — exact rounded product card + refined product image
   ========================================================= */
.ramed-home-hero-cta{display:none!important}

.ramed-product-card-v29{padding:28px 22px 42px!important;overflow:visible!important}
.ramed-product-card-v29 .ramed-product-card-inner{
  position:relative;
  overflow:visible!important;
  border:10px solid #fff!important;
  border-radius:58px 58px 54px 54px!important;
  background:#fff!important;
  box-shadow:0 28px 55px rgba(18,20,22,.18)!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
.ramed-product-card-v29 .ramed-product-card-inner:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 32px 62px rgba(18,20,22,.21)!important;
}
.ramed-product-card-v29 .ramed-product-media{
  aspect-ratio:1/1.02!important;
  min-height:0!important;
  padding:0!important;
  border-radius:43px 43px 38px 38px!important;
  background:#eee9e2!important;
  overflow:hidden!important;
}
.ramed-product-card-v29 .ramed-product-image-link,
.ramed-product-card-v29 .ramed-product-image-link img{
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.ramed-product-card-v29 .ramed-product-image-link img{
  object-fit:cover!important;
  padding:0!important;
}
.ramed-product-card-v29 .ramed-product-card-body{
  position:relative;
  padding:24px 28px 24px 82px!important;
  min-height:235px;
  border-radius:0 0 42px 42px;
  text-align:right!important;
  direction:rtl;
}
.ramed-product-card-v29 .ramed-product-card-body h2{
  min-height:0!important;
  margin:0 0 12px!important;
  font-size:23px!important;
  line-height:1.55!important;
  font-weight:800!important;
  color:#292929!important;
}
.ramed-product-card-v29 .ramed-product-title-link{color:inherit!important}
.ramed-product-card-v29 .ramed-product-card-excerpt{
  margin:0!important;
  color:#8d8d8d!important;
  font-size:14px!important;
  line-height:2!important;
  min-height:56px;
}
.ramed-product-card-v29 .ramed-product-card-footer{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-top:18px;
}
.ramed-product-card-v29 .ramed-product-card-price{
  margin:0!important;
  font-size:18px!important;
  line-height:1.5!important;
  font-weight:800!important;
  color:#252525!important;
}
.ramed-product-card-v29 .ramed-product-card-price del{font-size:12px!important;color:#aaa!important}
.ramed-product-card-v29 .ramed-product-card-price ins{text-decoration:none!important}
.ramed-product-card-v29 .ramed-product-card-actions{
  position:absolute;
  left:-10px;
  bottom:-10px;
  width:72px;
  height:142px;
  border-radius:38px 38px 34px 34px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
  z-index:4;
}
.ramed-product-card-v29 .ramed-product-card-actions:before{
  content:"";
  position:absolute;
  top:-18px;
  left:0;
  width:30px;
  height:30px;
  border-radius:0 0 0 24px;
  box-shadow:-12px 12px 0 0 #fff;
  pointer-events:none;
}
.ramed-product-card-v29 .ramed-product-card-actions .button{
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
  padding:0!important;
  border:0!important;
  border-radius:16px!important;
  background:transparent!important;
  color:transparent!important;
  font-size:0!important;
  position:relative!important;
  display:block!important;
  box-shadow:none!important;
}
.ramed-product-card-v29 .ramed-product-card-actions .button:before{
  content:"";
  position:absolute;
  inset:10px;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.1 10.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L20 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E");
}
.ramed-product-card-v29 .ramed-product-card-actions .added_to_cart{display:none!important}

/* Product gallery: larger image, nearly filling its frame with a clean inset */
.ramed-product-gallery-v5 .woocommerce-product-gallery__wrapper,
.ramed-product-gallery-v5 .flex-viewport{
  padding:14px!important;
}
.ramed-product-gallery-v5 .woocommerce-product-gallery__image,
.ramed-product-gallery-v5 .woocommerce-product-gallery__image a{
  width:100%!important;
  height:100%!important;
}
.ramed-product-gallery-v5 .woocommerce-product-gallery__image img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  padding:8px!important;
}

@media(max-width:900px){
  .ramed-product-card-v29{padding:18px 8px 32px!important}
  .ramed-product-card-v29 .ramed-product-card-inner{border-width:7px!important;border-radius:35px!important}
  .ramed-product-card-v29 .ramed-product-media{border-radius:28px!important}
  .ramed-product-card-v29 .ramed-product-card-body{padding:16px 18px 18px 62px!important;min-height:185px}
  .ramed-product-card-v29 .ramed-product-card-body h2{font-size:15px!important;margin-bottom:7px!important}
  .ramed-product-card-v29 .ramed-product-card-excerpt{font-size:11px!important;line-height:1.8!important;min-height:40px}
  .ramed-product-card-v29 .ramed-product-card-price{font-size:13px!important}
  .ramed-product-card-v29 .ramed-product-card-actions{width:56px;height:105px;border-radius:28px;left:-7px;bottom:-7px}
  .ramed-product-card-v29 .ramed-product-card-actions .button{width:42px!important;height:42px!important;min-height:42px!important}
}
@media(max-width:480px){
  .ramed-product-card-v29{padding:10px 2px 25px!important}
  .ramed-product-card-v29 .ramed-product-card-inner{border-width:5px!important;border-radius:25px!important;box-shadow:0 14px 28px rgba(18,20,22,.13)!important}
  .ramed-product-card-v29 .ramed-product-media{border-radius:20px!important}
  .ramed-product-card-v29 .ramed-product-card-body{padding:11px 12px 13px 48px!important;min-height:146px}
  .ramed-product-card-v29 .ramed-product-card-body h2{font-size:12px!important;line-height:1.5!important}
  .ramed-product-card-v29 .ramed-product-card-excerpt{font-size:9px!important;line-height:1.65!important;min-height:31px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ramed-product-card-v29 .ramed-product-card-price{font-size:11px!important}
  .ramed-product-card-v29 .ramed-product-card-actions{width:43px;height:80px;border-radius:20px;left:-5px;bottom:-5px}
  .ramed-product-card-v29 .ramed-product-card-actions .button{width:34px!important;height:34px!important;min-height:34px!important}
}
