/* Rayehe Kimia 1.2.10 — merged theme layers: rk-rabino-bridge, rk-commerce-061, rk-phase03, rk-phase04, rk-editorial-069, rk-customer-nav, rk-ux-dark-polish-0620, rk-ux-polish-0622, rk-ux-polish-0623, rk-ux-refinement-0624, rk-ux-refinement-0625, rk-ux-refinement-0626, rk-ux-refinement-0627, rk-ux-refinement-0628, rk-ux-refinement-0629, rk-ux-refinement-0630, rk-ux-refinement-0631, rk-navigation-0634, rk-refinement-0635, rk-refinement-0636, rk-refinement-0637, rk-refinement-0638, rk-refinement-0639, rk-refinement-0640, rk-refinement-0642, rk-refinement-0643, rk-refinement-0644, rk-home-showcase-0648, rk-home-showcase-0649, rk-home-showcase-0650, rk-prefooter-shadow-0651, rk-shared-cards-0653, rk-refinement-0654, rk-refinement-0655, rk-refinement-0656, rk-refinement-0657, rk-refinement-0658, rk-refinement-0659, rk-refinement-0662, rk-refinement-0663, rk-home-article-0666, rk-motion-0666, rk-phase3-cart, rk-layout-loader-068, rk-refinement-069, rk-refinement-070, rk-refinement-071, rk-refinement-072, rk-refinement-073, rk-home-category-074, rk-refinement-075, rk-refinement-078, rk-storefront-refinement-092, rk-storefront-refinement-093, rk-storefront-refinement-094, rk-ui-099, rk-refinement-077, rk-storefront-polish-0810, rk-rabino-compat-0811, rk-shared-ui-0812, rk-mobile-product-consistency-0813, rk-mobile-cart-preview-0814, rk-hero-image-only-0815, rk-archive-notes-0819, rk-storefront-content-0822, rk-storefront-0830, rk-storefront-0831, rk-storefront-0832, rk-storefront-0833, rk-storefront-0834, rk-storefront-0835, rk-storefront-0836, rk-home-info-0851, rk-home-polish-0852, rk-mobile-0855, rk-storefront-navigation-0856, rk-footer-desktop-0857, rk-site-110, rk-site-120, rk-cards-120 */

/* rk-rabino-bridge */
/* Do not hide Rabino modal; override its presentation tokens only. */
.gando-auth-modal,.gando-auth{--rabino-auth-primary:#0f4f4a!important;--rabino-auth-primary-hover:#16745c!important;--rabino-auth-primary-soft:#ddf3ec!important;--rabino-auth-secondary:#58c7be!important;--rabino-auth-radius:20px!important;--rabino-auth-font:inherit!important;font-family:inherit}
.gando-auth-modal__dialog{border-radius:0 34px 0 34px!important;box-shadow:0 24px 80px #163d3055!important;max-height:min(92vh,900px);overflow-y:auto}
html[data-rk-theme=dark] .gando-auth-modal{--rabino-auth-primary:#58c7be!important;--rabino-auth-primary-soft:#20392f!important;--rabino-auth-on-primary:#102e25!important}
.rk-plugin-action .rabino-product-action{min-width:42px;min-height:42px;border-radius:0 13px 0 13px}
.rk-v13-visual-actions{position:absolute;z-index:5;inset-block-start:18px;inset-inline-end:18px;display:flex;gap:9px}

/* Rabino owns comments, validation, threading, AJAX, reCAPTCHA and WC review hooks.
   Theme owns the surrounding storefront surfaces only. Do not duplicate the form. */
.rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper{
 --rabino-comment-font-family:"Yekan Bakh",Tahoma,sans-serif;
 --rabino-comment-surface:var(--rk-card,#f8fbf7);
 --rabino-comment-surface-muted:var(--rk-surface,#f7faf6);
 --rabino-comment-text:var(--rk-ink,#133c31);
 --rabino-comment-text-muted:var(--rk-sub,#567466);
 --rabino-comment-text-soft:var(--rk-sub,#567466);
 max-width:100%;min-width:0;margin-inline:auto;direction:rtl;
}
html[data-rk-theme="dark"] .rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper{
 --rabino-comment-surface:var(--rk-card,#263b33);
 --rabino-comment-surface-muted:var(--rk-surface,#1f302b);
 --rabino-comment-text:#eef6f0;
 --rabino-comment-text-muted:#b5cebf;
 --rabino-comment-text-soft:#b5cebf;
 --rabino-comment-border:var(--rk-border,#385447);
}
.rk-wp .rk-entry-content .rabino-comments-wrapper{margin-block:26px 0;padding-block-start:20px;border-block-start:1px solid var(--rk-border)}
.rk-wp .rk-post-comments{margin-block:24px;min-width:0}
.rk-wp .rk-v13-after .rabino-comments-wrapper{margin-block:18px 0}
/* Editorial prose rules target normal paragraphs; comment-form labels stay aligned. */
.rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper p{
 text-align:start;color:var(--rabino-comment-text);line-height:1.8;
}
.rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper :is(input,textarea,button){font-family:inherit}
.rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper :is(button,input,textarea):focus-visible{
 outline:2px solid var(--rk-focus,#178364);outline-offset:2px;
}
@media(max-width:640px){
 .rk-wp :is(.rk-entry-content,.rk-v13-after,.rk-post-comments) .rabino-comments-wrapper .rabino-form-card{padding:clamp(13px,3.5vw,20px)}
}


/* rk-commerce-061 */
/* Phase 01: small, scoped refinements of the approved product-card system + its new quick view. */
.rk-wp .product-card{height:auto;min-height:0;min-width:0;display:flex;flex-direction:column;box-sizing:border-box}
#featured .product-track{align-items:stretch}
.rk-wp .rk-card-media{position:relative;min-width:0;flex:none}
.rk-wp .product-card .product-image{box-sizing:border-box;width:100%;padding:9px 10px 27px;display:grid;place-items:center;background:var(--rk-brand-soft);overflow:hidden}
.rk-wp .product-card .product-image img{display:block;max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain;object-position:center;mix-blend-mode:normal}
.rk-wp .rk-catalog-grid .product-image{height:180px}
.rk-wp .rk-catalog-grid .product-image img{height:100%;max-height:100%;object-fit:contain}
.rk-wp .rk-card-category{position:absolute;z-index:2;inset-inline-end:9px;bottom:8px;display:block;max-width:calc(100% - 20px);padding:0;margin:0;pointer-events:auto}
.rk-wp .rk-card-category a{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 9px;border:1px solid var(--rk-border);border-radius:10px 0 10px 0;background:var(--rk-card);color:var(--rk-ink);font-size:10px;font-weight:750;line-height:1.7;box-shadow:0 2px 8px #164d3920;text-decoration:none}
.rk-wp .rk-card-category a:hover{border-color:var(--rk-primary);color:var(--rk-primary)}
.rk-wp .product-card .card-text,.rk-wp .rk-catalog-grid .card-text{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;padding:8px 9px 9px;gap:0}
.rk-wp .product-card .rk-card-title-link{color:var(--rk-ink);min-width:0;text-decoration:none}
.rk-wp .product-card :where(h3,.rk-h3):not(rkx),.rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;min-height:0;max-height:2.9em;overflow:hidden;text-overflow:ellipsis;margin:0 0 4px;line-height:1.45;font-size:clamp(12px,1vw,14px)}
.rk-wp .product-card .rk-card-pack{margin:auto 0 5px;min-width:0}
.rk-wp .product-card .packaging-caption,.rk-wp .product-card.price-demo-card .packaging-caption{font-size:10px;margin:0 0 3px;line-height:1.55}
.rk-wp .product-card .pack-chips,.rk-wp .product-card.price-demo-card .pack-chips{display:flex;gap:4px;align-items:center;min-height:0;max-height:47px;overflow:hidden;margin:0;flex-wrap:wrap}
.rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 6px;line-height:1.45;font-size:10px}
.rk-wp .product-card .card-bottom,.rk-wp .product-card.price-demo-card .card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;min-width:0;min-height:0;margin-top:5px;padding-top:10px;border-top:1px solid var(--rk-border)}
.rk-wp .product-card .price-group{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-width:0;min-height:0;gap:4px}
.rk-wp .product-card .price-caption{white-space:normal;line-height:1.45}
.rk-wp .product-card .price-values{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:4px 8px;min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.45}
.rk-wp .product-card .price-values strong{white-space:normal}
.rk-wp .rk-card-bottom-actions{display:flex;flex:none;gap:4px;align-items:center;align-self:end;justify-self:end}
.rk-wp .rk-card-bottom-actions .card-action-icon{display:grid;place-items:center;width:34px;height:36px;flex:0 0 34px;padding:0;font:inherit;cursor:pointer;color:var(--rk-primary-text);background:var(--rk-primary);border:1px solid transparent;border-radius:12px 0 12px 0}
.rk-wp .rk-card-bottom-actions .card-action-icon svg{width:17px;height:17px}
.rk-wp .rk-card-bottom-actions .rk-quick-view-trigger{background:var(--rk-surface);color:var(--rk-primary);border-color:var(--rk-border);box-shadow:var(--rk-raised-sm)}
.rk-wp .rk-card-bottom-actions .rk-quick-view-trigger:hover{background:var(--rk-brand-soft);color:var(--rk-primary)}
[data-rk-theme="dark"] .rk-wp .product-card{--rk-ink:#eef6f0;--rk-sub:#b5cebf;color:var(--rk-ink)}
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-category a{background:#1f302b;color:#eef6f0;border-color:#385447}
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-title-link{color:#eef6f0}
[data-rk-theme="dark"] .rk-wp .rk-card-bottom-actions .rk-quick-view-trigger{background:#263b33;color:#a0e5cc;border-color:#385447}
@media(max-width:640px){
 .rk-wp .rk-catalog-grid .product-image{height:152px}
 .rk-wp .product-card .card-text,.rk-wp .rk-catalog-grid .card-text{padding:8px 6px 7px}
 .rk-wp .product-card :where(h3,.rk-h3):not(rkx),.rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){font-size:12px}
 .rk-wp .product-card .card-bottom,.rk-wp .product-card.price-demo-card .card-bottom{gap:5px}
 .rk-wp .rk-card-bottom-actions{margin-inline-start:auto}
 .rk-wp .rk-card-bottom-actions .card-action-icon{width:33px;height:34px;flex-basis:33px}
 .rk-wp .rk-card-category a{font-size:9px;padding:2px 6px}
}
@media(max-width:365px){
 .rk-wp .rk-catalog-grid .product-image{height:142px}
 .rk-wp .product-card .card-bottom,.rk-wp .product-card.price-demo-card .card-bottom{grid-template-columns:minmax(0,1fr)}
 .rk-wp .product-card .price-group{min-height:0}
 /* Archive becomes a single full-width card here, so price and actions can stay on one line. */
 .rk-wp .rk-catalog-grid .product-card .card-bottom{grid-template-columns:minmax(0,1fr) auto}
 .rk-wp .rk-card-bottom-actions{justify-self:end}
}
/* Cards without packaging remain bottom-aligned; packaged cards keep the divider close to chips and prices. */
.rk-wp .product-card .rk-card-title-link + .card-bottom{margin-top:auto}
/* Quick view: isolated surface, keeps its own color semantics when body has legacy token overrides. */
.rk-quick-view[hidden]{display:none!important}
.rk-quick-view{position:fixed;inset:0;z-index:1550;display:grid;place-items:center;direction:rtl;padding:clamp(10px,3vw,26px);color:var(--rk-ink);font-family:inherit}
.rk-qv-backdrop{position:absolute;inset:0;background:#0c2922b5}
.rk-qv-panel{position:relative;display:flex;flex-direction:column;z-index:1;width:min(900px,100%);max-height:min(92dvh,850px);max-height:min(92vh,850px);overflow:hidden;border:1px solid var(--rk-border);border-radius:0 32px 0 32px;background:var(--rk-card);box-shadow:0 24px 64px #0c291f57;color:var(--rk-ink)}
.rk-qv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:15px clamp(17px,2vw,26px);border-bottom:1px solid var(--rk-border)}
.rk-qv-toolbar #rk-quick-view-title{margin:0;font-size:16px;font-weight:800;line-height:1.5;color:var(--rk-ink)}
.rk-qv-close{width:39px;height:39px;flex:none;display:grid;place-items:center;background:var(--rk-surface);color:var(--rk-ink);border:1px solid var(--rk-border);border-radius:12px 0 12px 0;cursor:pointer}
.rk-qv-close svg{width:19px;height:19px}
.rk-qv-content{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.rk-qv-layout{display:grid;grid-template-columns:minmax(0,41%) minmax(0,59%);gap:clamp(14px,2vw,24px);padding:clamp(14px,2vw,22px)}
.rk-qv-visual{display:grid;place-items:center;align-self:start;min-width:0;min-height:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
/* The bitmap itself is the Quick View clipping boundary. width:auto keeps
   the image box equal to its visible photo (no contain letterbox outside the mask). */
.rk-qv-visual img.rk-qv-product-image{display:block;width:auto;max-width:100%;max-height:305px;height:auto;object-fit:contain;mix-blend-mode:normal;
 border-radius:0 28px 0 28px;clip-path:inset(0 round 0 28px 0 28px);}
.rk-qv-details{min-width:0;display:flex;flex-direction:column;gap:9px}
.rk-qv-meta-row{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}
.rk-qv-categories{display:flex;gap:5px;flex-wrap:wrap;min-width:0;overflow:hidden}
.rk-qv-categories a{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 9px;border:1px solid var(--rk-border);color:var(--rk-primary);background:var(--rk-brand-soft);border-radius:10px 0 10px 0;font-size:11px;font-weight:750;text-decoration:none}
.rk-qv-product-title{margin:0;font-size:clamp(19px,2.5vw,27px);font-weight:800;line-height:1.5;color:var(--rk-ink);overflow-wrap:anywhere}
.rk-qv-pricing{display:grid;gap:5px;padding-block:11px;border-block:1px solid var(--rk-border)}
.rk-qv-price-caption{color:var(--rk-sub);font-size:11px;font-weight:750}
.rk-qv-price{font-size:clamp(17px,2vw,23px);font-weight:850;color:var(--rk-ink);line-height:1.65;overflow-wrap:anywhere}
.rk-qv-price del{font-size:.7em;opacity:.68}.rk-qv-price ins{text-decoration:none}
.rk-qv-price-note{display:block;color:var(--rk-sub);font-size:11px;line-height:1.7}
.rk-qv-stock{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap;margin:0;padding:4px 9px;font-size:11px;font-weight:750;line-height:1.5;color:var(--rk-ink);border:1px solid var(--rk-border);border-radius:10px 0 10px 0;background:var(--rk-surface)}
.rk-qv-stock-dot{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#26876a}
.rk-qv-stock.is-outofstock .rk-qv-stock-dot{background:#aa776d}
.rk-qv-attributes{min-width:0}.rk-qv-attributes-title{display:block;margin:1px 0 8px;font-size:13px;font-weight:800;color:var(--rk-ink)}
.rk-qv-attributes dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.rk-qv-attribute{display:flex;flex-direction:column;min-width:0;gap:2px;padding:8px 10px;border:1px solid var(--rk-border);background:var(--rk-surface);border-radius:11px 0 11px 0;font-size:11px;line-height:1.65}
.rk-qv-attribute dt{font-weight:750;color:var(--rk-sub)}.rk-qv-attribute dd{margin:0;color:var(--rk-ink);overflow-wrap:anywhere}
.rk-qv-product-link{align-self:flex-start;margin-top:2px;min-height:43px;padding:9px 18px;font-size:13px;text-decoration:none}
.rk-qv-loading,.rk-qv-error{padding:45px 25px;margin:0;text-align:center;color:var(--rk-ink);font-size:14px}
.rk-qv-retry{display:block;margin:0 auto 40px;padding:10px 24px;color:var(--rk-primary-text);background:var(--rk-primary);border:0;border-radius:12px 0 12px 0;cursor:pointer}
body.rk-quick-view-open{overflow:hidden}
.rk-qv-panel :is(a,button):focus-visible{outline:3px solid var(--rk-focus);outline-offset:3px}
[data-rk-theme="dark"] .rk-quick-view{--rk-ink:#eef6f0;--rk-sub:#b5cebf;--rk-page:#182522;--rk-card:#263b33;--rk-surface:#1f302b;--rk-brand-soft:#274a3e;--rk-border:#385447;--rk-primary:#58c7be;--rk-primary-text:#122b25;--rk-focus:#f2d76b;color:var(--rk-ink)}
[data-rk-theme="dark"] .rk-quick-view .rk-qv-categories a{color:#a0e5cc}
@media(max-width:640px){
 .rk-quick-view{padding:8px}
 .rk-qv-panel{max-height:calc(100dvh - 16px);border-radius:0 23px 0 23px}
 .rk-qv-toolbar{padding:10px 13px}.rk-qv-toolbar #rk-quick-view-title{font-size:14px}
 .rk-qv-layout{grid-template-columns:1fr;gap:14px;padding:13px}
 .rk-qv-visual{min-height:0;padding:0;border-radius:0}
 .rk-qv-visual img.rk-qv-product-image{max-height:clamp(125px,24vh,190px);border-radius:0 20px 0 20px;clip-path:inset(0 round 0 20px 0 20px)}
 .rk-qv-details{gap:9px}.rk-qv-product-title{font-size:20px}
 .rk-qv-product-link{width:100%;justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce){.rk-quick-view *{animation:none!important;transition:none!important}}

@media(max-width:380px){.rk-qv-attributes dl{grid-template-columns:1fr}.rk-qv-meta-row{gap:5px}.rk-qv-categories a{font-size:10px;padding:3px 6px}}


/* rk-phase03 */
/* Related products: shared, full-width card carousel (4 / 3 / 2 / 1 visible).
 * The existing site's data-rk-scroll buttons navigate by one card, never by a page.
 * No viewport clipping or single 460px column on large screens. */
.rk-wp .rk-v13-after .rk-related-products{width:100%;max-width:none;min-width:0;margin-block:clamp(18px,2.8vw,30px) 16px}
.rk-wp .rk-related-header{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:none;margin:0 0 16px}
.rk-wp .rk-related-header>:where(h2,.rk-h2):not(rkx){font-size:clamp(20px,2vw,27px);font-weight:850;color:var(--rk-ink);margin:0}
.rk-wp .rk-related-controls{display:flex;align-items:center;gap:8px;flex:none}
.rk-wp .rk-related-controls[hidden]{display:none}
.rk-wp .rk-related-controls .carousel-arrow{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--rk-border);border-radius:0 12px 0 12px;background:var(--rk-card);color:var(--rk-primary);cursor:pointer;transition:background-color .2s,border-color .2s,transform .2s}
.rk-wp .rk-related-controls .carousel-arrow:not(:disabled):hover{background:var(--rk-brand-soft);border-color:var(--rk-primary);transform:translateY(-1px)}
.rk-wp .rk-related-controls .carousel-arrow:disabled{opacity:.36;cursor:default}
.rk-wp .rk-related-controls .carousel-arrow:focus-visible{outline:3px solid var(--rk-focus);outline-offset:2px}
.rk-wp .rk-related-grid{display:flex;flex-wrap:nowrap;gap:16px;width:100%;max-width:none;min-width:0;margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:2px 1px 14px}
.rk-wp .rk-related-grid>.product-card{box-sizing:border-box;flex:0 0 calc((100% - 48px) / 4);width:calc((100% - 48px) / 4);min-width:0;height:auto;scroll-snap-align:start;align-self:stretch}
.rk-wp .rk-related-grid .product-image{height:clamp(170px,19vw,220px)}
.rk-wp .rk-related-grid .product-image img{height:100%;max-height:100%;object-fit:contain}
.rk-wp .rk-related-grid .card-text{flex:1 1 auto;min-height:0}
.rk-wp .rk-related-grid .card-bottom{margin-top:auto}
@media(max-width:1199px){.rk-wp .rk-related-grid>.product-card{flex-basis:calc((100% - 32px) / 3);width:calc((100% - 32px) / 3)}}
@media(max-width:900px){.rk-wp .rk-related-grid>.product-card{flex-basis:calc((100% - 16px) / 2);width:calc((100% - 16px) / 2)}}
@media(max-width:560px){.rk-wp .rk-related-grid>.product-card{flex-basis:100%;width:100%}.rk-wp .rk-related-grid .product-image{height:clamp(190px,50vw,260px)}.rk-wp .rk-related-controls .carousel-arrow{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-related-grid{scroll-behavior:auto}.rk-wp .rk-related-controls .carousel-arrow{transition:none}}

/* WooCommerce still owns each attribute_*, variation ID, stock, cart validation and pricing. */
.rk-wp .rk-v13-buy .variations td.value{position:relative;min-width:0}
.rk-wp .rk-v13-buy .variations select:not(.rk-native-select--enhanced){background-color:var(--rk-surface);color:var(--rk-ink);border-color:var(--rk-border);box-shadow:var(--rk-inset)}
.rk-wp .rk-v13-buy .variations select:focus-visible{outline:3px solid var(--rk-primary);outline-offset:3px}
.rk-wp .rk-v13-buy .variations select.rk-native-select--enhanced{position:absolute;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none;overflow:hidden;clip-path:inset(50%)}
.rk-wp .rk-variation-control{position:relative;display:block;width:100%;min-width:0;z-index:2}
.rk-wp .rk-variation-control.is-open{z-index:120}
.rk-wp .rk-variation-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:10px 13px;border:1px solid var(--rk-border);background:var(--rk-surface);box-shadow:var(--rk-inset);border-radius:0 15px 0 15px;color:var(--rk-ink);font:inherit;font-size:13px;line-height:1.65;text-align:right;cursor:pointer}
.rk-wp .rk-variation-trigger:hover{border-color:var(--rk-primary)}
.rk-wp .rk-variation-trigger:focus-visible{outline:3px solid var(--rk-primary);outline-offset:3px}
.rk-wp .rk-variation-trigger[aria-expanded="true"]{border-color:var(--rk-primary);box-shadow:0 0 0 1px var(--rk-primary)}
.rk-wp .rk-variation-trigger:disabled{opacity:.55;cursor:not-allowed}
.rk-wp .rk-variation-trigger::after{content:"";width:8px;height:8px;flex:none;border-bottom:2px solid currentColor;border-left:2px solid currentColor;transform:translateY(-2px) rotate(-45deg);transition:transform .15s}
.rk-wp .rk-variation-trigger[aria-expanded="true"]::after{transform:translateY(2px) rotate(135deg)}
.rk-wp .rk-variation-popup[hidden]{display:none!important}
.rk-wp .rk-variation-popup{position:absolute;inset-inline:0;top:calc(100% + 5px);max-height:min(235px,40dvh);overflow-y:auto;overscroll-behavior:contain;z-index:140;background:var(--rk-card);border:1px solid var(--rk-border);box-shadow:var(--rk-raised);border-radius:0 16px 0 16px;padding:5px;scrollbar-width:thin}
.rk-wp .rk-variation-control.is-upward .rk-variation-popup{top:auto;bottom:calc(100% + 5px)}
.rk-wp .rk-variation-popup:focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px}
.rk-wp .rk-variation-option{display:block;box-sizing:border-box;width:100%;min-height:40px;padding:9px 12px;background:transparent;color:var(--rk-ink);border:0;border-radius:0 10px 0 10px;font:inherit;font-size:13px;text-align:right;cursor:pointer}
.rk-wp .rk-variation-option:hover,.rk-wp .rk-variation-option.is-active{background:var(--rk-brand-soft);color:var(--rk-ink)}
.rk-wp .rk-variation-option[aria-selected="true"]{font-weight:800;color:var(--rk-primary);background:var(--rk-brand-soft)}
.rk-wp .rk-variation-option:disabled{opacity:.42;cursor:not-allowed}
.rk-wp .rk-variation-control.is-invalid .rk-variation-trigger,.rk-wp .rk-v13-buy .variations select.rk-variation-invalid{border-color:#bb7142;box-shadow:0 0 0 1px #bb714242}
.rk-wp .rk-variation-feedback[hidden]{display:none!important}
.rk-wp .rk-variation-feedback{display:flex;align-items:flex-start;gap:7px;margin-top:7px;padding:8px 10px;border:1px solid #c68e6a80;border-radius:0 11px 0 11px;background:#eebf8d20;color:#935129;font-size:12px;font-weight:650;line-height:1.7}
.rk-wp .rk-variation-feedback::before{content:"!";flex:none;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#b76b39;color:#fff;font-size:11px;font-weight:800;margin-top:2px}
html[data-rk-theme="dark"] .rk-wp .rk-variation-feedback{color:#f5c39a;border-color:#b8876570;background:#ae66301f}
@media(max-width:640px){.rk-wp .rk-variation-trigger{min-height:46px}.rk-wp .rk-variation-popup{max-height:min(220px,35dvh)}}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-variation-trigger::after{transition:none}}


/* rk-phase04 */
/* Rayehe Kimia 0.6.4 — reference-guided refinements of existing PHP components.
 * Scope: shared header/footer and existing homepage sections. No new design system,
 * no replaced WooCommerce cards/slider, no functional placeholder UI. */

/* Refined-v0.4 assigns --rk-ink directly to body.rk-wp, shadowing the
 * dark root token. Correct only the components in this phase's scope. */
html[data-rk-theme="dark"] body.rk-wp.home{--rk-ink:#eef6f0}
html[data-rk-theme="dark"] body.rk-wp :is(.site-header,.prefooter,.site-footer){--rk-ink:#eef6f0}

/* 1. Shared header: same three levels and same search / menu / cart on every page. */
.rk-wp .topline{height:auto;min-height:33px;background:var(--rk-footer);color:#e3f3eb;border:0}
.rk-wp .topline>.container{min-height:33px;gap:18px}
.rk-wp .topline-inner,.rk-wp .topline-links{gap:clamp(8px,1.5vw,19px)}
.rk-wp .topline span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),.rk-wp .topline a{font-size:clamp(10px,.8vw,12px)}
.rk-wp .topline a{color:inherit;text-decoration:none}
.rk-wp .topline a:hover{text-decoration:underline;text-underline-offset:4px}
.rk-wp .site-header{background:var(--rk-nav-bg);border-bottom:1px solid var(--rk-border);box-shadow:0 8px 24px #082f2510}
.rk-wp .site-header .header-main{min-height:78px;gap:clamp(11px,2vw,28px)}
.rk-wp .site-header .brand{flex:0 0 clamp(145px,16vw,205px);min-width:0}
.rk-wp .site-header .brand img,.rk-wp .site-header .brand .rk-header-brand-image{display:block;width:100%;height:auto;max-height:65px;object-fit:contain}
/* Keep the actual dark-green brand artwork readable on dark navigation surfaces. */
html[data-rk-theme="dark"] .rk-wp .site-header .brand{padding:5px 8px;background:#f8fbf7;border-radius:0 12px 0 12px;box-sizing:border-box}
.rk-wp .site-header .header-search{flex:1 1 400px;max-width:525px;min-width:0;height:45px;border:1px solid var(--rk-border);border-radius:22px 0 22px 0;box-shadow:var(--rk-inset);background:var(--rk-surface)}
.rk-wp .site-header .header-search-input{min-width:0;flex:1;height:100%;padding-inline:14px;background:transparent;color:var(--rk-ink)}
.rk-wp .site-header .header-search-input::placeholder{color:var(--rk-sub);opacity:.8}
.rk-wp .site-header .header-search-category{height:100%;max-width:130px;min-width:104px;padding-inline:8px;border-inline-start:1px solid var(--rk-border);border-radius:0;background:var(--rk-brand-soft);color:var(--rk-ink);font-size:12px}
.rk-wp .site-header .header-search-submit{height:100%;min-width:46px;display:grid;place-items:center;color:var(--rk-primary-text);background:var(--rk-primary);border:0;border-radius:0 0 19px 0}
.rk-wp .site-header .header-actions{gap:8px;flex:none}
.rk-wp .site-header .header-actions :is(.icon-btn,.rk-mode-toggle){width:42px;height:42px;border-radius:14px 0 14px 0}
.rk-wp .site-header .main-nav{min-height:43px;align-items:center;padding-block:5px 7px;border-top:1px solid var(--rk-border)}
.rk-wp .site-header .rk-primary-links{gap:clamp(13px,2.3vw,34px);align-items:center;justify-content:center}
.rk-wp .site-header .rk-primary-links > li > a{display:inline-flex;align-items:center;min-height:34px;font-size:13px;font-weight:750;line-height:1.5}
/* Shared active state for WordPress menu items, category/page ancestors and fallback links. */
.rk-wp .site-header .rk-primary-links>li>a{border:1px solid transparent;border-radius:0 13px 0 13px;padding:8px 10px;text-decoration:none;transition:background-color .18s,border-color .18s,color .18s}
.rk-wp .site-header .rk-primary-links>li>a:hover,.rk-wp .site-header .rk-primary-links>li>a:focus-visible{color:var(--rk-primary);background:var(--rk-brand-soft);border-color:var(--rk-border)}
.rk-wp .site-header .rk-primary-links>li:is(.current-menu-item,.current-menu-parent,.current-menu-ancestor,.current_page_item,.current_page_parent,.current_page_ancestor)>a,
.rk-wp .site-header .rk-primary-links>li>a[aria-current="page"]{background:var(--rk-brand-soft);color:var(--rk-ink);border-color:var(--rk-border);box-shadow:var(--rk-raised-sm);font-weight:850}
.rk-wp .site-header .rk-primary-links>li>a:focus-visible{outline:2px solid var(--rk-focus);outline-offset:2px}
/* Use the existing accessible drawer on tablet widths before a full WordPress menu can collide with header actions. */
@media(min-width:901px) and (max-width:1140px){.rk-wp .site-header .main-nav{display:none}.rk-wp .site-header .mobile-top-action{display:inline-grid;place-items:center}}
@media(prefers-reduced-motion:reduce){.rk-wp .site-header .rk-primary-links>li>a{transition:none}}
.rk-wp .rk-mega-products{border-color:var(--rk-border);border-radius:0 0 28px 28px;box-shadow:0 22px 54px #092c2130;padding:clamp(16px,2vw,25px);max-width:calc(100vw - 24px)}
.rk-wp .rk-mega-grid a{border-color:var(--rk-border);padding:10px 12px;min-height:43px;box-shadow:none}
.rk-wp .rk-mega-grid a:hover,.rk-wp .rk-mega-grid a:focus-visible{border-color:var(--rk-primary);background:var(--rk-brand-soft)}
.rk-wp .rk-mega-promo{border:1px solid var(--rk-border);background:var(--rk-brand-soft)}

/* Phase 2: preserve original WordPress menus, but unify the desktop header into one band.
 * At intermediate widths keep the existing drawer, not a squeezed second nav row. */
.rk-wp .site-header .header-main{display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:76px;gap:clamp(10px,1.3vw,20px)}
.rk-wp .site-header .brand{flex:0 0 clamp(140px,14vw,188px)}
.rk-wp .site-header .main-nav{display:flex;flex:1 1 auto;min-width:0;width:auto;height:auto;min-height:0;max-width:none;margin:0;padding:0;border:0;position:relative;justify-content:center}
.rk-wp .site-header .rk-primary-links{display:flex;flex-wrap:nowrap;gap:clamp(8px,1.25vw,18px);margin:0;padding:0;white-space:nowrap}
.rk-wp .site-header .rk-primary-links>li>a{font-size:clamp(11px,.98vw,13px);min-height:42px}
.rk-wp .site-header .header-actions{flex:0 0 auto;gap:6px;margin:0}
.rk-wp .site-header .rk-header-search-icon{display:inline-grid;place-items:center;flex:none;color:var(--rk-ink)}
.rk-wp .site-header .rk-header-search-icon:hover{background:var(--rk-brand-soft);color:var(--rk-primary)}
.rk-wp .site-header .rk-header-search-icon:focus-visible{outline:3px solid var(--rk-focus);outline-offset:3px}
.rk-wp .site-header .rk-header-search-icon .rk-icon{width:20px;height:20px}
/* Drawer search uses the same dialog controller and closes the drawer first. */
.rk-wp .rk-offcanvas .rk-drawer-search-link{display:flex;align-items:center;gap:9px;width:100%;border:0;border-bottom:1px solid var(--rk-border);background:transparent;color:var(--rk-ink);font:inherit;font-weight:750;text-align:right;cursor:pointer}
.rk-wp .rk-offcanvas .rk-drawer-search-link svg{width:18px;height:18px;color:var(--rk-primary)}
.rk-wp .rk-offcanvas .rk-drawer-search-link:focus-visible{outline:3px solid var(--rk-focus);outline-offset:2px}
/* Align mega-panel visually beneath the unified header without changing its event ownership. */
.rk-wp .site-header .rk-mega-products{top:calc(100% + 10px)}
@media(max-width:1190px){
 .rk-wp .site-header .header-main{min-height:69px}
 .rk-wp .site-header .main-nav{display:none}
 .rk-wp .site-header .header-actions .mobile-top-action{display:inline-grid;place-items:center}
 .rk-wp .site-header .brand{flex:0 1 clamp(125px,21vw,180px)}
}
@media(max-width:640px){
 .rk-wp .site-header .header-main{min-height:62px;gap:7px}
 .rk-wp .site-header .header-actions{gap:5px;margin-inline-start:auto}
 .rk-wp .site-header .brand{flex:0 1 clamp(90px,calc(100vw - 254px),126px);min-width:90px}
 .rk-wp .site-header .header-actions :is(.icon-btn,.rk-mode-toggle){width:36px;height:36px;flex-shrink:0}
}
@media(max-width:350px){.rk-wp .site-header .header-actions :is(.icon-btn,.rk-mode-toggle){width:33px;height:34px}.rk-wp .site-header .header-actions{gap:3px}}

/* 2. Shared shell and main title hierarchy: visual continuity across other pages. */
.rk-wp .site-footer,.rk-wp .prefooter{font-feature-settings:"kern"}
.rk-wp.home .section{padding-block:clamp(35px,4.6vw,65px)}
.rk-wp.home .section-heading{align-items:end;gap:16px;margin-bottom:clamp(16px,2.1vw,26px)}
.rk-wp.home .section-heading :where(h2,.rk-h2):not(rkx){font-size:clamp(23px,2.15vw,32px);font-weight:850;line-height:1.45;letter-spacing:0;color:var(--rk-ink)}
.rk-wp.home .section-heading p{color:var(--rk-sub);line-height:1.9}
.rk-wp.home .section-heading .eyebrow{color:var(--rk-primary)}
.rk-wp.home .line-link{color:var(--rk-primary);font-weight:760;display:inline-flex;align-items:center;gap:6px}

/* 3. Dynamic + fallback Hero. Contain is inviolable for content photographs. */
.rk-wp.home .home-hero{background:radial-gradient(ellipse at 12% 82%,var(--rk-brand-soft),transparent 43%),linear-gradient(112deg,var(--rk-page) 0%,var(--rk-surface) 44%,var(--rk-brand-soft) 100%);border-radius:0 84px 0 0;min-height:0;overflow:hidden}
.rk-wp.home .home-hero .rk-hero-container,.rk-wp.home .home-hero #heroSlider{position:relative}
.rk-wp.home .home-hero .slide.active{min-height:clamp(405px,35vw,480px);gap:clamp(12px,2vw,27px);align-items:center;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);direction:rtl}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-split-reverse.active{direction:ltr}
.rk-wp.home .home-hero .slide-copy,.rk-wp.home .home-hero .hero-visual{direction:rtl}
.rk-wp.home .home-hero .slide-copy{max-width:570px;padding:clamp(24px,4vw,48px) 10px 76px 0;min-width:0}
.rk-wp.home .home-hero .slide-copy .eyebrow{color:var(--rk-primary);font-weight:750;font-size:clamp(11px,1vw,14px)}
.rk-wp.home .home-hero .slide-copy .rk-hero-title{max-width:590px;font-size:clamp(31px,3.3vw,49px);line-height:1.4;font-weight:900;color:var(--rk-ink);letter-spacing:0;margin:12px 0 16px}
.rk-wp.home .home-hero .slide-copy .rk-hero-title em{color:var(--rk-primary);font-style:normal}
.rk-wp.home .home-hero .slide-copy p:not(.rk-hero-title){font-size:clamp(13px,1.07vw,15px);line-height:2.04;color:var(--rk-sub);max-width:485px;margin-bottom:23px}
.rk-wp.home .home-hero .slide-buttons{gap:10px;align-items:center}
.rk-wp.home .home-hero .slide-buttons .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px clamp(15px,2vw,26px);font-weight:760;line-height:1.6}
.rk-wp.home .home-hero .slide-buttons .btn-light{background:var(--rk-card);border:1px solid var(--rk-border);color:var(--rk-ink)}
.rk-wp.home .home-hero .hero-visual{height:clamp(320px,32vw,430px);min-width:0;align-self:center}
.rk-wp.home .home-hero .hero-photo-frame{inset:3px 0;background:radial-gradient(ellipse at 50% 45%,var(--rk-surface),var(--rk-brand-soft));border-radius:0 105px 0 73px;box-shadow:0 18px 39px #0c50321d,inset 0 0 0 1px var(--rk-border);border:1px solid var(--rk-border);overflow:hidden;isolation:isolate;transition:box-shadow .3s ease}
.rk-wp.home .home-hero .hero-photo-frame picture{display:block;width:100%;height:100%;padding:clamp(3px,.55vw,8px);box-sizing:border-box}
.rk-wp.home .home-hero:not(.rk-dynamic-hero) .hero-photo-frame>img.hero-photo{box-sizing:border-box;padding:clamp(3px,.55vw,8px)}
.rk-wp.home .home-hero .hero-photo-frame :is(img.hero-photo,picture img){display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;clip-path:none;mask:none;-webkit-mask:none;filter:none;border-radius:0 88px 0 61px}
.rk-wp.home .home-hero .hero-photo-frame::after{content:none}
@media(max-width:640px){.rk-wp.home .home-hero .hero-photo-frame :is(img.hero-photo,picture img){border-radius:0 30px 0 30px}}
.rk-wp.home .home-hero .hero-sticker{right:3%;top:7%;max-width:165px;color:var(--rk-ink);background:var(--rk-card);border:1px solid var(--rk-border);box-shadow:var(--rk-raised-sm);backdrop-filter:none}
.rk-wp.home .home-hero .hero-controls{z-index:15;bottom:35px}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-full.active{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .hero-visual{grid-column:2;grid-row:1;width:100%;height:clamp(320px,32vw,430px);inset:auto;opacity:1}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .slide-copy{grid-column:1;grid-row:1;max-width:570px;padding:clamp(22px,3vw,38px);margin-inline-end:0;background:var(--rk-card);border:1px solid var(--rk-border);border-radius:0 29px 0 29px}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .hero-photo-frame{inset:3px 0;border-radius:0 105px 0 73px}
.rk-wp.home .rk-dynamic-hero .rk-slide-model-minimal .hero-photo-frame{border-radius:0 110px 0 110px}

/* 4. Trust rail and product category photo tiles. */
.rk-wp.home .benefit-rail{position:relative;z-index:5;transform:translateY(-31px);margin-bottom:-23px;padding:13px 12px;border-radius:0 22px 0 22px;background:var(--rk-card);border:1px solid var(--rk-border);box-shadow:0 13px 30px #0f4f4a16}
.rk-wp.home .benefit{min-width:0;gap:9px;padding:7px 9px;border-color:var(--rk-border)}
.rk-wp.home .benefit-icon{flex:none;width:40px;height:40px;border-radius:50%;background:var(--rk-brand-soft);color:var(--rk-primary)}
.rk-wp.home .benefit strong{font-size:12px;white-space:normal;color:var(--rk-ink)}
.rk-wp.home .benefit small{font-size:10px;white-space:normal;line-height:1.5;color:var(--rk-sub)}
.rk-wp.home .category-grid{gap:clamp(10px,1.3vw,18px);align-items:stretch}
.rk-wp.home .category-card{min-height:0;display:flex;flex-direction:column;border-radius:0 23px 0 23px;background:var(--rk-brand-soft);border:1px solid var(--rk-border);box-shadow:var(--rk-raised-sm);overflow:hidden;isolation:isolate}
.rk-wp.home .category-card:hover{transform:translateY(-3px);box-shadow:var(--rk-raised)}
.rk-wp.home .category-photo{display:block;width:100%;height:clamp(178px,18vw,235px);object-fit:contain;object-position:center;padding:9px 10px 20px;box-sizing:border-box}
.rk-wp.home .category-body{width:calc(100% - 16px);margin:-34px 8px 8px;min-height:67px;padding:12px 13px 11px 44px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;background:var(--rk-card);border:1px solid var(--rk-border);box-shadow:0 7px 19px #0b332012;border-radius:0 15px 0 15px;color:var(--rk-ink)}
.rk-wp.home .category-body :where(h3,.rk-h3):not(rkx){margin:0;font-size:clamp(13px,1.15vw,16px);line-height:1.6;color:var(--rk-ink)}
.rk-wp.home .category-body p{margin:2px 0 0;font-size:11px;line-height:1.65;color:var(--rk-sub);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rk-wp.home .category-body .round-arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:var(--rk-brand-soft);color:var(--rk-primary)}

/* 5. Featured store cards: existing rk_card() is the only rendering source. */
.rk-wp.home #featured.section{padding-top:clamp(30px,3vw,48px)}
.rk-wp.home #featured .featured-wrap{border:1px solid var(--rk-border);background:var(--rk-surface);border-radius:0 38px 0 38px;padding:clamp(15px,2.8vw,35px);box-shadow:var(--rk-raised-sm)}
.rk-wp.home #featured .section-heading{position:relative;z-index:2}
.rk-wp.home #featured .product-card{border:1px solid var(--rk-border);border-radius:0 19px 0 19px;box-shadow:0 3px 13px #0f4f4a0d;overflow:hidden}
.rk-wp.home #featured .product-image{background:var(--rk-brand-soft)}
.rk-wp.home #featured .product-card .card-text{background:var(--rk-card)}
.rk-wp.home #featured .product-card:hover{box-shadow:0 14px 26px #0f4f4a1a}
.rk-wp.home #featured .featured-carousel{max-width:100%;min-width:0}

/* 6. Wholesale banner: imagery is decorative, request flow stays in Core. */
.rk-wp.home .wholesale-section{padding-block:clamp(28px,3.2vw,46px)}
.rk-wp.home .wholesale-panel{min-height:clamp(270px,24vw,322px);background:linear-gradient(118deg,var(--rk-brand-soft),var(--rk-surface) 58%,var(--rk-brand-soft));border:1px solid var(--rk-border);box-shadow:var(--rk-raised-sm);border-radius:0 40px 0 40px}
.rk-wp.home .wholesale-photo{min-height:270px;background-position:center;background-size:cover}
.rk-wp.home .wholesale-copy{padding:30px clamp(17px,2.5vw,35px)}
.rk-wp.home .wholesale-copy :where(h2,.rk-h2):not(rkx){font-size:clamp(22px,2.25vw,31px);line-height:1.5;color:var(--rk-ink)}
.rk-wp.home .wholesale-copy p{line-height:2;max-width:420px;color:var(--rk-sub)}
.rk-wp.home .wholesale-checks{gap:11px;padding:20px clamp(12px,1.6vw,23px)}
.rk-wp.home .wholesale-checks span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){font-size:12px;line-height:1.7;color:var(--rk-ink)}
.rk-wp.home .wholesale-checks svg{color:var(--rk-primary);fill:none;flex:none}

/* 7. Article carousel: compact horizontal cards preserve real WP post links/date. */
.rk-wp.home #articles .article-carousel{gap:clamp(10px,1.2vw,17px)}
.rk-wp.home #articles .article-card{align-items:stretch;min-height:125px;gap:11px;padding:9px;border:1px solid var(--rk-border);border-radius:0 18px 0 18px;background:var(--rk-card);box-shadow:var(--rk-raised-sm);overflow:hidden}
.rk-wp.home #articles .article-art{flex:0 0 40%;min-width:0;display:block;overflow:hidden;border-radius:0 12px 0 12px;background:var(--rk-brand-soft)}
.rk-wp.home #articles .article-art img{display:block;width:100%;height:100%;min-height:112px;object-fit:cover;border-radius:0}
.rk-wp.home #articles .article-card-content{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:6px 0}
.rk-wp.home #articles .article-card :where(h3,.rk-h3):not(rkx){margin:0;font-size:clamp(12px,1vw,14px);line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.rk-wp.home #articles .article-card :where(h3,.rk-h3):not(rkx) a{color:var(--rk-ink);text-decoration:none}
.rk-wp.home #articles .article-card small{color:var(--rk-sub);font-size:10px}

/* 8. One shared prefooter and footer for all templates, not a homepage duplicate. */
.rk-wp .prefooter{background:linear-gradient(110deg,var(--rk-brand-soft),var(--rk-surface),var(--rk-brand-soft));color:var(--rk-ink);border-color:var(--rk-border);box-shadow:var(--rk-raised-sm);border-radius:0 35px 0 35px;min-height:148px;padding:clamp(20px,3vw,39px) clamp(20px,4vw,55px)}
.rk-wp .prefooter .rk-prefooter-title{color:var(--rk-ink);font-size:clamp(21px,2.3vw,30px)}
.rk-wp .prefooter p{color:var(--rk-sub);line-height:1.8}
.rk-wp .site-footer{background:var(--rk-footer);color:#e7f2ea;padding-top:clamp(110px,10vw,144px);padding-bottom:23px}
.rk-wp .site-footer .footer-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.93fr) minmax(0,.9fr) minmax(0,1.05fr);gap:clamp(19px,3.6vw,52px);align-items:start}
.rk-wp .site-footer .footer-grid > div{min-width:0}
.rk-wp .site-footer .footer-logo{width:min(190px,100%);height:auto;display:block;object-fit:contain;filter:none;padding:11px;background:#f8fbf7;border-radius:0 15px 0 15px;box-sizing:border-box}
.rk-wp .site-footer .footer-grid .rk-footer-title{color:#f2fbf6;margin:4px 0 16px;font-size:15px;font-weight:800}
.rk-wp .site-footer .footer-grid p{color:#cee3d6;font-size:12px;line-height:2;max-width:320px}
.rk-wp .site-footer .footer-links a,.rk-wp .site-footer .rk-footer-menu a{color:#d2e7d9;display:block;padding:3px 0;font-size:12px;line-height:1.75;transition:color .2s}
.rk-wp .site-footer .footer-links a:hover,.rk-wp .site-footer .rk-footer-menu a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.rk-wp .site-footer .footer-bottom{border-color:#ffffff24;gap:12px;margin-top:35px;padding-top:17px;color:#c9dfd2;font-size:11px}
.rk-wp .site-footer .footer-bottom a{color:#f0fbf4}

/* Tablet: let the source images keep their entire frame; never force cover. */
@media(max-width:1180px){
 .rk-wp .site-header .header-main{gap:13px}
 .rk-wp .site-header .header-search{max-width:470px}
 .rk-wp.home .home-hero .slide-copy .rk-hero-title{font-size:clamp(30px,3.4vw,43px)}
 .rk-wp.home .benefit strong{font-size:11px}
 .rk-wp.home .wholesale-panel{grid-template-columns:30% 42% 28%}
}
@media(max-width:900px){
 .rk-wp .site-header .header-main{min-height:70px;gap:11px}
 .rk-wp .site-header .brand{flex-basis:clamp(145px,23vw,185px)}
 .rk-wp .site-header .main-nav{display:none}
 .rk-wp.home .home-hero{border-radius:0 54px 0 0}
 .rk-wp.home .home-hero .slide.active{min-height:0;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:13px}
 .rk-wp.home .home-hero .slide-copy{padding:24px 5px 64px}
 .rk-wp.home .home-hero .slide-copy .rk-hero-title{font-size:clamp(27px,3.7vw,37px)}
 .rk-wp.home .home-hero .hero-visual,.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .hero-visual{height:clamp(245px,40vw,325px)}
 .rk-wp.home .benefit-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:11px}
 .rk-wp.home .benefit{border:0;justify-content:flex-start}
 .rk-wp.home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rk-wp.home .category-photo{height:clamp(175px,28vw,240px)}
 .rk-wp.home .wholesale-panel{grid-template-columns:37% 63%}
 .rk-wp.home .wholesale-checks{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;padding:15px 22px}
 .rk-wp.home #articles .article-card{width:calc((100% - 13px)/2)}
 .rk-wp .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
}
@media(max-width:640px){
 .rk-wp .topline{min-height:27px}
 .rk-wp .topline>.container{min-height:27px;justify-content:center}
 .rk-wp .topline-inner{gap:7px}
 .rk-wp .topline-inner span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)):last-child{display:none}
 .rk-wp .site-header .header-main{min-height:62px;gap:7px}
 .rk-wp .site-header .brand{flex:0 1 clamp(90px,calc(100vw - 255px),155px);min-width:90px}
 .rk-wp .site-header .brand img{max-height:52px}
 .rk-wp .site-header .header-actions{gap:5px}
 .rk-wp .site-header .header-actions :is(.icon-btn,.rk-mode-toggle){width:37px;height:37px}
 .rk-wp .site-header .header-search{display:none}
 .rk-wp.home .home-hero{border-radius:0 36px 0 0}
 .rk-wp.home .home-hero .slide.active,.rk-wp.home .rk-dynamic-hero .rk-slide-model-full.active{display:flex;flex-direction:column-reverse;gap:0;min-height:0;align-items:stretch}
 .rk-wp.home .home-hero .hero-visual,.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .hero-visual{width:100%;height:clamp(215px,64vw,310px);flex:none;align-self:stretch}
 .rk-wp.home .home-hero .hero-photo-frame,.rk-wp.home .rk-dynamic-hero .rk-slide-model-full .hero-photo-frame{inset:0 0 4px;border-radius:0 38px 0 38px}
 .rk-wp.home .home-hero .hero-photo-frame picture,.rk-wp.home .home-hero:not(.rk-dynamic-hero) .hero-photo-frame>img.hero-photo{padding:3px}
 .rk-wp.home .home-hero .hero-sticker{top:12px;right:11px;max-width:115px;padding:7px 10px;font-size:10px}
 .rk-wp.home .home-hero .slide-copy{width:100%;max-width:none;padding:15px 8px 66px}
 .rk-wp.home .home-hero .slide-copy .rk-hero-title{font-size:clamp(28px,7.4vw,37px);line-height:1.42;margin:8px 0 10px}
 .rk-wp.home .home-hero .slide-copy p:not(.rk-hero-title){font-size:12px;line-height:1.9;margin-bottom:14px}
 .rk-wp.home .home-hero .slide-buttons{gap:8px}
 .rk-wp.home .home-hero .slide-buttons .btn{min-height:42px;padding:8px 12px;font-size:12px}
 .rk-wp.home .home-hero .hero-controls{bottom:18px}
 .rk-wp.home .rk-dynamic-hero .rk-slide-model-full .slide-copy{width:100%;margin:0;background:transparent;border:0;padding:15px 8px 66px}
 .rk-wp.home .benefit-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;transform:translateY(-14px);margin-bottom:-9px;padding:10px 8px}
 .rk-wp.home .benefit{justify-content:flex-start;padding:7px 4px;gap:7px}
 .rk-wp.home .benefit-icon{width:34px;height:34px}
 .rk-wp.home .benefit strong{font-size:10px}
 .rk-wp.home .benefit small{font-size:9px}
 .rk-wp.home .section{padding-block:33px}
 .rk-wp.home .section-heading{align-items:start;gap:9px;flex-wrap:wrap}
 .rk-wp.home .section-heading :where(h2,.rk-h2):not(rkx){font-size:22px}
 .rk-wp.home .category-grid{gap:9px}
 .rk-wp.home .category-photo{height:clamp(145px,40vw,190px);padding:5px 6px 20px}
 .rk-wp.home .category-body{margin:-30px 5px 6px;width:calc(100% - 10px);min-height:64px;padding:9px 8px 9px 33px}
 .rk-wp.home .category-body :where(h3,.rk-h3):not(rkx){font-size:12px}
 .rk-wp.home .category-body p{font-size:10px}
 .rk-wp.home .category-body .round-arrow{left:6px}
 .rk-wp.home #featured .featured-wrap{padding:16px 10px;border-radius:0 23px 0 23px}
 .rk-wp.home .wholesale-section{padding-top:22px}
 .rk-wp.home .wholesale-panel{display:flex;flex-direction:column}
 .rk-wp.home .wholesale-photo{min-height:210px;max-height:250px;border-radius:0 25px 0 25px}
 .rk-wp.home .wholesale-copy{padding:20px 18px 14px}
 .rk-wp.home .wholesale-copy :where(h2,.rk-h2):not(rkx){font-size:23px}
 .rk-wp.home .wholesale-checks{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 18px 18px}
 .rk-wp.home .wholesale-checks span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){font-size:10px;gap:6px}
 .rk-wp.home #articles .article-card{width:88%;min-height:120px}
 .rk-wp.home #articles .article-art{flex-basis:39%}
 .rk-wp .prefooter{margin-top:36px;min-height:0;padding:23px 19px;border-radius:0 26px 0 26px}
 .rk-wp .prefooter .rk-prefooter-title{font-size:22px}
 .rk-wp .site-footer{padding-top:96px}
 .rk-wp .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 17px}
 .rk-wp .site-footer .footer-grid>div:first-child,.rk-wp .site-footer .footer-grid>div:last-child{grid-column:1/-1}
 .rk-wp .site-footer .footer-grid .rk-footer-title{font-size:13px;margin-bottom:9px}
 .rk-wp .site-footer .footer-logo{width:160px}
 .rk-wp .site-footer .footer-bottom{margin-top:26px;gap:8px;padding-bottom:62px}
}
@media(max-width:365px){
 .rk-wp .site-header .brand{flex-basis:clamp(90px,calc(100vw - 255px),110px)}
 .rk-wp .site-header .header-actions :is(.icon-btn,.rk-mode-toggle){width:34px;height:34px}
 .rk-wp.home .home-hero .slide-copy .rk-hero-title{font-size:26px}
 .rk-wp.home .benefit-icon{width:30px;height:30px}
 .rk-wp.home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .rk-wp.home .category-body :where(h3,.rk-h3):not(rkx){font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .rk-wp.home .category-card,.rk-wp.home #featured .product-card,.rk-wp .site-footer .footer-links a{transition:none}
}

/* Phase 05 — approved Hero frame refinements (same CSS source; no second UI). */
.rk-wp.home .home-hero .hero-photo-frame::before{content:"";position:absolute;inset:clamp(8px,1.2vw,17px);z-index:2;pointer-events:none;border:1px solid var(--rk-border);border-radius:0 78px 0 55px;opacity:.63}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 .rk-wp.home .home-hero .hero-photo-frame:hover{box-shadow:0 23px 46px #0c503124,inset 0 0 0 1px var(--rk-border)}
}
@media (prefers-reduced-motion:reduce){.rk-wp.home .home-hero .hero-photo-frame{transition:none}}
/* Carousel buttons share one set of tokens, including native disabled state. */
.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid var(--rk-border);border-radius:50%;background:var(--rk-card);color:var(--rk-primary);box-shadow:var(--rk-raised-sm);cursor:pointer;transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s,opacity .2s}
.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow:not(:disabled):hover{background:var(--rk-brand-soft);border-color:var(--rk-primary);transform:translateY(-1px)}
.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow:disabled{background:var(--rk-surface);color:var(--rk-sub);border-color:var(--rk-border);box-shadow:none;opacity:.38;cursor:not-allowed;transform:none}
.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow:focus-visible{outline:3px solid var(--rk-focus,#f2d76b);outline-offset:3px}
@media(max-width:640px){.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.rk-wp :is(.featured-nav,.article-nav) .carousel-arrow{transition:none}}

/* v0.6.11: Header menu cues use the same semantic surface/brand colors as active links. */
@media (min-width:1141px){
 .rk-wp .site-header .rk-primary-links>li:is(.menu-item-has-children,.rk-shop-entry)>a{
   gap:8px;
 }
 .rk-wp .site-header .rk-primary-links>li:is(.menu-item-has-children,.rk-shop-entry)>a::after{
   content:"";display:inline-block;width:7px;height:7px;flex:none;
   border-right:2px solid currentColor;border-bottom:2px solid currentColor;
   border-radius:1px;transform:rotate(45deg) translateY(-2px);
   transform-origin:center;opacity:.8;transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .2s;
 }
 .rk-wp .site-header .rk-primary-links>li:is(.menu-item-has-children,.rk-shop-entry):is(:hover,:focus-within,.is-open)>a::after,
 .rk-wp .site-header .rk-primary-links>li.rk-shop-entry:has(>a[aria-expanded="true"])>a::after{
   transform:rotate(225deg) translateY(-2px);opacity:1;
 }
 .rk-wp .site-header .rk-mega-products::before{
   content:"";position:absolute;inset-inline:0;top:-17px;height:18px;
 }
}
@media (prefers-reduced-motion:reduce){
 .rk-wp .site-header .rk-primary-links>li:is(.menu-item-has-children,.rk-shop-entry)>a::after{transition:none}
}

/* v0.6.13: promo label and CTA arrow are one coherent RTL flex row. */
.rk-wp .rk-mega-promo .rk-mega-promo-cta{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;padding:11px 12px;background:var(--rk-card);border:1px solid var(--rk-border);border-radius:0 13px 0 13px;transition:background-color .18s,border-color .18s}
.rk-wp .rk-mega-promo .rk-mega-promo-cta strong{flex:1;min-width:0;font-size:clamp(12px,1.15vw,15px);line-height:1.8;overflow-wrap:anywhere;color:var(--rk-ink)}
.rk-wp .rk-mega-promo .rk-mega-promo-cta svg{width:18px;height:18px;flex:none;margin:0;color:var(--rk-primary);transition:transform .2s}
.rk-wp .rk-mega-promo:hover .rk-mega-promo-cta{border-color:var(--rk-primary);background:var(--rk-surface)}
.rk-wp .rk-mega-promo:hover .rk-mega-promo-cta svg{transform:translateX(-3px)}
/* No Cart page is linked: retain mini-cart dropdown and direct checkout action. */
.rk-wp .cart-hover-wrap.is-open .mini-cart{opacity:1;visibility:visible;pointer-events:auto;transform:none}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-mega-promo .rk-mega-promo-cta,.rk-wp .rk-mega-promo .rk-mega-promo-cta svg{transition:none}}

/* v0.6.22 — footer structure and consistent monochrome logo treatment in dark UI. */
.rk-wp .site-footer .footer-grid{
  grid-template-columns:minmax(0,1.13fr) minmax(0,.93fr) minmax(0,1fr);
  gap:clamp(22px,3.5vw,52px);
  width:100%;
  margin-inline:auto;
  align-items:start;
}
.rk-wp .site-footer .footer-grid .rk-footer-title{
  font-size:14px;
  font-weight:800;
  margin:0 0 13px;
  letter-spacing:0;
}
.rk-wp .site-footer .footer-grid p{
  line-height:1.95;
  margin:7px 0;
}
.rk-wp .site-footer .footer-grid .footer-links{
  gap:4px;
}
.rk-wp .site-footer .footer-grid .footer-links a{
  width:fit-content;
  text-decoration:none;
  transition:color .24s ease,background-color .24s ease,transform .24s ease;
}
.rk-wp .site-footer .footer-grid .footer-links a:hover,
.rk-wp .site-footer .footer-grid .footer-links a:focus-visible{
  text-decoration:none;
  transform:translateX(-3px);
}
html[data-rk-theme="dark"] body.rk-wp .site-header .brand,
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-logo{
  background:transparent;
  box-shadow:none;
}
/* Same configured logo on header/footer. In dark mode use accessible monochrome treatment,
   leaving original image pixels and the file itself untouched. */
html[data-rk-theme="dark"] body.rk-wp .site-header .rk-header-brand-image,
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-logo{
  filter:brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0,0,0,.08));
}
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-logo{
  padding:0;
  width:min(177px,100%);
  height:auto;
  border:0;
  border-radius:0;
  object-fit:contain;
}
@media(max-width:1100px){
 .rk-wp .site-footer .footer-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
 }
 .rk-wp .site-footer .footer-grid>div:first-child{grid-column:1/-1;}
}
@media(max-width:640px){
 .rk-wp .site-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:20px;}
 .rk-wp .site-footer .footer-grid>div:first-child{grid-column:auto;}
}
@media(prefers-reduced-motion:reduce){
 .rk-wp .site-footer .footer-grid .footer-links a{transition:none;}
}


/* rk-editorial-069 */
/* Rayehe Kimia 0.6.9: shared editorial components, independent of WooCommerce/Rabino logic. */
/* Paragraph justification requested site-wide; do not change fields, buttons or code blocks. */
body.rk-wp p{ text-align:justify; text-justify:inter-word; }

/* One set of semantic editorial tokens for both modes; the older local --rk-ink
   definition on .rk-wp must not leak dark text into dark article surfaces. */
.rk-wp :is(.rk-magazine,.rk-article-detail,#articles){
 --rk-ed-ink:#133c31;--rk-ed-muted:#567466;--rk-ed-soft:#e6f4eb;
 --rk-ed-surface:var(--rk-card,#f8fbf7);--rk-ed-border:var(--rk-border,#dce8de);
 --rk-ed-accent:#0f4f4a;--rk-ed-accent-text:#fff;
 color:var(--rk-ed-ink);
}
[data-rk-theme="dark"] .rk-wp :is(.rk-magazine,.rk-article-detail,#articles){
 --rk-ed-ink:#eef6f0;--rk-ed-muted:#b5cebf;--rk-ed-soft:#274a3e;
 --rk-ed-surface:var(--rk-card,#263b33);--rk-ed-border:var(--rk-border,#385447);
 --rk-ed-accent:#58c7be;--rk-ed-accent-text:#122b25;
}

/* Canonical editorial tile: archive, homepage and related carousel use identical markup. */
.rk-wp .rk-mag-card{
 position:relative;display:flex;flex-direction:column;min-width:0;min-height:100%;
 border:1px solid var(--rk-ed-border);border-radius:0 24px 0 24px;
 overflow:hidden;background:var(--rk-ed-surface);color:var(--rk-ed-ink);
 box-shadow:var(--rk-raised-sm);transition:box-shadow .22s ease,border-color .22s ease;
}
.rk-wp .rk-mag-card:hover,.rk-wp .rk-mag-card:focus-within{border-color:var(--rk-ed-accent);box-shadow:var(--rk-raised);}
.rk-wp .rk-mag-card .rk-mag-image{
 position:relative;display:block;width:100%;height:auto;aspect-ratio:16 / 9;
 overflow:hidden;background:var(--rk-ed-soft);flex:0 0 auto;
}
.rk-wp .rk-mag-card .rk-article-photo{
 width:100%;height:100%;display:block;object-fit:cover;
 transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.rk-wp .rk-mag-card:hover .rk-article-photo{transform:scale(1.035);}
.rk-wp .rk-mag-category{
 position:absolute;inset-block-end:12px;inset-inline-start:12px;
 display:inline-flex;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 padding:5px 12px;border-radius:999px;background:#123d35e8;color:#fff;
 font-size:11px;font-weight:750;backdrop-filter:blur(4px);
}
.rk-wp .rk-mag-card .rk-mag-body{
 display:flex;flex-direction:column;gap:10px;flex:1;min-width:0;
 padding:16px 18px 18px;color:var(--rk-ed-ink);
}
.rk-wp .rk-mag-card .rk-mag-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;color:var(--rk-ed-muted);font-size:11px;font-weight:550;}
.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx){
 font-size:clamp(15px,1.15vw,18px);font-weight:800;line-height:1.85;
 min-height:3.7em;margin:0;color:var(--rk-ed-ink);
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
}
.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) a{color:inherit;text-decoration:none;}
.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) a:hover{color:var(--rk-ed-accent);}
.rk-wp .rk-mag-card .rk-mag-excerpt{
 color:var(--rk-ed-muted);font-size:12.5px;line-height:2.05;
 margin:0;min-height:6.15em;overflow:hidden;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;
}
.rk-wp .rk-mag-card .rk-read-more{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 margin-top:auto;padding:10px 12px;min-height:43px;border:1px solid var(--rk-ed-border);
 border-radius:0 13px 0 13px;background:var(--rk-ed-soft);color:var(--rk-ed-ink);
 font-size:12px;font-weight:750;text-decoration:none;transition:background .18s ease,color .18s ease;
}
.rk-wp .rk-mag-card .rk-read-more:hover{background:var(--rk-ed-accent);color:var(--rk-ed-accent-text);}
.rk-wp .rk-mag-card a:focus-visible{outline:2px solid var(--rk-focus,#178364);outline-offset:3px;}
/* Every archive item has the same footprint; no asymmetric giant first card. */
.rk-wp .rk-mag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.7vw,22px);align-items:stretch;}
.rk-wp .rk-mag-grid>.rk-mag-card{grid-column:auto;}
.rk-wp .rk-mag-grid>.rk-mag-card.rk-mag-feature{display:flex;grid-template-columns:none;min-height:100%;}
.rk-wp .rk-mag-grid>.rk-mag-card.rk-mag-feature .rk-mag-image{height:auto;aspect-ratio:16 / 9;}
.rk-wp .rk-mag-grid>.rk-mag-card.rk-mag-feature .rk-mag-body{padding:16px 18px 18px;justify-content:initial;}
.rk-wp .rk-mag-grid>.rk-mag-card.rk-mag-feature .rk-mag-body :where(h3,.rk-h3):not(rkx){font-size:clamp(15px,1.15vw,18px);}

/* The existing scroll-arrow JavaScript owns this carousel as it owns homepage carousels. */
.rk-wp #articles .article-carousel,.rk-wp .rk-related-track{
 display:flex;gap:clamp(13px,1.5vw,20px);overflow-x:auto;overflow-y:hidden;
 scroll-snap-type:x mandatory;scroll-padding-inline:4px;overscroll-behavior-inline:contain;
 scrollbar-width:thin;padding:8px 4px 16px;
}
.rk-wp #articles .article-carousel>.rk-mag-card,.rk-wp .rk-related-track>.rk-mag-card{
 flex:0 0 calc((100% - 40px) / 3);width:calc((100% - 40px) / 3);
 min-height:0;scroll-snap-align:start;align-self:stretch;
}
.rk-wp .rk-related-articles .section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-block-end:17px;}
.rk-wp .rk-related-articles .section-heading :where(h2,.rk-h2):not(rkx){margin:6px 0 0;font-size:clamp(22px,2.2vw,29px);}
.rk-wp .rk-related-articles .article-nav{display:flex;gap:8px;flex:0 0 auto;}
.rk-wp .rk-related-articles .carousel-arrow:disabled{opacity:.36;cursor:default;}

/* Archive chrome is built from the same color surfaces as the cards. */
.rk-wp .rk-magazine{background:var(--rk-page);}
.rk-wp .rk-mag-hero{background:linear-gradient(110deg,var(--rk-ed-soft),var(--rk-page));border-bottom:1px solid var(--rk-ed-border);}
.rk-wp .rk-mag-hero-inner h1,.rk-wp .rk-mag-toolbar :where(h2,.rk-h2):not(rkx){color:var(--rk-ed-ink);}
.rk-wp .rk-mag-hero-inner p{color:var(--rk-ed-muted);}
.rk-wp .rk-mag-search input{color:var(--rk-ed-ink);background:var(--rk-ed-surface);border-color:var(--rk-ed-border);}
.rk-wp .rk-mag-search input::placeholder{color:var(--rk-ed-muted);}
.rk-wp .rk-mag-search button{background:var(--rk-ed-accent);color:var(--rk-ed-accent-text);}
.rk-wp .rk-mag-cats a{color:var(--rk-ed-ink);background:var(--rk-ed-soft);border:1px solid var(--rk-ed-border);}
.rk-wp .rk-mag-cats a:hover,.rk-wp .rk-mag-cats a:focus-visible{color:var(--rk-ed-accent-text);background:var(--rk-ed-accent);}
.rk-wp .rk-mag-empty{background:var(--rk-ed-surface);border:1px solid var(--rk-ed-border);color:var(--rk-ed-muted);}

/* Article layout follows the provided reference: main article on left, useful reading rail on right. */
.rk-wp .rk-article-detail{background:var(--rk-page);color:var(--rk-ed-ink);}
.rk-wp .rk-article-container{max-width:1220px;padding-block:18px clamp(42px,4vw,64px);}
.rk-wp .rk-article-detail .rk-breadcrumbs{margin-bottom:12px;overflow-wrap:anywhere;}
.rk-wp .rk-article-detail .rk-article-columns{
 display:grid;direction:rtl;grid-template-columns:minmax(230px,270px) minmax(0,1fr);
 grid-template-areas:'sidebar hero' 'sidebar head' 'sidebar content';
 gap:0 clamp(20px,2.6vw,34px);align-items:start;
}
.rk-wp .rk-article-detail .rk-post-hero{
 grid-area:hero;min-width:0;width:100%;height:auto;max-height:425px;
 margin:0;aspect-ratio:16 / 8.6;overflow:hidden;
 border-radius:0 28px 0 28px;background:var(--rk-ed-soft);
 border:1px solid var(--rk-ed-border);
}
.rk-wp .rk-article-detail .rk-post-hero img{display:block;width:100%;height:100%!important;max-height:none!important;object-fit:cover;}
.rk-wp .rk-article-detail .rk-article-head{
 grid-area:head;width:100%;max-width:none;margin:0;
 padding:16px clamp(15px,2vw,24px) 13px;text-align:right;
 border:1px solid var(--rk-ed-border);border-block-start:0;
 background:var(--rk-ed-surface);color:var(--rk-ed-ink);
}
.rk-wp .rk-article-detail .rk-article-head h1{
 color:var(--rk-ed-ink);font-size:clamp(25px,2.7vw,36px);
 line-height:1.65;font-weight:850;margin:8px 0 0;max-width:none;
}
.rk-wp .rk-article-detail .rk-article-meta{
 display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px 14px;
 color:var(--rk-ed-muted);font-size:12px;margin:0;
}
.rk-wp .rk-article-category{border-radius:999px;background:var(--rk-ed-soft);border:1px solid var(--rk-ed-border);color:var(--rk-ed-ink);font-weight:700;padding:3px 12px;}
.rk-wp .rk-article-lead{margin:13px 0 0;color:var(--rk-ed-muted);line-height:2.1;font-size:14px;}
.rk-wp .rk-article-detail .rk-entry-content{
 grid-area:content;min-width:0;background:var(--rk-ed-surface);color:var(--rk-ed-ink);
 border:1px solid var(--rk-ed-border);border-block-start:0;
 border-radius:0 0 0 26px;padding:clamp(16px,2.5vw,28px);
 line-height:2.25;overflow-wrap:break-word;
}
.rk-wp .rk-article-detail .rk-entry-content :is(:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx)){color:var(--rk-ed-ink);scroll-margin-top:100px;}
.rk-wp .rk-article-detail .rk-entry-content :where(h2,.rk-h2):not(rkx){font-size:clamp(20px,2vw,25px);margin-block:24px 12px;}
.rk-wp .rk-article-detail .rk-entry-content :where(h3,.rk-h3):not(rkx){font-size:clamp(17px,1.7vw,20px);margin-block:19px 10px;}
.rk-wp .rk-article-detail .rk-entry-content p,.rk-wp .rk-article-detail .rk-entry-content li{color:var(--rk-ed-ink);font-size:15px;line-height:2.15;}
.rk-wp .rk-article-detail .rk-entry-content p{margin-block:0 14px;}
.rk-wp .rk-article-detail .rk-entry-content :is(blockquote,pre,figure,table){max-width:100%;}
.rk-wp .rk-article-detail .rk-entry-content table{overflow-x:auto;}
.rk-wp .rk-article-detail .rk-entry-content :is(img,video,iframe){max-width:100%;}
.rk-wp .rk-article-detail .rk-entry-content a{color:var(--rk-ed-accent);}
.rk-wp .rk-article-detail .rk-entry-content blockquote{background:var(--rk-ed-soft);border-inline-start:3px solid var(--rk-ed-accent);padding:14px 18px;}
.rk-wp .rk-article-detail .rk-article-sidebar{
 grid-area:sidebar;display:flex;flex-direction:column;gap:12px;
 min-width:0;order:initial;
}
.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside{
 position:static;top:auto;margin:0;padding:16px;background:var(--rk-ed-surface);
 border:1px solid var(--rk-ed-border);border-radius:0 22px 0 22px;
 color:var(--rk-ed-ink);box-shadow:var(--rk-raised-sm);
}
.rk-wp .rk-article-detail .rk-article-aside :where(h2,.rk-h2):not(rkx){font-size:17px;line-height:1.7;margin:6px 0 12px;color:var(--rk-ed-ink);}
.rk-wp .rk-article-detail .rk-article-aside p{color:var(--rk-ed-muted);line-height:2.1;font-size:12.5px;}
.rk-wp .rk-article-detail .rk-toc ol{list-style:none;padding:0;margin:0;display:grid;gap:5px;counter-reset:rk-toc;}
.rk-wp .rk-article-detail .rk-toc li{counter-increment:rk-toc;margin:0;min-width:0;font-size:12.5px;line-height:1.8;}
.rk-wp .rk-article-detail .rk-toc a{
 display:flex;gap:8px;align-items:flex-start;overflow-wrap:anywhere;
 padding:7px 9px;border:0;border-radius:9px;color:var(--rk-ed-muted);text-decoration:none;
}
.rk-wp .rk-article-detail .rk-toc a::before{content:counter(rk-toc,decimal-leading-zero);color:var(--rk-ed-accent);font-size:10px;min-width:18px;padding-top:2px;}
.rk-wp .rk-article-detail .rk-toc .rk-toc-sub a{padding-inline-start:19px;}
.rk-wp .rk-article-detail .rk-toc a:hover,.rk-wp .rk-article-detail .rk-toc a:focus-visible{background:var(--rk-ed-soft);color:var(--rk-ed-ink);}
.rk-wp .rk-article-detail .rk-article-product-photo{
 display:block;aspect-ratio:4/3;max-width:100%;overflow:hidden;
 background:var(--rk-ed-soft);border-radius:0 14px 0 14px;
}
.rk-wp .rk-article-detail .rk-article-product-image{display:block;width:100%;height:100%;object-fit:contain;}
.rk-wp .rk-article-detail .rk-article-product-panel :where(h3,.rk-h3):not(rkx){font-size:14px;line-height:1.9;margin:13px 0 5px;}
.rk-wp .rk-article-detail .rk-article-product-panel :where(h3,.rk-h3):not(rkx) a{color:var(--rk-ed-ink);text-decoration:none;}
.rk-wp .rk-article-detail .rk-article-product-price{margin-bottom:12px;color:var(--rk-ed-ink);font-size:13px;font-weight:750;}
.rk-wp .rk-article-detail .rk-article-product-link{
 display:flex;justify-content:center;align-items:center;gap:8px;
 min-height:43px;padding:10px 12px;background:var(--rk-ed-accent);color:var(--rk-ed-accent-text);
 border-radius:0 13px 0 13px;font-size:12px;text-decoration:none;font-weight:800;
}
.rk-wp .rk-article-detail .rk-article-product-link:hover{filter:brightness(.96);}
.rk-wp .rk-article-detail .rk-article-prevnext{border-block-start:1px solid var(--rk-ed-border);margin:20px 0;padding:14px 0;color:var(--rk-ed-muted);}
.rk-wp .rk-article-detail .rk-related-articles{margin-top:26px;}
.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{min-height:0;}

/* Keep the complete reading rail alongside the article on desktop.
   The sidebar spans all article grid rows, so it releases naturally at the
   end of the content rather than overlapping comments or related articles.
   Stick the parent, not individual TOC/product panels. */
@media (min-width:901px){
 body.rk-wp .rk-article-detail .rk-article-sidebar{
  position:sticky;
  top:calc(92px + var(--wp-admin--admin-bar--height, 0px));
 }
}

@media(max-width:1050px){
 .rk-wp .rk-article-detail .rk-article-columns{grid-template-columns:minmax(210px,235px) minmax(0,1fr);column-gap:18px;}
 .rk-wp .rk-mag-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .rk-wp #articles .article-carousel>.rk-mag-card,.rk-wp .rk-related-track>.rk-mag-card{flex-basis:calc((100% - 18px)/2);width:calc((100% - 18px)/2);}
}
@media(max-width:760px){
 .rk-wp .rk-article-detail .rk-article-columns{
  display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-areas:'hero' 'head' 'sidebar' 'content';row-gap:0;
 }
 .rk-wp .rk-article-detail .rk-article-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-block:15px;}
 .rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside{padding:16px;}
 .rk-wp .rk-article-detail .rk-article-head{padding:18px;}
 .rk-wp .rk-article-detail .rk-entry-content{border-block-start:1px solid var(--rk-ed-border);border-radius:0 20px 0 20px;}
}
@media(max-width:640px){
 .rk-wp .rk-mag-grid{grid-template-columns:minmax(0,1fr);gap:16px;}
 .rk-wp .rk-mag-grid .rk-mag-card{max-width:500px;width:100%;margin-inline:auto;}
 .rk-wp #articles .article-carousel>.rk-mag-card,.rk-wp .rk-related-track>.rk-mag-card{
  flex:0 0 min(82vw,335px);width:min(82vw,335px);
 }
 .rk-wp .rk-article-container{padding-block:12px 42px;}
 .rk-wp .rk-article-detail .rk-post-hero{aspect-ratio:16/10;border-radius:0 20px 0 20px;}
 .rk-wp .rk-article-detail .rk-article-head h1{font-size:clamp(23px,6vw,29px);}
 .rk-wp .rk-article-detail .rk-article-sidebar{grid-template-columns:minmax(0,1fr);}
 .rk-wp .rk-article-detail .rk-entry-content{padding:19px 16px;}
 .rk-wp .rk-article-detail .rk-entry-content p,.rk-wp .rk-article-detail .rk-entry-content li{font-size:14px;line-height:2.25;}
 .rk-wp .rk-mag-card .rk-mag-body{padding:15px 16px;}
}
@media(prefers-reduced-motion:reduce){
 .rk-wp .rk-mag-card,.rk-wp .rk-mag-card .rk-article-photo,.rk-wp .rk-mag-card .rk-read-more{transition:none;}
 .rk-wp .rk-mag-card:hover .rk-article-photo{transform:none;}
}

/* Native integration with AISummarizer v1.3.x: the plugin owns services, links and scripts. */
.rk-wp .rk-article-detail .rk-article-columns{
 grid-template-areas:'sidebar hero' 'sidebar summary' 'sidebar head' 'sidebar content';
}
.rk-wp .rk-article-detail .rk-article-ai-summary{
 grid-area:summary;min-width:0;padding:clamp(14px,2vw,20px);
 border:1px solid var(--rk-ed-border);border-block-start:0;
 background:var(--rk-ed-surface);color:var(--rk-ed-ink);
}
.rk-wp .rk-article-detail .rk-article-ai-intro{
 display:flex;align-items:center;gap:9px;color:var(--rk-ed-muted);font-size:12px;line-height:1.9;
}
.rk-wp .rk-article-detail .rk-article-ai-intro .rk-icon{width:20px;height:20px;flex:none;color:var(--rk-ed-accent);}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum{
 --aisum-accent:var(--rk-ed-accent) !important;
 margin:10px 0 0;color:var(--rk-ed-ink);font-family:inherit;
}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum__heading{
 text-align:start;font-size:13px;font-weight:850;line-height:1.7;margin:0 0 10px;color:var(--rk-ed-ink);
}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum__buttons{display:flex;flex-wrap:wrap;gap:9px;}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum a.aisum__btn,
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum button.aisum__btn{
 width:auto;min-height:41px;display:inline-flex;align-items:center;justify-content:center;
 padding:9px 13px;gap:7px;background:var(--rk-ed-soft);color:var(--rk-ed-ink);
 border:1px solid var(--rk-ed-border);border-radius:0 11px 0 11px;
 box-shadow:none;font-size:12px;line-height:1.6;font-weight:700;font-family:inherit;
 transition:background-color .18s,color .18s,border-color .18s;
}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum :is(a.aisum__btn,button.aisum__btn):hover,
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum :is(a.aisum__btn,button.aisum__btn):focus-visible{
 background:var(--rk-ed-accent);border-color:var(--rk-ed-accent);color:var(--rk-ed-accent-text);
}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum :is(a.aisum__btn,button.aisum__btn):focus-visible{
 outline:2px solid var(--rk-focus);outline-offset:2px;
}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum .aisum__icon{color:inherit;}
.rk-wp .rk-article-detail .rk-article-ai-summary .aisum .aisum__btn.is-copied{border-color:var(--rk-ed-accent);}
@media(max-width:560px){.rk-wp .rk-article-detail .rk-article-ai-summary .aisum__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.rk-wp .rk-article-detail .rk-article-ai-summary .aisum a.aisum__btn,.rk-wp .rk-article-detail .rk-article-ai-summary .aisum button.aisum__btn{min-width:0;padding:9px 8px;}}
@media(max-width:350px){.rk-wp .rk-article-detail .rk-article-ai-summary .aisum__buttons{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-article-detail .rk-article-ai-summary .aisum :is(a.aisum__btn,button.aisum__btn){transition:none}}

@media(max-width:760px){
 .rk-wp .rk-article-detail .rk-article-columns{
   grid-template-areas:'hero' 'summary' 'head' 'content' 'sidebar';
 }
}

/* Article suggestions reuse the exact WooCommerce card component and global carousel handler.
   One full card per view; no duplicate product markup or extra JS. */
.rk-wp .rk-article-detail .rk-article-product-panel{min-width:0;overflow:hidden}
.rk-wp .rk-article-detail .rk-article-product-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}
.rk-wp .rk-article-detail .rk-article-product-header :where(h2,.rk-h2):not(rkx){margin:4px 0 0;font-size:clamp(15px,1.25vw,17px)}
.rk-wp .rk-article-detail .rk-article-product-controls{display:flex;flex:0 0 auto;gap:5px}
.rk-wp .rk-article-detail .rk-article-product-controls .carousel-arrow{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border-radius:11px 0 11px 0;background:var(--rk-ed-soft);border:1px solid var(--rk-ed-border);color:var(--rk-ed-ink);cursor:pointer}
.rk-wp .rk-article-detail .rk-article-product-controls .carousel-arrow svg{width:18px;height:18px}
.rk-wp .rk-article-detail .rk-article-product-controls .carousel-arrow:focus-visible{outline:2px solid var(--rk-focus);outline-offset:2px}
.rk-wp .rk-article-detail .rk-article-product-controls .carousel-arrow:not(:disabled):hover{background:var(--rk-ed-accent);border-color:var(--rk-ed-accent);color:var(--rk-ed-accent-text)}
.rk-wp .rk-article-detail .rk-article-product-controls .carousel-arrow:disabled{opacity:.42;cursor:default}
.rk-wp .rk-article-detail .rk-article-product-track{display:flex;min-width:0;width:100%;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain;touch-action:pan-x pan-y}
.rk-wp .rk-article-detail .rk-article-product-track::-webkit-scrollbar{display:none}
.rk-wp .rk-article-detail .rk-article-product-track:focus-visible{outline:2px solid var(--rk-focus);outline-offset:-2px}
.rk-wp .rk-article-detail .rk-article-product-track>.product-card{flex:0 0 100%;width:100%;max-width:100%;min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.rk-wp .rk-article-detail .rk-article-product-track .product-card .rk-card-media{min-width:0}
.rk-wp .rk-article-detail .rk-article-product-track .product-card .product-image{aspect-ratio:4/3}
.rk-wp .rk-article-detail .rk-article-product-track .product-card .card-text{padding:11px;min-width:0}
.rk-wp .rk-article-detail .rk-article-product-track .product-card :where(h3,.rk-h3):not(rkx){font-size:clamp(13px,1.2vw,15px);overflow-wrap:anywhere}
.rk-wp .rk-article-detail .rk-article-product-track .product-card :is(.packaging-caption,.price-caption){font-size:11px}
@media(max-width:760px){.rk-wp .rk-article-detail .rk-article-product-panel{max-width:100%}.rk-wp .rk-article-detail .rk-article-product-track .product-card .product-image{aspect-ratio:16/10}}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-article-detail .rk-article-product-track{scroll-behavior:auto}}


/* rk-customer-nav */
/* Customer-services landing pages: semantic tokens, scoped rules, no Core/Woo overrides. */
.rk-wp .rk-customer-help{color:var(--rk-ink);min-width:0;padding-bottom:clamp(28px,5vw,64px)}
.rk-wp .rk-customer-help *{box-sizing:border-box}
.rk-wp .rk-help-hero{position:relative;margin:clamp(16px,2.6vw,35px) auto clamp(16px,2.6vw,28px);overflow:hidden}
.rk-wp .rk-help-hero-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:198px;padding:clamp(22px,4.5vw,47px);border:1px solid var(--rk-border);border-radius:0 35px 0 35px;background:linear-gradient(122deg,var(--rk-brand-soft),var(--rk-card) 70%);box-shadow:var(--rk-raised-sm);overflow:hidden}
.rk-wp .rk-help-hero-inner::after{content:"";position:absolute;width:230px;aspect-ratio:1;border:1px solid var(--rk-border);border-radius:50%;inset-inline-end:-85px;top:-95px;pointer-events:none}
.rk-wp .rk-help-hero-copy{position:relative;z-index:1;max-width:780px;min-width:0}
.rk-wp .rk-help-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;font-size:12px;color:var(--rk-sub)}
.rk-wp .rk-help-breadcrumb a{color:var(--rk-sub);text-decoration:none}
.rk-wp .rk-help-breadcrumb a:hover{color:var(--rk-primary)}
.rk-wp .rk-help-hero h1{margin:6px 0 12px;font-size:clamp(25px,3.1vw,38px);font-weight:850;line-height:1.45;color:var(--rk-ink)}
.rk-wp .rk-help-hero p{max-width:640px;margin:0;color:var(--rk-sub);font-size:clamp(13px,1.2vw,15px);line-height:2;text-align:justify}
.rk-wp .rk-help-hero-icon{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 clamp(76px,11vw,123px);width:clamp(76px,11vw,123px);height:clamp(76px,11vw,123px);border:1px solid var(--rk-border);border-radius:28px 0 28px 0;background:var(--rk-surface);color:var(--rk-primary);box-shadow:var(--rk-raised-sm)}
.rk-wp .rk-help-hero-icon svg{width:45%;height:45%}
.rk-wp .rk-help-layout{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:clamp(14px,2.2vw,28px);align-items:start;min-width:0}
.rk-wp .rk-help-side{display:grid;gap:16px;min-width:0}
.rk-wp .rk-help-navigation,.rk-wp .rk-help-article{background:var(--rk-card);color:var(--rk-ink);border:1px solid var(--rk-border);box-shadow:var(--rk-raised-sm);border-radius:0 25px 0 25px;min-width:0}
.rk-wp .rk-help-navigation{padding:14px;position:sticky;top:110px}
.admin-bar .rk-wp .rk-help-navigation{top:145px}
.rk-wp .rk-help-navigation-head{display:flex;align-items:center;gap:10px;padding:4px 3px 13px;margin-bottom:6px;border-bottom:1px solid var(--rk-border);font-weight:800;font-size:14px}
.rk-wp .rk-help-navigation-head>span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--rk-brand-soft);color:var(--rk-primary)}
.rk-wp .rk-help-navigation-head svg{width:18px;height:18px}
.rk-wp .rk-help-navigation>a{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px;padding:9px 10px;margin:2px 0;border:1px solid transparent;border-radius:0 12px 0 12px;font-size:12px;font-weight:740;color:var(--rk-ink);transition:background-color .18s,border-color .18s,color .18s}
.rk-wp .rk-help-navigation>a svg{width:18px;height:18px;flex:none;color:var(--rk-primary)}
.rk-wp .rk-help-navigation>a span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){flex:1;min-width:0}
.rk-wp .rk-help-navigation>a svg:last-child{width:14px;height:14px}
.rk-wp .rk-help-navigation>a:is(:hover,:focus-visible,.is-current){background:var(--rk-brand-soft);border-color:var(--rk-border);color:var(--rk-ink)}
.rk-wp .rk-help-navigation>a.is-current{font-weight:850}
.rk-wp .rk-help-article{padding:clamp(17px,3.2vw,39px);border-radius:0 28px 0 28px}
.rk-wp .rk-help-article-heading{border-bottom:1px solid var(--rk-border);padding-bottom:16px;margin-bottom:22px}
.rk-wp .rk-help-article-heading :where(h2,.rk-h2):not(rkx){margin:5px 0 9px;font-size:clamp(20px,2.2vw,27px);color:var(--rk-ink);line-height:1.65}
.rk-wp .rk-help-article-heading p{font-size:13px;line-height:2;color:var(--rk-sub);margin:0;text-align:justify}
.rk-wp .rk-help-steps{display:grid;gap:0}
.rk-wp .rk-help-step{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:14px;padding:17px 0 18px;border-bottom:1px solid var(--rk-border)}
.rk-wp .rk-help-step:first-child{padding-top:0}
.rk-wp .rk-help-step:last-child{border-bottom:0}
.rk-wp .rk-help-step-count{display:grid;place-items:center;width:40px;height:40px;background:var(--rk-brand-soft);color:var(--rk-primary);border:1px solid var(--rk-border);border-radius:12px 0 12px 0;font-weight:850;font-size:15px}
.rk-wp .rk-help-step :where(h3,.rk-h3):not(rkx){font-size:clamp(15px,1.5vw,18px);font-weight:820;margin:2px 0 7px;line-height:1.65;color:var(--rk-ink)}
.rk-wp .rk-help-step p{line-height:2.1;font-size:13px;color:var(--rk-sub);margin:0 0 8px;text-align:justify;overflow-wrap:anywhere}
.rk-wp .rk-help-step p:last-child{margin:0}
.rk-wp .rk-help-faq{display:grid;gap:11px}
.rk-wp .rk-help-faq details{border:1px solid var(--rk-border);background:var(--rk-surface);border-radius:0 16px 0 16px;overflow:hidden}
.rk-wp .rk-help-faq details[open]{border-color:var(--rk-primary)}
.rk-wp .rk-help-faq summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;font-weight:790;padding:15px 16px;font-size:13px;color:var(--rk-ink)}
.rk-wp .rk-help-faq summary::-webkit-details-marker{display:none}
.rk-wp .rk-help-faq summary svg{width:18px;height:18px;flex:none;color:var(--rk-primary);transition:transform .2s}
.rk-wp .rk-help-faq details[open] summary svg{transform:rotate(180deg)}
.rk-wp .rk-help-faq details>div{padding:0 16px 16px}
.rk-wp .rk-help-faq p{margin:0;font-size:13px;line-height:2;color:var(--rk-sub);text-align:justify}
.rk-wp .rk-help-policy-note{display:flex;align-items:flex-start;gap:9px;padding:14px;border:1px solid var(--rk-border);border-radius:0 14px 0 14px;background:var(--rk-brand-soft);color:var(--rk-ink);font-size:12px;line-height:2;margin:20px 0;text-align:justify}
.rk-wp .rk-help-policy-note svg{width:18px;height:18px;flex:none;margin-top:4px}
.rk-wp .rk-help-editor-content{line-height:2.1;color:var(--rk-ink);overflow-wrap:anywhere}
.rk-wp .rk-help-editor-content img{max-width:100%;height:auto}
.rk-wp .rk-help-article-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:24px;padding:17px 0 0;border-top:1px solid var(--rk-border)}
.rk-wp .rk-help-article-footer strong{font-size:13px;color:var(--rk-ink)}
.rk-wp .rk-help-article-footer>div{display:flex;flex-wrap:wrap;gap:9px}
.rk-wp .rk-help-article-footer a{display:inline-flex;align-items:center;gap:7px;min-height:39px;padding:8px 11px;border:1px solid var(--rk-border);border-radius:11px 0 11px 0;background:var(--rk-surface);color:var(--rk-ink);font-size:12px;font-weight:750;text-decoration:none}
.rk-wp .rk-help-article-footer a:hover{background:var(--rk-brand-soft);color:var(--rk-primary)}
.rk-wp .rk-help-article-footer a svg{width:17px;height:17px}
.rk-wp .rk-help-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.rk-wp .rk-help-benefits a{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;padding:17px 16px;background:var(--rk-card);border:1px solid var(--rk-border);border-radius:0 16px 0 16px;color:var(--rk-ink);transition:border-color .2s,background-color .2s}
.rk-wp .rk-help-benefits a:hover{border-color:var(--rk-primary);background:var(--rk-brand-soft)}
.rk-wp .rk-help-benefits a>svg{flex:none;width:25px;height:25px;color:var(--rk-primary)}
.rk-wp .rk-help-benefits a span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){display:grid;gap:4px;min-width:0}
.rk-wp .rk-help-benefits a strong{font-size:13px;line-height:1.6}
.rk-wp .rk-help-benefits a small{font-size:11px;color:var(--rk-sub)}
/* New menu item uses the theme's existing desktop dropdown affordance and mobile drawer. */
@media(min-width:1191px){.rk-wp .site-header .rk-primary-links{gap:clamp(5px,.8vw,14px)}.rk-wp .site-header .rk-primary-links>li>a{padding-inline:7px}}
.rk-wp .rk-primary-links>li.rk-customer-menu>.sub-menu{min-width:min(280px,calc(100vw - 34px));width:max-content;max-width:calc(100vw - 34px);padding:10px;overflow:visible}
/* The old WordPress submenu toggled display:none/block, which cannot animate.
 * Keep a visible-to-layout but inert popup for a 200ms fade/slide like the
 * product mega panel. Scope strictly to the desktop header: mobile links stay open. */
@media(min-width:901px){
 .rk-wp .site-header .rk-primary-links>li.rk-customer-menu>.sub-menu{
   display:block;visibility:hidden;opacity:0;pointer-events:none;
   transform:translateY(12px);transform-origin:top right;
   transition:opacity .2s cubic-bezier(.2,.8,.2,1),transform .2s cubic-bezier(.2,.8,.2,1),visibility .2s;
 }
 .rk-wp .site-header .rk-primary-links>li.rk-customer-menu:is(:hover,:focus-within)>.sub-menu{
   display:block;visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0);
 }
}
@media(prefers-reduced-motion:reduce){
 .rk-wp .site-header .rk-primary-links>li.rk-customer-menu>.sub-menu{transition:none}
}
.rk-wp .rk-offcanvas .rk-mobile-links li.rk-customer-menu>.sub-menu{position:static;display:block;visibility:visible;opacity:1;pointer-events:auto;background:transparent;border:0;box-shadow:none;min-width:0;max-width:100%;padding:0 12px 0 0;margin:0;border-radius:0}
/* Allow the mobile submenu toggle to control this menu exactly like Products. */
.rk-wp .rk-offcanvas .rk-mobile-links li.rk-customer-menu>.sub-menu[hidden]{display:none}
.rk-wp .rk-offcanvas .rk-mobile-links li.rk-customer-menu>.sub-menu a{font-size:12px;min-height:42px;padding:11px 9px;white-space:normal;color:var(--rk-ink);border-bottom:1px solid var(--rk-border)}
.rk-wp .rk-offcanvas .rk-mobile-links li.rk-customer-menu>.sub-menu a[aria-current="page"]{background:var(--rk-brand-soft);border-radius:10px;font-weight:800}
@media(max-width:900px){.rk-wp .rk-help-layout{grid-template-columns:minmax(0,1fr)}.rk-wp .rk-help-side{order:2;grid-template-columns:minmax(0,1fr)}.rk-wp .rk-help-navigation{position:static;top:auto}.rk-wp .rk-help-article{order:1}}
@media(max-width:640px){.rk-wp .rk-help-hero{margin-top:14px}.rk-wp .rk-help-hero-inner{padding:20px;min-height:0;border-radius:0 23px 0 23px}.rk-wp .rk-help-hero-icon{display:none}.rk-wp .rk-help-breadcrumb{margin-bottom:13px}.rk-wp .rk-help-side{grid-template-columns:minmax(0,1fr)}.rk-wp .rk-help-benefits{grid-template-columns:minmax(0,1fr)}.rk-wp .rk-help-benefits a{padding:14px}.rk-wp .rk-help-article{padding:17px}.rk-wp .rk-help-step{grid-template-columns:36px minmax(0,1fr);gap:10px}.rk-wp .rk-help-step-count{width:35px;height:35px}.rk-wp .rk-help-article-footer{align-items:stretch}}
@media(prefers-reduced-motion:reduce){.rk-wp .rk-help-faq summary svg,.rk-wp .rk-help-navigation>a,.rk-wp .rk-help-benefits a{transition:none}}

/* Reassert the document-level semantic palette inside help pages: legacy .rk-wp
   overrides --rk-ink, so dark surfaces otherwise inherit a light-mode ink. */
[data-rk-theme="dark"] .rk-wp .rk-customer-help{
 --rk-ink:#eef6f0;--rk-sub:#b5cebf;--rk-border:#385447;
 --rk-primary:#58c7be;--rk-primary-text:#122b25;
 --rk-brand-soft:#274a3e;--rk-card:#263b33;--rk-surface:#1f302b;
}
.rk-wp .rk-customer-help :is(a,summary):focus-visible{outline:2px solid var(--rk-focus);outline-offset:3px}
.rk-wp .rk-help-navigation>a{overflow-wrap:anywhere;line-height:1.8}
.rk-wp .rk-help-article{overflow-wrap:anywhere}
.rk-wp .rk-help-editor-content :is(table,pre){max-width:100%}
.rk-wp .rk-help-editor-content .wp-block-table{overflow-x:auto}
.rk-wp .rk-help-editor-content :is(img,video,iframe){max-width:100%;height:auto}
.rk-wp .rk-help-breadcrumb{overflow-wrap:anywhere}
@media(max-width:480px){.rk-wp .rk-help-layout{gap:12px}.rk-wp .rk-help-hero-inner{padding:17px}.rk-wp .rk-help-navigation{padding:10px}.rk-wp .rk-help-article{padding:15px}}


/* rk-ux-dark-polish-0620 */

/* v0.6.20 — dark-mode polish, premium product cards, compact footer, unified motion */
:root{
  --rk-motion-fast:.18s;
  --rk-motion-base:.26s;
  --rk-motion-slow:.38s;
  --rk-hover-lift:-4px;
}

.rk-wp :is(.site-header,.home-hero,.benefit-rail,.featured-wrap,.product-card,.category-card,.article-card,.rk-blog-tile,.rk-contact-card,.rk-offcanvas,.mini-cart,.site-footer,.prefooter,.filter-panel,.rk-product-buy-panel,.rk-product-gallery-wrap,.rk-product-details-below),
.rk-wp :is(.btn,.icon-btn,.carousel-arrow,.rk-mode-toggle,.line-link,.footer-links a,.rk-footer-menu a,.rk-primary-links>li>a,.card-action-icon,.pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),.rk-card-actions .rk-rabino button){
  transition:
    background-color var(--rk-motion-base) cubic-bezier(.2,.8,.2,1),
    border-color var(--rk-motion-base) cubic-bezier(.2,.8,.2,1),
    color var(--rk-motion-fast) cubic-bezier(.2,.8,.2,1),
    box-shadow var(--rk-motion-base) cubic-bezier(.2,.8,.2,1),
    transform var(--rk-motion-base) cubic-bezier(.2,.8,.2,1),
    opacity var(--rk-motion-fast) cubic-bezier(.2,.8,.2,1);
}

/* Standardize desktop dropdown animation without touching menu registrations. */
@media (min-width:901px){
  .rk-wp .site-header .rk-primary-links>li.menu-item-has-children:not(.rk-shop-entry)>.sub-menu{
    display:block;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(10px) scale(.985);
    transform-origin:top right;
  }
  .rk-wp .site-header .rk-primary-links>li.menu-item-has-children:not(.rk-shop-entry):is(:hover,:focus-within)>.sub-menu{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
  }
}

/* 1) Dark mode hero controls */
[data-rk-theme="dark"] .rk-wp .home-hero .hero-controls button{
  background:linear-gradient(180deg,rgba(39,59,52,.94),rgba(24,37,34,.96));
  border-color:#375248;
  color:#eef6f0;
  box-shadow:0 10px 24px rgba(0,0,0,.26);
}
[data-rk-theme="dark"] .rk-wp .home-hero .hero-controls button:hover,
[data-rk-theme="dark"] .rk-wp .home-hero .hero-controls button:focus-visible{
  background:linear-gradient(180deg,#24463c,#18342d);
  border-color:#58c7be;
  color:#58c7be;
  transform:translateY(-1px);
}
[data-rk-theme="dark"] .rk-wp .home-hero .slide-dots button{
  background:#587065;
}
[data-rk-theme="dark"] .rk-wp .home-hero .slide-dots button.active{
  background:#58c7be;
  box-shadow:0 0 0 1px rgba(88,199,190,.14),0 7px 14px rgba(8,20,18,.25);
}

/* 2) Product card redesign */
.rk-wp .product-card{
  position:relative;
  isolation:isolate;
  min-width:0;
  height:100%;
  padding:0;
  border-radius:0 26px 0 26px;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff,#fbfcfa);
  border:1px solid rgba(15,79,74,.10);
  box-shadow:0 14px 36px rgba(16,63,54,.08);
}
.rk-wp .product-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#58c7be,#0f4f4a 72%,#f2d76b);
  opacity:.78;
  z-index:1;
}
.rk-wp .product-card:hover{
  transform:translateY(var(--rk-hover-lift));
  box-shadow:0 22px 48px rgba(15,79,74,.14);
  border-color:rgba(15,79,74,.20);
}
.rk-wp .product-card .rk-card-media{
  padding:12px 12px 0;
}
.rk-wp .product-card .product-image{
  position:relative;
  width:100%;
  padding:0;
  aspect-ratio:1/1;
  border-radius:0 22px 0 22px;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.9),transparent 33%),
    linear-gradient(145deg,#eef7f3,#dff1ea 55%,#edf7f2);
  border:1px solid rgba(15,79,74,.08);
  overflow:hidden;
}
.rk-wp .product-card .product-image::after{
  content:"";
  position:absolute;
  inset:auto 16px 10px;
  height:20px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(15,79,74,.13),transparent 72%);
  filter:blur(8px);
  opacity:.72;
  z-index:0;
}
.rk-wp .product-card .product-image img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
  transition:transform var(--rk-motion-slow) cubic-bezier(.2,.8,.2,1);
}
.rk-wp .product-card:hover .product-image img{
  transform:translateY(-3px) scale(1.045);
}
.rk-wp .product-card .rk-card-category{
  position:absolute;
  right:22px;
  bottom:10px;
  z-index:3;
}
.rk-wp .product-card .rk-card-category a{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 11px;
  border-radius:999px;
  border:1px solid rgba(15,79,74,.10);
  background:rgba(255,255,255,.92);
  color:var(--rk-primary);
  font-size:11px;
  font-weight:760;
  backdrop-filter:blur(10px);
}
.rk-wp .product-card .product-status{
  position:absolute;
  top:14px;
  right:14px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 8px 18px rgba(20,61,52,.08);
}
.rk-wp .product-card .product-status--sale{
  color:#215b4b;
  background:#f2d76b;
}
.rk-wp .product-card .product-status--soldout{
  color:#6a4638;
  background:#f6e3d9;
}
.rk-wp .rk-card-actions{
  top:22px;
  left:22px;
  inset-inline-start:auto;
  gap:7px;
}
.rk-wp .rk-card-actions .rk-rabino button,
.rk-wp .rk-card-actions .rk-rabino a,
.rk-wp .rk-card-actions > *{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(15,79,74,.08);
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 18px rgba(15,79,74,.08);
}
.rk-wp .rk-card-actions .rk-rabino button:hover,
.rk-wp .rk-card-actions .rk-rabino a:hover,
.rk-wp .rk-card-actions > *:hover{
  transform:translateY(-2px);
  border-color:rgba(15,79,74,.18);
  background:#fff;
}
.rk-wp .product-card .card-text{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:11px;
  padding:14px 14px 15px;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fbfcfa 30%,#ffffff 100%);
}
.rk-wp .product-card .rk-card-title-link{
  color:var(--rk-ink);
}
.rk-wp .product-card :where(h3,.rk-h3):not(rkx),
.rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){
  margin:0;
  font-size:clamp(13px,1vw,16px);
  line-height:1.75;
  font-weight:860;
  max-height:3.55em;
  min-height:3.55em;
}
.rk-wp .product-card .rk-card-pack{
  margin:0;
}
.rk-wp .product-card .packaging-caption,
.rk-wp .product-card .price-caption{
  color:var(--rk-sub);
  font-size:11px;
  line-height:1.65;
}
.rk-wp .product-card .pack-chips{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:6px;
}
.rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(15,79,74,.09);
  background:#f2f8f5;
  color:#31594d;
  font-size:10px;
  font-weight:760;
}
.rk-wp .product-card .rk-pack-more{
  background:#ecf3ef;
}
.rk-wp .product-card .card-bottom,
.rk-wp .product-card.price-demo-card .card-bottom{
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid rgba(15,79,74,.08);
  gap:12px;
  align-items:center;
}
.rk-wp .product-card .price-group{
  gap:5px;
}
.rk-wp .product-card .price-values{
  gap:6px 9px;
  align-items:center;
}
.rk-wp .product-card .price-values strong,
.rk-wp .product-card .price-values .amount,
.rk-wp .product-card .price-unavailable{
  color:var(--rk-primary);
  font-size:clamp(15px,1.18vw,19px);
  font-weight:880;
  line-height:1.45;
}
.rk-wp .product-card .price-values del{
  color:#7e9589;
  opacity:.62;
  font-size:12px;
}
.rk-wp .product-card .rk-card-bottom-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.rk-wp .rk-card-bottom-actions .card-action-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:14px;
  border:1px solid rgba(15,79,74,.10);
  box-shadow:none;
}
.rk-wp .rk-card-bottom-actions .card-action-icon:first-child{
  background:linear-gradient(135deg,#0f4f4a,#1f6b5d);
  color:#fff;
}
.rk-wp .rk-card-bottom-actions .card-action-icon:last-child{
  background:#edf6f1;
  color:var(--rk-primary);
}
.rk-wp .rk-card-bottom-actions .card-action-icon:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 20px rgba(15,79,74,.14);
}
.rk-wp #featured .product-card,
.rk-wp .rk-related-grid>.product-card,
.rk-wp .rk-catalog-grid .product-card,
.rk-wp .rk-product-details-below ul.products .product-card{
  display:flex;
  flex-direction:column;
  align-self:stretch;
}
[data-rk-theme="dark"] .rk-wp .product-card{
  background:linear-gradient(180deg,#22352f,#1b2b27 80%);
  border-color:rgba(136,190,164,.14);
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}
[data-rk-theme="dark"] .rk-wp .product-card::before{
  opacity:.92;
}
[data-rk-theme="dark"] .rk-wp .product-card:hover{
  border-color:rgba(88,199,190,.22);
  box-shadow:0 22px 44px rgba(0,0,0,.28);
}
[data-rk-theme="dark"] .rk-wp .product-card .product-image{
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.08),transparent 35%),
    linear-gradient(145deg,#314841,#223630 60%,#243d36);
  border-color:rgba(255,255,255,.05);
}
[data-rk-theme="dark"] .rk-wp .product-card .product-image::after{
  background:radial-gradient(circle,rgba(0,0,0,.35),transparent 72%);
}
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-category a,
[data-rk-theme="dark"] .rk-wp .rk-card-actions .rk-rabino button,
[data-rk-theme="dark"] .rk-wp .rk-card-actions .rk-rabino a,
[data-rk-theme="dark"] .rk-wp .rk-card-actions > *{
  background:rgba(24,37,34,.84);
  color:#eef6f0;
  border-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .product-card .card-text{
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(27,43,39,.88) 28%,rgba(24,37,34,.98));
}
[data-rk-theme="dark"] .rk-wp .product-card :where(h3,.rk-h3):not(rkx),
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-title-link,
[data-rk-theme="dark"] .rk-wp .product-card .price-values strong,
[data-rk-theme="dark"] .rk-wp .product-card .price-values .amount,
[data-rk-theme="dark"] .rk-wp .product-card .price-unavailable{
  color:#eef6f0;
}
[data-rk-theme="dark"] .rk-wp .product-card :is(.packaging-caption,.price-caption){
  color:#b5cebf;
}
[data-rk-theme="dark"] .rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  background:#233a33;
  color:#dbece2;
  border-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .product-card .card-bottom,
[data-rk-theme="dark"] .rk-wp .product-card.price-demo-card .card-bottom{
  border-top-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .rk-card-bottom-actions .card-action-icon:last-child{
  background:#233a33;
  color:#58c7be;
  border-color:rgba(88,199,190,.12);
}

/* 3) Footer compaction + richer but softer hover */
.rk-wp .site-footer{
  padding-top:clamp(112px,8vw,124px);
  padding-bottom:18px;
}
.rk-wp .site-footer .footer-grid{
  min-height:0;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1fr);
  gap:22px clamp(18px,3vw,42px);
  align-items:start;
}
.rk-wp .site-footer .footer-grid>div{
  min-width:0;
}
.rk-wp .site-footer .footer-grid .rk-footer-title{
  margin-bottom:11px;
}
.rk-wp .site-footer .footer-grid p{
  max-width:unset;
}
.rk-wp .site-footer .footer-logo{
  width:min(160px,100%);
}
.rk-wp .site-footer .footer-links,
.rk-wp .site-footer .rk-footer-menu{
  display:grid;
  gap:7px;
  margin:0;
  padding:0;
}
.rk-wp .site-footer .footer-links a,
.rk-wp .site-footer .rk-footer-menu a,
.rk-wp .site-footer .footer-grid p a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:7px 12px;
  border-radius:12px;
  color:#d8eadd;
  text-decoration:none;
}
.rk-wp .site-footer .footer-links a::before,
.rk-wp .site-footer .rk-footer-menu a::before,
.rk-wp .site-footer .footer-grid p a::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:rgba(88,199,190,.72);
  flex:none;
  box-shadow:0 0 0 4px rgba(88,199,190,.12);
}
.rk-wp .site-footer .footer-links a:hover,
.rk-wp .site-footer .rk-footer-menu a:hover,
.rk-wp .site-footer .footer-grid p a:hover,
.rk-wp .site-footer .footer-links a:focus-visible,
.rk-wp .site-footer .rk-footer-menu a:focus-visible,
.rk-wp .site-footer .footer-grid p a:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.06);
  transform:translateX(-4px);
  text-decoration:none;
}
.rk-wp .site-footer .footer-bottom{
  margin-top:26px;
  padding-top:14px;
}
[data-rk-theme="dark"] .rk-wp .site-footer .footer-links a:hover,
[data-rk-theme="dark"] .rk-wp .site-footer .rk-footer-menu a:hover,
[data-rk-theme="dark"] .rk-wp .site-footer .footer-grid p a:hover{
  background:rgba(255,255,255,.07);
}

/* 4) Web-app-like shared interaction polish */
.rk-wp .btn:hover,
.rk-wp .icon-btn:hover,
.rk-wp .carousel-arrow:hover,
.rk-wp .rk-mode-toggle:hover,
.rk-wp .category-card:hover,
.rk-wp .article-card:hover,
.rk-wp .rk-blog-tile:hover,
.rk-wp .rk-contact-card:hover{
  transform:translateY(-2px);
}
.rk-wp .line-link:hover svg,
.rk-wp .btn:hover svg,
.rk-wp .category-card:hover .round-arrow,
.rk-wp .article-card:hover .round-arrow{
  transform:translateX(-2px);
}
.rk-wp .featured-wrap,
.rk-wp .benefit-rail,
.rk-wp .rk-product-buy-panel,
.rk-wp .rk-product-gallery-wrap,
.rk-wp .rk-product-details-below,
.rk-wp .rk-contact-form-wrap,
.rk-wp .rk-article-aside,
.rk-wp .rk-contact-card{
  box-shadow:0 14px 34px rgba(15,79,74,.07);
}
[data-rk-theme="dark"] .rk-wp :is(.featured-wrap,.benefit-rail,.rk-product-buy-panel,.rk-product-gallery-wrap,.rk-product-details-below,.rk-contact-form-wrap,.rk-article-aside,.rk-contact-card){
  box-shadow:0 18px 38px rgba(0,0,0,.20);
}

/* Responsive product-card/footer adjustments */
@media (max-width:1180px){
  .rk-wp .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .rk-wp .site-footer .footer-grid>div:first-child{
    grid-column:1/-1;
  }
}
@media (max-width:900px){
  .rk-wp .product-card{
    border-radius:0 22px 0 22px;
  }
  .rk-wp .product-card .rk-card-media{
    padding:10px 10px 0;
  }
  .rk-wp .product-card .card-text{
    padding:12px 12px 13px;
    gap:9px;
  }
  .rk-wp .product-card :where(h3,.rk-h3):not(rkx),
  .rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){
    font-size:14px;
  }
}
@media (max-width:640px){
  .rk-wp .product-card{
    border-radius:0 18px 0 18px;
  }
  .rk-wp .product-card .rk-card-media{
    padding:8px 8px 0;
  }
  .rk-wp .product-card .product-image{
    border-radius:0 16px 0 16px;
  }
  .rk-wp .product-card .product-image img{
    padding:14px;
  }
  .rk-wp .product-card .product-status{
    top:10px;
    right:10px;
    min-height:24px;
    padding:3px 8px;
    font-size:10px;
  }
  .rk-wp .rk-card-actions{
    top:16px;
    left:16px;
    gap:5px;
  }
  .rk-wp .rk-card-actions .rk-rabino button,
  .rk-wp .rk-card-actions .rk-rabino a,
  .rk-wp .rk-card-actions > *{
    width:33px;
    height:33px;
    border-radius:12px;
  }
  .rk-wp .product-card .rk-card-category{
    right:14px;
    bottom:8px;
  }
  .rk-wp .product-card .rk-card-category a{
    min-height:24px;
    padding:3px 9px;
    font-size:10px;
  }
  .rk-wp .product-card .card-text{
    padding:10px 10px 11px;
    gap:8px;
  }
  .rk-wp .product-card :where(h3,.rk-h3):not(rkx),
  .rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){
    font-size:12px;
    line-height:1.7;
    min-height:3.4em;
    max-height:3.4em;
  }
  .rk-wp .product-card :is(.packaging-caption,.price-caption){
    font-size:10px;
  }
  .rk-wp .product-card .pack-chips{
    gap:5px;
  }
  .rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
    padding:3px 7px;
    font-size:9px;
  }
  .rk-wp .product-card .card-bottom,
  .rk-wp .product-card.price-demo-card .card-bottom{
    gap:8px;
    padding-top:10px;
  }
  .rk-wp .product-card .price-values strong,
  .rk-wp .product-card .price-values .amount,
  .rk-wp .product-card .price-unavailable{
    font-size:14px;
  }
  .rk-wp .rk-card-bottom-actions{
    gap:6px;
  }
  .rk-wp .rk-card-bottom-actions .card-action-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:12px;
  }
  .rk-wp .site-footer{
    padding-top:102px;
  }
  .rk-wp .site-footer .footer-grid{
    grid-template-columns:minmax(0,1fr);
    gap:18px;
  }
  .rk-wp .site-footer .footer-grid>div:first-child{
    grid-column:auto;
  }
  .rk-wp .site-footer .footer-links a,
  .rk-wp .site-footer .rk-footer-menu a,
  .rk-wp .site-footer .footer-grid p a{
    width:100%;
    padding:8px 11px;
  }
}
@media (prefers-reduced-motion:reduce){
  .rk-wp *,.rk-wp *::before,.rk-wp *::after{
    transition:none !important;
    animation:none !important;
    scroll-behavior:auto !important;
  }
}


/* rk-ux-polish-0622 */

/* v0.6.22 — existing design refined: equal-height cards, hero controls, shared motion, dark archive */

/* 1) Product cards — equal height + more minimal premium look */
.rk-wp .products-grid,
.rk-wp .rk-catalog-grid,
.rk-wp .rk-related-grid,
.rk-wp .rk-product-details-below ul.products,
.rk-wp .related ul.products{
  align-items:stretch;
}
/* Equal-height rows are important on product archives: 1-price and 2-price cards. */
.rk-wp .rk-catalog-grid{
  grid-auto-rows:minmax(0,1fr);
  align-items:stretch;
}
.rk-wp .rk-catalog-grid > .product-card{
  min-height:0;
  height:100%;
  align-self:stretch;
}
.rk-wp #featured .product-track,
.rk-wp .rk-related-grid{
  align-items:stretch;
}
.rk-wp .products-grid > *,
.rk-wp .rk-catalog-grid > *,
.rk-wp .rk-related-grid > *,
.rk-wp .rk-product-details-below ul.products > *,
.rk-wp .related ul.products > *{
  min-width:0;
  display:flex;
}
.rk-wp .product-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:0;
  align-self:stretch;
  box-sizing:border-box;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff,#fcfdfb 78%);
  border:1px solid rgba(15,79,74,.10);
  box-shadow:0 16px 34px rgba(15,79,74,.08);
  overflow:hidden;
}
.rk-wp .product-card::before,
.rk-wp .product-card::after{display:none !important;content:none !important;}
.rk-wp .product-card:hover{
  transform:translateY(-5px);
  border-color:rgba(15,79,74,.18);
  box-shadow:0 20px 38px rgba(15,79,74,.12);
}
.rk-wp .product-card .rk-card-media{
  padding:14px 14px 0;
}
.rk-wp .product-card .product-image{
  aspect-ratio:1/1;
  border-radius:18px;
  border:1px solid rgba(15,79,74,.06);
  background:linear-gradient(180deg,#f4f8f6,#eef4f0);
}
.rk-wp .product-card .product-image::after{display:none;}
.rk-wp .product-card .product-image img{
  padding:16px;
  object-fit:contain;
}
.rk-wp .product-card .rk-card-category{
  right:22px;
  bottom:12px;
}
.rk-wp .product-card .rk-card-category a{
  min-height:26px;
  padding:4px 10px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,79,74,.08);
  color:var(--rk-primary);
  font-size:10px;
  font-weight:800;
}
.rk-wp .product-card .product-status{
  top:18px;
  right:18px;
  box-shadow:0 8px 16px rgba(15,79,74,.10);
}
.rk-wp .product-card .rk-card-actions{
  top:18px;
  left:18px;
}
.rk-wp .product-card .card-text{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:15px 15px 16px;
  min-height:0;
  background:transparent;
}
.rk-wp .product-card :where(h3,.rk-h3):not(rkx),
.rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){
  font-size:15px;
  line-height:1.75;
  font-weight:840;
  min-height:3.5em;
  max-height:3.5em;
}
.rk-wp .product-card .rk-card-title-link{display:block;}
.rk-wp .product-card .rk-card-pack{
  min-height:58px;
}
.rk-wp .product-card .packaging-caption,
.rk-wp .product-card .price-caption{
  font-size:11px;
}
.rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  background:#f2f6f3;
  border-color:rgba(15,79,74,.08);
}
.rk-wp .product-card .card-bottom,
.rk-wp .product-card.price-demo-card .card-bottom{
  margin-top:auto;
  min-height:100px;
  padding-top:12px;
  gap:10px;
  align-items:end;
  border-top:1px solid rgba(15,79,74,.08);
}
.rk-wp .product-card .price-group{
  min-height:70px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.rk-wp .product-card .price-values strong,
.rk-wp .product-card .price-values .amount,
.rk-wp .product-card .price-unavailable{
  font-size:18px;
}
.rk-wp .rk-card-bottom-actions .card-action-icon{
  width:40px;
  height:40px;
  flex-basis:40px;
  border-radius:13px;
}
.rk-wp .rk-card-bottom-actions .card-action-icon:first-child{
  background:var(--rk-primary);
}
.rk-wp .rk-card-bottom-actions .card-action-icon:last-child{
  background:#f1f6f3;
}
[data-rk-theme="dark"] .rk-wp .product-card{
  background:linear-gradient(180deg,#1f302b,#1a2824 78%);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 18px 38px rgba(0,0,0,.22);
}
[data-rk-theme="dark"] .rk-wp .product-card:hover{
  border-color:rgba(88,199,190,.20);
  box-shadow:0 22px 42px rgba(0,0,0,.28);
}
[data-rk-theme="dark"] .rk-wp .product-card .product-image{
  background:linear-gradient(180deg,#273a34,#22322e);
  border-color:rgba(255,255,255,.05);
}
[data-rk-theme="dark"] .rk-wp .product-card .card-text{
  background:transparent;
}
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-category a,
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-actions > *,
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-actions .rk-rabino button,
[data-rk-theme="dark"] .rk-wp .product-card .rk-card-actions .rk-rabino a{
  background:rgba(28,43,39,.9);
  border-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  background:#253731;
  border-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .product-card .card-bottom,
[data-rk-theme="dark"] .rk-wp .product-card.price-demo-card .card-bottom{
  border-top-color:rgba(255,255,255,.08);
}
[data-rk-theme="dark"] .rk-wp .rk-card-bottom-actions .card-action-icon:last-child{
  background:#263933;
}

/* 2) Sticky gallery spacing from header in desktop */
@media (min-width:901px){
  .rk-wp .rk-product-gallery-wrap{
    position:sticky;
    top:188px;
    align-self:start;
  }
}

/* 3) Product tabs in dark mode */
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs{
  background:linear-gradient(180deg,#20312c,#1b2825) !important;
  border-color:rgba(255,255,255,.08) !important;
  color:#e7f1eb;
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs ul.tabs li,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs ul.tabs li{
  background:transparent !important;
  border:0 !important;
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs ul.tabs li a,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs ul.tabs li a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#bfd2c7 !important;
  border:1px solid rgba(255,255,255,.06);
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs ul.tabs li.active a,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs ul.tabs li.active a,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs ul.tabs li a:hover,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs ul.tabs li a:hover{
  background:rgba(88,199,190,.13);
  color:#f5faf7 !important;
  border-color:rgba(88,199,190,.24);
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs .panel,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs .panel,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-Tabs-panel,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-Tabs-panel,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-Reviews,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-Reviews{
  background:transparent !important;
  color:#dbe7df;
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs table,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs table,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs th,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs th,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs td,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs td{
  background:transparent !important;
  color:#dbe7df !important;
  border-color:rgba(255,255,255,.08) !important;
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs :is(p,li,span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),strong,label,:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx)),
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs :is(p,li,span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),strong,label,:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx)),
[data-rk-theme="dark"] .rk-wp .rk-v13-after #reviews,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below #reviews{
  color:#dbe7df !important;
}
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs input,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs input,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs textarea,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs textarea,
[data-rk-theme="dark"] .rk-wp .rk-v13-after .woocommerce-tabs select,
[data-rk-theme="dark"] .rk-wp .rk-product-details-below .woocommerce-tabs select{
  background:#1b2825 !important;
  color:#eef6f0 !important;
  border-color:rgba(255,255,255,.10) !important;
}

/* 4) Header logo dark mode background fix */
html[data-rk-theme="dark"] .rk-wp .site-header .brand{
  padding:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
[data-rk-theme="dark"] .rk-wp .site-header .brand a{
  display:block;
}
[data-rk-theme="dark"] .rk-wp .site-header .rk-header-brand-image,
[data-rk-theme="dark"] .rk-wp .site-header .brand img{
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.14));
}

/* 5) Homepage hero redesign — minimal and cohesive */
.rk-wp .home-hero{
  padding-block:26px 18px;
  background:
    radial-gradient(circle at 12% 20%,rgba(88,199,190,.14),transparent 28%),
    radial-gradient(circle at 84% 14%,rgba(242,215,107,.14),transparent 24%),
    linear-gradient(180deg,#f8faf7 0%,#f3f7f4 100%);
}
.rk-wp .home-hero::after{display:none;}
.rk-wp .home-hero .container#heroSlider{
  position:relative;
  border:1px solid rgba(15,79,74,.08);
  border-radius:36px;
  padding:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(247,250,247,.96));
  box-shadow:0 24px 56px rgba(15,79,74,.09);
  overflow:hidden;
}
.rk-wp .home-hero .container#heroSlider::before{
  content:"";
  position:absolute;
  inset:18px 18px auto auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(88,199,190,.18),transparent 68%);
  pointer-events:none;
}
.rk-wp .home-hero .slide{
  min-height:530px;
}
.rk-wp .home-hero .slide.active{
  grid-template-columns:minmax(0,1fr) minmax(420px,46%);
  gap:24px;
  align-items:center;
}
.rk-wp .slide-copy{
  max-width:560px;
  padding:20px 26px 76px 16px;
}
.rk-wp .slide-copy .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:#edf5f1;
  color:#2f6155;
  font-weight:760;
}
.rk-wp .slide-copy .rk-hero-title{
  margin:18px 0 14px;
  font-size:clamp(38px,4.4vw,58px);
  line-height:1.25;
  letter-spacing:-1.2px;
  color:#173d34;
}
.rk-wp .slide-copy .rk-hero-title em{color:#0f736c;}
.rk-wp .slide-copy p:not(.rk-hero-title){
  max-width:470px;
  margin:0 0 26px;
  color:#60776d;
  font-size:15px;
  line-height:2.05;
}
.rk-wp .slide-buttons{gap:12px;}
.rk-wp .hero-visual{
  height:500px;
  display:flex;
  align-items:stretch;
}
.rk-wp .hero-photo-frame{
  position:relative;
  inset:auto;
  width:100%;
  height:100%;
  border-radius:30px;
  background:linear-gradient(145deg,#eef5f2,#dff0e8);
  border:1px solid rgba(15,79,74,.08);
  overflow:hidden;
  box-shadow:0 16px 34px rgba(15,79,74,.10);
}
.rk-wp .hero-photo-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 0%,rgba(15,79,74,.06) 100%);
}
.rk-wp .hero-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  clip-path:none;
  mask-image:none;
  filter:none;
}
.rk-wp .hero-sticker{
  top:auto;
  right:26px;
  bottom:24px;
  max-width:200px;
  padding:14px 15px;
  border-radius:18px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(15,79,74,.08);
  box-shadow:0 14px 26px rgba(15,79,74,.12);
  color:#234d42;
}
.rk-wp .hero-sticker strong{font-size:16px;}
.rk-wp .hero-vertical{display:none;}
.rk-wp .hero-controls{
  /* Original desktop placement relative to the RTL hero copy, not the redesign's edge. */
  bottom:clamp(36px,4vw,55px);
  right:clamp(20px,3vw,40px);
  gap:10px;
}
.rk-wp .hero-controls button{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(15,79,74,.10);
  background:rgba(255,255,255,.94);
  color:var(--rk-primary);
  box-shadow:0 10px 22px rgba(15,79,74,.10);
}
.rk-wp .hero-controls button:hover{
  transform:translateY(-2px);
  background:var(--rk-primary);
  color:#fff;
}
.rk-wp .home-hero .slide-dots{gap:6px;}
.rk-wp .home-hero .slide-dots button{
  width:9px;
  height:9px;
  border-radius:99px;
  background:#9db9af;
}
.rk-wp .home-hero .slide-dots button.active{
  width:30px;
  background:#0f4f4a;
}
[data-rk-theme="dark"] .rk-wp .home-hero{
  background:
    radial-gradient(circle at 12% 20%,rgba(88,199,190,.12),transparent 28%),
    radial-gradient(circle at 84% 14%,rgba(242,215,107,.10),transparent 24%),
    linear-gradient(180deg,#14211e 0%,#162521 100%);
}
[data-rk-theme="dark"] .rk-wp .home-hero .container#heroSlider{
  background:linear-gradient(180deg,rgba(26,39,35,.92),rgba(21,33,29,.98));
  border-color:rgba(255,255,255,.08);
  box-shadow:0 26px 58px rgba(0,0,0,.28);
}
[data-rk-theme="dark"] .rk-wp .slide-copy .eyebrow{
  background:#203530;
  color:#cde2d5;
}
[data-rk-theme="dark"] .rk-wp .slide-copy .rk-hero-title{color:#f3f7f4;}
[data-rk-theme="dark"] .rk-wp .slide-copy .rk-hero-title em{color:#58c7be;}
[data-rk-theme="dark"] .rk-wp .slide-copy p:not(.rk-hero-title){color:#b9cdc2;}
[data-rk-theme="dark"] .rk-wp .hero-photo-frame{
  background:linear-gradient(145deg,#243631,#1d2c28);
  border-color:rgba(255,255,255,.06);
  box-shadow:0 18px 38px rgba(0,0,0,.26);
}
[data-rk-theme="dark"] .rk-wp .hero-photo-frame::after{
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.16) 100%);
}
[data-rk-theme="dark"] .rk-wp .hero-sticker{
  background:rgba(26,39,35,.88);
  color:#e7f1eb;
  border-color:rgba(255,255,255,.06);
  box-shadow:0 14px 28px rgba(0,0,0,.22);
}
[data-rk-theme="dark"] .rk-wp .hero-controls button{
  background:rgba(29,43,39,.92);
  border-color:rgba(255,255,255,.08);
  color:#eef5f0;
  box-shadow:0 12px 24px rgba(0,0,0,.22);
}
[data-rk-theme="dark"] .rk-wp .home-hero .slide-dots button{background:#5b766c;}
[data-rk-theme="dark"] .rk-wp .home-hero .slide-dots button.active{background:#58c7be;}

@media (max-width:1180px){
  .rk-wp .home-hero .slide.active{grid-template-columns:minmax(0,1fr) minmax(330px,44%);}
  .rk-wp .hero-visual{height:450px;}
}
@media (max-width:900px){
  .rk-wp .home-hero .container#heroSlider{padding:12px;border-radius:28px;}
  .rk-wp .home-hero .slide.active{display:flex;flex-direction:column-reverse;min-height:auto;gap:14px;}
  .rk-wp .hero-visual{height:320px;width:100%;}
  .rk-wp .slide-copy{max-width:100%;padding:10px 10px 70px;text-align:center;}
  .rk-wp .slide-copy .eyebrow{justify-content:center;}
  .rk-wp .slide-copy p:not(.rk-hero-title){margin-inline:auto;}
  .rk-wp .slide-buttons{justify-content:center;}
  .rk-wp .hero-controls{right:50%;transform:translateX(50%);bottom:28px;}
}
@media (max-width:640px){
  .rk-wp .product-card{border-radius:18px;}
  .rk-wp .product-card .rk-card-media{padding:10px 10px 0;}
  .rk-wp .product-card .product-image{border-radius:14px;}
  .rk-wp .product-card .product-image img{padding:12px;}
  .rk-wp .product-card :where(h3,.rk-h3):not(rkx),
  .rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){font-size:12px;min-height:3.4em;max-height:3.4em;}
  .rk-wp .product-card .rk-card-pack{min-height:52px;}
  .rk-wp .product-card .card-bottom,
  .rk-wp .product-card.price-demo-card .card-bottom{min-height:103px;}
  .rk-wp .product-card .price-group{min-height:73px;}
  .rk-wp .product-card .product-status{top:10px;right:10px;}
  .rk-wp .product-card .rk-card-actions{top:10px;left:10px;}
  .rk-wp .product-card .card-text{padding:11px 10px 12px;gap:8px;}
  .rk-wp .product-card .price-values strong,
  .rk-wp .product-card .price-values .amount,
  .rk-wp .product-card .price-unavailable{font-size:14px;}
  .rk-wp .home-hero{padding-block:18px 10px;}
  .rk-wp .home-hero .container#heroSlider{border-radius:24px;padding:10px;}
  .rk-wp .hero-visual{height:250px;width:100%;}
  .rk-wp .hero-photo-frame{border-radius:22px;}
  .rk-wp .slide-copy{padding:8px 6px 66px;}
  .rk-wp .slide-copy .rk-hero-title{font-size:clamp(29px,7.4vw,35px);line-height:1.32;letter-spacing:-.5px;}
  .rk-wp .slide-copy p:not(.rk-hero-title){font-size:13px;line-height:1.9;margin-bottom:18px;}
  .rk-wp .hero-sticker{right:14px;bottom:14px;padding:10px 11px;max-width:150px;font-size:10px;}
  .rk-wp .hero-sticker strong{font-size:13px;}
  .rk-wp .hero-controls{gap:8px;bottom:26px;}
  .rk-wp .hero-controls button{width:36px;height:36px;border-radius:12px;}
}

/* Motion continuity: focus and hover share visual feedback. No scroll-trigger hiding. */
.rk-wp :is(.product-card,.category-card,.article-card,.rk-blog-tile,.btn,.carousel-arrow,.icon-btn,.rk-primary-links>li>a){
  transition-property:background-color,border-color,color,box-shadow,transform,opacity;
  transition-duration:.26s;
  transition-timing-function:cubic-bezier(.22,.85,.3,1);
}
.rk-wp .product-card .product-image img{
  transition:transform .38s cubic-bezier(.22,.85,.3,1);
}
.rk-wp :is(.btn,.icon-btn,.carousel-arrow):active:not(:disabled){transform:translateY(0) scale(.98);}
@media (hover:hover) and (pointer:fine){
  .rk-wp :is(.product-card,.category-card,.article-card,.rk-blog-tile):hover{will-change:transform;}
}
@media(prefers-reduced-motion:reduce){
  .rk-wp :is(.product-card,.category-card,.article-card,.rk-blog-tile,.btn,.carousel-arrow,.icon-btn,.rk-primary-links>li>a),
  .rk-wp .product-card .product-image img{transition-duration:0s;}
}


/* rk-ux-polish-0623 */
/* v0.6.23 — hero cleanup, inline controls, draggable carousels and refined empty/archive states */

/* --- 1) Homepage hero: cleaner top-right decor, compact sticker, controls back inside slider --- */
.rk-wp .home-hero .container#heroSlider{
  position:relative;
  overflow:hidden;
}
.rk-wp .hero-photoleaf-right{
  display:none;
}
.rk-wp .home-hero .container#heroSlider::after{
  content:"";
  position:absolute;
  inset:22px 22px auto auto;
  width:clamp(112px,12vw,168px);
  height:clamp(112px,12vw,168px);
  border-radius:28px 86px 24px 82px;
  background:
    radial-gradient(circle at 34% 35%,rgba(255,255,255,.24),transparent 48%),
    radial-gradient(circle at 72% 76%,rgba(88,199,190,.16),transparent 44%),
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 14px 34px rgba(6,24,18,.12);
  pointer-events:none;
  opacity:.78;
}
.rk-wp .hero-visual{
  position:relative;
  isolation:isolate;
}
.rk-wp .hero-sticker{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  width:auto;
  min-width:min(160px,40%);
  min-height:0;
  max-width:min(220px,48%);
  height:auto;
  padding:13px 14px;
  inset:auto 22px 20px auto;
  border-radius:20px;
  text-align:right;
  line-height:1.6;
}
.rk-wp .hero-sticker strong{
  display:block;
  line-height:1.35;
}
.rk-wp .slide-copy.has-inline-hero-controls .hero-controls{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin-top:18px;
  width:max-content;
  max-width:100%;
}
.rk-wp .slide-copy.has-inline-hero-controls .slide-dots{
  order:2;
}
.rk-wp .slide-copy.has-inline-hero-controls .hero-controls button{
  position:relative;
}
[data-rk-theme="dark"] .rk-wp .home-hero .container#heroSlider::after{
  background:
    radial-gradient(circle at 36% 35%,rgba(255,255,255,.12),transparent 46%),
    radial-gradient(circle at 72% 76%,rgba(88,199,190,.15),transparent 40%),
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01));
  border-color:rgba(255,255,255,.05);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 36px rgba(0,0,0,.24);
  opacity:.72;
}
@media (max-width:900px){
  .rk-wp .slide-copy.has-inline-hero-controls .hero-controls{
    justify-content:center;
    width:100%;
    margin-top:16px;
  }
}
@media (max-width:640px){
  .rk-wp .home-hero .container#heroSlider::after{
    inset:14px 14px auto auto;
    width:88px;
    height:88px;
    border-radius:22px 44px 20px 42px;
    opacity:.62;
  }
  .rk-wp .hero-sticker{
    min-width:0;
    max-width:min(156px,58%);
    inset:auto 12px 12px auto;
    padding:9px 10px;
  }
}

/* --- 2) Product cards: enforce equal visual rhythm --- */
.rk-wp .rk-catalog-grid{grid-auto-rows:1fr;}
.rk-wp .rk-catalog-grid > .product-card,
.rk-wp .products-grid > .product-card,
.rk-wp .rk-related-grid > .product-card{
  height:100%;
}
.rk-wp .product-card{
  grid-template-rows:auto 1fr;
}
.rk-wp .product-card .card-text{
  align-content:start;
}
.rk-wp .product-card .rk-card-title-link{
  min-height:3.6em;
}
.rk-wp .product-card .price-values{
  min-height:44px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.rk-wp .product-card .price-values del,
.rk-wp .product-card .price-values ins{
  display:block;
}
.rk-wp .product-card .pack-chips{
  min-height:26px;
  align-items:center;
}
.rk-wp .product-card .product-image::before,
.rk-wp .product-card .product-image::after,
.rk-wp .product-card::before{
  display:none !important;
}

/* --- 3) Drag-and-drop for all carousels --- */
.rk-wp .rk-draggable-track{
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y pinch-zoom;
  scroll-behavior:smooth;
}
.rk-wp .rk-draggable-track > *{
  user-select:none;
  -webkit-user-drag:none;
}
.rk-wp .rk-draggable-track.is-dragging{
  cursor:grabbing;
  scroll-snap-type:none !important;
}
.rk-wp .rk-draggable-track.is-dragging a,
.rk-wp .rk-draggable-track.is-dragging button,
.rk-wp .rk-draggable-track.is-dragging img{
  pointer-events:none;
}

/* --- 4) Archive: richer count, cleaner sidebar separators, better empty state --- */
.rk-wp .rk-catalog-top{
  align-items:center;
  gap:16px;
}
.rk-wp .rk-catalog-count{
  display:inline-flex;
  align-items:center;
  gap:11px;
  margin:0;
  padding:8px 14px 8px 10px;
  border-radius:999px;
  background:linear-gradient(180deg,#f8fcf9,#edf6f1);
  border:1px solid rgba(15,79,74,.10);
  box-shadow:0 10px 22px rgba(15,79,74,.06);
  color:#33564b;
}
.rk-wp .rk-catalog-count::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(180deg,#58c7be,#0f4f4a);
  box-shadow:0 0 0 5px rgba(88,199,190,.13);
}
.rk-wp .rk-catalog-count-number{
  font-size:16px;
  font-weight:900;
  color:#0f4f4a;
}
.rk-wp .rk-catalog-count-label{
  font-size:12px;
  font-weight:740;
}
.rk-wp .rk-catalog-sidebar ul{
  display:grid;
  gap:0;
}
.rk-wp .rk-catalog-sidebar li{
  margin:0;
  border-bottom:1px solid rgba(15,79,74,.10);
}
.rk-wp .rk-catalog-sidebar li:last-child{
  border-bottom:0 !important;
}
.rk-wp .rk-catalog-sidebar a{
  border-bottom:0;
  border-radius:0;
  padding-inline:4px 0;
}
.rk-wp .rk-catalog-sidebar a:hover,
.rk-wp .rk-catalog-sidebar a:focus-visible{
  transform:none;
}
.rk-wp .rk-empty-catalog{
  grid-column:1/-1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:300px;
  padding:28px 18px;
  border-radius:28px;
  background:linear-gradient(180deg,#f8fbf8,#eef5f0);
  border:1px solid rgba(15,79,74,.08);
  box-shadow:0 18px 36px rgba(15,79,74,.06);
  text-align:center;
}
.rk-wp .rk-empty-catalog .rk-empty-icon{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:linear-gradient(180deg,#e8f6f1,#ddefe7);
  color:#0f4f4a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.rk-wp .rk-empty-catalog .rk-empty-icon .rk-icon{
  width:28px;
  height:28px;
}
.rk-wp .rk-empty-catalog :where(h3,.rk-h3):not(rkx){
  margin:2px 0 0;
  font-size:22px;
  color:#173d34;
}
.rk-wp .rk-empty-catalog p{
  max-width:420px;
  margin:0;
  color:#587268;
  line-height:1.95;
}
.rk-wp .rk-empty-catalog .rk-empty-link{
  margin-top:4px;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-count{
  background:linear-gradient(180deg,#233630,#1d2d28);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  color:#d0e3d9;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-count-number{
  color:#f3f8f5;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar li{
  border-bottom-color:#355145 !important;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a{
  color:#dceadf;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a:hover,
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a:focus-visible{
  background:#2d473d;
  color:#fff;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a[aria-current="page"]{
  background:#35584a;
  border-color:transparent;
}
[data-rk-theme="dark"] .rk-wp .rk-empty-catalog{
  background:linear-gradient(180deg,#1f302b,#1a2824);
  border-color:rgba(255,255,255,.06);
  box-shadow:0 22px 42px rgba(0,0,0,.22);
}
[data-rk-theme="dark"] .rk-wp .rk-empty-catalog .rk-empty-icon{
  background:linear-gradient(180deg,#294039,#21322d);
  color:#eaf4ef;
}
[data-rk-theme="dark"] .rk-wp .rk-empty-catalog :where(h3,.rk-h3):not(rkx){
  color:#f4faf6;
}
[data-rk-theme="dark"] .rk-wp .rk-empty-catalog p{
  color:#b8cdc2;
}
[data-rk-theme="dark"] .rk-wp .page-hero h1,
[data-rk-theme="dark"] .rk-wp .page-hero p,
[data-rk-theme="dark"] .rk-wp .page-hero .eyebrow,
[data-rk-theme="dark"] .rk-wp .rk-catalog-sort-label,
[data-rk-theme="dark"] .rk-wp .rk-catalog .rk-catalog-sort-value,
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar :where(h2,.rk-h2):not(rkx),
[data-rk-theme="dark"] .rk-wp .rk-pagination__number,
[data-rk-theme="dark"] .rk-wp .rk-pagination__arrow{
  text-shadow:none;
}
@media (max-width:900px){
  .rk-wp .rk-catalog-top{
    align-items:stretch;
  }
  .rk-wp .rk-catalog-count{
    align-self:flex-start;
  }
}
@media (max-width:640px){
  .rk-wp .rk-catalog-count{
    padding:7px 12px 7px 10px;
    gap:9px;
  }
  .rk-wp .rk-catalog-count-number{font-size:14px;}
  .rk-wp .rk-catalog-count-label{font-size:11px;}
  .rk-wp .rk-empty-catalog{
    min-height:240px;
    border-radius:22px;
    padding:22px 14px;
  }
  .rk-wp .rk-empty-catalog :where(h3,.rk-h3):not(rkx){font-size:18px;}
  .rk-wp .rk-catalog-sidebar ul{
    display:flex;
    gap:8px;
  }
  .rk-wp .rk-catalog-sidebar li{
    border-bottom:0 !important;
  }
  .rk-wp .rk-catalog-sidebar a{
    border:1px solid var(--rk-border);
    border-radius:999px;
    padding:8px 12px;
  }
  [data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a{
    border-color:#3e5f52;
  }
}

/* --- 5) Footer dark-mode polish --- */
[data-rk-theme="dark"] .rk-wp .site-footer .footer-grid{
  gap:26px 34px;
  align-items:start;
}
[data-rk-theme="dark"] .rk-wp .site-footer .footer-logo{
  width:min(168px,100%);
  height:auto;
  filter:none;
}
[data-rk-theme="dark"] .rk-wp .site-footer .footer-links a,
[data-rk-theme="dark"] .rk-wp .site-footer .footer-grid p a{
  transition:color .24s ease, transform .24s ease, opacity .24s ease;
}
[data-rk-theme="dark"] .rk-wp .site-footer .footer-links a:hover,
[data-rk-theme="dark"] .rk-wp .site-footer .footer-grid p a:hover{
  transform:translateX(-3px);
}


/* rk-ux-refinement-0624 */
/* Rayehe Kimia 0.6.24 — focused refinement only; loaded after 0.6.23.
   All commerce state, Core form processing, and WordPress menus remain native. */

/* 1. Hero — all slide layouts share one intrinsic grid cell. Unlike display:none,
   invisible slides still contribute to the maximum content height, preventing
   the page beneath the hero from jumping when headings vary. No fixed tall
   mobile viewport is introduced. The controls move into #heroSlider ONCE. */
.rk-wp .home-hero .container#heroSlider.rk-hero-motion {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  position:relative;
  isolation:isolate;
  padding-bottom:80px;
}
.rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide {
  grid-area:1 / 1;
  display:grid;
  position:relative;
  width:100%;
  min-width:0;
  min-height:clamp(405px,35vw,480px);
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  align-items:center;
  gap:clamp(12px,2vw,27px);
  direction:rtl;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(9px);
  transition:opacity .56s cubic-bezier(.22,1,.36,1),
    transform .56s cubic-bezier(.22,1,.36,1), visibility 0s linear .56s;
}
.rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide.active {
  display:grid;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
  transition:opacity .56s cubic-bezier(.22,1,.36,1),
    transform .56s cubic-bezier(.22,1,.36,1), visibility 0s;
}
.rk-wp.home .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-split-reverse {direction:ltr;}
.rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide .slide-copy,
.rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide .hero-visual{direction:rtl;}
.rk-wp.home .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full {
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
}
.rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide .slide-copy{padding-bottom:18px;}
/* Stable controls: outside both changing slide copies, but aligned beneath the
   text column. The reserved container padding prevents collision with CTAs. */
.rk-wp .home-hero #heroSlider.rk-hero-motion > .hero-controls {
  position:absolute;
  z-index:20;
  inset:auto auto 24px auto;
  inset-inline-start:clamp(28px,5vw,78px);
  inset-inline-end:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:calc(100% - 32px);
  margin:0;
  transform:none;
  gap:9px;
}
/* Remove only the extraneous decorative leaf, and the generic v0.6.23
   floating overlay. Keep all product imagery and shared botanical assets. */
.rk-wp.home .home-hero .hero-photoleaf-left,
.rk-wp.home .home-hero .hero-botanical-splash{display:none;}
.rk-wp .home-hero .container#heroSlider::after{content:none;}
/* The sticker is a small inline label for both dynamic tagline and fallback. */
.rk-wp.home .home-hero .hero-sticker {
  display:inline-flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  column-gap:5px;
  row-gap:1px;
  width:max-content;
  min-width:0;
  max-width:min(245px,65%);
  min-height:0;
  height:auto;
  inset:auto 16px 16px auto;
  padding:7px 12px;
  border-radius:13px;
  background:var(--rk-card);
  border:1px solid var(--rk-border);
  box-shadow:0 7px 18px rgba(15,79,74,.10);
  font-size:12px;
  line-height:1.65;
  font-weight:700;
  text-align:center;
  white-space:normal;
  color:var(--rk-ink);
}
.rk-wp.home .home-hero .hero-sticker :is(strong,span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6))){
  display:inline;
  font:inherit;
  font-weight:800;
  line-height:inherit;
}
/* Dark mode uses the pre-existing semantic surfaces. */
[data-rk-theme="dark"] .rk-wp.home .home-hero .hero-sticker {
  background:rgba(28,44,38,.94);
  border-color:var(--rk-border);
  color:var(--rk-ink);
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}

/* 2 & 3. Product cards — equal HEIGHT per grid row, not per entire archive.
   Remove rigid 58/70/100px blocks and the 1fr implicit-row forcing. */
.rk-wp .rk-catalog-grid{grid-auto-rows:auto;align-items:stretch;}
.rk-wp .product-card {
  transition:transform .34s cubic-bezier(.22,1,.36,1),
    box-shadow .34s cubic-bezier(.22,1,.36,1),
    border-color .28s ease, background-color .28s ease;
}
.rk-wp .product-card .card-text{gap:7px;padding:12px 13px 13px;}
.rk-wp .product-card .rk-card-title-link{min-height:0;}
.rk-wp .product-card :where(h3,.rk-h3):not(rkx),
.rk-wp .product-card.price-demo-card :where(h3,.rk-h3):not(rkx){
  min-height:0;
  max-height:none;
  margin:0;
  overflow-wrap:anywhere;
  line-height:1.65;
}
.rk-wp .product-card .rk-card-pack{min-height:0;margin:0;}
.rk-wp .product-card .pack-chips{min-height:0;}
.rk-wp .product-card .price-group{min-height:0;justify-content:flex-end;gap:3px;min-width:0;}
.rk-wp .product-card .price-values{
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
  overflow-wrap:break-word;
  line-height:1.65;
}
.rk-wp .product-card .card-bottom,
.rk-wp .product-card.price-demo-card .card-bottom{
  min-height:0;
  margin-top:auto;
  padding-top:9px;
  gap:9px;
  align-items:center;
}
.rk-wp .product-card .rk-card-bottom-actions{flex-shrink:0;}
.rk-wp .product-card .product-image img{
  transition:transform .37s cubic-bezier(.22,1,.36,1);
  transform-origin:center;
}
.rk-wp .product-card .card-action-icon{
  transition:transform .23s cubic-bezier(.22,1,.36,1),
    background-color .23s ease, box-shadow .23s ease, border-color .23s ease;
}
@media(hover:hover) and (pointer:fine){
  .rk-wp .product-card:hover{transform:translateY(-4px);border-color:rgba(15,79,74,.25);box-shadow:0 20px 36px rgba(15,79,74,.13);}
  .rk-wp .product-card:hover .product-image img{transform:scale(1.028);}
  .rk-wp .product-card .card-action-icon:hover{transform:translateY(-2px);box-shadow:0 7px 15px rgba(15,79,74,.15);}
  [data-rk-theme="dark"] .rk-wp .product-card:hover{border-color:rgba(88,199,190,.34);box-shadow:0 21px 38px rgba(0,0,0,.29);}
}
@media(hover:none),(pointer:coarse){
  .rk-wp .product-card:hover{transform:none;}
  .rk-wp .product-card:hover .product-image img{transform:none;}
}

@media(hover:hover) and (pointer:fine){
  .rk-wp.home #featured .product-card:hover{box-shadow:0 20px 36px rgba(15,79,74,.13);}
  [data-rk-theme="dark"] .rk-wp.home #featured .product-card:hover{box-shadow:0 21px 38px rgba(0,0,0,.29);}
}

/* 4. Product groups: amend the square v0.6.23 links at the source of their
   specificity; restore rounded active, focus and hover items in both themes. */
.rk-wp .rk-catalog-sidebar{border-radius:20px;background:var(--rk-card);border-color:var(--rk-border);}
.rk-wp .rk-catalog-sidebar ul{gap:4px;}
.rk-wp .rk-catalog-sidebar li{border:0;}
.rk-wp .rk-catalog-sidebar a{
  display:block;
  padding:9px 11px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--rk-ink);
  font-weight:650;
  line-height:1.7;
  transition:background-color .24s ease,border-color .24s ease,color .24s ease;
}
.rk-wp .rk-catalog-sidebar a:is(:hover,:focus-visible){
  transform:none;
  background:var(--rk-brand-soft);
  border-color:var(--rk-border);
  color:var(--rk-primary);
}
.rk-wp .rk-catalog-sidebar a[aria-current="page"]{
  background:var(--rk-brand-soft);
  border-color:var(--rk-border);
  color:var(--rk-primary);
  font-weight:850;
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a{
  color:var(--rk-ink);
}
[data-rk-theme="dark"] .rk-wp .rk-catalog-sidebar a:is(:hover,:focus-visible,[aria-current="page"]){
  background:#2d473d;
  color:#f0faf3;
  border-color:#436759;
}

/* 5. Wholesale — original imagery, copy, steps and shortcode form are reused. */
.rk-wp .rk-wholesale-page .rk-wholesale-hero{
  padding-block:clamp(30px,4vw,56px);
  background:var(--rk-page);
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-grid{
  gap:clamp(24px,4vw,60px);
  align-items:center;
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-copy h1{
  font-size:clamp(29px,3.25vw,46px);
  line-height:1.4;
  max-width:17ch;
  margin:9px 0 13px;
  color:var(--rk-ink);
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-copy p{
  max-width:57ch;
  line-height:2.02;
  color:var(--rk-sub);
}
.rk-wp .rk-wholesale-page .rk-wholesale-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:18px 0 23px;
}
.rk-wp .rk-wholesale-page .rk-wholesale-tags span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  padding:5px 11px;
  border-radius:10px;
  background:var(--rk-brand-soft);
  border:1px solid var(--rk-border);
  color:var(--rk-ink);
  font-weight:700;
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-copy .btn{
  border-radius:13px;
  background:var(--rk-primary);
  color:var(--rk-primary-text,#fff);
  border-color:var(--rk-primary);
  transition:background-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-copy .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(15,79,74,.17);
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{
  height:clamp(330px,37vw,505px);
  border-radius:28px;
  background:var(--rk-brand-soft);
  border:1px solid var(--rk-border);
  box-shadow:var(--rk-raised-sm);
}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo::before{content:none;}
.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{
  width:100%;height:100%;object-fit:contain;
  padding:clamp(9px,1.5vw,22px);
}
.rk-wp .rk-wholesale-page .rk-b2b-flow{padding-block:clamp(33px,4vw,58px);}
.rk-wp .rk-wholesale-page .rk-b2b-flow .rk-section-intro{margin-bottom:24px;}
.rk-wp .rk-wholesale-page .rk-b2b-steps{
  gap:clamp(10px,1.7vw,19px);
  align-items:stretch;
}
.rk-wp .rk-wholesale-page .rk-b2b-steps article{
  display:flex;
  flex-direction:column;
  padding:clamp(18px,2.1vw,27px);
  border-radius:17px;
  border:1px solid var(--rk-border);
  background:var(--rk-card);
  box-shadow:var(--rk-raised-sm);
  transition:transform .3s cubic-bezier(.22,1,.36,1),border-color .3s ease,box-shadow .3s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-steps article>span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  width:auto;height:auto;align-self:flex-start;
  padding:3px 9px;
  border-radius:9px;
  line-height:1.65;
  font-size:12px;
  font-weight:850;
  background:var(--rk-brand-soft);
  color:var(--rk-primary);
}
.rk-wp .rk-wholesale-page .rk-b2b-steps article :where(h3,.rk-h3):not(rkx){margin:13px 0 7px;line-height:1.5;}
.rk-wp .rk-wholesale-page .rk-b2b-steps article p{margin:0;line-height:1.9;}
@media(hover:hover) and (pointer:fine){
  .rk-wp .rk-wholesale-page .rk-b2b-steps article:hover{
    transform:translateY(-3px);
    border-color:var(--rk-primary);
    box-shadow:var(--rk-raised);
  }
}
.rk-wp .rk-wholesale-page .rk-b2b-form-layout{
  align-items:start;
  gap:clamp(20px,3.5vw,44px);
  padding-block:clamp(20px,3vw,38px) clamp(46px,5vw,75px);
  scroll-margin-top:100px;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro :where(h2,.rk-h2):not(rkx){line-height:1.52;}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro img{
  max-height:245px;
  width:100%;
  object-fit:contain;
  background:var(--rk-brand-soft);
  border:1px solid var(--rk-border);
  border-radius:17px;
  padding:8px;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card{
  padding:clamp(19px,2.7vw,34px);
  border-radius:20px;
  background:var(--rk-card);
  border:1px solid var(--rk-border);
  box-shadow:var(--rk-raised-sm);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card form{gap:14px;}
.rk-wp .rk-wholesale-page .rk-b2b-form-card form>label{
  min-width:0;
  width:100%;
  line-height:1.75;
  gap:6px;
  color:var(--rk-ink);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card :is(input:not([type="checkbox"]),textarea){
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:48px;
  padding:10px 13px;
  border-radius:11px;
  border:1px solid var(--rk-border);
  background:var(--rk-surface);
  color:var(--rk-ink);
  font:inherit;
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card textarea{
  min-height:136px;
  resize:vertical;
  line-height:1.95;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card :is(input:not([type="checkbox"]),textarea):focus-visible{
  border-color:var(--rk-primary);
  outline:2px solid var(--rk-focus);
  outline-offset:2px;
  box-shadow:0 0 0 3px var(--rk-brand-soft);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-check-consent{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  font-weight:600;
  line-height:1.8;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-check-consent input{
  flex:none;
  width:18px;
  height:18px;
  min-height:0;
  margin:5px 0 0;
  accent-color:var(--rk-primary);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card button[type="submit"]{
  min-height:48px;
  width:100%;
  border-radius:12px;
  background:var(--rk-primary);
  color:var(--rk-primary-text,#fff);
  transition:background-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(15,79,74,.17);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card :is(.rk-message-success,.rk-message-error){
  padding:12px 14px;
  border-radius:11px;
  font-weight:700;
  line-height:1.9;
}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-card :is(input:not([type="checkbox"]),textarea){
  background:var(--rk-surface);
  color:var(--rk-ink);
  border-color:var(--rk-border);
}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-wholesale-hero-copy .btn,
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-card button[type="submit"]{
  background:var(--rk-primary);
  color:var(--rk-primary-text,#fff);
}

/* 6. Sale badge — the existing WooCommerce status remains authoritative. */
.rk-wp .product-card .product-status--sale{
  z-index:5;
  padding:5px 10px;
  min-height:26px;
  border-radius:9px;
  border:1px solid rgba(128,93,28,.17);
  background:#f7ead0;
  color:#795017;
  font-size:11px;
  font-weight:850;
  line-height:1.4;
  white-space:nowrap;
  box-shadow:0 5px 12px rgba(53,43,20,.08);
}
[data-rk-theme="dark"] .rk-wp .product-card .product-status--sale{
  background:#5a4527;
  border-color:#806039;
  color:#fff0ce;
  box-shadow:0 5px 12px rgba(0,0,0,.19);
}
/* Product sale badge remains at the right; Rabino actions remain at the left. */

@media(max-width:900px){
  .rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide,
  .rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide.active,
  .rk-wp.home .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full{
    display:flex;
    flex-direction:column-reverse;
    gap:12px;
    align-items:stretch;
    min-height:0;
    direction:rtl;
  }
  .rk-wp .home-hero #heroSlider.rk-hero-motion{padding-bottom:65px;}
  .rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide .slide-copy{padding-bottom:10px;}
  .rk-wp .home-hero #heroSlider.rk-hero-motion > .hero-controls{
    inset:auto 50% 18px auto;
    transform:translateX(50%);
    justify-content:center;
  }
  .rk-wp .rk-wholesale-page .rk-wholesale-hero-grid,
  .rk-wp .rk-wholesale-page .rk-b2b-form-layout{grid-template-columns:1fr;}
  .rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{height:clamp(300px,55vw,400px);}
}
@media(max-width:640px){
  .rk-wp .home-hero #heroSlider.rk-hero-motion{padding-bottom:59px;}
  .rk-wp .home-hero #heroSlider.rk-hero-motion > .hero-controls{bottom:13px;}
  .rk-wp.home .home-hero .hero-sticker{
    max-width:min(200px,66%);
    inset:auto 10px 10px auto;
    padding:5px 9px;
    font-size:10px;
    border-radius:10px;
  }
  .rk-wp .product-card .card-text{padding:10px 9px 11px;gap:6px;}
  .rk-wp .product-card .rk-card-pack{min-height:0;}
  .rk-wp .product-card .card-bottom,
  .rk-wp .product-card.price-demo-card .card-bottom{min-height:0;gap:5px;padding-top:8px;}
  .rk-wp .product-card .price-group{min-height:0;}
  .rk-wp .product-card .price-values{min-height:0;}
  .rk-wp .rk-catalog-sidebar a{padding:8px 11px;border-radius:11px;}
  .rk-wp .rk-wholesale-page .rk-wholesale-hero{padding-block:23px 28px;}
  .rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{height:clamp(235px,68vw,320px);border-radius:18px;}
  .rk-wp .rk-wholesale-page .rk-wholesale-hero-copy h1{font-size:clamp(27px,7.5vw,35px);}
  .rk-wp .rk-wholesale-page .rk-b2b-steps article{padding:17px;border-radius:14px;}
  .rk-wp .rk-wholesale-page .rk-b2b-form-card{padding:18px 14px;border-radius:16px;}
  .rk-wp .rk-wholesale-page .rk-b2b-form-intro img{max-height:205px;}
  .rk-wp .product-card .product-status--sale{padding:4px 8px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce){
  .rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide,
  .rk-wp.home .home-hero #heroSlider.rk-hero-motion > .slide.active{
    transition:none;
    transform:none;
  }
  .rk-wp .product-card,
  .rk-wp .product-card .product-image img,
  .rk-wp .product-card .card-action-icon,
  .rk-wp .rk-catalog-sidebar a,
  .rk-wp .rk-wholesale-page :is(.rk-b2b-steps article,.btn,button[type="submit"]){
    transition:none;
    transform:none;
  }
}


/* rk-ux-refinement-0625 */
/* Rayehe Kimia v0.6.25 — targeted components only. */

/* Product cards: stretch only within each actual row / carousel track.  No fixed
   per-card heights, and no equalization across unrelated archive grid rows. */
.rk-wp :is(.products-grid,.rk-catalog-grid,.rk-product-details-below ul.products,.related ul.products){align-items:stretch}
.rk-wp .rk-catalog-grid{grid-auto-rows:auto}
.rk-wp :is(#featured .product-track,.rk-related-grid,.rk-article-product-track){align-items:stretch}
.rk-wp :is(.products-grid,.rk-catalog-grid,.rk-product-details-below ul.products,.related ul.products) > .product-card,
.rk-wp #featured .product-track > .product-card,
.rk-wp .rk-related-grid > .product-card,
.rk-wp .rk-article-product-track > .product-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  height:auto;
  align-self:stretch;
}
.rk-wp :is(.products-grid,.rk-catalog-grid,.rk-product-details-below ul.products,.related ul.products) > .product-card{height:100%}
.rk-wp .product-card .rk-card-media{flex:0 0 auto;min-width:0}
.rk-wp .product-card .card-text{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0}
.rk-wp .product-card .rk-card-title-link{flex:none;min-width:0}
.rk-wp .product-card .rk-card-pack{flex:none;margin-top:0}
.rk-wp .product-card .card-bottom,
.rk-wp .product-card.price-demo-card .card-bottom{margin-top:auto;min-width:0}
.rk-wp .product-card .price-group,
.rk-wp .product-card .price-values{min-width:0;overflow-wrap:anywhere}

/* Footer: no inherited foliage pseudo-decoration; preserve upper CTA leaves. */
.rk-wp .site-footer::after{content:none;display:none}
.rk-wp .site-footer .footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.23fr) minmax(0,.94fr) minmax(0,1.05fr) minmax(145px,.83fr);
  gap:clamp(20px,3vw,43px);
  align-items:start;
}
.rk-wp .site-footer .footer-grid > div{min-width:0;border:0;border-inline:0;padding-inline:0}
.rk-wp .site-footer .footer-grid > div:nth-child(1){order:1}
.rk-wp .site-footer .footer-grid > div:nth-child(2){order:2}
.rk-wp .site-footer .footer-grid > div:nth-child(3){order:3}
.rk-wp .site-footer .footer-grid > div:nth-child(4){order:4}
.rk-wp .site-footer .rk-footer-logo-link{
  display:inline-flex;
  align-items:center;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  max-width:100%;
  text-decoration:none;
}
.rk-wp .site-footer .footer-logo{
  display:block;
  width:min(185px,100%);
  max-width:100%;height:auto;
  object-fit:contain;
  margin:0 0 14px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
/* Bundled PNG is dark green on transparency; only the bundled logo needs a
   white treatment.  Administrator-uploaded logos keep their original pixels. */
.rk-wp .site-footer .footer-logo.rk-footer-default-logo,
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-logo.rk-footer-default-logo{
  filter:brightness(0) invert(1);
}
.rk-wp .site-footer .footer-logo.rk-footer-custom-logo,
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-logo.rk-footer-custom-logo{
  filter:none;
}
.rk-wp .site-footer .rk-footer-trust .rk-footer-title{margin-bottom:12px}
.rk-wp .site-footer .rk-footer-enamad-slot{
  width:100%;min-height:125px;max-width:220px;
  display:grid;place-items:center;
  box-sizing:border-box;
  padding:14px 16px;
  border:1px dashed rgba(210,231,217,.36);
  border-radius:15px;
  background:rgba(255,255,255,.025);
  text-align:center;
}
.rk-wp .site-footer .rk-footer-enamad-slot span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  max-width:15ch;
  font-size:12px;font-weight:650;line-height:1.9;
  color:#bbd4c7;
}
@media(max-width:1100px){
  .rk-wp .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 30px}
  .rk-wp .site-footer .footer-grid > div{grid-column:auto}
  .rk-wp .site-footer .rk-footer-enamad-slot{min-height:105px}
}
@media(max-width:640px){
  .rk-wp .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}
  .rk-wp .site-footer .footer-grid > .rk-footer-brand,
  .rk-wp .site-footer .footer-grid > .rk-footer-trust{grid-column:1 / -1}
  .rk-wp .site-footer .rk-footer-enamad-slot{min-height:88px;max-width:100%}
}
@media(max-width:370px){
  .rk-wp .site-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .rk-wp .site-footer .footer-grid > div{grid-column:auto!important}
}

/* Core wholesale form: only the request-description textarea.  Scrolling and
   multiline editing remain native; the rest of the site's forms are untouched. */
.rk-wp .rk-wholesale-page .rk-b2b-form-card textarea[name="rk_message"],
.rk-wp .rk-about textarea[name="rk_message"]{
  resize:none;
  min-height:138px;
  overflow-y:auto;
  max-width:100%;
  box-sizing:border-box;
  direction:rtl;
}

/* Compact, purposeful information beside the existing wholesale form. */
.rk-wp .rk-wholesale-page .rk-b2b-form-intro{min-width:0}
.rk-wp .rk-wholesale-page .rk-b2b-support{
  margin-block:22px 18px;
  padding:clamp(18px,2.2vw,25px);
  border:1px solid var(--rk-border);
  border-radius:20px;
  background:var(--rk-card);
  color:var(--rk-ink);
  box-shadow:var(--rk-raised-sm);
}
.rk-wp .rk-wholesale-page .rk-b2b-support-title{
  margin:0 0 11px;
  font-size:14px;font-weight:850;
  color:var(--rk-ink);
}
.rk-wp .rk-wholesale-page .rk-b2b-support-steps{
  list-style:none;
  padding:0;margin:0;
}
.rk-wp .rk-wholesale-page .rk-b2b-support-steps li{
  display:grid;grid-template-columns:32px minmax(0,1fr);
  gap:11px;align-items:start;padding:13px 0;
  border-block-end:1px solid var(--rk-border);
}
.rk-wp .rk-wholesale-page .rk-b2b-support-steps li:last-child{padding-bottom:0;border-block-end:0}
.rk-wp .rk-wholesale-page .rk-b2b-support-index{
  display:grid;place-items:center;
  width:32px;height:32px;border-radius:10px;
  background:var(--rk-brand-soft);
  color:var(--rk-primary);
  font-size:11px;font-weight:850;
}
.rk-wp .rk-wholesale-page .rk-b2b-support-steps strong{
  display:block;margin-bottom:3px;color:var(--rk-ink);
  font-size:14px;line-height:1.7;
}
.rk-wp .rk-wholesale-page .rk-b2b-support-steps li div > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  display:block;color:var(--rk-sub);
  font-size:12px;line-height:1.9;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro > .line-link{display:inline-flex;margin-top:5px}
@media(max-width:900px){
  .rk-wp .rk-wholesale-page .rk-b2b-support{margin-block:16px 15px}
  .rk-wp .rk-wholesale-page .rk-b2b-support-steps li{padding:10px 0}
}
@media(max-width:640px){
  .rk-wp .rk-wholesale-page .rk-b2b-support{padding:16px;border-radius:17px}
}

/* About Us: light-mode styling stays untouched.  The original page data and
   product photograph are preserved; dark mode receives semantic surfaces. */
/* refined-v0.4.css defines --rk-ink directly on .rk-wp.  Re-scope the
   dark ink token on About Us itself or hard-coded headings stay dark green. */
[data-rk-theme="dark"] .rk-wp .rk-about{
  --rk-ink:#eef6f0;
  background:var(--rk-page);
  color:var(--rk-ink);
}
[data-rk-theme="dark"] .rk-wp .rk-about .eyebrow{color:var(--rk-primary)}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-internal-hero{
  background:var(--rk-surface);
  border-color:var(--rk-border);
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-internal-hero::before{opacity:.13}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-internal-hero h1,
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-aside :where(h2,.rk-h2):not(rkx),
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose :is(h1,:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx),:where(h5,.rk-h5):not(rkx),:where(h6,.rk-h6):not(rkx)),
[data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards :where(h3,.rk-h3):not(rkx){color:var(--rk-ink)}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-internal-hero :is(p,.rk-lead),
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose,
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose :is(p,li,blockquote),
[data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards p{color:var(--rk-sub)}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-aside{
  background:var(--rk-surface);
  border:1px solid var(--rk-border);
  box-shadow:none;
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content{
  background:var(--rk-card);
  border-color:var(--rk-border);
  box-shadow:none;
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards{align-items:stretch}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards article{
  background:var(--rk-card);
  border-color:var(--rk-border);
  box-shadow:0 5px 18px rgba(0,0,0,.1);
  min-width:0;
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards article > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  background:var(--rk-brand-soft);
  color:var(--rk-ink);
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose a{
  color:#9de4d6;
  text-decoration:underline;
  text-underline-offset:3px;
}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose strong{color:var(--rk-ink)}
[data-rk-theme="dark"] .rk-wp .rk-about .rk-story-content .rk-prose :is(ul,ol){color:var(--rk-sub)}
@media(max-width:640px){
  [data-rk-theme="dark"] .rk-wp .rk-about .rk-about-cards article{min-height:0}
}


/* rk-ux-refinement-0626 */
/* Rayehe Kimia v0.6.26 — targeted CTA refinements and dedicated Contact Us interface. */

/* Wholesale product link: no gap interpolation / layout movement on hover. */
.rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link{
  display:inline-flex;align-items:center;justify-content:center;
  align-self:flex-start;width:max-content;max-width:100%;min-height:43px;
  gap:10px;padding:8px 13px;margin-block-start:6px;
  border:1px solid var(--rk-border);border-radius:12px;
  background:var(--rk-brand-soft);color:var(--rk-primary);
  text-decoration:none;font-size:13px;font-weight:800;line-height:1.65;
  transition:background-color .26s cubic-bezier(.22,1,.36,1),
    border-color .26s ease,color .26s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link:is(:hover,:focus-visible){
  gap:10px;background:var(--rk-card);border-color:var(--rk-primary);
  color:var(--rk-primary);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link .rk-icon{
  width:17px;height:17px;transition:transform .26s cubic-bezier(.22,1,.36,1);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link:is(:hover,:focus-visible) .rk-icon{transform:translateX(-3px)}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link{
  background:var(--rk-brand-soft);color:var(--rk-primary);border-color:var(--rk-border);
}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link:is(:hover,:focus-visible){
  background:var(--rk-card);color:var(--rk-primary);border-color:var(--rk-primary);
}

/* Dark prefooter CTA: override its specific inherited neumorphic shadow only. */
[data-rk-theme="dark"] .rk-wp .prefooter > a.btn.btn-primary{
  box-shadow:0 2px 7px rgba(0,0,0,.12);
  transition:box-shadow .24s ease,background-color .24s ease,
    border-color .24s ease,transform .24s cubic-bezier(.22,1,.36,1);
}
[data-rk-theme="dark"] .rk-wp .prefooter > a.btn.btn-primary:is(:hover,:focus-visible){
  box-shadow:0 4px 11px rgba(0,0,0,.17);transform:translateY(-1px);
}
[data-rk-theme="dark"] .rk-wp .prefooter > a.btn.btn-primary:active{transform:none;box-shadow:0 1px 4px rgba(0,0,0,.1)}

/* Contact page: isolated local tokens fix historical hard-coded ink on body.rk-wp. */
.rk-wp .rk-contact{
  --rk-contact-ink:var(--rk-ink);
  --rk-contact-muted:var(--rk-sub);
  --rk-contact-surface:var(--rk-card);
  --rk-contact-soft:var(--rk-brand-soft);
  --rk-contact-border:var(--rk-border);
  --rk-contact-primary:var(--rk-primary);
  background:var(--rk-page);color:var(--rk-contact-ink);
}
[data-rk-theme="dark"] .rk-wp .rk-contact{
  --rk-ink:#eef6f0;--rk-contact-ink:#eef6f0;--rk-contact-muted:#b5cebf;
}
.rk-wp .rk-contact .rk-contact-hero{
  padding:clamp(28px,4vw,51px) 0;background:var(--rk-surface);
  border-block-end:1px solid var(--rk-contact-border);
}
.rk-wp .rk-contact .rk-contact-hero::before{content:none;display:none}
.rk-wp .rk-contact .rk-contact-hero-inner{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(215px,.44fr);
  gap:clamp(20px,4vw,57px);align-items:center;
}
.rk-wp .rk-contact .rk-contact-hero-copy{min-width:0}
.rk-wp .rk-contact .rk-contact-hero h1{
  font-size:clamp(30px,3.6vw,45px);font-weight:900;line-height:1.45;
  margin:8px 0 12px;color:var(--rk-contact-ink);
}
.rk-wp .rk-contact .rk-contact-hero p{
  max-width:63ch;margin:0;font-size:clamp(13px,1.2vw,15px);
  line-height:2;color:var(--rk-contact-muted);
}
.rk-wp .rk-contact .rk-contact-hero-actions{
  display:flex;flex-direction:column;align-items:stretch;gap:7px;
  padding:15px;border:1px solid var(--rk-contact-border);border-radius:17px;
  background:var(--rk-contact-surface);
}
.rk-wp .rk-contact .rk-contact-hero-actions-label{
  font-size:11px;color:var(--rk-contact-muted);font-weight:750;margin-bottom:3px;
}
.rk-wp .rk-contact .rk-contact-hero-actions a{
  display:flex;align-items:center;gap:9px;min-height:42px;min-width:0;
  padding:8px 11px;border:1px solid var(--rk-contact-border);border-radius:11px;
  text-decoration:none;background:var(--rk-surface);color:var(--rk-contact-ink);
  font-size:12px;font-weight:800;line-height:1.7;
  transition:background-color .23s ease,border-color .23s ease,color .23s ease;
}
.rk-wp .rk-contact .rk-contact-hero-actions a .rk-icon{width:17px;height:17px;color:var(--rk-contact-primary)}
.rk-wp .rk-contact .rk-contact-hero-actions a .rk-icon:last-child{width:15px;height:15px;margin-inline-start:auto;transition:transform .23s ease}
.rk-wp .rk-contact .rk-contact-hero-actions a:is(:hover,:focus-visible){background:var(--rk-contact-soft);border-color:var(--rk-contact-primary)}
.rk-wp .rk-contact .rk-contact-hero-actions a:is(:hover,:focus-visible) .rk-icon:last-child{transform:translateX(-2px)}

/* Desktop workspace: information on right, working form on left. */
.rk-wp .rk-contact .rk-contact-layout{
  display:grid;direction:rtl;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);
  gap:clamp(20px,3vw,37px);align-items:start;
  padding-block:clamp(30px,3.8vw,55px) clamp(44px,5vw,75px);
}
.rk-wp .rk-contact .rk-contact-info,
.rk-wp .rk-contact .rk-contact-form-wrap{min-width:0}
.rk-wp .rk-contact .rk-contact-section-heading{margin-bottom:19px}
.rk-wp .rk-contact .rk-contact-section-heading :where(h2,.rk-h2):not(rkx),
.rk-wp .rk-contact .rk-contact-form-head :where(h2,.rk-h2):not(rkx){
  margin:5px 0 8px;color:var(--rk-contact-ink);font-size:clamp(22px,2.05vw,27px);
  line-height:1.55;font-weight:850;
}
.rk-wp .rk-contact .rk-contact-intro,
.rk-wp .rk-contact .rk-contact-form-wrap > p{
  margin:0;color:var(--rk-contact-muted);font-size:13px;line-height:2;
}
.rk-wp .rk-contact .rk-contact-methods{display:grid;gap:11px}
.rk-wp .rk-contact .rk-contact-card{
  display:flex;gap:13px;align-items:flex-start;margin:0;padding:clamp(15px,1.6vw,21px);
  background:var(--rk-contact-surface);border:1px solid var(--rk-contact-border);
  border-radius:17px;box-shadow:none;
  transition:border-color .29s cubic-bezier(.22,1,.36,1),background-color .29s ease;
}
.rk-wp .rk-contact .rk-contact-card:hover{background:var(--rk-surface);border-color:var(--rk-contact-primary);box-shadow:none;transform:none}
.rk-wp .rk-contact .rk-contact-card-icon,
.rk-wp .rk-contact .rk-contact-form-icon{
  display:grid;place-items:center;flex:none;width:42px;height:42px;
  border-radius:13px;border:1px solid var(--rk-contact-border);
  background:var(--rk-contact-soft);color:var(--rk-contact-primary);
}
.rk-wp .rk-contact .rk-contact-card-icon .rk-icon,
.rk-wp .rk-contact .rk-contact-form-icon .rk-icon{width:20px;height:20px}
.rk-wp .rk-contact .rk-contact-card-content{min-width:0;flex:1}
.rk-wp .rk-contact .rk-contact-card strong{display:block;margin:0 0 3px;font-size:13px;color:var(--rk-contact-ink);font-weight:850}
.rk-wp .rk-contact .rk-contact-card .rk-contact-call{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:5px 15px;width:100%;max-width:100%;direction:rtl;text-align:start;
  color:var(--rk-contact-primary);text-decoration:none;font-size:14px;line-height:1.7;
}
.rk-wp .rk-contact .rk-contact-call b{
  display:inline-block;direction:ltr;unicode-bidi:isolate;white-space:nowrap;
  font-size:clamp(13px,1.2vw,16px);font-weight:850;letter-spacing:0;
}
.rk-wp .rk-contact .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:750;white-space:normal}
.rk-wp .rk-contact .rk-contact-call .rk-icon{width:14px;height:14px;transition:transform .22s ease}
.rk-wp .rk-contact .rk-contact-call:is(:hover,:focus-visible){color:var(--rk-contact-primary);text-decoration:none}
.rk-wp .rk-contact .rk-contact-call:is(:hover,:focus-visible) .rk-icon{transform:translateX(-2px)}
.rk-wp .rk-contact .rk-contact-address{
  margin-top:13px;padding:clamp(17px,1.8vw,23px);
  border:1px solid var(--rk-contact-border);background:var(--rk-contact-surface);
  border-radius:18px;
}
.rk-wp .rk-contact .rk-contact-address-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.rk-wp .rk-contact .rk-contact-caption{display:block;font-size:11px;color:var(--rk-contact-muted)}
.rk-wp .rk-contact .rk-contact-address :where(h3,.rk-h3):not(rkx){margin:1px 0 0;font-size:16px;color:var(--rk-contact-ink)}
.rk-wp .rk-contact .rk-contact-address > p{font-size:13px;line-height:2.1;color:var(--rk-contact-ink);margin:0 0 14px;overflow-wrap:anywhere}
.rk-wp .rk-contact .rk-contact-visit-note{
  display:flex;align-items:flex-start;gap:9px;padding:11px 12px;
  background:var(--rk-contact-soft);border-radius:11px;
  color:var(--rk-contact-ink);font-size:12px;line-height:1.9;
}
.rk-wp .rk-contact .rk-contact-visit-note .rk-icon{width:17px;height:17px;margin-top:3px;flex:none;color:var(--rk-contact-primary)}
.rk-wp .rk-contact .rk-contact-wholesale{
  margin-top:14px;padding:17px 20px;
  border:1px solid var(--rk-contact-border);border-radius:16px;
  display:grid;gap:9px;background:var(--rk-surface);
}
.rk-wp .rk-contact .rk-contact-wholesale strong{font-size:13px;color:var(--rk-contact-ink)}
.rk-wp .rk-contact .rk-contact-wholesale p{margin:3px 0 0;font-size:12px;line-height:1.9;color:var(--rk-contact-muted)}
.rk-wp .rk-contact .rk-contact-wholesale a{
  display:inline-flex;align-items:center;gap:7px;justify-self:start;
  color:var(--rk-contact-primary);font-weight:800;font-size:12px;text-decoration:none;
}
.rk-wp .rk-contact .rk-contact-wholesale a:hover{text-decoration:none}
.rk-wp .rk-contact .rk-contact-wholesale a .rk-icon{width:15px;height:15px}

/* Keep the original hidden spam field in DOM without the old left:-9999px
   technique widening an RTL document. Core still checks rk_site on POST. */
.rk-wp .rk-contact .rk-contact-form .rk-honeypot{
  position:absolute!important;left:auto!important;right:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%);opacity:0;pointer-events:none;
}

/* Core's original form stays in place: style only the actual native fields. */
.rk-wp .rk-contact .rk-contact-form-wrap{
  padding:clamp(21px,2.8vw,36px);border-radius:22px;
  background:var(--rk-contact-surface);color:var(--rk-contact-ink);
  border:1px solid var(--rk-contact-border);box-shadow:0 7px 25px rgba(6,49,30,.045);
  scroll-margin-top:115px;
}
[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-form-wrap{box-shadow:0 7px 24px rgba(0,0,0,.10)}
.rk-wp .rk-contact .rk-contact-form-head{display:flex;align-items:center;gap:13px;margin:0 0 13px}
.rk-wp .rk-contact .rk-contact-form-head :where(h2,.rk-h2):not(rkx){margin:3px 0 0}
.rk-wp .rk-contact .rk-contact-form-wrap > p{margin-bottom:22px}
.rk-wp .rk-contact .rk-contact-form-wrap form{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;
  width:100%;margin:0;
}
.rk-wp .rk-contact .rk-contact-form-wrap form > label{
  display:flex;flex-direction:column;gap:7px;min-width:0;
  color:var(--rk-contact-ink);font-size:13px;font-weight:750;
}
.rk-wp .rk-contact .rk-contact-form-wrap form > label:nth-of-type(n+3),
.rk-wp .rk-contact .rk-contact-form-wrap form > button,
.rk-wp .rk-contact .rk-contact-form-wrap form > .rk-honeypot{grid-column:1 / -1}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form :is(input:not([type=checkbox]),select,textarea){
  display:block;width:100%;min-width:0;max-width:100%;min-height:49px;
  padding:11px 13px;box-sizing:border-box;
  border:1px solid var(--rk-contact-border);border-radius:12px;
  background:var(--rk-surface);color:var(--rk-contact-ink);
  font:inherit;font-size:14px;font-weight:500;line-height:1.7;
  box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select{appearance:auto;cursor:pointer}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form textarea{
  height:142px;min-height:142px;resize:vertical;overflow-y:auto;line-height:2;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form :is(input:not([type=checkbox]),select,textarea):focus-visible{
  outline:2px solid var(--rk-focus);outline-offset:1px;
  border-color:var(--rk-contact-primary);box-shadow:0 0 0 3px var(--rk-contact-soft);
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form .rk-contact-consent{
  display:flex;flex-direction:row;align-items:flex-start;gap:10px;
  font-weight:550;color:var(--rk-contact-muted);font-size:12px;line-height:1.95;
  margin:1px 0 2px;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form .rk-contact-consent input{
  flex:none;width:18px;height:18px;margin:4px 0 0;min-height:0;
  accent-color:var(--rk-contact-primary);box-shadow:none;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type=submit]{
  width:100%;min-height:49px;margin-top:3px;
  border-radius:12px!important;background:var(--rk-primary);color:var(--rk-primary-text);
  box-shadow:none;cursor:pointer;font:inherit;font-size:14px;font-weight:850;
  transition:background-color .23s ease,box-shadow .23s ease,transform .23s ease;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type=submit]:is(:hover,:focus-visible){
  transform:translateY(-1px);box-shadow:0 4px 11px rgba(0,0,0,.12);
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-form-feedback[role=status]{
  margin:0 0 16px;padding:13px 15px;border:1px solid #5d9b7c;
  border-radius:12px;background:#e5f5e9;color:#194f36;
  line-height:1.9;font-size:13px;font-weight:700;
}
.rk-wp .rk-contact .rk-contact-form-wrap [role=alert]{
  margin:0 0 16px;padding:13px 15px;border:1px solid #c48e76;
  border-radius:12px;background:#fff1e7;color:#8c382b;
  line-height:1.9;font-size:13px;font-weight:700;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-form-feedback[role=status]::before{content:'✓';margin-inline-end:8px;font-weight:900}
.rk-wp .rk-contact .rk-contact-form-wrap [role=alert]::before{content:'!';margin-inline-end:8px;font-weight:900}
[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-form-wrap .rk-form-feedback[role=status]{background:#19392b;color:#dbf3e1;border-color:#4b8567}
[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-form-wrap [role=alert]{background:#402821;color:#ffe6da;border-color:#955f4e}
.rk-wp .rk-contact .rk-contact-extra{
  padding:0 0 clamp(28px,4vw,62px);min-width:0;max-width:1100px;
  color:var(--rk-contact-ink);overflow-wrap:anywhere;
}
.rk-wp .rk-contact .rk-contact-extra :is(:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx)),
.rk-wp .rk-contact .rk-contact-editor-form :is(:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx)){color:var(--rk-contact-ink)}
.rk-wp .rk-contact .rk-contact-extra :is(p,li){color:var(--rk-contact-muted)}
.rk-wp .rk-contact .rk-contact-extra :is(img,table){max-width:100%}
.rk-wp .rk-contact .rk-contact-extra table{display:block;overflow-x:auto}
.rk-wp .rk-contact .rk-contact-extra a{color:var(--rk-contact-primary)}
.rk-wp .rk-contact .rk-contact-editor-form{min-width:0}

@media(max-width:1050px){
  .rk-wp .rk-contact .rk-contact-layout{grid-template-columns:minmax(0,1fr);gap:23px}
  .rk-wp .rk-contact .rk-contact-hero-inner{grid-template-columns:minmax(0,1fr) minmax(205px,.52fr)}
  .rk-wp .rk-contact .rk-contact-methods{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .rk-wp .rk-contact .rk-contact-hero-inner{grid-template-columns:minmax(0,1fr);gap:17px}
  .rk-wp .rk-contact .rk-contact-hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center;padding:12px}
  .rk-wp .rk-contact .rk-contact-hero-actions-label{flex-basis:100%;margin:0}
  .rk-wp .rk-contact .rk-contact-hero-actions a{flex:1 1 155px}
  .rk-wp .rk-contact .rk-contact-methods{grid-template-columns:minmax(0,1fr)}
  .rk-wp .rk-contact .rk-contact-layout{padding-block:24px 47px}
}
@media(max-width:560px){
  .rk-wp .rk-contact .rk-contact-hero{padding-block:25px}
  .rk-wp .rk-contact .rk-contact-hero h1{font-size:clamp(28px,8vw,36px)}
  .rk-wp .rk-contact .rk-contact-form-wrap{padding:18px 15px;border-radius:17px}
  .rk-wp .rk-contact .rk-contact-form-wrap form{grid-template-columns:minmax(0,1fr);gap:13px}
  .rk-wp .rk-contact .rk-contact-form-wrap form > label{grid-column:1/-1}
  .rk-wp .rk-contact .rk-contact-card{padding:15px}
  .rk-wp .rk-contact .rk-contact-hero-actions a{flex-basis:100%}
  .rk-wp .rk-contact .rk-contact-address,.rk-wp .rk-contact .rk-contact-wholesale{padding:16px}
}
@media(hover:hover) and (pointer:fine){
  .rk-wp .rk-contact .rk-contact-card:hover{border-color:var(--rk-contact-primary)}
}
@media(prefers-reduced-motion:reduce){
  .rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link,
  .rk-wp .rk-wholesale-page .rk-b2b-form-intro > a.line-link .rk-icon,
  [data-rk-theme="dark"] .rk-wp .prefooter > a.btn.btn-primary,
  .rk-wp .rk-contact .rk-contact-card,
  .rk-wp .rk-contact .rk-contact-call .rk-icon,
  .rk-wp .rk-contact .rk-contact-hero-actions a,
  .rk-wp .rk-contact .rk-contact-hero-actions a .rk-icon,
  .rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form :is(input,select,textarea,button){
    transition:none;transform:none;
  }
}


/* rk-ux-refinement-0627 */
/* Rayehe Kimia 0.6.27 — six focused changes. All controls retain native Core POST behavior. */

/* 1) Wholesale form uses the same field language as Contact Us (v0.6.26).
   Keep its own input names, validation, hidden fields and non-resizable textarea. */
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:12px;
  row-gap:15px;
  min-width:0;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
  font-size:13px;
  font-weight:750;
  line-height:1.8;
  color:var(--rk-ink);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label:nth-of-type(n+3),
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button,
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > .rk-honeypot{grid-column:1/-1}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form :is(input:not([type=checkbox]),textarea){
  display:block;
  box-sizing:border-box;
  width:100%;min-width:0;max-width:100%;min-height:49px;
  border:1px solid var(--rk-border);
  border-radius:12px;
  padding:11px 13px;
  background:var(--rk-surface);
  color:var(--rk-ink);
  font:inherit;font-size:14px;font-weight:500;line-height:1.7;
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form textarea[name="rk_message"]{
  min-height:142px;
  height:142px;
  resize:none;
  overflow-y:auto;
  line-height:2;
  direction:rtl;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form :is(input:not([type=checkbox]),textarea):focus-visible{
  outline:2px solid var(--rk-focus);
  outline-offset:1px;
  border-color:var(--rk-primary);
  box-shadow:0 0 0 3px var(--rk-brand-soft);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > .rk-check-consent{
  display:flex;flex-direction:row;align-items:flex-start;gap:10px;
  margin:1px 0 2px;
  font-size:12px;font-weight:550;line-height:1.95;
  color:var(--rk-sub);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form .rk-check-consent input[type=checkbox]{
  flex:none;width:18px;height:18px;min-height:0;margin:4px 0 0;
  accent-color:var(--rk-primary);
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type=submit]{
  min-height:49px;
  width:100%;
  margin-top:3px;
  border-radius:12px;
  font:inherit;font-size:14px;font-weight:850;
  background:var(--rk-primary);
  color:var(--rk-primary-text);
  box-shadow:none;
  transition:background-color .23s ease,box-shadow .23s ease,transform .23s ease;
}
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type=submit]:is(:hover,:focus-visible){
  transform:translateY(-1px);box-shadow:0 4px 11px rgba(0,0,0,.12);
}
/* The Core honeypot remains present and functional; off-screen coordinates
   must not enlarge the viewport of the RTL page. */
.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > .rk-honeypot{
  position:absolute!important;left:auto!important;right:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%);opacity:0;pointer-events:none;
}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label{
  color:#eef6f0;
}
[data-rk-theme="dark"] .rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form :is(input:not([type=checkbox]),textarea){
  background:var(--rk-surface);color:#eef6f0;
}

/* 2) Keep native select semantics and Core's original options; add a deliberate
   chevron and usable dropdown surface in both modes. OS-native option popups
   may limit styling but remain keyboard and screen-reader accessible. */
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]{
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
  padding-inline:13px 42px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23286d5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:left 12px center;
  background-size:18px 18px;
  color-scheme:light;
}
.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option{
  background-color:#f5faf6;
  color:#183b2f;
  font-size:14px;
  font-weight:500;
  padding:10px 12px;
}
[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a8e2d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme:dark;
}
[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option{
  background-color:#1d3229;
  color:#edf6ef;
}

/* 3) Compact adjacent phone cards, including practical two-column mobile
   layout. A card has a header, number and a clearly clickable action. */
.rk-wp .rk-contact .rk-contact-methods{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  align-items:stretch;
}
.rk-wp .rk-contact .rk-contact-methods > .rk-contact-phone-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  gap:11px;
  height:100%;
  margin:0;
  padding:clamp(13px,1.5vw,18px);
  border-radius:17px;
  background:var(--rk-contact-surface);
  border:1px solid var(--rk-contact-border);
  box-shadow:none;
  transition:transform .28s cubic-bezier(.22,1,.36,1),
             border-color .28s ease,background-color .28s ease,
             box-shadow .28s ease;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-head{
  display:flex;align-items:center;gap:9px;min-width:0;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-icon{
  width:36px;height:36px;border-radius:11px;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-icon .rk-icon{width:18px;height:18px;}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-head strong{
  display:block;min-width:0;line-height:1.65;
  margin:0;color:var(--rk-contact-ink);
  font-size:12px;font-weight:850;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-content{
  display:flex;flex:1;min-width:0;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:5px;
  margin-top:auto;
  width:100%;
  direction:rtl;
  color:var(--rk-contact-primary);
  text-decoration:none;
  border:0;
  outline-offset:3px;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call b{
  max-width:100%;direction:ltr;unicode-bidi:isolate;
  white-space:nowrap;
  font-size:clamp(12px,1.1vw,15px);
  line-height:1.8;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  display:inline-flex;gap:6px;align-items:center;
  min-height:27px;
  font-size:11px;font-weight:750;
  text-decoration:none;
}
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call:is(:hover,:focus-visible),
.rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call:is(:hover,:focus-visible) span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  text-decoration:none;
}
@media(hover:hover) and (pointer:fine){
  .rk-wp .rk-contact .rk-contact-methods > .rk-contact-phone-card:hover{
    transform:translateY(-2px);
    border-color:var(--rk-contact-primary);
    background:var(--rk-contact-surface);
    box-shadow:0 8px 22px rgba(15,79,74,.10);
  }
  [data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-methods > .rk-contact-phone-card:hover{
    box-shadow:0 8px 22px rgba(0,0,0,.19);
  }
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call:hover .rk-icon{
    transform:translateX(-3px);
  }
}
/* Override v0.6.26's one-column mobile method rule.  Under 350px we
   deliberately stack to preserve legibility and touch accessibility. */
@media(min-width:350px) and (max-width:720px){
  .rk-wp .rk-contact .rk-contact-methods{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px){
  .rk-wp .rk-contact .rk-contact-methods{gap:8px;}
  .rk-wp .rk-contact .rk-contact-methods > .rk-contact-phone-card{padding:12px 10px;gap:8px;}
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-head{gap:6px;}
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-icon{width:31px;height:31px;}
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-card-head strong{font-size:11px;}
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call b{font-size:12px;}
  .rk-wp .rk-contact .rk-contact-phone-card .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){font-size:10px;}
}
@media(max-width:349px){
  .rk-wp .rk-contact .rk-contact-methods{grid-template-columns:minmax(0,1fr);}
}

/* 4) The wholesale link on the contact page should behave like a designed
   action, never an underlined text link.  Keep the existing target URL. */
.rk-wp .rk-contact .rk-contact-wholesale > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  max-width:100%;
  padding:8px 13px;
  border-radius:11px;
  border:1px solid var(--rk-contact-border);
  background:var(--rk-contact-soft);
  color:var(--rk-contact-primary);
  font-size:12px;font-weight:800;
  text-decoration:none;
  transition:background-color .24s ease,border-color .24s ease,color .24s ease;
}
.rk-wp .rk-contact .rk-contact-wholesale > a:is(:hover,:focus-visible){
  background:var(--rk-contact-surface);
  border-color:var(--rk-contact-primary);
  color:var(--rk-contact-primary);
  text-decoration:none;
}
.rk-wp .rk-contact .rk-contact-wholesale > a .rk-icon{
  transition:transform .24s cubic-bezier(.22,1,.36,1);
}
.rk-wp .rk-contact .rk-contact-wholesale > a:is(:hover,:focus-visible) .rk-icon{transform:translateX(-3px);}

/* 5) The obsolete duplicate editorial contact/visit note is removed by an
   exact paragraph filter on the Contact page. No stored page content changes. */

/* 6) Prefooter eyebrow must be readable on the dark green CTA surface. */
[data-rk-theme="dark"] .rk-wp .prefooter .eyebrow{
  color:#e0f7e8;
  opacity:1;
  font-weight:850;
  letter-spacing:0;
  text-shadow:none;
}
[data-rk-theme="dark"] .rk-wp .prefooter .eyebrow::before{background:#93dec5;opacity:1;}

@media(max-width:560px){
  .rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form{grid-template-columns:minmax(0,1fr);gap:13px;}
  .rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label{grid-column:1/-1;}
}
@media(prefers-reduced-motion:reduce){
  .rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form :is(input,textarea,button),
  .rk-wp .rk-contact .rk-contact-methods > .rk-contact-phone-card,
  .rk-wp .rk-contact .rk-contact-wholesale > a,
  .rk-wp .rk-contact .rk-contact-wholesale > a .rk-icon{
    transition:none;transform:none;
  }
}


/* rk-ux-refinement-0628 */
/* Rayehe Kimia v0.6.28: native form consent, source-proven category row collision,
   and small motion harmonization. All form processing stays in Core. */

/* Same native consent UI in Contact and Wholesale (including wholesale offcanvas). */
body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent),
body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label.rk-check-consent {
  display:flex;flex-direction:row;align-items:flex-start;gap:10px;
  margin:1px 0 2px;min-width:0;
  font-size:12px;font-weight:550;line-height:1.95;
  color:var(--rk-sub);
  cursor:pointer;
}
body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent) > input[type="checkbox"] {
  flex:none;display:block;box-sizing:border-box;
  width:18px;height:18px;min-width:18px;min-height:18px;
  margin:4px 0 0;
  padding:0;border-radius:5px;
  accent-color:var(--rk-primary);
  cursor:pointer;
  transition:box-shadow .18s ease;
}
body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent) > input[type="checkbox"]:focus-visible{
  outline:2px solid var(--rk-focus);outline-offset:3px;
}
body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent) > input[type="checkbox"]:disabled {cursor:not-allowed;}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent),
html[data-rk-theme="dark"] body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > label.rk-check-consent {
  color:#c8dbcf;
}

/* Disabled is a real HTML button state controlled by form-consent-v0.6.28.js.
   Higher specificity than prior 0.6.26/27 enabled hover rules; no fake loading. */
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > button[type="submit"]:disabled,
body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type="submit"]:disabled,
body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type="submit"]:disabled{
  opacity:1;
  background:#62776d;color:#fff;
  border-color:transparent;box-shadow:none;
  cursor:not-allowed;transform:none;
  transition:background-color .21s ease,color .21s ease,box-shadow .21s ease;
}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > button[type="submit"]:disabled,
html[data-rk-theme="dark"] body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type="submit"]:disabled,
html[data-rk-theme="dark"] body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type="submit"]:disabled{
  background:#3b5248;color:#e0ebe4;
}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > button[type="submit"]:disabled:is(:hover,:active,:focus-visible),
body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type="submit"]:disabled:is(:hover,:active,:focus-visible),
body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type="submit"]:disabled:is(:hover,:active,:focus-visible){
  transform:none;box-shadow:none;
}

/* Sidebar: the historical border on <li> touched a painted rounded <a>.
   Use separated navigation surfaces instead; no overlapping divider ownership. */
body.rk-wp .rk-catalog .rk-catalog-sidebar{
  padding:clamp(16px,2vw,22px);
  border-radius:21px;
  box-shadow:var(--rk-raised-sm);
}
body.rk-wp .rk-catalog .rk-catalog-sidebar :where(h2,.rk-h2):not(rkx){margin:0 0 14px;line-height:1.6;font-size:18px;}
body.rk-wp .rk-catalog .rk-catalog-sidebar ul{
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:6px;margin:0;padding:0;list-style:none;
}
body.rk-wp .rk-catalog .rk-catalog-sidebar li,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar li{
  margin:0;padding:0;border:0;
}
body.rk-wp .rk-catalog .rk-catalog-sidebar li > a,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar li > a{
  display:flex;align-items:center;min-width:0;min-height:43px;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--rk-ink);
  text-align:right;line-height:1.65;
  font-weight:700;text-decoration:none;
  transform:none;
  transition:background-color .23s ease,border-color .23s ease,color .23s ease;
}
body.rk-wp .rk-catalog .rk-catalog-sidebar li > a:is(:hover,:focus-visible),
body.rk-wp .rk-catalog .rk-catalog-sidebar li > a[aria-current="page"]{
  background:var(--rk-brand-soft);color:var(--rk-primary);border-color:var(--rk-border);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar li > a{color:#d7e8dd;border-color:transparent;}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar li > a:is(:hover,:focus-visible){
  background:#29483b;color:#f0fbf4;border-color:#3d6251;transform:none;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar li > a[aria-current="page"]{
  background:#355749;color:#f4faf5;border-color:#4c705e;transform:none;
}
/* Keyboard focus stays visible, with no layout movement from focus borders. */
body.rk-wp .rk-catalog .rk-catalog-sidebar li > a:focus-visible{outline:2px solid var(--rk-focus);outline-offset:2px;}
@media(max-width:900px){
  body.rk-wp .rk-catalog .rk-catalog-sidebar{position:static;}
  body.rk-wp .rk-catalog .rk-catalog-sidebar ul{
    display:flex;flex-wrap:wrap;gap:7px;
  }
  body.rk-wp .rk-catalog .rk-catalog-sidebar li{min-width:0;max-width:100%;}
  body.rk-wp .rk-catalog .rk-catalog-sidebar li > a{
    width:auto;max-width:100%;min-height:41px;
    padding:8px 11px;
    overflow-wrap:anywhere;
  }
}

/* Motion: stable inline-link geometry (old site.css enlarged gap on hover).
   These only coordinate arrow feedback for ordinary line-links, leaving wholesale's
   dedicated 0.6.26 CTA and other component-specific interaction rules intact. */
body.rk-wp .line-link .rk-icon{transition:transform .24s cubic-bezier(.22,1,.36,1);}
@media(hover:hover) and (pointer:fine){
  body.rk-wp .line-link:is(:hover,:focus-visible) .rk-icon{transform:translateX(-2px);}
}
/* Touch devices do not need residual desktop lift shadows after tapping. */
@media(hover:none),(pointer:coarse){
  body.rk-wp :is(.btn,.icon-btn,.carousel-arrow):hover{transform:none;}
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp :is(.rk-contact-form > label.rk-contact-consent,.rk-wholesale-form > label.rk-check-consent) > input[type="checkbox"],
  body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > button[type="submit"],
  body.rk-wp .rk-catalog .rk-catalog-sidebar li > a,
  body.rk-wp .line-link .rk-icon{
    transition:none;transform:none;
  }
}


/* rk-ux-refinement-0629 */
/* Rayehe Kimia 0.6.29 — native form states, contact subject picker, and consistent motion.
   Theme presentation only; Core v0.5.1 renders/handles contact & wholesale forms. */

/* 1) Shared form readiness: editable until valid, no fake submission/consent. */
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > :is(.rk-form-readiness,.rk-form-privacy-note) {
  grid-column:1 / -1;
  margin:0;
  padding:0 1px;
  font-size:12px;
  line-height:1.9;
  color:var(--rk-sub);
  overflow-wrap:anywhere;
}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > .rk-form-readiness{
  padding:9px 12px;
  background:var(--rk-brand-soft);
  border:1px solid var(--rk-border);
  border-radius:10px;
  color:var(--rk-ink);
}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > .rk-form-readiness.is-ready{
  background:transparent;
  border-color:transparent;
  color:var(--rk-sub);
}
body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type="submit"]:disabled,
body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type="submit"]:disabled,
body.rk-wp .rk-offcanvas .rk-wholesale-form > button[type="submit"]:disabled{
  opacity:1;
  cursor:not-allowed;
  background:#d7e4dd;
  border-color:#cad8d0;
  color:#475f55;
  box-shadow:none;
  transform:none;
}
html[data-rk-theme="dark"] body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form > button[type="submit"]:disabled,
html[data-rk-theme="dark"] body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form > button[type="submit"]:disabled,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-wholesale-form > button[type="submit"]:disabled{
  background:#31463e;
  border-color:#455a50;
  color:#d1ded5;
  box-shadow:none;
}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > button[type="submit"]:disabled:is(:hover,:focus-visible){
  transform:none;
  box-shadow:none;
}
/* Preserve the existing form design; no resize handle in either message field. */
body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form textarea[name="rk_message"],
body.rk-wp .rk-wholesale-page .rk-b2b-form-card .rk-wholesale-form textarea[name="rk_message"],
body.rk-wp .rk-offcanvas .rk-wholesale-form textarea[name="rk_message"]{
  resize:none;
  overflow-y:auto;
  max-width:100%;
  min-height:130px;
  box-sizing:border-box;
}
/* Lightweight validation hints that don't replace native labels, title or errors. */
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) :is(input,textarea)::placeholder{opacity:.68;color:var(--rk-sub);}

/* 2) Contact subject: modern customizable native picker in supported browsers,
   platform-native fallback elsewhere (keyboard, search and form values preserved). */
@supports (appearance:base-select){
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"],
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker(select){
    appearance:base-select;
  }
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker-icon{display:none;}
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker(select){
    box-sizing:border-box;
    margin-top:6px;
    padding:7px;
    border:1px solid var(--rk-contact-border,var(--rk-border));
    border-radius:14px;
    background:var(--rk-contact-surface,var(--rk-card));
    color:var(--rk-contact-ink,var(--rk-ink));
    box-shadow:0 10px 28px rgba(12,44,33,.14);
    max-height:min(270px,50vh);
    overflow-y:auto;
    opacity:1;
    transform:translateY(0);
    transition:opacity .2s ease,transform .24s cubic-bezier(.22,1,.36,1),display .2s allow-discrete,overlay .2s allow-discrete;
  }
  @starting-style{
    body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker(select){
      opacity:0;
      transform:translateY(-6px);
    }
  }
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option{
    min-height:43px;
    padding:9px 12px;
    border-radius:9px;
    background:transparent;
    color:var(--rk-contact-ink,var(--rk-ink));
    line-height:1.75;
    transition:background-color .17s ease,color .17s ease;
  }
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option:hover,
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option:focus-visible,
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option:checked{
    background:var(--rk-brand-soft);
    color:var(--rk-contact-ink,var(--rk-ink));
  }
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option::checkmark{color:var(--rk-primary);}
  html[data-rk-theme="dark"] body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker(select){
    background:#20382e;
    border-color:#4b685a;
    box-shadow:0 12px 27px rgba(0,0,0,.24);
  }
  html[data-rk-theme="dark"] body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option{
    color:#ebf5ee;
    background:transparent;
  }
  html[data-rk-theme="dark"] body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option:is(:hover,:focus-visible,:checked){
    background:#355344;
    color:#f5fff8;
  }
}

/* 3) Shared directional arrows: transitions declared on the resting icon too.
   Never animate gap/size, never move the surrounding label/CTA layout. */
body.rk-wp :is(a.line-link,a.btn,.rk-contact-hero-actions a,.rk-contact-call,.rk-contact-wholesale a,.prefooter a.btn) > .rk-icon,
body.rk-wp .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) > .rk-icon {
  transition:transform .26s cubic-bezier(.22,1,.36,1);
  transform:translateX(0);
}
@media(hover:hover) and (pointer:fine){
  body.rk-wp :is(a.line-link,a.btn,.rk-contact-hero-actions a,.rk-contact-wholesale a,.prefooter a.btn):is(:hover,:focus-visible) > .rk-icon,
  body.rk-wp .rk-contact-call:is(:hover,:focus-visible) span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) > .rk-icon {
    transform:translateX(-3px);
  }
  /* Most specific: archive historically inherited a box-shadow-only transition
     from refined-v0.4.css; restoring transform duration fixes abrupt lift. */
  body.rk-wp .rk-catalog-grid > .product-card {
    transition:transform .34s cubic-bezier(.22,1,.36,1),
      box-shadow .34s cubic-bezier(.22,1,.36,1),
      border-color .27s ease, background-color .27s ease;
  }
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp :is(a.line-link,a.btn,.rk-contact-hero-actions a,.rk-contact-call,.rk-contact-wholesale a,.prefooter a.btn) > .rk-icon,
  body.rk-wp .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) > .rk-icon,
  body.rk-wp .rk-catalog-grid > .product-card,
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"]::picker(select),
  body.rk-wp .rk-contact .rk-contact-form-wrap .rk-contact-form select[name="rk_subject"] option{
    transition:none;
  }
  body.rk-wp :is(a.line-link,a.btn,.rk-contact-hero-actions a,.rk-contact-call,.rk-contact-wholesale a,.prefooter a.btn) > .rk-icon,
  body.rk-wp .rk-contact-call span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) > .rk-icon {transform:none;}
}


/* rk-ux-refinement-0630 */
/* Rayehe Kimia v0.6.30 — focused hero / form feedback / breadcrumb work. */
/* The page-specific ::before contained the oversized top-left leaf. */
body.rk-wp .rk-wholesale-page .rk-wholesale-hero::before{content:none;display:none;}
/* Portrait product artwork must be fully visible, including its base, on any viewport. */
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{
  height:auto; min-height:0; max-height:none; max-width:min(100%,490px); width:100%; justify-self:center; aspect-ratio:auto;
  padding:clamp(9px,1.5vw,18px); overflow:hidden; display:grid; place-items:center;
  border:1px solid var(--rk-border); border-radius:24px;
  background:var(--rk-card); box-shadow:0 10px 25px rgba(15,51,39,.08);
}
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{
  display:block; width:auto; height:auto; max-width:100%;
  max-height:clamp(330px,42vw,515px); padding:0;
  object-fit:contain; object-position:center; border-radius:14px;
}
@media(max-width:900px){body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{max-height:400px;}}
@media(max-width:640px){
 body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{border-radius:17px;padding:10px;}
 body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{max-height:340px;}
}
/* Field-level validation: placeholders do not resize the form while typing. */
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) > .rk-form-readiness{display:none;}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) label .rk-field-feedback{
  display:block; margin:5px 1px 0; min-height:0; font-size:11px; line-height:1.85;
  font-weight:600; color:var(--rk-sub); text-align:right;
}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) label .rk-field-feedback:empty{display:none;}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) label .rk-field-feedback.is-error{color:#ae4744;}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) label .rk-field-feedback.is-error{color:#ffa99f;}
body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) :is(input,select,textarea)[aria-invalid="true"]{
 border-color:#bb645c; box-shadow:0 0 0 2px rgba(187,100,92,.12);
}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-contact-form,.rk-wholesale-form) :is(input,select,textarea)[aria-invalid="true"]{border-color:#ed9f91;}
/* Global contextual trail on pages which didn't have breadcrumbs. */
body.rk-wp .rk-context-breadcrumb-wrap{margin-block:14px 20px;}
body.rk-wp .rk-context-breadcrumb,
body.rk-wp .rk-breadcrumbs,
body.rk-wp .rk-help-breadcrumb,
body.rk-wp .rk-404-breadcrumb{
  font-size:12px; line-height:1.9; color:var(--rk-sub); max-width:100%; overflow-wrap:anywhere;
}
body.rk-wp .rk-context-breadcrumb{display:inline-flex;max-width:100%;padding:8px 13px;border:1px solid var(--rk-border);
 background:var(--rk-card);border-radius:13px;box-shadow:0 4px 12px rgba(11,60,40,.035);}
body.rk-wp .rk-context-breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:0;margin:0;min-width:0;}
body.rk-wp .rk-context-breadcrumb li{display:inline-flex;align-items:center;min-width:0;gap:7px;}
body.rk-wp .rk-context-breadcrumb a,
body.rk-wp :is(.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) a{
  color:var(--rk-primary);text-decoration:none;transition:color .2s ease;
}
body.rk-wp .rk-context-breadcrumb a:hover,body.rk-wp :is(.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) a:hover{text-decoration:underline;text-underline-offset:3px;}
body.rk-wp .rk-context-breadcrumb a:focus-visible{outline:2px solid var(--rk-primary);outline-offset:3px;border-radius:3px;}
body.rk-wp .rk-context-breadcrumb [aria-current="page"]{color:var(--rk-ink);font-weight:750;}
body.rk-wp .rk-context-breadcrumb .rk-crumb-divider{display:inline-flex;color:var(--rk-sub);opacity:.6;}
body.rk-wp .rk-context-breadcrumb .rk-crumb-divider .rk-icon{width:13px;height:13px;}
html[data-rk-theme="dark"] body.rk-wp .rk-context-breadcrumb{background:var(--rk-card);border-color:var(--rk-border);box-shadow:none;}
/* Existing single-product breadcrumb remains WooCommerce-owned and URL-accurate. */
body.rk-wp .rk-single-product .rk-breadcrumbs{border:1px solid var(--rk-border);border-radius:13px;background:var(--rk-card);padding:9px 13px;width:max-content;max-width:100%;}
body.rk-wp .rk-single-product .rk-breadcrumbs .woocommerce-breadcrumb{color:var(--rk-sub);}
@media(max-width:640px){body.rk-wp .rk-context-breadcrumb-wrap{margin-block:9px 12px;}body.rk-wp .rk-context-breadcrumb{padding:7px 10px;font-size:11px;}}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-context-breadcrumb a{transition:none;}}


/* rk-ux-refinement-0631 */
/* 0.6.31: scoped fixes. WooCommerce variation availability is never forced. */
/* HOME: keep hover subtle in both palettes and keep links above purely visual layers. */
body.rk-wp.home #featured .product-card{position:relative;transition:transform .32s cubic-bezier(.22,1,.36,1), border-color .26s ease, box-shadow .32s ease;box-shadow:0 4px 12px rgba(15,65,49,.065);}
body.rk-wp.home #featured .product-card .rk-card-media .product-image,
body.rk-wp.home #featured .product-card .rk-card-title-link{position:relative;z-index:3;pointer-events:auto;}
html[data-rk-theme="dark"] body.rk-wp.home #featured .product-card{box-shadow:0 4px 14px rgba(0,0,0,.12);}
@media(hover:hover) and (pointer:fine){
 body.rk-wp.home #featured .product-card:hover{transform:translateY(-3px);box-shadow:0 9px 21px rgba(16,58,44,.11);}
 html[data-rk-theme="dark"] body.rk-wp.home #featured .product-card:hover{box-shadow:0 9px 22px rgba(0,0,0,.21);}
}
/* HOME: category arrow stays vertically centered. Only the glyph glides sideways. */
body.rk-wp.home #categories .category-card .round-arrow,
body.rk-wp.home #categories .category-card:hover .round-arrow{transform:translateY(-50%);transition:background-color .23s ease,color .23s ease;}
body.rk-wp.home #categories .category-card .round-arrow .rk-icon{transition:transform .25s cubic-bezier(.22,1,.36,1);transform:none;}
@media(hover:hover) and (pointer:fine){
 body.rk-wp.home #categories .category-card:hover .round-arrow .rk-icon{transform:translateX(-2px);}
}
/* Shared trails: explicit label colors even when nested/legacy page variables conflict. */
html[data-rk-theme="dark"] body.rk-wp .rk-context-breadcrumb [aria-current="page"],
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .woocommerce-breadcrumb,
html[data-rk-theme="dark"] body.rk-wp .rk-breadcrumbs :is(span,span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6))[aria-current="page"]){color:#e0f2e6;}
html[data-rk-theme="dark"] body.rk-wp .rk-context-breadcrumb :is(a,.rk-crumb-divider),
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .woocommerce-breadcrumb a{color:#93ddc8;opacity:1;}
body.rk-wp .rk-context-breadcrumb a:hover,
body.rk-wp :is(.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) a:hover,
body.rk-wp .rk-single-product .woocommerce-breadcrumb a:hover{text-decoration:none;color:var(--rk-ink);}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-context-breadcrumb,.rk-single-product .rk-breadcrumbs) a:hover{color:#f1fff5;}
/* About page: remove only the small botanical decoration, not hero product photo. */
body.rk-wp .rk-about .rk-about-hero::before{display:none;content:none;}
/* Product page breadcrumb: the native Woo breadcrumb carries default bottom margins. */
body.rk-wp .rk-single-product{padding-top:clamp(10px,1.3vw,16px);}
body.rk-wp .rk-single-product .rk-breadcrumbs{display:block;min-height:0;margin:0 0 clamp(12px,1.6vw,20px);padding:7px 12px;line-height:1.7;}
body.rk-wp .rk-single-product .rk-breadcrumbs .woocommerce-breadcrumb{display:block;margin:0;padding:0;line-height:1.7;font-size:12px;}
/* Native variable select keeps Woo's value, variation_id, availability and button synchronized. */
body.rk-wp .rk-single-product .rk-v13-buy form.variations_form table.variations{margin:10px 0 12px;}
body.rk-wp .rk-single-product .rk-v13-buy .variations select[name^="attribute_"]{
 display:block;appearance:none;-webkit-appearance:none;width:100%;max-width:100%;min-width:0;
 min-height:46px;padding:10px 15px 10px 36px;
 background-color:var(--rk-card);color:var(--rk-ink);
 border:1px solid var(--rk-border);border-radius:13px;
 font:inherit;font-size:13px;font-weight:650;line-height:1.7;
 box-shadow:none;cursor:pointer;
 transition:background-color .23s ease,border-color .23s ease,box-shadow .23s ease;
 direction:rtl;
}
body.rk-wp .rk-single-product .rk-v13-buy .variations td.value{position:relative;}
/* Caret is purely decorative; it cannot block the actual select. */
body.rk-wp .rk-single-product .rk-v13-buy .variations td.value::before{
 content:"";position:absolute;pointer-events:none;z-index:1;left:15px;top:24px;
 width:7px;height:7px;border-inline-end:1.7px solid var(--rk-sub);border-bottom:1.7px solid var(--rk-sub);
 transform:rotate(45deg);opacity:.85;
}
body.rk-wp .rk-single-product .rk-v13-buy .variations select[name^="attribute_"]:is(:hover,:focus-visible){border-color:var(--rk-primary);background-color:var(--rk-surface);}
body.rk-wp .rk-single-product .rk-v13-buy .variations select[name^="attribute_"]:focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px;box-shadow:0 0 0 3px var(--rk-brand-soft);}
body.rk-wp .rk-single-product .rk-v13-buy .variations option{background:var(--rk-card);color:var(--rk-ink);}
body.rk-wp .rk-single-product .rk-v13-buy .woocommerce-variation-add-to-cart{gap:9px;}
body.rk-wp .rk-single-product .rk-v13-buy .single_add_to_cart_button{border-radius:13px!important;transition:transform .24s cubic-bezier(.22,1,.36,1),background-color .24s ease,box-shadow .24s ease;}
body.rk-wp .rk-single-product .rk-v13-buy .single_add_to_cart_button:disabled,
body.rk-wp .rk-single-product .rk-v13-buy .single_add_to_cart_button.disabled{box-shadow:none;transform:none;cursor:not-allowed;}
body.rk-wp .rk-single-product .rk-v13-trust-item{border-radius:14px;}
@media(max-width:640px){
 body.rk-wp .rk-single-product .rk-breadcrumbs{margin-bottom:12px;padding:7px 10px;}
 body.rk-wp .rk-single-product .rk-v13-buy .variations select[name^="attribute_"]{min-height:44px;}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home #featured .product-card,body.rk-wp.home #categories .round-arrow .rk-icon,
 body.rk-wp .rk-single-product .rk-v13-buy .variations select[name^="attribute_"],
 body.rk-wp .rk-single-product .rk-v13-buy .single_add_to_cart_button{transition:none;transform:none;}
}


/* rk-navigation-0634 */
/* v0.6.34 — local RK adaptation of Chocolate City's mobile quick-nav and account popover.
   Do not alter the underlying Rabino, WooCommerce or theme drawer/search contracts. */

/* Reviews: the bright legacy border belongs to the top-level reviews panel.
   Keep the comment form/input borders, dividers and other product tab panels. */
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs .woocommerce-Tabs-panel--reviews,
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs #tab-reviews,
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs #reviews {
  border:0 !important;
  outline:0;
  box-shadow:none;
}

/* Same one-token SVG divider in each theme-owned breadcrumb implementation. */
body.rk-wp :is(.rk-context-breadcrumb,.woocommerce-breadcrumb,.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) :is(.rk-crumb-divider,.rk-breadcrumb-sep){
  display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
  margin-inline:7px;color:var(--rk-sub);opacity:.8;line-height:1;white-space:nowrap;
}
body.rk-wp :is(.rk-context-breadcrumb,.woocommerce-breadcrumb,.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) :is(.rk-crumb-divider,.rk-breadcrumb-sep) .rk-icon{
  display:block;width:13px;height:13px;stroke:currentColor;
}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-context-breadcrumb,.woocommerce-breadcrumb,.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) :is(.rk-crumb-divider,.rk-breadcrumb-sep){color:#a6d7c7;opacity:.9;}
body.rk-wp :is(.rk-context-breadcrumb,.woocommerce-breadcrumb,.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) a:hover{text-decoration:none;}
body.rk-wp :is(.rk-context-breadcrumb,.woocommerce-breadcrumb,.rk-breadcrumbs,.rk-help-breadcrumb,.rk-404-breadcrumb) a:focus-visible{outline:2px solid var(--rk-primary);outline-offset:3px;border-radius:3px;}

/* Account: same hover/focus composition as the reference, with RK semantic surfaces. */
body.rk-wp .site-header .rk-account-menu{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;z-index:55;}
body.rk-wp .site-header .rk-account-trigger{display:grid;place-items:center;}
body.rk-wp .site-header .rk-account-panel{
  position:absolute;z-index:190;top:calc(100% + 9px);inset-inline-end:0;
  width:min(244px,calc(100vw - 30px));padding:9px;box-sizing:border-box;
  border-radius:18px;border:1px solid var(--rk-border);background:var(--rk-card);
  box-shadow:0 14px 35px rgba(9,52,40,.14);color:var(--rk-ink);
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(7px);
  transition:opacity .18s ease,transform .22s cubic-bezier(.22,1,.36,1),visibility 0s linear .22s;
}
body.rk-wp .site-header .rk-account-panel::before{content:"";position:absolute;bottom:100%;inset-inline:0;height:12px;}
body.rk-wp .site-header .rk-account-menu:hover .rk-account-panel,
body.rk-wp .site-header .rk-account-menu:focus-within .rk-account-panel{
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
  transition:opacity .18s ease,transform .22s cubic-bezier(.22,1,.36,1),visibility 0s;
}
body.rk-wp .site-header .rk-account-profile{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:7px 5px 12px;margin-bottom:6px;border-bottom:1px solid var(--rk-border);}
body.rk-wp .site-header .rk-account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--rk-brand-soft);color:var(--rk-primary);}
body.rk-wp .site-header .rk-account-avatar .rk-icon{width:19px;height:19px;}
body.rk-wp .site-header .rk-account-profile div{min-width:0;}
body.rk-wp .site-header .rk-account-profile strong,
body.rk-wp .site-header .rk-account-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.7;}
body.rk-wp .site-header .rk-account-profile strong{font-size:12px;color:var(--rk-ink);}
body.rk-wp .site-header .rk-account-profile small{font-size:11px;color:var(--rk-sub);}
body.rk-wp .site-header .rk-account-panel > a{
  display:flex;align-items:center;gap:10px;min-height:43px;padding:8px 10px;
  border:1px solid transparent;border-radius:12px;box-sizing:border-box;
  font-size:12px;font-weight:750;color:var(--rk-ink);text-decoration:none;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
body.rk-wp .site-header .rk-account-panel > a .rk-icon{width:17px;height:17px;flex:none;color:var(--rk-primary);}
body.rk-wp .site-header .rk-account-panel > a:is(:hover,:focus-visible){background:var(--rk-brand-soft);border-color:var(--rk-border);color:var(--rk-primary);text-decoration:none;}
body.rk-wp .site-header .rk-account-panel > a:focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px;}
body.rk-wp .site-header .rk-account-panel > a.rk-account-logout:is(:hover,:focus-visible){color:#c76e62;background:rgba(187,93,76,.08);border-color:rgba(187,93,76,.18);}
html[data-rk-theme="dark"] body.rk-wp .site-header .rk-account-panel{box-shadow:0 18px 40px rgba(0,0,0,.29);}

/* Theme-native logout confirmation uses a native dialog; the action is still a signed WP URL. */
body.rk-wp .rk-logout-dialog{box-sizing:border-box;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--rk-border);border-radius:20px;background:var(--rk-card);color:var(--rk-ink);box-shadow:0 24px 64px rgba(0,0,0,.22);direction:rtl;}
body.rk-wp .rk-logout-dialog::backdrop{background:rgba(7,27,23,.64);}
body.rk-wp .rk-logout-dialog__body{padding:24px;}
body.rk-wp .rk-logout-dialog .rk-logout-title{margin:0 0 9px;font-size:19px;color:var(--rk-ink);line-height:1.6;}
body.rk-wp .rk-logout-dialog p{margin:0 0 20px;font-size:13px;color:var(--rk-sub);line-height:1.9;}
body.rk-wp .rk-logout-dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
body.rk-wp .rk-logout-dialog__actions > *{display:grid;place-items:center;min-height:44px;padding:9px;border:1px solid var(--rk-border);border-radius:12px;background:var(--rk-surface);color:var(--rk-ink);font:inherit;font-size:13px;font-weight:750;text-decoration:none;cursor:pointer;transition:background .2s ease,border-color .2s ease;}
body.rk-wp .rk-logout-dialog__actions [data-rk-logout-confirm]{background:var(--rk-primary);border-color:var(--rk-primary);color:var(--rk-primary-text,#fff);}
body.rk-wp .rk-logout-dialog__actions > *:is(:hover,:focus-visible){border-color:var(--rk-primary);text-decoration:none;}
body.rk-wp .rk-logout-dialog__actions > *:focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px;}

/* Mobile: retain existing five native links/actions, now in the reference's floating structure. */
body.rk-wp .rk-mobile-quick-nav{display:none;}
@media(max-width:900px){
 body.rk-wp{padding-bottom:max(88px,calc(77px + env(safe-area-inset-bottom,0px)));}
 body.rk-wp .site-header .rk-account-menu{display:none;}
 body.rk-wp .rk-mobile-quick-nav{
  position:fixed;display:block;z-index:95;
  right:max(8px,env(safe-area-inset-right,0px));left:max(8px,env(safe-area-inset-left,0px));
  bottom:max(8px,env(safe-area-inset-bottom,0px));height:auto;width:auto;
  max-width:544px;margin-inline:auto; padding:0;min-height:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;
  transform:translate3d(0,0,0) scale(1);transform-origin:bottom center;
  opacity:1;visibility:visible;pointer-events:none;
  transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .24s ease,visibility 0s linear 0s;
 }
 body.rk-wp .rk-mobile-quick-nav.is-footer-hidden,
 body.rk-wp.rk-panel-open .rk-mobile-quick-nav,
 body.rk-wp.rk-search-open .rk-mobile-quick-nav{
  transform:translate3d(0,calc(100% + 24px),0) scale(.98);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .22s ease,visibility 0s linear .3s;
 }
 body.rk-wp .rk-mobile-quick-nav__surface{
  position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;
  height:68px;padding:4px 6px;border-radius:19px;
  border:1px solid var(--rk-border);
  background:var(--rk-card);box-shadow:0 12px 32px rgba(14,59,43,.15),0 3px 10px rgba(14,59,43,.07);
  box-sizing:border-box;pointer-events:auto;direction:rtl;
 }
 body.rk-wp .rk-mobile-quick-nav__item{
  -webkit-appearance:none;appearance:none;position:relative;display:flex;min-width:0;min-height:0;
  align-items:center;justify-content:center;flex-direction:column;gap:4px;
  padding:5px 2px;border:0;border-radius:13px;background:transparent;color:var(--rk-sub);
  font:inherit;font-size:10px;font-weight:750;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;
  transition:background-color .2s ease,color .2s ease,transform .18s cubic-bezier(.22,1,.36,1);
 }
 body.rk-wp .rk-mobile-quick-nav__item > .rk-icon,
 body.rk-wp .rk-mobile-quick-nav__cart-icon > .rk-icon{width:20px;height:20px;flex:none;}
 body.rk-wp .rk-mobile-quick-nav__item::after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:var(--rk-primary);opacity:0;transform:scale(.3);transition:opacity .18s ease,transform .2s ease;}
 body.rk-wp .rk-mobile-quick-nav__item[aria-current="page"],
 body.rk-wp .rk-mobile-quick-nav__item[aria-expanded="true"]{background:var(--rk-brand-soft);color:var(--rk-primary);}
 body.rk-wp .rk-mobile-quick-nav__item[aria-current="page"]::after{opacity:1;transform:scale(1);}
 body.rk-wp .rk-mobile-quick-nav__item:focus-visible{outline:2px solid var(--rk-primary);outline-offset:-2px;}
 body.rk-wp .rk-mobile-quick-nav__item:active{transform:scale(.97);}
 body.rk-wp .rk-mobile-quick-nav__item--primary{background:transparent!important;color:var(--rk-primary);}
 body.rk-wp .rk-mobile-quick-nav__item--primary::after{display:none;}
 body.rk-wp .rk-mobile-quick-nav__primary-icon{
  display:grid;place-items:center;width:44px;height:44px;margin-top:-17px;margin-bottom:1px;
  border:4px solid var(--rk-card);border-radius:16px;box-sizing:border-box;
  background:var(--rk-primary);color:var(--rk-primary-text,#fff);
  box-shadow:0 7px 17px rgba(10,66,50,.15);
  transition:transform .24s cubic-bezier(.22,1,.36,1),box-shadow .24s ease;
 }
 body.rk-wp .rk-mobile-quick-nav__primary-icon .rk-icon{width:20px;height:20px;}
 body.rk-wp .rk-mobile-quick-nav__cart-icon{position:relative;display:grid;place-items:center;}
 body.rk-wp .rk-mobile-quick-nav__badge{
  position:absolute;top:-8px;inset-inline-start:-12px;display:inline-flex;align-items:center;justify-content:center;
  min-width:19px;height:19px;padding:0 3px;box-sizing:border-box;border:2px solid var(--rk-card);
  border-radius:999px;background:var(--rk-primary);color:var(--rk-primary-text,#fff);
  font-size:9px;line-height:1;font-weight:850;
 }
 body.rk-wp .rk-mobile-quick-nav__badge[hidden]{display:none!important;}
 html[data-rk-theme="dark"] body.rk-wp .rk-mobile-quick-nav__surface{box-shadow:0 13px 29px rgba(0,0,0,.27);}
}
@media(max-width:365px){
 body.rk-wp .rk-mobile-quick-nav{left:max(5px,env(safe-area-inset-left,0px));right:max(5px,env(safe-area-inset-right,0px));}
 body.rk-wp .rk-mobile-quick-nav__surface{height:65px;padding-inline:3px;}
 body.rk-wp .rk-mobile-quick-nav__item{font-size:9px;gap:3px;}
 body.rk-wp .rk-mobile-quick-nav__primary-icon{width:42px;height:42px;}
}
@media(hover:hover) and (pointer:fine){
 body.rk-wp .rk-mobile-quick-nav__item:hover{background:var(--rk-brand-soft);color:var(--rk-primary);}
 body.rk-wp .rk-mobile-quick-nav__item--primary:hover .rk-mobile-quick-nav__primary-icon{transform:translateY(-2px);box-shadow:0 10px 20px rgba(10,66,50,.19);}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .rk-mobile-quick-nav,body.rk-wp .rk-mobile-quick-nav.is-footer-hidden,
 body.rk-wp .rk-mobile-quick-nav__item,body.rk-wp .rk-mobile-quick-nav__primary-icon,
 body.rk-wp .site-header .rk-account-panel{transition:none!important;}
}


/* rk-refinement-0635 */
/* Rayehe Kimia 0.6.35 — scoped archive/list cards, native category drawer and mobile shell. */
:root{--rk-drawer-ease:cubic-bezier(.22,1,.36,1)}
/* The three small desktop header links are ordinary navigation, never underlined. */
body.rk-wp .topline .topline-links a,
body.rk-wp .topline .topline-links a:hover,
body.rk-wp .topline .topline-links a:focus-visible{text-decoration:none;border-bottom:0;box-shadow:none}
body.rk-wp .topline .topline-links a{transition:color .2s ease,opacity .2s ease}
body.rk-wp .topline .topline-links a:hover{color:#a4e4d1}
body.rk-wp .topline .topline-links a:focus-visible{outline:2px solid #a4e4d1;outline-offset:4px;border-radius:3px}
/* Filter navigation: all product-category pages share one accessible control.
   With JS disabled the original sidebar remains visible and crawlable. */
body.rk-wp .rk-catalog .rk-catalog-filter-toggle{display:none;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 15px;background:var(--rk-card);border:1px solid var(--rk-border);border-radius:13px;color:var(--rk-ink);font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background-color .22s ease,border-color .22s ease,color .22s ease}
body.rk-wp .rk-catalog .rk-catalog-filter-toggle .rk-icon{width:18px;height:18px;color:var(--rk-primary)}
body.rk-wp .rk-catalog .rk-catalog-filter-toggle:hover{background:var(--rk-brand-soft);border-color:var(--rk-primary)}
body.rk-wp .rk-catalog .rk-catalog-filter-toggle:focus-visible{outline:3px solid var(--rk-focus);outline-offset:2px}
body.rk-wp .rk-catalog-filter-dot{width:7px;height:7px;background:var(--rk-primary);border-radius:50%}
body.rk-wp .rk-catalog-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
body.rk-wp .rk-catalog-filter-head small{display:block;color:var(--rk-sub);font-size:11px;margin-bottom:2px}
body.rk-wp .rk-catalog .rk-catalog-filter-head :where(h2,.rk-h2):not(rkx){margin:0;font-size:19px;color:var(--rk-ink)}
body.rk-wp .rk-catalog-filter-close{display:grid;place-items:center;width:40px;height:40px;flex:none;background:var(--rk-brand-soft);border:1px solid var(--rk-border);border-radius:12px;color:var(--rk-ink);cursor:pointer}
body.rk-wp .rk-catalog-filter-close svg{width:18px;height:18px}
body.rk-wp .rk-catalog-filter-close:focus-visible{outline:2px solid var(--rk-focus);outline-offset:2px}
body.rk-wp .rk-catalog-filter-backdrop{display:none}
/* Archive drawer and horizontal cards apply only at mobile/tablet widths. */
@media(max-width:900px){
html.js body.rk-wp .rk-catalog .rk-catalog-layout{display:block;min-width:0}
html.js body.rk-wp .rk-catalog .rk-catalog-results{width:100%;min-width:0}
html.js body.rk-wp .rk-catalog .rk-catalog-sidebar{
 position:fixed;inset:0 0 0 auto;top:0;right:0;bottom:0;left:auto;
 width:min(395px,calc(100vw - 20px));height:100dvh;max-height:100dvh;
 padding:22px clamp(16px,3vw,25px) 28px;box-sizing:border-box;
 z-index:9997;overflow-y:auto;overscroll-behavior:contain;
 border:1px solid var(--rk-border);border-inline-end:0;border-radius:24px 0 0 24px;
 background:var(--rk-card);color:var(--rk-ink);box-shadow:-16px 0 50px rgba(0,0,0,.18);
 transform:translate3d(105%,0,0);visibility:hidden;pointer-events:none;
 transition:transform .34s var(--rk-drawer-ease),visibility 0s linear .34s;
}
html.js body.rk-wp .rk-catalog.rk-filter-is-open .rk-catalog-sidebar{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;transition:transform .34s var(--rk-drawer-ease),visibility 0s}
html.js body.rk-wp .rk-catalog .rk-catalog-filter-backdrop{display:block;position:fixed;inset:0;z-index:9996;background:rgba(4,22,17,.62);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .26s ease,visibility 0s linear .26s}
html.js body.rk-wp .rk-catalog.rk-filter-is-open .rk-catalog-filter-backdrop{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .26s ease,visibility 0s}
body.rk-wp.rk-filter-panel-open{overflow:hidden}
/* This drawer always uses vertical category links — never inherit legacy horizontal mobile strips. */
body.rk-wp .rk-catalog .rk-catalog-sidebar ul{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;overflow:visible;flex-wrap:nowrap}
body.rk-wp .rk-catalog .rk-catalog-sidebar li{width:100%;min-width:0;max-width:none}
body.rk-wp .rk-catalog .rk-catalog-sidebar li>a{display:flex;width:100%;max-width:none;min-height:45px;align-items:center;white-space:normal;box-sizing:border-box;overflow-wrap:anywhere;padding:10px 13px;text-align:right;border-radius:12px;transition:background .2s ease,color .2s ease,border-color .2s ease}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar{background:#1e3029;border-color:#3b5147;box-shadow:-14px 0 44px rgba(0,0,0,.28)}
/* Product archive alone uses one self-contained horizontal card per row.
   Other grids and horizontal carousels keep the original shared card rendering. */
body.rk-wp .rk-catalog .rk-catalog-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:14px;align-items:stretch}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{
 width:100%;min-width:0;height:auto;min-height:0;box-sizing:border-box;display:grid;
 grid-template-columns:clamp(136px,23%,205px) minmax(0,1fr);grid-template-areas:'media body';
 align-items:stretch;column-gap:0;overflow:hidden;padding:0;
 border:1px solid var(--rk-border);border-radius:20px;
 background:var(--rk-card);box-shadow:0 3px 12px rgba(12,50,34,.055);
 transition:transform .3s var(--rk-drawer-ease),box-shadow .3s ease,border-color .26s ease;
}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-media{grid-area:media;position:relative;display:flex;min-width:0;min-height:0;padding:10px;align-items:stretch}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image{
 display:grid;place-items:center;box-sizing:border-box;width:100%;height:auto;min-height:150px;max-height:none;
 aspect-ratio:auto;padding:12px;border-radius:14px;background:var(--rk-brand-soft);overflow:hidden;
}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image img{width:100%;height:100%;max-height:195px;min-height:0;object-fit:contain}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-category{inset-inline-end:16px;bottom:16px;max-width:calc(100% - 34px)}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-actions{position:absolute;z-index:4;top:13px;right:13px;left:auto;inset-inline-end:auto;gap:4px}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-actions>*{width:30px;height:30px;border-radius:10px;box-shadow:none}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-status{top:13px;right:auto;left:13px;z-index:3;padding:5px 8px;box-shadow:none}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-text{
 grid-area:body;min-width:0;min-height:0;display:flex;flex-direction:column;gap:5px;
 padding:17px clamp(15px,2.5vw,23px) 15px;
 background:transparent;
}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card h3{min-height:0;max-height:2.9em;margin:0;line-height:1.5;font-size:clamp(14px,1.3vw,17px);font-weight:800}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-pack{margin:5px 0 0;min-height:0;max-height:none}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .packaging-caption{margin:0 0 4px;font-size:11px;line-height:1.45}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .pack-chips{display:flex;gap:5px;align-items:center;flex-wrap:wrap;max-height:none;min-height:0}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .pack-chips span{line-height:1.35;padding:3px 7px}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-bottom{
 display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:8px 12px;
 margin-top:auto;padding-top:9px;border-top:1px solid var(--rk-border);min-height:0;
}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-group{display:flex;min-width:0;flex:1 1 170px;align-items:flex-start;gap:2px;min-height:0}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-caption{font-size:11px;line-height:1.35}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-values{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 7px;line-height:1.4;overflow-wrap:anywhere}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-values :is(del,ins){margin:0;padding:0;line-height:1.35}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-values del{font-size:.78em;opacity:.67}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-bottom-actions{align-self:end;justify-self:end;margin:0;gap:6px;flex:0 0 auto}
body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-bottom-actions .card-action-icon{width:37px;height:37px;flex:0 0 37px;box-shadow:none;border-radius:11px}
@media(hover:hover) and (pointer:fine){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card:hover{transform:translateY(-2px);box-shadow:0 8px 21px rgba(12,50,34,.095);border-color:var(--rk-primary)}
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{background:var(--rk-card);box-shadow:none}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-grid>.product-card:hover{box-shadow:0 7px 20px rgba(0,0,0,.14)}
@media(max-width:600px){
 body.rk-wp .rk-catalog .rk-catalog-grid{gap:10px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{grid-template-columns:clamp(104px,31%,138px) minmax(0,1fr);border-radius:17px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-media{padding:7px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image{min-height:132px;padding:6px;border-radius:11px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image img{max-height:168px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-text{gap:4px;padding:11px 11px 10px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card h3{font-size:13px;line-height:1.5}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .packaging-caption{font-size:10px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .pack-chips span{font-size:9px;padding:2px 5px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-bottom{gap:7px;padding-top:7px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-group{flex-basis:135px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-values{font-size:12px;gap:2px 5px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-bottom-actions .card-action-icon{width:32px;height:32px;flex-basis:32px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-actions{top:9px;right:9px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-status{top:9px;left:9px;font-size:9px;padding:3px 5px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-category{bottom:12px;inset-inline-end:11px;max-width:calc(100% - 22px)}
}
@media(max-width:380px){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{grid-template-columns:102px minmax(0,1fr)}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-text{padding:10px 9px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .price-group{flex-basis:105px}
}

}
/* Mobile drawer shell and mini cart: preserve Woo's native item/checkout contracts. */
@media(max-width:900px){
 body.rk-wp .rk-offcanvas{
  left:auto;right:0;inset-inline-start:auto;inset-inline-end:auto;
  width:min(410px,calc(100vw - 16px));max-width:calc(100vw - 16px);
  height:100dvh;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;
  padding:0;border-radius:22px 0 0 22px;
  background:var(--rk-card);color:var(--rk-ink);
  box-shadow:-18px 0 44px rgba(0,0,0,.19);
  transform:translate3d(105%,0,0);
  transition:transform .34s var(--rk-drawer-ease),visibility .34s;
 }
 body.rk-wp .rk-offcanvas.is-open{transform:translate3d(0,0,0)}
 body.rk-wp .rk-offcanvas .drawer-head{
  position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;
  padding:19px 19px;border-bottom:1px solid var(--rk-border);
  background:var(--rk-card);color:var(--rk-ink);
 }
 body.rk-wp .rk-offcanvas .drawer-head .rk-drawer-title{font-size:19px;font-weight:850;margin:0;color:var(--rk-ink)}
 body.rk-wp .rk-offcanvas .drawer-close{display:grid;place-items:center;width:41px;height:41px;background:var(--rk-brand-soft);color:var(--rk-primary);border:1px solid var(--rk-border);border-radius:13px;cursor:pointer;flex:none}
 body.rk-wp .rk-offcanvas .drawer-close .rk-icon{width:19px;height:19px}
 body.rk-wp .rk-offcanvas .drawer-body{padding:17px;min-width:0}
 body.rk-wp .rk-offcanvas .rk-mobile-links{margin:0;padding:0;display:grid;gap:7px;list-style:none}
 body.rk-wp .rk-offcanvas .rk-mobile-links li{min-width:0;position:relative;list-style:none}
 body.rk-wp .rk-offcanvas .rk-mobile-links>li>a,
 body.rk-wp .rk-offcanvas .mobile-link{
  display:flex;align-items:center;min-height:46px;padding:10px 13px;
  background:var(--rk-surface);border:1px solid var(--rk-border);border-radius:13px;
  color:var(--rk-ink);font:inherit;font-size:13px;font-weight:740;line-height:1.75;
  text-decoration:none;box-sizing:border-box;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
 }
 body.rk-wp .rk-offcanvas .rk-mobile-links>li>a:hover,
 body.rk-wp .rk-offcanvas .mobile-link:hover{background:var(--rk-brand-soft);border-color:var(--rk-primary)}
 body.rk-wp .rk-offcanvas .rk-mobile-links :is(.current-menu-item,.current_page_item)>a{background:var(--rk-brand-soft);color:var(--rk-primary);border-color:var(--rk-border)}
 body.rk-wp .rk-offcanvas .rk-mobile-links li.menu-item-has-children>a{padding-inline-end:50px}
 body.rk-wp .rk-mobile-submenu-toggle{position:absolute;top:3px;left:4px;display:grid;place-items:center;width:40px;height:40px;border:0;background:transparent;color:var(--rk-primary);cursor:pointer}
 body.rk-wp .rk-mobile-submenu-toggle svg{width:17px;height:17px;transition:transform .22s ease}
 body.rk-wp .rk-mobile-submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
 body.rk-wp .rk-offcanvas .rk-mobile-links ul{display:grid;gap:5px;padding:8px 13px 5px 4px;margin:0;list-style:none}
 body.rk-wp .rk-offcanvas .rk-mobile-links ul[hidden]{display:none}
 body.rk-wp .rk-offcanvas .rk-mobile-links ul li>a{display:block;padding:10px 12px;border-radius:10px;border:0;background:var(--rk-surface);color:var(--rk-ink);font-size:12px;line-height:1.8;text-decoration:none}
 body.rk-wp .rk-offcanvas .rk-mobile-links ul li>a:hover{background:var(--rk-brand-soft)}
 body.rk-wp .rk-offcanvas .rk-drawer-search-link{margin-top:12px;padding:13px;border:1px solid var(--rk-border);border-radius:13px;background:var(--rk-brand-soft);color:var(--rk-primary)}
 body.rk-wp #rk-mobile-cart .drawer-body{display:flex;flex-direction:column;gap:15px;padding:16px;min-height:0}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart{display:grid;gap:10px;margin:0;padding:0;list-style:none}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item{position:relative;display:block;min-width:0;padding:13px 12px 13px 14px;border:1px solid var(--rk-border);border-radius:15px;background:var(--rk-surface);color:var(--rk-ink);font-size:13px;line-height:1.9;overflow:hidden}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item>a:not(.remove){display:flex;align-items:center;gap:12px;min-width:0;color:var(--rk-ink);font-weight:800;text-decoration:none;line-height:1.8;padding-inline-start:25px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item img{float:none;width:67px;max-width:67px;height:67px;object-fit:contain;flex:0 0 67px;border:1px solid var(--rk-border);border-radius:11px;background:var(--rk-brand-soft);margin:0}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item .quantity{display:block;clear:both;margin-top:10px;padding-inline-start:2px;color:var(--rk-sub);font-size:12px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item .remove{position:absolute;top:12px;left:12px;display:grid;place-items:center;width:29px;height:29px;line-height:1;border:1px solid var(--rk-border);border-radius:9px;background:var(--rk-card);color:var(--rk-ink);text-decoration:none}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__total{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0;padding:14px;border:1px solid var(--rk-border);border-radius:13px;background:var(--rk-surface);color:var(--rk-ink);font-size:13px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__buttons a{display:grid;place-items:center;min-width:0;min-height:46px;margin:0;padding:10px;background:var(--rk-card);color:var(--rk-primary);border:1px solid var(--rk-primary);border-radius:12px;text-decoration:none;font-weight:800;font-size:12px;text-align:center}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__buttons a.checkout{background:var(--rk-primary);color:var(--rk-primary-text,#fff)}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__empty-message{padding:45px 14px;text-align:center;color:var(--rk-sub);background:var(--rk-surface);border:1px dashed var(--rk-border);border-radius:15px}
}
/* Footer: deliberate mobile reading order and balanced genuine trust placeholder. */
@media(max-width:640px){
 body.rk-wp .site-footer{padding-top:clamp(88px,18vw,110px);padding-bottom:clamp(25px,5vw,40px)}
 body.rk-wp .site-footer .footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 15px;align-items:start;direction:rtl}
 body.rk-wp .site-footer .footer-grid>.rk-footer-brand{grid-column:1/-1;order:0}
 body.rk-wp .site-footer .footer-grid>div:nth-child(2){grid-column:auto;order:1}
 body.rk-wp .site-footer .footer-grid>div:nth-child(3){grid-column:auto;order:2}
 body.rk-wp .site-footer .footer-grid>.rk-footer-trust{grid-column:1/-1;order:3}
 body.rk-wp .site-footer .footer-grid>div{min-width:0;text-align:right;padding:0;border:0}
 body.rk-wp .site-footer .footer-grid .rk-footer-title{margin:0 0 10px;color:#edf6ef;font-size:13px}
 body.rk-wp .site-footer .footer-grid p{margin:8px 0;font-size:11px;line-height:1.9;max-width:none}
 body.rk-wp .site-footer .footer-links{gap:7px}
 body.rk-wp .site-footer .footer-links a{font-size:11px;line-height:1.9;overflow-wrap:anywhere}
 body.rk-wp .site-footer .rk-footer-enamad-slot{min-height:80px;max-width:250px;margin-inline:0;padding:10px 12px}
 body.rk-wp .site-footer .footer-bottom{display:flex;flex-wrap:wrap;flex-direction:column;align-items:center;text-align:center;gap:10px;margin-top:25px;padding:20px 4px 12px;line-height:1.85}
}
@media(max-width:360px){body.rk-wp .site-footer .footer-grid{gap:24px 10px}}
@media(prefers-reduced-motion:reduce){
 html.js body.rk-wp .rk-catalog .rk-catalog-sidebar,html.js body.rk-wp .rk-catalog .rk-catalog-filter-backdrop,
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card,body.rk-wp .rk-offcanvas,body.rk-wp .rk-mobile-submenu-toggle svg{transition:none;transform:none}
 html.js body.rk-wp .rk-catalog .rk-catalog-sidebar:not(.is-open){transform:translate3d(105%,0,0)}
 html.js body.rk-wp .rk-catalog.rk-filter-is-open .rk-catalog-sidebar{transform:none}
}

@media(max-width:900px){html.js body.rk-wp .rk-catalog .rk-catalog-filter-toggle{display:inline-flex}}
/* Compact three-zone horizontal reading rhythm for roomy archives: media | details | prices/actions. */
@media(min-width:769px) and (max-width:900px){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-text{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(178px,.65fr);
  grid-template-rows:auto 1fr;grid-template-areas:'title pricing' 'pack pricing';
  gap:4px clamp(14px,2vw,26px);align-items:start;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-title-link{grid-area:title;align-self:start}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-pack{grid-area:pack;align-self:start}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-bottom{
  grid-area:pricing;display:flex;align-self:stretch;flex-direction:column;align-items:stretch;justify-content:center;
  gap:10px;margin:0;padding:4px 0 4px 15px;
  border-top:0;border-inline-start:1px solid var(--rk-border);
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-bottom-actions{align-self:flex-end}
}
@media(max-width:900px){html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle{
 background:#263e34;border-color:#3b594a;color:#eaf7ef;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle:hover{
 background:#365747;border-color:#74c5ab;color:#f5fff8;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle .rk-icon{color:#90d6c2}}

@media(min-width:769px) and (max-width:900px){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-bottom .price-group{flex:0 1 auto;min-height:0}
}
/* Legacy dark variable values are overridden on body by older styles; drawer content
   uses explicit accessible contrasts so headings, links and prices never become dark-on-dark. */
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .drawer-head,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .drawer-head .rk-drawer-title,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links a,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .mobile-link,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item a:not(.remove),
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item .quantity,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item .amount,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__total,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__total strong{
 color:#e7f4eb;
}
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links>li>a,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links ul li>a,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item,
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__total{
 background:#263e34;border-color:#3d554a;
}
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links>li>a:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links>li.current-menu-item>a,
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-mobile-links ul li>a:hover{
 background:#35584a;color:#f7fff9;
}
html[data-rk-theme="dark"] body.rk-wp .rk-offcanvas .rk-drawer-search-link{
 background:#2b4c3c;border-color:#4b6655;color:#b1efd8;
}
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__empty-message{color:#c1d8ca;background:#263e34;border-color:#3d554a}


/* rk-refinement-0636 */
/* v0.6.36 — focused card imagery, mobile drawers, archive image aspect, article drag and category/account polish. */

/* Preserve product images in full while reducing unused padding inside their image surfaces. */
body.rk-wp .product-card .product-image img{
  box-sizing:border-box;
  padding:clamp(3px,.65vw,8px);
  max-width:100%;max-height:100%;
  object-fit:contain;
  object-position:center;
}
/* Homepage showcase uses a larger image without changing the established image/frame ratio. */
body.rk-wp.home #featured .product-card .product-image img{padding:clamp(2px,.45vw,6px)}

/* Archive mobile cards: image region wider, but image box shorter and always contain. */
@media(max-width:600px){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{
  grid-template-columns:minmax(122px,40%) minmax(0,1fr);
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-media{
  align-items:flex-start;min-width:0;padding:7px;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image{
  min-height:0;height:clamp(110px,35vw,143px);max-height:143px;
  aspect-ratio:auto;padding:3px;border-radius:12px;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .product-image img{
  height:100%;width:100%;min-height:0;max-height:100%;padding:2px;object-fit:contain;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-category{
  bottom:auto;top:calc(clamp(110px,35vw,143px) - 20px);right:12px;
 }
}
@media(max-width:360px){
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{grid-template-columns:minmax(113px,39%) minmax(0,1fr)}
}

/* The three mobile drawers all have the same width, relative to the device viewport. */
@media(max-width:900px){
 body.rk-wp #rk-mobile-menu,
 body.rk-wp #rk-mobile-cart,
 body.rk-wp #rk-wholesale,
 body.rk-wp .rk-catalog #rk-catalog-filter-drawer{
  width:70vw;max-width:70vw;box-sizing:border-box;
 }
 /* Keep long labels and cart prices inside the narrower panels. */
 body.rk-wp .rk-offcanvas .drawer-head{padding:15px 11px;gap:6px}
 body.rk-wp .rk-offcanvas .drawer-head .rk-drawer-title{font-size:clamp(15px,3.9vw,19px)}
 body.rk-wp .rk-offcanvas .drawer-body{padding:12px}
 body.rk-wp #rk-mobile-cart .drawer-body{padding:11px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item{padding:12px 8px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item img{
  width:clamp(40px,12vw,64px);height:clamp(40px,12vw,64px);
  flex-basis:clamp(40px,12vw,64px);
 }
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item>a:not(.remove){gap:7px;overflow-wrap:anywhere;padding-inline-start:25px}
 body.rk-wp #rk-mobile-cart .woocommerce-mini-cart__buttons{grid-template-columns:1fr}
 html.js body.rk-wp .rk-catalog #rk-catalog-filter-drawer{padding:19px 12px 20px}
}

/* Mobile Services submenu must obey its toggle even with legacy explicit display:block. */
body.rk-wp .rk-offcanvas .rk-mobile-links li.rk-customer-menu > .sub-menu[hidden]{display:none}

/* Articles: match featured drag affordance; prevent browser-native image dragging. */
body.rk-wp.home #articles #rkArticles.rk-draggable-track{cursor:grab;touch-action:auto;}
body.rk-wp.home #articles #rkArticles.rk-draggable-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
body.rk-wp.home #articles #rkArticles .rk-mag-image img{-webkit-user-drag:none;user-select:none;}

/* Remove precisely the two homepage foliage details requested — not the footer CTA decoration. */
body.rk-wp.home #categories::before{content:none;display:none;background-image:none}
body.rk-wp.home #featured .featured-foliage{display:none}

/* Match logout label AND icon on hover and keyboard focus; no unrelated account icon changes. */
body.rk-wp .site-header .rk-account-panel > a.rk-account-logout:is(:hover,:focus-visible) .rk-icon{color:#d65e58}
html[data-rk-theme="dark"] body.rk-wp .site-header .rk-account-panel > a.rk-account-logout:is(:hover,:focus-visible) .rk-icon{color:#ff9386}

/* The category filter close control needs definite dark-mode contrast. */
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-close{
 color:#f2fff6;background:#304d40;border-color:#729583;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-close .rk-icon{color:inherit}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-close:hover{background:#3d6552;border-color:#99cbb4}

@media(prefers-reduced-motion:reduce){
 body.rk-wp #rk-mobile-menu,body.rk-wp #rk-mobile-cart,
 html.js body.rk-wp .rk-catalog #rk-catalog-filter-drawer{transition:none}
}


/* rk-refinement-0637 */
/* Rayehe Kimia v0.6.37 — focused responsive archive, card rhythm and mobile footer.
 * Archive horizontal/drawer behavior is scoped to <=900px in v0.6.35 itself.
 * Original desktop grid and navigable category sidebar remain native WordPress links.
 */

/* 1. Homepage categories: one editorial rhythm even with unequal name/description lengths.
   Title/summary positions are stable; the existing category image and link stay unchanged. */
body.rk-wp.home #categories .category-grid{align-items:stretch}
body.rk-wp.home #categories .category-card{height:100%;min-width:0;display:flex;flex-direction:column}
body.rk-wp.home #categories .category-card .category-photo{display:block;flex:none;object-fit:cover;width:100%}
body.rk-wp.home #categories .category-card .category-body{
  position:relative;z-index:1;flex:1 0 auto;
  display:grid;grid-template-rows:2.85em 3.3em;
  align-content:center;justify-content:stretch;gap:3px;
  min-width:0;min-height:0;
}
body.rk-wp.home #categories .category-card .category-body :where(h3,.rk-h3):not(rkx){
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;align-self:center;min-width:0;margin:0;line-height:1.42;
}
body.rk-wp.home #categories .category-card .category-body p{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;align-self:start;min-width:0;margin:0;line-height:1.65;
}
body.rk-wp.home #categories .category-card .round-arrow{top:50%}
@media(max-width:640px){
 body.rk-wp.home #categories .category-card .category-body{
  grid-template-rows:2.9em 3.3em;
  padding-block:10px;gap:2px;
 }
}

/* 2. Compact price presentation. Woo's native price HTML (simple, sale, ranges)
   is preserved. Avoid a separate tall flex column for every range endpoint. */
body.rk-wp .product-card .card-text{min-height:0}
body.rk-wp .product-card .rk-card-pack{min-height:0;margin:5px 0 0}
body.rk-wp .product-card .card-bottom,
body.rk-wp .product-card.price-demo-card .card-bottom{
  min-height:0;margin-top:auto;padding-top:8px;gap:5px;
}
body.rk-wp .product-card .price-group{
  min-height:0;gap:3px;justify-content:flex-end;min-width:0;
}
body.rk-wp .product-card .price-values{
  min-height:0;display:flex;flex-flow:row wrap;align-items:baseline;
  justify-content:flex-start;gap:3px 6px;line-height:1.45;
  min-width:0;max-width:100%;overflow-wrap:normal;
}
body.rk-wp .product-card .price-values :is(del,ins){display:inline-flex;max-width:100%;align-items:baseline;gap:2px;line-height:1.45}
body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,bdi){white-space:nowrap;max-width:100%;line-height:1.45}
body.rk-wp .product-card .price-caption{margin:0;line-height:1.4}
/* Equal outer card height remains controlled by the actual grid row/carousel stretch,
   never by large arbitrary minimum heights inside price and packaging blocks. */
body.rk-wp :is(.products-grid,.rk-catalog-grid,.rk-related-grid) {align-items:stretch}
body.rk-wp :is(.products-grid,.rk-catalog-grid,.rk-related-grid)>.product-card{align-self:stretch;height:100%}
body.rk-wp .product-card .card-text{display:flex;flex-direction:column;flex:1 1 auto}
@media(max-width:640px){
 body.rk-wp .product-card .price-values{gap:2px 5px;line-height:1.38}
 body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,.amount){font-size:clamp(11px,2.65vw,14px);line-height:1.4}
 body.rk-wp .product-card .card-bottom,
 body.rk-wp .product-card.price-demo-card .card-bottom{min-height:0;padding-top:7px;gap:5px}
 body.rk-wp .product-card .price-group{min-height:0}
}

/* 3. Desktop archive: original vertical cards plus persistent sidebar.
   0.6.35 styles for horizontal cards are now explicitly <=900px. */
@media(min-width:901px){
 body.rk-wp .rk-catalog .rk-catalog-filter-toggle,
 body.rk-wp .rk-catalog .rk-catalog-filter-backdrop,
 body.rk-wp .rk-catalog .rk-catalog-filter-close{display:none}
 body.rk-wp .rk-catalog .rk-catalog-sidebar{
  position:sticky;top:clamp(85px,8vw,125px);height:auto;max-height:none;
  overflow:visible;transform:none;visibility:visible;pointer-events:auto;
  width:auto;max-width:none;box-shadow:var(--rk-raised-sm);
  border:1px solid var(--rk-border);border-radius:20px;
  padding:20px 15px;background:var(--rk-card);
 }
 body.rk-wp .rk-catalog .rk-catalog-filter-head{margin:0 0 15px}
 body.rk-wp .rk-catalog .rk-catalog-filter-head small{font-size:11px}
 body.rk-wp .rk-catalog .rk-catalog-filter-head h2{font-size:17px}
 body.rk-wp .rk-catalog .rk-catalog-sidebar ul{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;overflow:visible}
 body.rk-wp .rk-catalog .rk-catalog-sidebar li{min-width:0}
 body.rk-wp .rk-catalog .rk-catalog-sidebar li>a{
  display:flex;width:100%;box-sizing:border-box;align-items:center;min-height:43px;
  border-radius:11px;padding:9px 11px;white-space:normal;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid{
  display:grid;grid-auto-rows:auto;align-items:stretch;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card{
  display:flex;flex-direction:column;align-self:stretch;min-width:0;
  height:100%;padding:0;border-radius:19px;
 }
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .rk-card-media{min-width:0;flex:0 0 auto}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-text{display:flex;flex-direction:column;flex:1 1 auto;gap:5px}
 body.rk-wp .rk-catalog .rk-catalog-grid>.product-card .card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}
}
@media(min-width:1300px){
 body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* 4. Footer on phones: centered brand identity, predictable two-column navigation,
   compact trust placeholder. No fake trust badge or new content. */
@media(max-width:640px){
 body.rk-wp .site-footer .footer-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px 12px;align-items:stretch;direction:rtl;
 }
 body.rk-wp .site-footer .footer-grid>div{min-width:0;max-width:100%;border:0}
 body.rk-wp .site-footer .footer-grid>.rk-footer-brand{
  grid-column:1/-1;order:0;display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;
  padding:0 7px 18px;border-bottom:1px solid rgba(223,241,230,.14);
 }
 body.rk-wp .site-footer .rk-footer-logo-link{display:inline-flex;justify-content:center;max-width:100%}
 body.rk-wp .site-footer .rk-footer-brand .footer-logo{width:min(184px,65vw);height:auto;margin:0 0 12px}
 body.rk-wp .site-footer .rk-footer-brand p{
  width:100%;max-width:38ch;margin:0 auto;text-align:center;
  font-size:12px;line-height:2.05;overflow-wrap:anywhere;
 }
 body.rk-wp .site-footer .footer-grid :is(.rk-footer-categories,.rk-footer-contact-info){
  grid-column:auto;min-width:0;padding:4px 3px 6px;align-self:stretch;
 }
 body.rk-wp .site-footer .footer-grid>.rk-footer-categories{order:1}
 body.rk-wp .site-footer .footer-grid .rk-footer-contact-info{order:2}
 body.rk-wp .site-footer .footer-grid .rk-footer-title{margin:0 0 12px;font-size:13px;line-height:1.6;white-space:normal}
 body.rk-wp .site-footer .footer-links{display:flex;flex-direction:column;align-items:stretch;gap:3px}
 body.rk-wp .site-footer .footer-links a,
 body.rk-wp .site-footer .footer-grid .rk-footer-contact-info p a{
  box-sizing:border-box;display:flex;align-items:center;min-height:38px;width:100%;max-width:100%;
  margin:0;padding:7px 5px;line-height:1.9;font-size:11px;
  white-space:normal;overflow-wrap:anywhere;text-decoration:none;
 }
 body.rk-wp .site-footer .footer-links a::before,
 body.rk-wp .site-footer .footer-grid .rk-footer-contact-info p a::before{
  width:5px;height:5px;box-shadow:none;flex:0 0 5px;
 }
 body.rk-wp .site-footer .footer-grid .rk-footer-contact-info p{margin:0;max-width:100%;}
 body.rk-wp .site-footer .footer-grid>.rk-footer-trust{
  grid-column:1/-1;order:4;display:flex;flex-direction:column;align-items:center;
  padding:15px 0 0;border-top:1px solid rgba(223,241,230,.14);
 }
 body.rk-wp .site-footer .rk-footer-trust .rk-footer-title{margin:0 0 10px;text-align:center}
 body.rk-wp .site-footer .rk-footer-enamad-slot{
  width:min(210px,100%);min-height:86px;max-width:100%;margin:0 auto;
  display:grid;place-items:center;text-align:center;padding:13px;
 }
 body.rk-wp .site-footer .footer-bottom{margin-top:20px;gap:7px;padding:17px 6px 15px;line-height:1.9}
}


/* rk-refinement-0638 */
/* Rayehe Kimia 0.6.38 — isolated improvements; previous design and commerce preserved. */

/* The archive count now uses the same geometry and surface as the sort picker. */
body.rk-wp .rk-catalog .rk-catalog-count{
 display:inline-flex;align-items:center;gap:9px;max-width:100%;min-height:45px;
 box-sizing:border-box;margin:0;padding:8px 14px;
 border:1px solid var(--rk-border);border-radius:14px 0 14px 0;
 background:var(--rk-card);box-shadow:none;color:var(--rk-ink);
}
body.rk-wp .rk-catalog .rk-catalog-count::before{
 width:7px;height:7px;flex:0 0 7px;background:var(--rk-primary);box-shadow:none;
}
body.rk-wp .rk-catalog .rk-catalog-count-number{color:var(--rk-ink);font-size:14px;font-weight:850;}
body.rk-wp .rk-catalog .rk-catalog-count-label{color:var(--rk-sub);font-size:12px;font-weight:700;}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count{
 background:#253b33;border-color:#426254;color:#eef6f0;box-shadow:0 5px 15px rgba(0,0,0,.15);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-number{color:#eef6f0;}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-label{color:#cee4d7;}
@media(max-width:640px){body.rk-wp .rk-catalog .rk-catalog-count{min-height:43px;padding:8px 11px;gap:8px;}}

/* Article carousels: native touch pan in both axes; no visible bottom scrollbar.
   This does not interfere with horizontal swipe or existing mouse drag thresholds. */
body.rk-wp.home #articles #rkArticles,
body.rk-wp .rk-article-detail #rkRelatedArticles{
 overflow-x:auto;overflow-y:hidden;touch-action:auto;
 -webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;
 scrollbar-width:none;-ms-overflow-style:none;
}
body.rk-wp.home #articles #rkArticles::-webkit-scrollbar,
body.rk-wp .rk-article-detail #rkRelatedArticles::-webkit-scrollbar{display:none;width:0;height:0;}
@media(max-width:900px){
 body.rk-wp.home #articles #rkArticles,
 body.rk-wp .rk-article-detail #rkRelatedArticles{
  scroll-snap-type:x mandatory;scroll-behavior:auto;
  padding-bottom:8px;
 }
 body.rk-wp.home #articles #rkArticles > .rk-mag-card,
 body.rk-wp .rk-article-detail #rkRelatedArticles > .rk-mag-card{
  flex-shrink:0;scroll-snap-align:start;
 }
}

/* Mobile header drawer: account is a distinct, accessible destination. */
@media(max-width:900px){
 body.rk-wp #rk-mobile-menu .rk-mobile-account-link{
  display:flex;align-items:center;gap:10px;min-height:48px;margin-top:14px;
  padding:10px 13px;background:var(--rk-brand-soft);color:var(--rk-primary);
  border:1px solid var(--rk-border);border-radius:13px;text-decoration:none;
  font-weight:800;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-account-link .rk-icon{
  display:block;flex:0 0 18px;width:18px;height:18px;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-account-link .rk-icon:last-child{
  margin-inline-start:auto;width:16px;height:16px;opacity:.75;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-account-link:is(:hover,:focus-visible){
  background:var(--rk-surface);border-color:var(--rk-primary);text-decoration:none;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-account-link:focus-visible{
  outline:2px solid var(--rk-primary);outline-offset:3px;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-links ul.sub-menu{
  display:grid;gap:7px;padding:10px 12px 8px 5px;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-links ul.sub-menu[hidden]{display:none;}
 body.rk-wp #rk-mobile-menu .rk-mobile-links ul.sub-menu > li{margin:0;padding:0;}
 body.rk-wp #rk-mobile-menu .rk-mobile-links ul.sub-menu > li > a{
  display:flex;align-items:center;box-sizing:border-box;min-height:43px;
  padding:10px 12px;border:1px solid var(--rk-border);
  border-radius:10px;background:var(--rk-surface);line-height:1.7;
 }
}

/* Only the empty trailing region after the footer was caused by body padding
   reserved for the fixed nav. The nav auto-hides at the footer itself. */
@media(max-width:900px){
 html body.rk-wp{padding-bottom:0;}
 body.rk-wp .site-footer{padding-bottom:max(14px,env(safe-area-inset-bottom,0px));}
 body.rk-wp .site-footer .footer-bottom{
  margin-top:16px;padding:14px 4px 4px;gap:7px;
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home #articles #rkArticles,
 body.rk-wp .rk-article-detail #rkRelatedArticles{scroll-behavior:auto;}
}


/* rk-refinement-0639 */
/* Rayehe Kimia v0.6.39 — mobile archive controls, service menu readability,
 * article mobile geometry, and one shared carousel arrow treatment.
 * No changes to form, cart, sorting, or carousel event logic.
 */

/* All carousel navigators reuse a restrained asymmetric RK shape, including
   the editorial product recommendations. Do not affect category card arrows. */
body.rk-wp button.carousel-arrow,
body.rk-wp :is(.featured-nav,.article-nav,.rk-related-controls,.rk-article-product-controls) button.carousel-arrow,
body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow {
 display:inline-grid;place-items:center;flex:0 0 38px;
 width:38px;height:38px;min-width:38px;min-height:38px;
 padding:0;border:1px solid var(--rk-border);
 border-radius:12px 0 12px 0;
 background:var(--rk-card);color:var(--rk-primary);
 box-shadow:0 3px 10px rgba(12,50,35,.07);
 cursor:pointer;
 transition:background-color .23s ease,color .23s ease,
            border-color .23s ease,box-shadow .23s ease,
            transform .23s cubic-bezier(.22,1,.36,1);
}
body.rk-wp button.carousel-arrow .rk-icon,
body.rk-wp button.carousel-arrow svg{width:17px;height:17px;flex:none;}
@media(hover:hover) and (pointer:fine){
 body.rk-wp :is(.featured-nav,.article-nav,.rk-related-controls,.rk-article-product-controls) button.carousel-arrow:not(:disabled):hover,
 body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow:not(:disabled):hover{
  transform:translateY(-1px);background:var(--rk-brand-soft);
  color:var(--rk-primary);border-color:var(--rk-primary);
  box-shadow:0 5px 13px rgba(12,50,35,.1);
 }
}
body.rk-wp button.carousel-arrow:disabled,
body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow:disabled{
 transform:none;cursor:not-allowed;opacity:.4;box-shadow:none;
 background:var(--rk-surface);border-color:var(--rk-border);color:var(--rk-sub);
}
body.rk-wp button.carousel-arrow:focus-visible{
 outline:2px solid var(--rk-focus,#f2d76b);outline-offset:3px;
}
html[data-rk-theme="dark"] body.rk-wp button.carousel-arrow,
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow{
 background:#263d34;color:#c0e9db;border-color:#435d50;
 box-shadow:0 3px 10px rgba(0,0,0,.12);
}
html[data-rk-theme="dark"] body.rk-wp button.carousel-arrow:not(:disabled):hover,
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow:not(:disabled):hover{
 background:#315145;color:#f0fff5;border-color:#77b6a2;
}
html[data-rk-theme="dark"] body.rk-wp button.carousel-arrow:disabled{
 background:#26372f;color:#92b9a6;box-shadow:none;
}

/* On small devices, unify filter button, results count and sorting as one
   predictable two-row control group. Native select and accessible enhanced
   control both remain owned by the catalog script. */
@media(max-width:900px){
 body.rk-wp .rk-catalog .rk-catalog-top{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;gap:10px;margin-bottom:16px;min-width:0;
 }
 html.js body.rk-wp .rk-catalog .rk-catalog-filter-toggle,
 body.rk-wp .rk-catalog .rk-catalog-count{
  display:flex;align-items:center;justify-content:center;
  width:100%;max-width:none;min-width:0;min-height:47px;height:100%;
  margin:0;box-sizing:border-box;padding:9px 9px;gap:6px;
  border-radius:14px;border:1px solid var(--rk-border);
  background:var(--rk-card);box-shadow:none;
  color:var(--rk-ink);font-size:12px;line-height:1.6;
 }
 body.rk-wp .rk-catalog .rk-catalog-count{align-self:stretch;white-space:nowrap;}
 body.rk-wp .rk-catalog .rk-catalog-count::before{width:6px;height:6px;flex:0 0 6px;}
 body.rk-wp .rk-catalog .rk-catalog-count-number{font-size:14px;line-height:1.3;}
 body.rk-wp .rk-catalog .rk-catalog-count-label{font-size:11px;line-height:1.45;}
 body.rk-wp .rk-catalog .rk-catalog-filter-toggle .rk-icon{width:17px;height:17px;flex:none;}
 body.rk-wp .rk-catalog .rk-catalog-controls{
  grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;gap:11px;margin:0;padding:0;min-width:0;
 }
 body.rk-wp .rk-catalog .rk-catalog-sort-label{
  font-size:12px;line-height:1.6;color:var(--rk-sub);margin:0;
 }
 body.rk-wp .rk-catalog .rk-catalog-sort-control,
 body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select{
  width:100%;max-width:100%;min-width:0;min-height:47px;margin:0;
 }
 body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
 body.rk-wp .rk-catalog .rk-catalog-sort-trigger{
  width:100%;min-width:0;min-height:47px;
  border-radius:14px;border:1px solid var(--rk-border);
  background-color:var(--rk-card);box-shadow:none;
  color:var(--rk-ink);font-weight:750;
 }
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle,
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count,
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sort-trigger,
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select{
  background:#263d34;border-color:#425d50;box-shadow:none;color:#f1f9f3;
 }
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sort-label{color:#c5dfd2;}
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-label{color:#d1e4d8;}
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-number{color:#f1f9f3;}
}
@media(max-width:355px){
 body.rk-wp .rk-catalog .rk-catalog-top{grid-template-columns:minmax(0,1fr);gap:8px;}
 body.rk-wp .rk-catalog .rk-catalog-controls{grid-column:1;}
 body.rk-wp .rk-catalog .rk-catalog-count{min-height:43px;}
}

/* The service submenu used an older hardcoded color treatment. Match the actual
   product submenus in the same mobile drawer while preserving [hidden] toggles. */
@media(max-width:900px){
 body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu > ul.sub-menu > li > a{
  display:flex;align-items:center;min-height:43px;
  padding:10px 12px;margin:0;line-height:1.75;font-size:12px;
  border:1px solid var(--rk-border);border-radius:10px;
  background:var(--rk-surface);color:var(--rk-ink);
  text-decoration:none;box-sizing:border-box;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu > ul.sub-menu > li > a:is(:hover,:focus-visible){
  background:var(--rk-brand-soft);color:var(--rk-primary);
 }
 html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu > ul.sub-menu > li > a{
  background:#263e34;border-color:#3d554a;color:#e7f4eb;
 }
 html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu > ul.sub-menu > li > a:is(:hover,:focus-visible){
  background:#35584a;color:#f7fff9;
 }
 body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu > ul.sub-menu[hidden]{display:none;}
}

/* Article mobile: a squared editorial photo, a readable summary and intentional
   separately rounded heading/content cards. Desktop layout stays unchanged. */
@media(max-width:760px){
 body.rk-wp .rk-article-detail .rk-post-hero{
  border-radius:0;box-shadow:none;
 }
 body.rk-wp .rk-article-detail .rk-article-ai-summary{
  border-radius:0;
 }
 body.rk-wp .rk-article-detail .rk-article-head{
  box-sizing:border-box;min-width:0;
  border-radius:0 0 18px 18px;
  padding:16px clamp(14px,4vw,20px) 20px;
 }
 body.rk-wp .rk-article-detail .rk-entry-content{
  margin-top:12px;border:1px solid var(--rk-ed-border);
  border-radius:18px;
 }
}
@media(max-width:640px){
 body.rk-wp button.carousel-arrow,
 body.rk-wp :is(.featured-nav,.article-nav,.rk-related-controls,.rk-article-product-controls) button.carousel-arrow,
 body.rk-wp .rk-article-detail .rk-article-product-controls button.carousel-arrow{
  width:36px;height:36px;min-width:36px;min-height:36px;flex-basis:36px;
  border-radius:11px 0 11px 0;
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp button.carousel-arrow{transition:none;}
 body.rk-wp button.carousel-arrow:hover{transform:none;}
}


/* rk-refinement-0640 */
/* Rayehe Kimia v0.6.40 — scoped, visual-only article and catalog refinements. */

/* Article: render the SAME contextual breadcrumb markup and surface used by
   regular pages; keep it inside the existing editorial content container. */
body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap{
  margin:0 0 clamp(12px,1.5vw,20px);
}
body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb{
  display:inline-flex;vertical-align:top;max-width:100%;
}
/* Editorial tokens may differ from the global page tokens. The crumb's text
   belongs to the global nav palette regardless of local article styling. */
body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb{
  color:var(--rk-sub);
}
body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb [aria-current="page"]{
  color:var(--rk-ink);
}
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb [aria-current="page"]{
  color:#e0f2e6;
}

/* v0.6.41: maintain rounded TOP corners only. The bottom edge is flush
   with the article summary / heading surface in both theme modes. */
body.rk-wp .rk-article-detail figure.rk-post-hero{
  border-radius:22px 22px 0 0;
  overflow:hidden;
}
body.rk-wp .rk-article-detail figure.rk-post-hero img{
  border-radius:inherit;
}
@media(max-width:760px){
  body.rk-wp .rk-article-detail figure.rk-post-hero{
    border-radius:17px 17px 0 0;
  }
}

/* v0.6.41: restore a single restrained recommendation-section surface
   (no shadow) around the card, retaining native scroll, controls and hover clearance. */
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside.rk-article-product-panel{
  background:var(--rk-ed-soft);
  border:1px solid var(--rk-ed-border);
  border-radius:20px;
  box-shadow:none;
  padding:clamp(12px,1.45vw,18px);
  overflow:visible;
}
body.rk-wp .rk-article-detail .rk-article-product-track{
  box-sizing:border-box;
  background:transparent;
  border:0;
  box-shadow:none;
  padding:12px 5px 15px;
  scroll-padding-inline:5px;
  overflow-x:auto;
  overflow-y:hidden;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  flex:0 0 100%;
  box-shadow:none;
}
@media(hover:hover) and (pointer:fine){
  body.rk-wp .rk-article-detail .rk-article-product-track > .product-card:hover{
    box-shadow:none;
  }
}
/* Match the legacy dark override's specificity so its transparent background
   cannot beat the restored surface in browsers with a dark color preference. */
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside.rk-article-product-panel{
  background:var(--rk-ed-soft);
  border-color:var(--rk-ed-border);
  box-shadow:none;
}
/* Only the inner scrolling track remains transparent. */
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-product-track{
  background:transparent;
  box-shadow:none;
}
/* Ensure side shadows are never presented as another recommendation surface. */
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  box-shadow:none;
}

/* Catalog ellipsis is a noninteractive gap marker, NOT another page link.
   An old .rk-pagination span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) rule added a light border and white rectangle. */
body.rk-wp .rk-catalog .rk-pagination__ellipsis{
  display:flex;align-items:center;justify-content:center;
  min-width:28px;min-height:40px;
  border:0;background:transparent;box-shadow:none;
}
body.rk-wp .rk-catalog .rk-pagination__ellipsis > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  width:auto;height:auto;min-width:0;min-height:0;
  margin:0;padding:0;
  border:0;border-radius:0;
  background:transparent;box-shadow:none;outline:0;
  color:var(--rk-sub);font-size:20px;font-weight:800;
  letter-spacing:1px;line-height:1;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-pagination__ellipsis > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  background:transparent;border-color:transparent;
  color:#bfdacb;box-shadow:none;
}
@media(max-width:640px){
  body.rk-wp .rk-catalog .rk-pagination__ellipsis{min-height:38px;min-width:21px;}
}

/* With the redundant AI instruction removed, avoid a vacant first line.
   AISummarizer still owns its title, tools, buttons, service links and behavior. */
body.rk-wp .rk-article-detail .rk-article-ai-summary > .aisum{
  margin-top:0;
}


/* rk-refinement-0642 */
/* Rayehe Kimia v0.6.42 — single-article sidebar unification. */

/* Make the reading-guide and recommendation boxes feel like one coherent
   component family in both theme modes. We keep the internal product card and
   carousel behavior unchanged, and only unify the OUTER shells. */
body.rk-wp .rk-article-detail .rk-article-sidebar{
  gap:clamp(12px,1.2vw,16px);
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside{
  box-sizing:border-box;
  background:var(--rk-ed-surface);
  border:1px solid var(--rk-ed-border);
  border-radius:22px;
  box-shadow:none;
  padding:clamp(14px,1.5vw,18px);
  overflow:visible;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 6px;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside :where(h2,.rk-h2):not(rkx){
  margin:0 0 12px;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-toc-panel .rk-toc{
  margin-top:2px;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-toc-panel .rk-toc a{
  border-radius:11px;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{
  background:var(--rk-ed-surface);
  border:1px solid var(--rk-ed-border);
  border-radius:22px;
  box-shadow:none;
  padding:clamp(14px,1.5vw,18px);
}
body.rk-wp .rk-article-detail .rk-article-product-header{
  margin-bottom:12px;
  padding-bottom:2px;
}
body.rk-wp .rk-article-detail .rk-article-product-track{
  padding:6px 2px 10px;
  scroll-padding-inline:2px;
}
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside,
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{
  background:var(--rk-ed-surface);
  border-color:var(--rk-ed-border);
  box-shadow:none;
}
@media(max-width:760px){
  body.rk-wp .rk-article-detail .rk-article-sidebar{
    gap:14px;
  }
  body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside,
  body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{
    border-radius:20px;
    padding:16px;
  }
}


/* rk-refinement-0643 */
/* Rayehe Kimia 0.6.43 — scoped article-sidebar parity and Woo product header/trail. */

/* Article: matching visual shells, heading rhythm, muted item surfaces, no extra shadow.
   The product inside its carousel remains the existing shared Woo product card. */
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside:is(.rk-article-toc-panel,.rk-article-product-panel){
  background:var(--rk-ed-surface);
  border:1px solid var(--rk-ed-border);
  border-radius:22px;
  padding:clamp(14px,1.5vw,18px);
  color:var(--rk-ed-ink);
  box-shadow:none;
  overflow:visible;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside .eyebrow{
  margin:0 0 5px;
  color:var(--rk-ed-muted);
  line-height:1.8;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside :where(h2,.rk-h2):not(rkx){
  margin:0 0 12px;
  color:var(--rk-ed-ink);
  font-size:clamp(16px,1.4vw,18px);
  line-height:1.7;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-header{
  align-items:center;
  margin-bottom:12px;
}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-header :where(h2,.rk-h2):not(rkx){margin-bottom:0;}
body.rk-wp .rk-article-detail .rk-article-product-track{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:9px 3px 13px;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  border:1px solid var(--rk-ed-border);
  border-radius:16px;
  box-shadow:none;
  background:var(--rk-ed-surface);
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-text{
  background:var(--rk-ed-surface);
}
@media(hover:hover) and (pointer:fine){
  body.rk-wp .rk-article-detail .rk-article-product-track > .product-card:hover{
    box-shadow:none;
  }
}
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside:is(.rk-article-toc-panel,.rk-article-product-panel){
  background:var(--rk-ed-surface);
  border-color:var(--rk-ed-border);
  box-shadow:none;
}

/* Product trail now uses the identical HTML component as ordinary pages.
   The enclosing main is already .container; do not nest another container. */
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap{
  display:block;
  margin:0 0 clamp(12px,1.6vw,20px);
  padding:0;
}
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{
  display:inline-flex;
  max-width:100%;
  color:var(--rk-sub);
}
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{
  color:#e0f2e6;
  background:var(--rk-card);
  border-color:var(--rk-border);
}

/* Keep the genuine live Woo stock marker opposite the name, with taxonomy
   directly below. The stock script's selector and update events are unchanged. */
body.rk-wp .rk-single-product .rk-v13-heading{min-width:0;margin-bottom:8px;}
body.rk-wp .rk-single-product .rk-v13-title-line{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:clamp(8px,1.1vw,16px);
  min-width:0;
}
body.rk-wp .rk-single-product .rk-v13-title-line h1.product_title{
  flex:1 1 auto;
  min-width:0;
  margin:0!important;
  overflow-wrap:anywhere;
}
body.rk-wp .rk-single-product .rk-v13-title-line .rk-v13-stock{
  flex:0 0 auto;
  align-self:flex-start;
  width:auto;
  max-width:45%;
  margin:clamp(4px,.7vw,9px) 0 0;
  white-space:nowrap;
}
body.rk-wp .rk-single-product .rk-v13-heading .rk-v13-kicker{
  display:block;
  margin:7px 0 0;
  line-height:1.8;
  color:var(--rk-primary);
  font-size:13px;
  font-weight:750;
}
@media(max-width:640px){
  body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside:is(.rk-article-toc-panel,.rk-article-product-panel){
    border-radius:20px;
    padding:16px;
  }
  body.rk-wp .rk-single-product .rk-v13-title-line{gap:8px;}
  body.rk-wp .rk-single-product .rk-v13-title-line h1.product_title{
    font-size:clamp(20px,5.6vw,27px)!important;
  }
  body.rk-wp .rk-single-product .rk-v13-title-line .rk-v13-stock{
    margin-top:3px;
    padding:4px 7px;
    font-size:10px;
  }
  body.rk-wp .rk-single-product .rk-v13-heading .rk-v13-kicker{font-size:12px;}
}


/* rk-refinement-0644 */
/* Rayehe Kimia v0.6.44 — single-product typography/gutter and shared carousel gestures. */

/* Identical breadcrumb typography to the contextual trail used elsewhere.
   WooCommerce product breadcrumb labels can inherit a heavier product link weight. */
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{
  font-size:12px;
  font-weight:400;
  line-height:1.9;
}
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb :is(li,a){
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
}
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb [aria-current="page"]{
  font-size:inherit;
  font-weight:750;
}
@media(max-width:640px){
  body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{font-size:11px;}
}

/* Shorten excessive gap below the sticky header, without overlapping it.
   Mobile intentionally keeps the existing non-sticky gallery. */
@media(min-width:901px){
  body.rk-wp .rk-single-product .rk-v13-layout > .rk-v13-visual{
    top:clamp(86px,calc(100dvh - 660px),108px);
  }
  body.admin-bar.rk-wp .rk-single-product .rk-v13-layout > .rk-v13-visual{
    top:clamp(118px,calc(100dvh - 628px),140px);
  }
}

/* Mouse drag can begin on images AND linked card headings. Suppress HTML's
   native ghost-image dragging only inside actual carousel tracks. Links still
   work on a click, and touch scrolling stays native. */
body.rk-wp .rk-draggable-track :is(img,a){
  -webkit-user-drag:none;
}
body.rk-wp .rk-draggable-track.is-dragging{
  cursor:grabbing;
  scroll-behavior:auto;
  scroll-snap-type:none;
  user-select:none;
  -webkit-user-select:none;
}
/* The historical #featured and #articles selectors have ID specificity.
   Their mandatory snap must also be suspended only DURING a mouse drag. */
body.rk-wp #featured .featured-carousel.rk-draggable-track.is-dragging,
body.rk-wp #articles .article-carousel.rk-draggable-track.is-dragging{
  scroll-snap-type:none;
  scroll-behavior:auto;
}
@media(hover:hover) and (pointer:fine){
  body.rk-wp .rk-draggable-track:not(.is-dragging){cursor:grab;}
  body.rk-wp .rk-draggable-track :is(button,input,select,textarea){cursor:auto;}
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp .rk-draggable-track{scroll-behavior:auto;}
}


/* rk-home-showcase-0648 */
/* v0.6.48 — matching site-width, brand-radius, alpha hero artworks and polished rail motion. */
body.rk-wp.home .rk-home-showcase,
body.rk-wp.home .rk-showcase-categories{
 --rk-showcase-bg:#f8fbf7;
 --rk-showcase-ink:#174d3d;
 --rk-showcase-muted:#667d70;
 --rk-showcase-surface:#eef5ed;
 --rk-showcase-border:#e2ebe2;
 --rk-showcase-mint:#b4decf;
 --rk-showcase-accent:#0F4F4A;
 --rk-home-panel-radius:clamp(22px,2.4vw,32px);
 --rk-home-inner-radius:18px;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase,
html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories{
 --rk-showcase-bg:#182620;
 --rk-showcase-ink:#f0f7f0;
 --rk-showcase-muted:#adc5b8;
 --rk-showcase-surface:#20332c;
 --rk-showcase-border:#345346;
 --rk-showcase-mint:#2a5b4a;
 --rk-showcase-accent:#58C7BE;
 --rk-home-panel-radius:clamp(22px,2.4vw,32px);
 --rk-home-inner-radius:18px;
}
/* The two homepage sections use .container, so site.css --shell owns width. */
body.rk-wp.home .rk-home-showcase,
body.rk-wp.home .rk-showcase-categories{
 box-sizing:border-box;width:var(--shell);margin-inline:auto;
}
body.rk-wp.home .rk-home-showcase{
 margin-top:clamp(16px,2.5vw,34px);
 padding:0;
 background:transparent;
 color:var(--rk-showcase-ink);
 border:0;
 border-radius:0;
 box-shadow:none;
 isolation:isolate;
}
/* The outer shell intentionally has no dark-mode shadow. */
body.rk-wp.home .rk-showcase-categories{margin-top:clamp(12px,1.6vw,18px);}

/* --- Hero shell --- */
body.rk-wp.home .rk-home-showcase .home-hero,
body.rk-wp.home .rk-home-showcase .rk-showcase-hero{
 display:block;position:relative;width:100%;max-width:none;min-height:0;
 margin:0;padding:0;border:0;border-radius:0;box-shadow:none;
 background:transparent;overflow:visible;
}
body.rk-wp.home .rk-home-showcase .home-hero::before,
body.rk-wp.home .rk-home-showcase .home-hero::after,
body.rk-wp.home .rk-home-showcase .hero-photoleaf,
body.rk-wp.home .rk-home-showcase .hero-vertical,
body.rk-wp.home .rk-home-showcase .hero-photo-frame::before,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider::before,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider::after,
body.rk-wp.home .rk-home-showcase .home-hero .hero-visual::before,
body.rk-wp.home .rk-home-showcase .home-hero .hero-visual::after{content:none !important;display:none !important;}

body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr);
 box-sizing:border-box;max-width:none;width:100%;min-width:0;
 padding:0 0 clamp(48px,5vw,68px);margin:0;
 overflow:visible;background:transparent;
 border:0;
 border-radius:0;isolation:isolate;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide,
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full{
 grid-area:1/1;
 display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
 align-items:center;direction:rtl;
 gap:clamp(22px,3.9vw,62px);
 position:relative;inset:auto;min-width:0;width:100%;min-height:clamp(350px,35vw,455px);
 margin:0;padding:clamp(20px,2.2vw,30px);
 border:0;border-radius:0;box-shadow:none;background:transparent;
 box-sizing:border-box;
}
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-split-reverse{direction:ltr;}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide:not(.active){pointer-events:none;opacity:0;visibility:hidden;}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide{
 opacity:0;visibility:hidden;transform:translateY(6px);
 transition:opacity .55s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1),visibility 0s linear .55s;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide.active{
 display:grid;opacity:1;visibility:visible;pointer-events:auto;transform:none;
 transition:opacity .55s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1),visibility 0s;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy,
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .slide .slide-copy{
 position:relative;z-index:3;direction:rtl;grid-column:auto;grid-row:auto;
 width:100%;max-width:560px;margin:0;min-width:0;
 padding:clamp(10px,1.5vw,22px) 0;
 background:transparent;border:0;border-radius:0;box-shadow:none;
 text-align:right;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .eyebrow{
 display:inline-flex;align-items:center;gap:8px;
 font-weight:800;letter-spacing:0;margin:0 0 15px;
 color:#387e61;font-size:clamp(11px,.95vw,13px);line-height:1.65;
 padding:8px 14px;border-radius:999px;background:rgba(81,147,115,.1);
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .eyebrow{color:#9ae1bf;background:rgba(121,202,168,.12);}
body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title{
 color:var(--rk-showcase-ink);font-size:clamp(30px,3.7vw,54px);
 font-weight:900;line-height:1.42;letter-spacing:-.5px;
 margin:0 0 clamp(12px,1.6vw,22px);max-width:14.5em;overflow-wrap:anywhere;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title em{font-style:normal;color:#4b8765;white-space:normal;}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title em{color:#8bd3af;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-copy p:not(.rk-hero-title){
 font-size:clamp(13px,1.1vw,16px);line-height:2.08;
 margin:0 0 clamp(17px,2.4vw,31px);max-width:52ch;color:var(--rk-showcase-muted);
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:0;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 19px;
 border-radius:14px;font-size:13px;font-weight:850;line-height:1.5;text-decoration:none;box-shadow:none;transform:none;
 transition:background-color .23s ease,border-color .23s ease,color .23s ease,box-shadow .23s ease;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-primary{background:var(--rk-showcase-accent);color:#fff;border:1px solid var(--rk-showcase-accent);}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-light{color:var(--rk-showcase-ink);background:transparent;border:1px solid #8eb5a0;}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-primary{background:#74c3a3;border-color:#74c3a3;color:#10392c;}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-light{border-color:#668d7a;color:#e4f2e9;}
@media(hover:hover) and (pointer:fine){
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-primary:hover{background:#24644d;border-color:#24644d;box-shadow:0 7px 16px rgba(24,105,79,.14);}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-light:hover{background:rgba(255,255,255,.5);border-color:#70a98c;}
 html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn-light:hover{background:rgba(255,255,255,.03);}
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn :is(svg,.rk-icon){width:17px;height:17px;flex:none;transition:transform .23s ease;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn:hover :is(svg,.rk-icon){transform:translateX(-2px);}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual,
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .rk-slide-model-full .hero-visual{
 position:relative;grid-column:auto;grid-row:auto;inset:auto;display:flex;align-items:center;justify-content:center;
 width:100%;max-width:none;height:clamp(300px,31vw,420px);min-width:0;min-height:0;max-height:none;margin:0;
 opacity:1;pointer-events:none;overflow:hidden;border:0;background:transparent;box-shadow:none;border-radius:0;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame,
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero .rk-slide-model-full .hero-photo-frame{
 position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;
 padding:0;margin:0;border:0;background:transparent;border-radius:26px;box-shadow:none;overflow:hidden;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame picture{display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0;padding:0;}
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame picture .hero-photo{
 display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:0;
 object-fit:contain;object-position:center;border-radius:24px;box-shadow:none;transform:none;filter:none;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-sticker{
 position:absolute;z-index:3;inset:auto auto 8px 12px;max-width:min(250px,75%);padding:8px 14px;
 background:rgba(248,251,247,.92);color:var(--rk-showcase-ink);border:1px solid var(--rk-showcase-border);
 border-radius:14px;box-shadow:0 5px 16px rgba(13,55,43,.09);font-size:11px;backdrop-filter:blur(8px);
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .hero-sticker{background:rgba(24,38,32,.88);}
body.rk-wp.home .rk-home-showcase .home-hero:not(.rk-dynamic-hero) .hero-sticker{display:none;}

body.rk-wp.home .rk-home-showcase .home-hero .hero-controls,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .hero-controls{
 position:absolute;z-index:10;inset:auto 50% 10px auto;transform:translateX(50%);
 display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:0;width:max-content;max-width:100%;background:transparent;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider[data-slide-count="1"] > .hero-controls,
body.rk-wp.home .rk-home-showcase .home-hero:has(#heroSlider[data-slide-count="1"]) > .hero-controls{display:none;}
body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button{
 display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:12px;border:1px solid var(--rk-showcase-border);
 color:var(--rk-showcase-ink);background:var(--rk-showcase-bg);box-shadow:none;cursor:pointer;transition:background-color .2s,border-color .2s;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button svg{width:17px;height:17px;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots{display:flex;align-items:center;gap:7px;margin:0;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button{display:block;width:7px;height:7px;min-width:7px;min-height:7px;padding:0;margin:0;border:0;border-radius:50%;background:#bdd3c5;transition:width .2s,background-color .2s,border-radius .2s;}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active{width:22px;border-radius:10px;background:#438c6c;}

body.rk-wp.home :is(.rk-home-showcase .hero-controls button,.rk-home-showcase .slide-buttons a,.rk-showcase-categories .rk-category-dock__item,.rk-showcase-categories .rk-category-dock__all):focus-visible{outline:3px solid #d39c4c;outline-offset:3px;}

/* --- Category strip outside hero --- */
body.rk-wp.home #categories.rk-showcase-categories{display:block;max-width:none;padding:0;border:0;box-shadow:none;background:transparent;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock{
 box-sizing:border-box;display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:center;gap:clamp(12px,1.6vw,18px);
 min-height:120px;padding:0;border-radius:0;background:transparent;border:0;box-shadow:none;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature{
 display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:78px;padding:13px 13px;border-radius:16px;
 background:#d4f2eb;color:#0F4F4A;min-width:0;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature{background:#245148;color:#f5fff9;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__symbol{display:grid;place-items:center;flex:0 0 29px;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__symbol svg{width:27px;height:27px;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature :where(h2,.rk-h2):not(rkx){color:inherit;margin:0;font-size:clamp(13px,1.13vw,16px);font-weight:900;line-height:1.5;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)):not(.rk-category-dock__symbol){font-size:10px;line-height:1.6;opacity:.88;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__all{display:grid;place-items:center;align-self:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;color:inherit;text-decoration:none;background:rgba(255,255,255,.36);}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__all svg{width:15px;height:15px;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{
 box-sizing:border-box;display:flex;align-items:stretch;gap:11px;min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;
 scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;touch-action:auto;
 padding:6px 2px;cursor:grab;user-select:none;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail::-webkit-scrollbar{display:none;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail.is-dragging{cursor:grabbing;scroll-behavior:auto;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail.is-dragging a{pointer-events:none;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__item{
 box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 clamp(138px,12.9vw,178px);min-height:75px;
 padding:11px 13px;border-radius:15px;background:var(--rk-showcase-bg);border:1px solid var(--rk-showcase-border);
 box-shadow:0 3px 8px rgba(21,67,45,.035);color:var(--rk-showcase-ink);font-size:13px;font-weight:850;text-decoration:none;text-align:center;
 line-height:1.7;scroll-snap-align:start;white-space:normal;overflow-wrap:anywhere;transition:border-color .23s,background-color .23s,box-shadow .23s,transform .23s;
}
@media(hover:hover) and (pointer:fine){
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__item:hover{border-color:#76ad8a;background:#ffffff;box-shadow:0 6px 13px rgba(20,70,45,.07);transform:translateY(-1px);}
 html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories .rk-category-dock__item:hover{background:rgba(255,255,255,.03);}
}

@media(max-width:1050px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide,
 body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;min-height:350px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual{height:300px;}
}
@media(max-width:760px){
 /* Layout width is inherited from .container at every breakpoint. */
 body.rk-wp.home .rk-home-showcase{border-radius:23px;padding:14px 11px 16px;margin-top:12px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion{padding-bottom:54px;border-radius:20px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide,
 body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:12px;min-height:0;padding:15px 14px 10px;direction:rtl;
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy,
 body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .slide .slide-copy{order:0;grid-column:1;grid-row:1;padding:8px 2px 0;max-width:none;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual,
 body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .rk-slide-model-full .hero-visual{order:1;grid-column:1;grid-row:2;height:clamp(205px,57vw,345px);min-height:0;align-self:center;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title{font-size:clamp(27px,6vw,39px);margin-bottom:9px;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .eyebrow{margin-bottom:8px;padding:7px 12px;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-copy p:not(.rk-hero-title){font-size:13px;line-height:1.85;margin-bottom:13px;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn{min-height:41px;padding:9px 13px;border-radius:12px;font-size:11px;}
 body.rk-wp.home .rk-home-showcase .home-hero .hero-controls,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .hero-controls{bottom:8px;}
 body.rk-wp.home .rk-showcase-categories{margin-top:10px;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock{grid-template-columns:minmax(0,1fr);gap:10px;padding:11px;border-radius:var(--rk-home-panel-radius);min-height:0;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature{min-height:56px;padding:9px 13px;justify-content:flex-start;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__all{margin-inline-start:auto;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__item{flex-basis:clamp(128px,38vw,180px);min-height:63px;font-size:12px;}
}
@media(max-width:400px){
 body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title{font-size:27px;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons{gap:7px;}
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn{padding-inline:10px;font-size:10.5px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual{height:210px;}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide,
 body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn,
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__item{transition:none;transform:none;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{scroll-behavior:auto;}
}

/* Transparent campaign artwork belongs to the hero canvas, not a rectangular photo card. */
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame picture{
 background:transparent; border:0; box-shadow:none; border-radius:0; overflow:visible;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo{object-fit:contain;object-position:center;}
/* Responsive restraint for administrator photographs: still contained and not cropped. */
body.rk-wp.home .rk-home-showcase .rk-custom-hero-visual .hero-photo{border-radius:14px;}
/* Category strip is independent in the DOM; no vacant arrow-control column. */
body.rk-wp.home #categories.rk-showcase-categories{direction:rtl;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock{grid-template-columns:minmax(180px,220px) minmax(0,1fr);}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{cursor:grab;}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail.is-dragging{cursor:grabbing;scroll-snap-type:none;}
@media(max-width:760px){
 body.rk-wp.home .rk-showcase-categories .rk-category-dock{grid-template-columns:minmax(0,1fr);}
}

/* Give the transparent fallback compositions reference-like prominence without changing custom uploads. */
body.rk-wp.home .rk-home-showcase .rk-generated-hero-visual{overflow:visible;}
@media(max-width:400px){body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .rk-hero-title br{display:none;}}


/* 0.6.47 - ONE painted hero background. No layered child surfaces. */
body.rk-wp.home .rk-home-showcase{
  background:var(--rk-showcase-bg);overflow:visible;
  padding-bottom:clamp(12px,1.5vw,20px);
}
body.rk-wp.home .rk-home-showcase .home-hero,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame{
  background:transparent!important;border-color:transparent;box-shadow:none!important;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo,
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-photo{
  border-radius:0;transform:none;filter:none;object-fit:contain;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .rk-generated-hero-visual,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual{
  height:clamp(350px,34vw,455px);overflow:visible;
}
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo-frame picture{overflow:visible;}
/* The arrows use the existing shared carousel button geometry, not circular hero-only controls. */
body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .hero-controls > button{
  display:inline-grid;place-items:center;flex:0 0 38px;
  width:38px;height:38px;min-height:38px;min-width:38px;
  border:1px solid var(--rk-border);
  border-radius:12px 0 12px 0;background:var(--rk-card);color:var(--rk-primary);
  box-shadow:0 3px 10px rgba(12,50,35,.07);
  transition:background-color .23s,color .23s,border-color .23s,box-shadow .23s,transform .23s;
}
@media(hover:hover) and (pointer:fine){
 body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button:hover{
  background:var(--rk-brand-soft);border-color:var(--rk-primary);transform:translateY(-1px);
 }
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button{
  background:#263d34;color:#c0e9db;border-color:#435d50;box-shadow:0 3px 10px rgba(0,0,0,.12);
}
/* Trust and services bar attaches directly to the hero, with zero intervening margins.
   The categories remain outside with visible, deliberate separation. */
body.rk-wp.home .rk-home-showcase > .benefit-rail.container{
  position:relative;z-index:2;transform:none!important;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  width:100%;max-width:none;box-sizing:border-box;
  margin:0!important;padding:12px 10px;
  border:1px solid var(--rk-showcase-border);border-radius:var(--rk-home-inner-radius);
  background:var(--rk-showcase-surface);box-shadow:none;
}
body.rk-wp.home .rk-home-showcase > .benefit-rail .benefit{
  min-width:0;gap:8px;justify-content:center;padding:7px 9px;
  background:transparent;border-color:var(--rk-showcase-border);
}
body.rk-wp.home .rk-home-showcase > .benefit-rail .benefit strong{color:var(--rk-showcase-ink);}
body.rk-wp.home .rk-home-showcase > .benefit-rail .benefit small{color:var(--rk-showcase-muted);}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase > .benefit-rail{
  background:var(--rk-showcase-surface);color:var(--rk-showcase-ink);border-color:var(--rk-showcase-border);
}
body.rk-wp.home #categories.rk-showcase-categories{margin-top:clamp(20px,2.4vw,32px);}
/* Remove high-contrast white circle behind the category Shop arrow in dark mode. */
html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories .rk-category-dock__all{
  background:rgba(88,199,190,.13)!important;
  border:1px solid rgba(88,199,190,.25);color:#d7f8ee;
}
/* Drag uses inverse mouse movement intentionally. Disable snapping during drag. */
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{
  scroll-snap-type:none!important;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail.is-dragging{
  scroll-behavior:auto!important;scroll-snap-type:none!important;cursor:grabbing;
}
@media(max-width:900px){
 body.rk-wp.home .rk-home-showcase > .benefit-rail.container{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:640px){
 body.rk-wp.home .rk-home-showcase > .benefit-rail.container{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:9px 7px;border-radius:var(--rk-home-inner-radius);
 }
 body.rk-wp.home .rk-home-showcase > .benefit-rail .benefit{justify-content:flex-start;padding:6px 4px;}
 body.rk-wp.home .rk-home-showcase > .benefit-rail .benefit:last-child{grid-column:1/-1;justify-content:center;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .rk-generated-hero-visual{height:clamp(235px,61vw,345px);}
 body.rk-wp.home #categories.rk-showcase-categories{margin-top:18px;}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button{transition:none;transform:none;}
}

/* Mobile hero: preserve the product arrangement's visual weight without a blank vertical band. */
@media(max-width:760px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .rk-generated-hero-visual,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual{
  height:clamp(235px,61vw,345px);margin-top:-7px;
 }
 body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo{
  transform:none;transform-origin:center;
 }
}

/* Large, truly transparent compositions: no fake rectangle or CSS opacity fade.
   Custom WordPress slide photos retain their existing frame treatment. */
body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual{
  height:clamp(370px,35.5vw,480px);overflow:visible;
  width:calc(100% + 18px);margin-inline:-9px 0;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo-frame,
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo-frame picture{
  display:flex;align-items:center;justify-content:center;
  overflow:visible;background:transparent;box-shadow:none;border:0;border-radius:0;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo{
  display:block;width:100%;height:100%;object-fit:contain;object-position:center;
  padding:0;margin:0;transform:scale(1.08)!important;transform-origin:center;filter:none!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  clip-path:none!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{
  scroll-snap-type:none!important;scroll-behavior:auto;cursor:grab;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail.is-dragging{
  scroll-snap-type:none!important;scroll-behavior:auto!important;
  cursor:grabbing;user-select:none;
}
@media(max-width:760px){
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
  body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
    width:100%;margin-inline:0;height:clamp(215px,62vw,355px);margin-top:-4px;
  }
  body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo{transform:scale(1.04)!important;}
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{scroll-behavior:auto;}
}


/* rk-home-showcase-0649 */
/* v0.6.49: coherent radii + larger transparent hero still lifes.
   Loaded after v0.6.48 only on the homepage, without modifying shared commerce UI. */
body.rk-wp.home .rk-home-showcase,
body.rk-wp.home .rk-showcase-categories{
 --rk-home-panel-radius:clamp(21px,2.05vw,26px);
 --rk-home-inner-radius:clamp(14px,1.4vw,18px);
 --rk-home-card-radius:14px;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock{
 border-radius:var(--rk-home-panel-radius);
 border:1px solid var(--rk-showcase-border);
 box-shadow:0 6px 22px rgba(18,67,49,.025);
}
body.rk-wp.home .rk-home-showcase > .benefit-rail.container{
 border-radius:var(--rk-home-inner-radius);
 border:1px solid var(--rk-showcase-border);
 box-shadow:none;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature,
body.rk-wp.home .rk-showcase-categories .rk-category-dock__item{
 border-radius:var(--rk-home-card-radius);
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{
 scroll-snap-type:none!important;
 scroll-behavior:auto!important;
 overscroll-behavior-inline:contain;
 touch-action:pan-x;
}
/* The real transparent campaign photos have little internal empty margin.
   Enlarge the image box instead of stacking scale() transforms. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide{
 grid-template-columns:minmax(0,.99fr) minmax(0,1.01fr);
 gap:clamp(12px,2.4vw,38px);
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
 width:calc(100% + 28px);
 height:clamp(405px,37vw,510px);
 margin-inline:-14px 0;
 overflow:visible;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo,
body.rk-wp.home .rk-home-showcase .home-hero .hero-photo.rk-generated-hero-photo{
 width:100%;height:100%;object-fit:contain;object-position:center;
 transform:none!important;
 -webkit-mask-image:none!important;
 mask-image:none!important;
 filter:none!important;
 border-radius:0!important;
 background:transparent!important;
 box-shadow:none!important;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo-frame,
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo-frame picture{
 background:transparent!important;border:0;box-shadow:none;
 overflow:visible;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories .rk-category-dock{
 box-shadow:0 8px 24px rgba(0,0,0,.08);
}
@media(max-width:1050px) and (min-width:761px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide{gap:15px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual{height:clamp(285px,34vw,400px);}
}
@media(max-width:760px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide{
  grid-template-columns:minmax(0,1fr);
  gap:8px;
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
 body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
  width:100%;margin-inline:0;
  height:clamp(225px,60vw,345px);
  margin-top:-2px;
 }
 body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo{transform:none!important;}
 body.rk-wp.home .rk-showcase-categories .rk-category-dock{border-radius:var(--rk-home-panel-radius);}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__rail{scroll-behavior:auto!important;}
}


/* rk-home-showcase-0650 */
/* Rayehe Kimia v0.6.50 — homepage-only image balance and two-corner panel language.
 * Loaded AFTER 0.6.49. Dynamic slide data and custom media remain unchanged. */
body.rk-wp.home .rk-home-showcase,
body.rk-wp.home .rk-showcase-categories{
 --rk-home-panel-radius:clamp(21px,2.05vw,26px);
 --rk-home-inner-radius:clamp(14px,1.4vw,18px);
}
/* Clockwise: top-left SHARP, top-right round, bottom-right SHARP, bottom-left round. */


body.rk-wp.home .rk-home-showcase > .benefit-rail.container{
 border-radius:0 var(--rk-home-inner-radius) 0 var(--rk-home-inner-radius);
}
/* The old slider reserved up to 68px just for controls and 510px for a wide,
   naturally short still life. Reduce dead air before the five benefits. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion{
 padding-bottom:clamp(39px,3.6vw,48px);
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide:has(.rk-generated-hero-visual){
 grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);
 gap:clamp(10px,2.1vw,32px);
 min-height:clamp(305px,30vw,408px);
 padding-block:clamp(14px,1.6vw,24px);
}
/* Prominence comes from usable width and natural photo aspect ratio, not a
   giant fixed-height container or unbounded transform scaling. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
 width:calc(100% + clamp(28px,5vw,68px));
 height:clamp(295px,29vw,390px);
 margin-inline-start:calc(-1 * clamp(14px,2.5vw,34px));
 margin-inline-end:0;
 margin-block:0;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-generated-hero-visual .hero-photo{
 width:100%;height:100%;object-fit:contain;object-position:center bottom;
}
/* The new third composition has a wide artboard and does not require its old
   oversized white-container presentation. The asset is an actual RGBA WebP. */
@media(max-width:1050px) and (min-width:761px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide:has(.rk-generated-hero-visual){
  min-height:clamp(294px,31vw,350px);
  gap:clamp(10px,1.7vw,20px);
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
 body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
  height:clamp(258px,30vw,345px);
 }
}
@media(max-width:760px){


 body.rk-wp.home .rk-home-showcase > .benefit-rail.container{
  border-radius:0 var(--rk-home-inner-radius) 0 var(--rk-home-inner-radius);
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion{
  padding-bottom:44px;
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide:has(.rk-generated-hero-visual){
  grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;
  min-height:0;gap:5px;padding-block:12px 3px;
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
 body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
  width:100%;height:clamp(188px,52vw,310px);
  margin:0;
 }
}
@media(max-width:400px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual,
 body.rk-wp.home .rk-home-showcase .home-hero .hero-visual.rk-generated-hero-visual{
  height:clamp(183px,54vw,219px);
 }
}


/* rk-prefooter-shadow-0651 */
/* Rayehe Kimia v0.6.51 — prefooter shadow only. Keep existing markup,
   gradient, CTA, foliage, border radius and responsive layout intact. */
body.rk-wp .prefooter {
  box-shadow: 0 7px 19px rgba(15, 64, 48, .075);
}
html[data-rk-theme="dark"] body.rk-wp .prefooter {
  box-shadow: 0 5px 15px rgba(0, 0, 0, .10);
}


/* rk-shared-cards-0653 */
/* Rayehe Kimia v0.6.53 — canonical compact product cards + horizontal editorial cards.
 * This final component layer intentionally supersedes older container-only card layouts.
 * Product and article data/actions remain server-rendered by their existing shared PHP renderers.
 */

/* --------------------------------------------------------------------------
   Shared WooCommerce product card: image-first, compact, vertical everywhere.
   -------------------------------------------------------------------------- */
body.rk-wp .product-card{
  position:relative;display:flex;flex-direction:column;align-items:stretch;
  box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;
  padding:8px;overflow:hidden;
  background:var(--rk-card);color:var(--rk-ink);
  border:1px solid var(--rk-border);border-radius:18px;
  box-shadow:0 3px 12px rgba(15,64,48,.045);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background-color .22s ease;
}
body.rk-wp .product-card .rk-card-media{
  position:relative;display:block;flex:0 0 auto;width:100%;min-width:0;min-height:0;
  padding:0;margin:0;grid-area:auto;
}
body.rk-wp .product-card .product-image{
  position:relative;display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;width:100%;height:clamp(132px,13vw,166px);min-height:0;
  margin:0;padding:7px;overflow:hidden;
  border:0;border-radius:12px;background:var(--rk-brand-soft);box-shadow:none;
}
body.rk-wp .product-card .product-image img{
  display:block;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:100%;
  margin:0;padding:2px;object-fit:contain;object-position:center;
  mix-blend-mode:normal;transform:translateZ(0);
  transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
body.rk-wp .product-card .rk-card-category{
  position:absolute;z-index:5;right:8px;left:auto;bottom:8px;inset-inline-end:auto;inset-inline-start:auto;
  display:block;max-width:calc(100% - 16px);margin:0;padding:0;pointer-events:auto;
}
body.rk-wp .product-card .rk-card-category a{
  display:block;box-sizing:border-box;max-width:100%;padding:3px 8px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  border:1px solid var(--rk-border);border-radius:9px;
  background:var(--rk-card);color:var(--rk-ink);box-shadow:none;
  font-size:10px;font-weight:750;line-height:1.55;text-decoration:none;
}
body.rk-wp .product-card .rk-card-category a:hover{border-color:var(--rk-primary);color:var(--rk-primary);}
body.rk-wp .product-card > .product-status{
  position:absolute;z-index:7;top:10px;right:10px;left:auto;
  display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 64px);
  padding:4px 8px;border:1px solid transparent;border-radius:9px;
  font-size:10px;font-weight:800;line-height:1.45;box-shadow:none;
}
body.rk-wp .product-card > .product-status--sale{background:#f7edcf;border-color:#ead9a6;color:#755318;}
body.rk-wp .product-card > .product-status--soldout{background:#f8e9e5;border-color:#e9c7bd;color:#954e42;}
body.rk-wp .product-card .rk-card-actions{
  position:absolute;z-index:7;top:10px;left:10px;right:auto;
  display:flex;align-items:center;gap:5px;max-width:calc(100% - 80px);
}
body.rk-wp .product-card .card-text{
  display:flex;flex:1 1 auto;flex-direction:column;gap:5px;
  box-sizing:border-box;min-width:0;min-height:0;padding:11px 7px 5px;
  background:transparent;color:var(--rk-ink);
}
body.rk-wp .product-card .rk-card-title-link{
  display:block;flex:0 0 auto;min-width:0;max-width:100%;color:var(--rk-ink);text-decoration:none;
}
body.rk-wp .product-card .rk-card-title-link :where(h3,.rk-h3):not(rkx),
body.rk-wp .product-card :where(h3,.rk-h3):not(rkx){
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  box-sizing:border-box;min-width:0;min-height:2.75em;max-height:2.75em;
  margin:0;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;
  color:var(--rk-ink);font-size:clamp(12px,.95vw,14px);font-weight:800;line-height:1.42;
}
body.rk-wp .product-card .rk-card-title-link:hover{color:var(--rk-primary);}
body.rk-wp .product-card .rk-card-stock{
  display:flex;align-items:center;gap:6px;min-width:0;min-height:18px;
  margin:0;color:var(--rk-sub);font-size:10.5px;font-weight:700;line-height:1.5;
}
body.rk-wp .product-card .rk-card-stock-dot{display:block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:currentColor;}
body.rk-wp .product-card .rk-card-stock--instock{color:#27845a;}
body.rk-wp .product-card .rk-card-stock--onbackorder{color:#a16b27;}
body.rk-wp .product-card .rk-card-stock--outofstock{color:#a85c50;}
body.rk-wp .product-card .rk-card-pack{flex:0 0 auto;min-width:0;max-height:none;margin:2px 0 0;padding:0;}
body.rk-wp .product-card .packaging-caption{
  display:block;margin:0 0 4px;color:var(--rk-sub);font-size:10px;font-weight:600;line-height:1.45;
}
body.rk-wp .product-card .pack-chips{
  display:flex;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:4px;
  min-width:0;min-height:0;max-height:44px;overflow:hidden;margin:0;padding:0;
}
body.rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){
  display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;
  padding:2px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  border:1px solid var(--rk-border);border-radius:8px;background:var(--rk-surface);color:var(--rk-sub);
  font-size:9.5px;line-height:1.45;
}
body.rk-wp .product-card .card-bottom{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;
  min-width:0;min-height:0;margin-top:auto;padding-top:9px;border-top:1px solid var(--rk-border);
  background:transparent;
}
body.rk-wp .product-card .price-group{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;
  flex:1 1 auto;min-width:0;min-height:0;gap:3px;
}
body.rk-wp .product-card .price-caption{
  display:block;max-width:100%;margin:0;color:var(--rk-sub);font-size:10px;font-weight:600;line-height:1.45;white-space:normal;
}
body.rk-wp .product-card .price-values{
  display:flex;align-items:baseline;justify-content:flex-start;flex-flow:row wrap;gap:2px 5px;
  min-width:0;max-width:100%;min-height:0;margin:0;overflow-wrap:anywhere;line-height:1.4;
  color:var(--rk-ink);font-size:clamp(12px,.95vw,15px);font-variant-numeric:tabular-nums;
}
body.rk-wp .product-card .price-values > .price{
  display:flex;align-items:baseline;flex-flow:row wrap;gap:2px 5px;max-width:100%;width:auto;
}
body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,.amount,bdi){
  max-width:100%;white-space:normal;overflow-wrap:normal;line-height:1.4;color:var(--rk-primary);font-weight:850;
}
body.rk-wp .product-card .price-values :is(del,ins){display:inline-flex;align-items:baseline;gap:2px;max-width:100%;margin:0;padding:0;line-height:1.4;}
body.rk-wp .product-card .price-values del{font-size:.78em;opacity:.65;}
body.rk-wp .product-card .price-values ins{text-decoration:none;font-weight:850;}
body.rk-wp .product-card .price-values strong{max-width:100%;font-size:inherit;font-weight:850;white-space:normal;overflow-wrap:anywhere;color:var(--rk-primary);}
body.rk-wp .product-card .price-unavailable{font-size:12px;color:var(--rk-sub);font-weight:800;}
body.rk-wp .product-card .rk-card-price-per-gram{display:flex;flex-direction:column;gap:1px;max-width:100%;margin-top:3px;padding-top:3px;border-top:1px dashed var(--rk-border);}
body.rk-wp .product-card .rk-card-price-per-gram .price-caption{font-size:9px;}
body.rk-wp .product-card .rk-card-price-per-gram .price-values{font-size:11px;}
body.rk-wp .product-card .rk-card-price-per-gram .price-values strong{font-size:inherit;font-weight:750;color:var(--rk-sub);}
body.rk-wp .product-card .rk-card-bottom-actions{
  display:flex;align-items:center;align-self:end;justify-self:end;flex:0 0 auto;gap:5px;
  min-width:0;margin:0;padding:0;direction:ltr;
}
body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{
  display:grid;place-items:center;box-sizing:border-box;flex:0 0 34px;width:34px;height:34px;min-height:34px;
  margin:0;padding:0;border:1px solid transparent;border-radius:11px;
  background:var(--rk-primary);color:var(--rk-primary-text);box-shadow:none;
  cursor:pointer;text-decoration:none;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon svg{display:block;width:16px;height:16px;stroke:currentColor;}
body.rk-wp .product-card .rk-card-bottom-actions .rk-quick-view-trigger{
  background:var(--rk-surface);color:var(--rk-primary);border-color:var(--rk-border);box-shadow:none;
}
body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon:is(:hover,:focus-visible){border-color:var(--rk-primary);transform:translateY(-1px);}
body.rk-wp .product-card .rk-card-bottom-actions .rk-quick-view-trigger:hover{background:var(--rk-brand-soft);color:var(--rk-primary);}

/* The shop archive used to switch to a separate horizontal card. Keep its
   filter/drawer/query behavior, but use the same vertical card component. */
body.rk-wp .rk-catalog .rk-catalog-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;
  align-items:stretch;gap:clamp(10px,1.25vw,16px);min-width:0;
}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card{
  display:flex;flex-direction:column;grid-template-columns:none;grid-template-areas:none;
  width:100%;height:100%;min-width:0;min-height:0;align-self:stretch;
  padding:8px;overflow:hidden;border:1px solid var(--rk-border);border-radius:18px;
  background:var(--rk-card);color:var(--rk-ink);box-shadow:0 3px 12px rgba(15,64,48,.045);
}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media{display:block;flex:0 0 auto;width:100%;padding:0;grid-area:auto;}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image{display:flex;height:clamp(132px,13vw,166px);min-height:0;padding:7px;border-radius:12px;aspect-ratio:auto;}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image img{width:100%;height:100%;max-height:100%;padding:2px;object-fit:contain;}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-text{display:flex;flex:1 1 auto;flex-direction:column;gap:5px;min-width:0;min-height:0;padding:11px 7px 5px;background:transparent;}
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;margin-top:auto;padding-top:9px;}
@media(min-width:1300px){body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:1299px) and (min-width:901px){body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}}
@media(max-width:380px){body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:minmax(0,1fr);}}

/* Homepage product carousel: four readable vertical cards on wide screens;
   preserve its existing drag, scroll-snap, arrow and touch interaction. */
@media(min-width:1201px){
  body.rk-wp.home #featured .product-card{flex:0 0 calc((100% - 42px)/4);width:calc((100% - 42px)/4);}
}
@media(min-width:901px) and (max-width:1200px){
  body.rk-wp.home #featured .product-card{flex:0 0 calc((100% - 28px)/3);width:calc((100% - 28px)/3);}
}
@media(min-width:641px) and (max-width:900px){
  body.rk-wp.home #featured .product-card{flex:0 0 calc((100% - 14px)/2);width:calc((100% - 14px)/2);}
}
body.rk-wp.home #featured .product-card .product-image{height:clamp(132px,13vw,166px);}
body.rk-wp.home #featured .product-card .card-text{padding:11px 7px 5px;gap:5px;}
body.rk-wp.home #featured .product-card :where(h3,.rk-h3):not(rkx){min-height:2.75em;max-height:2.75em;font-size:clamp(12px,.95vw,14px);line-height:1.42;}
body.rk-wp.home #featured .product-card .card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-top:auto;padding-top:9px;}

/* Related product tracks retain their existing scroll behavior and card widths;
   only normalize the inner component, including the article's narrow recommendation rail. */
body.rk-wp .rk-related-grid > .product-card,
body.rk-wp .rk-article-product-track > .product-card,
body.rk-wp .rk-single-product .rk-v13-after .rk-related-grid > .product-card,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0;
  height:100%;padding:8px;border:1px solid var(--rk-border);border-radius:18px;
  background:var(--rk-card);color:var(--rk-ink);box-shadow:0 3px 12px rgba(15,64,48,.045);
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .rk-card-media{display:block;width:100%;padding:0;grid-area:auto;}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{height:clamp(132px,13vw,166px);min-height:0;aspect-ratio:auto;padding:7px;}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-text{background:transparent;padding:11px 7px 5px;}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-top:auto;}

@media(hover:hover) and (pointer:fine){
  body.rk-wp .product-card:hover{transform:translateY(-2px);border-color:var(--rk-primary);box-shadow:0 8px 19px rgba(15,64,48,.085);}
  body.rk-wp .product-card:hover .product-image img{transform:scale(1.025);}
}
html[data-rk-theme="dark"] body.rk-wp .product-card{
  background:var(--rk-card);color:var(--rk-ink);border-color:var(--rk-border);box-shadow:0 3px 12px rgba(0,0,0,.10);
}
html[data-rk-theme="dark"] body.rk-wp .product-card .product-image{background:var(--rk-brand-soft);}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-category a{background:var(--rk-surface);color:var(--rk-ink);border-color:var(--rk-border);}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-stock--instock{color:#8ed9b1;}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-stock--onbackorder{color:#e5bd7c;}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-stock--outofstock{color:#f0a79b;}
html[data-rk-theme="dark"] body.rk-wp .product-card > .product-status--sale{background:#4a4028;border-color:#71603a;color:#f4d99a;}
html[data-rk-theme="dark"] body.rk-wp .product-card > .product-status--soldout{background:#452f2d;border-color:#704744;color:#f6c3b8;}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-bottom-actions .rk-quick-view-trigger{background:var(--rk-surface);color:#a0e5cc;border-color:var(--rk-border);}
html[data-rk-theme="dark"] body.rk-wp .product-card .price-values strong,
html[data-rk-theme="dark"] body.rk-wp .product-card .price-values .woocommerce-Price-amount{color:#a0e5cc;}
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-price-per-gram .price-values strong,
html[data-rk-theme="dark"] body.rk-wp .product-card .rk-card-price-per-gram .price-values .woocommerce-Price-amount{color:var(--rk-sub);}
@media(hover:hover) and (pointer:fine){html[data-rk-theme="dark"] body.rk-wp .product-card:hover{box-shadow:0 8px 19px rgba(0,0,0,.20);}}
@media(max-width:640px){
  body.rk-wp .product-card{padding:6px;border-radius:15px;}
  body.rk-wp .product-card .product-image{height:clamp(126px,40vw,154px);padding:5px;border-radius:11px;}
  body.rk-wp .product-card .card-text{padding:9px 5px 5px;gap:4px;}
  body.rk-wp .product-card .rk-card-title-link :where(h3,.rk-h3):not(rkx),body.rk-wp .product-card :where(h3,.rk-h3):not(rkx){font-size:12px;min-height:2.75em;max-height:2.75em;}
  body.rk-wp .product-card .rk-card-stock{font-size:10px;min-height:17px;}
  body.rk-wp .product-card .packaging-caption{font-size:9.5px;}
  body.rk-wp .product-card .pack-chips span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){font-size:9px;padding:2px 5px;}
  body.rk-wp .product-card .card-bottom{gap:6px;padding-top:7px;}
  body.rk-wp .product-card .price-caption{font-size:9px;}
  body.rk-wp .product-card .price-values{font-size:12px;gap:2px 4px;}
  body.rk-wp .product-card .rk-card-price-per-gram .price-values{font-size:10px;}
  body.rk-wp .product-card .rk-card-bottom-actions{gap:4px;}
  body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{width:31px;height:31px;min-height:31px;flex-basis:31px;border-radius:9px;}
  body.rk-wp .product-card .rk-card-category{right:6px;bottom:6px;max-width:calc(100% - 12px);}
  body.rk-wp .product-card .rk-card-category a{font-size:9px;padding:2px 6px;}
  body.rk-wp .product-card > .product-status{top:8px;right:8px;font-size:9px;padding:3px 6px;}
  body.rk-wp .product-card .rk-card-actions{top:8px;left:8px;}
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image{height:clamp(126px,40vw,154px);}
  body.rk-wp.home #featured .product-card .product-image{height:clamp(126px,40vw,154px);}
}
@media(max-width:380px){
  body.rk-wp .product-card .card-bottom{grid-template-columns:minmax(0,1fr) auto;gap:5px;}
  body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{width:29px;height:29px;min-height:29px;flex-basis:29px;}
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp .product-card,body.rk-wp .product-card *{transition:none!important;}
  body.rk-wp .product-card:hover,body.rk-wp .product-card:hover .product-image img{transform:none;}
}

/* --------------------------------------------------------------------------
   Canonical editorial card: horizontal at every consumer, image on RTL right.
   -------------------------------------------------------------------------- */
body.rk-wp .rk-mag-card{
  position:relative;display:flex;flex-direction:row;direction:rtl;align-items:stretch;
  box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:190px;overflow:hidden;
  border:1px solid var(--rk-ed-border,var(--rk-border));border-radius:0 20px 0 20px;
  background:var(--rk-ed-surface,var(--rk-card));color:var(--rk-ed-ink,var(--rk-ink));
  box-shadow:0 3px 12px rgba(15,64,48,.045);
  transition:border-color .22s ease,box-shadow .22s ease,background-color .22s ease;
}
body.rk-wp .rk-mag-card:hover,body.rk-wp .rk-mag-card:focus-within{
  border-color:var(--rk-ed-accent,var(--rk-primary));box-shadow:0 7px 18px rgba(15,64,48,.075);
}
body.rk-wp .rk-mag-card .rk-mag-image{
  position:relative;display:block;flex:0 0 35%;align-self:stretch;
  width:35%;height:auto;min-width:0;min-height:0;aspect-ratio:auto;overflow:hidden;
  border-radius:0 18px 0 0;background:var(--rk-ed-soft,var(--rk-brand-soft));
}
body.rk-wp .rk-mag-card .rk-article-photo{
  display:block;width:100%;height:100%;min-height:100%;max-width:100%;
  object-fit:cover;object-position:center;transform:scale(1);
  transition:transform .32s cubic-bezier(.2,.8,.2,1);
}
body.rk-wp .rk-mag-card:hover .rk-article-photo{transform:scale(1.035);}
body.rk-wp .rk-mag-card .rk-mag-category{
  position:absolute;z-index:2;inset-block-end:8px;inset-inline-start:8px;
  display:inline-flex;max-width:calc(100% - 16px);padding:4px 8px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  border:1px solid rgba(255,255,255,.16);border-radius:8px;
  background:rgba(18,61,53,.91);color:#fff;font-size:10px;font-weight:750;
  backdrop-filter:blur(4px);
}
body.rk-wp .rk-mag-card .rk-mag-body{
  display:flex;flex:1 1 65%;flex-direction:column;align-items:stretch;justify-content:flex-start;
  gap:7px;box-sizing:border-box;min-width:0;min-height:0;padding:13px 14px 13px;
  background:transparent;color:var(--rk-ed-ink,var(--rk-ink));
}
body.rk-wp .rk-mag-card .rk-mag-meta{
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:3px 10px;
  min-width:0;margin:0;color:var(--rk-ed-muted,var(--rk-sub));font-size:10.5px;font-weight:600;line-height:1.5;
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx){
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  min-width:0;min-height:0;max-height:3.2em;overflow:hidden;overflow-wrap:anywhere;
  margin:0;color:var(--rk-ed-ink,var(--rk-ink));font-size:clamp(14px,1.05vw,17px);font-weight:850;line-height:1.6;
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) a{color:inherit;text-decoration:none;}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) a:hover{color:var(--rk-ed-accent,var(--rk-primary));}
body.rk-wp .rk-mag-card .rk-mag-excerpt{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  min-width:0;min-height:0;max-height:3.6em;overflow:hidden;overflow-wrap:anywhere;
  margin:0;color:var(--rk-ed-muted,var(--rk-sub));font-size:11.5px;line-height:1.8;
}
body.rk-wp .rk-mag-card .rk-read-more{
  display:inline-flex;align-items:center;justify-content:space-between;align-self:flex-start;gap:8px;
  width:auto;min-width:0;min-height:33px;margin-top:auto;padding:6px 10px;
  border:1px solid var(--rk-ed-border,var(--rk-border));border-radius:0 10px 0 10px;
  background:var(--rk-ed-soft,var(--rk-brand-soft));color:var(--rk-ed-ink,var(--rk-ink));
  font-size:11px;font-weight:800;line-height:1.5;text-decoration:none;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
body.rk-wp .rk-mag-card .rk-read-more:hover{background:var(--rk-ed-accent,var(--rk-primary));border-color:var(--rk-ed-accent,var(--rk-primary));color:var(--rk-ed-accent-text,#fff);}
body.rk-wp .rk-mag-card a:focus-visible{outline:2px solid var(--rk-focus,#178364);outline-offset:-3px;}
body.rk-wp .rk-mag-grid > .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature{display:flex;flex-direction:row;min-height:190px;}
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-image{height:auto;aspect-ratio:auto;}
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body{padding:13px 14px;justify-content:flex-start;}
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body :where(h3,.rk-h3):not(rkx){font-size:clamp(14px,1.05vw,17px);}

/* Shared horizontal cards in both editorial carousels. Keep existing arrows,
   drag handling, native swipe, scroll-snap and click-vs-drag behavior intact. */
body.rk-wp #articles .article-carousel > .rk-mag-card,
body.rk-wp .rk-related-track > .rk-mag-card{
  display:flex;flex-direction:row;flex:0 0 calc((100% - 40px)/3);width:calc((100% - 40px)/3);
  min-width:0;min-height:190px;scroll-snap-align:start;align-self:stretch;
}
@media(max-width:1050px){
  body.rk-wp #articles .article-carousel > .rk-mag-card,
  body.rk-wp .rk-related-track > .rk-mag-card{flex-basis:calc((100% - 18px)/2);width:calc((100% - 18px)/2);}
}
@media(max-width:640px){
  body.rk-wp .rk-mag-card{min-height:170px;border-radius:0 16px 0 16px;}
  body.rk-wp .rk-mag-card .rk-mag-image{flex-basis:33%;width:33%;border-radius:0 14px 0 0;}
  body.rk-wp .rk-mag-card .rk-mag-body{gap:6px;padding:10px 10px 10px;}
  body.rk-wp .rk-mag-card .rk-mag-meta{gap:3px 7px;font-size:10px;}
  body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx){font-size:clamp(13px,3.6vw,15px);line-height:1.55;max-height:3.1em;}
  body.rk-wp .rk-mag-card .rk-mag-excerpt{font-size:10.5px;line-height:1.7;max-height:3.4em;}
  body.rk-wp .rk-mag-card .rk-read-more{min-height:30px;padding:5px 8px;font-size:10px;}
  body.rk-wp .rk-mag-card .rk-mag-category{inset-block-end:6px;inset-inline-start:6px;max-width:calc(100% - 12px);padding:3px 6px;font-size:9px;}
  body.rk-wp #articles .article-carousel > .rk-mag-card,
  body.rk-wp .rk-related-track > .rk-mag-card{
    flex:0 0 min(calc(100vw - 36px),390px);width:min(calc(100vw - 36px),390px);min-height:170px;
  }
  body.rk-wp .rk-mag-grid{grid-template-columns:minmax(0,1fr);}
  body.rk-wp .rk-mag-grid > .rk-mag-card{max-width:none;width:100%;margin:0;}
}
@media(max-width:380px){
  body.rk-wp .rk-mag-card{min-height:160px;}
  body.rk-wp .rk-mag-card .rk-mag-image{flex-basis:32%;width:32%;}
  body.rk-wp .rk-mag-card .rk-mag-body{gap:5px;padding:9px 9px;}
  body.rk-wp .rk-mag-card .rk-mag-meta{font-size:9.5px;}
  body.rk-wp .rk-mag-card .rk-mag-excerpt{font-size:10px;}
}
html[data-rk-theme="dark"] body.rk-wp .rk-mag-card{
  background:var(--rk-ed-surface,var(--rk-card));border-color:var(--rk-ed-border,var(--rk-border));
  color:var(--rk-ed-ink,var(--rk-ink));box-shadow:0 3px 12px rgba(0,0,0,.11);
}
html[data-rk-theme="dark"] body.rk-wp .rk-mag-card:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-mag-card:focus-within{box-shadow:0 7px 18px rgba(0,0,0,.20);}
html[data-rk-theme="dark"] body.rk-wp .rk-mag-card .rk-mag-image{background:var(--rk-ed-soft,var(--rk-brand-soft));}
@media(prefers-reduced-motion:reduce){
  body.rk-wp .product-card,body.rk-wp .product-card *,body.rk-wp .rk-mag-card,body.rk-wp .rk-mag-card *{transition:none!important;}
  body.rk-wp .product-card:hover,body.rk-wp .product-card:hover .product-image img,body.rk-wp .rk-mag-card:hover .rk-article-photo{transform:none;}
}


/* v0.6.53: compact atomic prices, roomier packshots, and responsive card widths.
   WooCommerce's amount HTML and full precision remain unchanged. */
body.rk-wp .product-card .card-bottom,
body.rk-wp.home #featured .product-card .card-bottom,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-bottom {
  display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:start;
}
body.rk-wp .product-card .price-group{width:100%;min-width:0;align-items:stretch;gap:2px;}
body.rk-wp .product-card .price-values,
body.rk-wp .product-card .price-values > .price{
  display:flex;flex-flow:row wrap;align-items:baseline;justify-content:flex-start;
  max-width:100%;min-width:0;gap:2px 6px;overflow-wrap:normal;
}
/* Atomic amount: number, bdi isolation, and currency may NOT break internally. */
body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,.amount){
  display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal;
  max-width:none;unicode-bidi:isolate;direction:rtl;line-height:1.45;
}
body.rk-wp .product-card .price-values .woocommerce-Price-amount bdi,
body.rk-wp .product-card .price-values bdi{
  display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal;
  max-width:none;unicode-bidi:isolate;
}
body.rk-wp .product-card .price-values :is(.woocommerce-Price-currencySymbol,del,ins){white-space:nowrap;overflow-wrap:normal;}
body.rk-wp .product-card .price-values :is(del,ins){max-width:none;}
body.rk-wp .product-card .rk-card-price-primary .price-values{font-size:clamp(12px,1.06vw,15px);}
body.rk-wp .product-card .rk-card-price-per-gram{
  display:flex;flex-flow:row wrap;align-items:baseline;justify-content:space-between;
  gap:2px 6px;margin-top:2px;padding-top:4px;
}
body.rk-wp .product-card .rk-card-price-per-gram .price-caption{font-size:9px;}
body.rk-wp .product-card .rk-card-price-per-gram .price-values{flex:0 1 auto;max-width:100%;font-size:11px;}
body.rk-wp .product-card .rk-card-bottom-actions{
  display:flex;justify-self:stretch;align-self:end;justify-content:flex-end;
  margin-top:2px;min-width:0;
}
body.rk-wp .product-card .product-image,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image,
body.rk-wp.home #featured .product-card .product-image,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{
  height:clamp(160px,15.5vw,194px);padding:3px;
}
body.rk-wp .product-card .product-image img{padding:0;}
/* v0.7.6 — keep archive card tracks stable when the result set is sparse.
   auto-fit collapses empty tracks and lets a lone card occupy the whole row;
   auto-fill reserves the same responsive tracks even when only one product exists. */
@media(min-width:901px){
 body.rk-wp .rk-catalog .rk-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,242px),1fr));}
}
@media(min-width:1201px) and (max-width:1500px){
 body.rk-wp.home #featured .product-card{flex:0 0 calc((100% - 28px)/3);width:calc((100% - 28px)/3);}
}
@media(max-width:640px){
 body.rk-wp .product-card .product-image,
 body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image,
 body.rk-wp.home #featured .product-card .product-image,
 body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{
   height:clamp(144px,44vw,177px);padding:2px;
 }
 body.rk-wp .product-card .price-values{font-size:12px;}
 body.rk-wp .product-card .rk-card-price-per-gram .price-values{font-size:10px;}
}

/* Article sidebar: prevent a grid-area stretching product carousel into a giant
   empty bottom zone. The track and product cards size to their own contents. */
body.rk-wp .rk-article-detail .rk-article-sidebar{align-self:start;height:auto;min-height:0;}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{
  height:auto;min-height:0;align-self:start;
}
body.rk-wp .rk-article-detail .rk-article-product-track{
  height:auto;min-height:0;align-items:flex-start;align-content:start;
  padding-top:7px;padding-bottom:10px;overflow-x:auto;overflow-y:hidden;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  height:auto;min-height:0;align-self:flex-start;
}
/* Article's MAIN featured image only. Thumbnails in article cards remain cover. */
body.rk-wp .rk-article-detail figure.rk-post-hero{
  height:auto;max-height:none;aspect-ratio:auto;overflow:hidden;
}
body.rk-wp .rk-article-detail figure.rk-post-hero img{
  display:block;width:100%;height:auto !important;max-height:none !important;
  aspect-ratio:auto;object-fit:contain;object-position:center;
}

/* Wholesale: physical asymmetric corners and full alignment with the left
   boundary of its own grid column, with no global container modifications. */
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-grid{min-width:0;}
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{
  width:100%;max-width:none;min-width:0;justify-self:stretch;
  border-radius:0 24px 0 24px;overflow:hidden;
}
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{
  display:block;width:auto;max-width:100%;height:auto;max-height:clamp(320px,43vw,515px);
  object-fit:contain;object-position:center;border-radius:0;box-shadow:none;
}
@media(max-width:640px){
 body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{border-radius:0 18px 0 18px;}
}

/* Per-category archive banner: isolated to verified WooCommerce product_cat pages.
   The semantic H1/description remain live markup, not part of an image. */
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image{
  position:relative;isolation:isolate;overflow:hidden;
  border-radius:0;background:var(--rk-card);
  border:1px solid var(--rk-border);min-height:clamp(178px,18vw,265px);
  display:flex;align-items:center;
}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::before{
  content:'';position:absolute;z-index:-2;inset:0;
  background-image:var(--rk-cat-hero-image);background-size:cover;
  background-position:center center;background-repeat:no-repeat;
}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::after{
  content:'';position:absolute;z-index:-1;inset:0;
  background:linear-gradient(to left,rgba(248,252,248,.98) 0%,rgba(248,252,248,.96) 35%,rgba(248,252,248,.83) 58%,rgba(248,252,248,.18) 100%);
  pointer-events:none;
}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image .container{
  position:relative;z-index:1;width:100%;min-width:0;
}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image :is(h1,p,.eyebrow){color:#173e32;text-shadow:none;}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image p{max-width:61ch;}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image{
  background:#14251e;border-color:var(--rk-border);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::after{
  background:linear-gradient(to left,rgba(16,35,28,.98) 0%,rgba(16,35,28,.96) 37%,rgba(16,35,28,.84) 62%,rgba(16,35,28,.20) 100%);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image :is(h1,p,.eyebrow){color:#ebf8ed;}
@media(max-width:640px){
 body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image{
   min-height:165px;border-radius:0;
 }
 body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::before{background-position:40% center;}
 body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::after{
   background:linear-gradient(to left,rgba(248,252,248,.985) 0%,rgba(248,252,248,.95) 67%,rgba(248,252,248,.56) 100%);
 }
 html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image::after{
   background:linear-gradient(to left,rgba(16,35,28,.98) 0%,rgba(16,35,28,.96) 67%,rgba(16,35,28,.60) 100%);
 }
}


/* rk-refinement-0654 */
/* v0.6.54 — compact shared cards and embedded breadcrumbs. */
body.rk-wp .product-card .card-text{gap:4px;padding-bottom:6px;}
body.rk-wp .product-card .rk-card-pack{margin-top:0;}
body.rk-wp .product-card .rk-card-pack .packaging-caption{margin-bottom:3px;}
body.rk-wp .product-card .card-bottom,
body.rk-wp.home #featured .product-card .card-bottom,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-bottom{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end;
 margin-top:auto;min-height:0;padding-top:6px;
}
body.rk-wp .product-card .price-group{display:flex;flex-direction:column;gap:4px;min-width:0;}
body.rk-wp .product-card .rk-card-main-price{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;min-width:0;}
body.rk-wp .product-card .rk-card-main-price > .price-caption{flex:0 0 auto;margin:0;font-size:9px;}
body.rk-wp .product-card .rk-card-main-price > .price-values{flex:0 1 auto;max-width:100%;}
body.rk-wp .product-card .price-values{line-height:1.35;}
body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,.amount,bdi),
body.rk-wp .product-card .price-values :is(del,ins,strong){font-weight:700;}
body.rk-wp .product-card .rk-card-price-per-gram{
 display:flex;flex-flow:row wrap;align-items:baseline;justify-content:space-between;
 margin-top:1px;padding-top:4px;gap:1px 6px;
}
body.rk-wp .product-card .rk-card-price-per-gram .price-caption{font-size:9px;}
body.rk-wp .product-card .rk-card-price-per-gram .price-values{font-size:10px;}
body.rk-wp .product-card .rk-card-bottom-actions{
 display:flex;align-items:center;align-self:end;justify-content:flex-end;justify-self:end;
 margin:0;gap:5px;min-width:max-content;
}
body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{
 flex:0 0 33px;width:33px;height:33px;min-height:33px;border-radius:10px;
}
/* No detached crumb band: show paths as quiet secondary navigation within hero/head. */
body.rk-wp :is(.rk-context-breadcrumb-wrap,.rk-product-breadcrumb-wrap,.rk-article-breadcrumb-wrap){
 display:block;width:auto;max-width:100%;margin:0 0 10px;padding:0;border:0;background:none;box-shadow:none;
}
body.rk-wp :is(.rk-context-breadcrumb,.rk-help-breadcrumb,.rk-404-breadcrumb),
body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb,
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{
 display:inline-flex;max-width:100%;margin:0;padding:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;backdrop-filter:none;
 color:var(--rk-sub);font-weight:500;font-size:clamp(11px,.85vw,12px);line-height:1.8;
}
body.rk-wp .rk-context-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0;margin:0;padding:0;}
body.rk-wp .rk-context-breadcrumb li{min-width:0;max-width:100%;overflow-wrap:anywhere;}
body.rk-wp .rk-context-breadcrumb :is(a,[aria-current="page"]){font-weight:500;color:var(--rk-sub);}
body.rk-wp .rk-context-breadcrumb a:hover{color:var(--rk-primary);text-decoration:none;}
body.rk-wp .rk-context-breadcrumb a:focus-visible{outline:2px solid var(--rk-primary);outline-offset:3px;}
body.rk-wp :is(.rk-help-breadcrumb,.rk-404-breadcrumb){margin-bottom:12px;}
body.rk-wp .rk-article-detail .rk-article-head{min-width:0;}
body.rk-wp .rk-article-detail .rk-article-head .rk-context-breadcrumb-wrap{margin-bottom:12px;}
body.rk-wp .rk-single-product .rk-v13-info .rk-product-breadcrumb-wrap{margin:0 0 12px;}
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image .rk-context-breadcrumb,
body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image .rk-context-breadcrumb :is(a,[aria-current="page"]){color:#285643;}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image .rk-context-breadcrumb,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-category-hero.has-rk-category-hero-image .rk-context-breadcrumb :is(a,[aria-current="page"]){color:#bedcc9;}
/* Wholesale image should obey the same physical geometry as its frame, even
   when the image uses intrinsic dimensions inside the contain frame. */
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo{border-radius:0 24px 0 24px;overflow:hidden;}
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{
 border-radius:0 24px 0 24px;max-width:100%;height:auto;object-fit:contain;
}
@media(max-width:640px){
 body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo,
 body.rk-wp .rk-wholesale-page .rk-wholesale-hero-photo img{border-radius:0 18px 0 18px;}
 body.rk-wp .product-card .card-bottom{gap:5px;}
 body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{flex-basis:30px;width:30px;height:30px;min-height:30px;}
 body.rk-wp :is(.rk-context-breadcrumb-wrap,.rk-product-breadcrumb-wrap,.rk-article-breadcrumb-wrap){margin-bottom:8px;}
}
@media(prefers-reduced-motion:reduce){body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{transition:none;}}
/* Stronger historical dark/product and article breadcrumb selectors must not
   reintroduce the deprecated card background or borders. */
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb,
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb,
html[data-rk-theme="dark"] body.rk-wp .rk-context-breadcrumb,
html[data-rk-theme="light"] body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb{
 background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;
}
html[data-rk-theme="dark"] body.rk-wp .rk-article-detail .rk-article-breadcrumb-wrap .rk-context-breadcrumb [aria-current="page"],
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb [aria-current="page"]{
 color:var(--rk-sub);font-weight:500;
}
body.rk-wp .rk-single-product .rk-product-breadcrumb-wrap .rk-context-breadcrumb :is(li,a,[aria-current="page"]){font-weight:500;}


/* rk-refinement-0655 */
/* v0.6.55 — product-card simplification, footer contact refinement, and article recommendation containment. */

/* Product cards: remove all packaging weight/volume UI and compact the layout consistently site-wide. */
body.rk-wp .product-card .rk-card-pack{display:none !important;}
body.rk-wp .product-card .card-text{
  gap:6px;
  padding:11px 7px 6px;
}
body.rk-wp .product-card .rk-card-stock{min-height:0;}
body.rk-wp .product-card .card-bottom,
body.rk-wp.home #featured .product-card .card-bottom,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom,
body.rk-wp .rk-related-grid > .product-card .card-bottom,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:8px;
  margin-top:auto;
  padding-top:8px;
}
body.rk-wp .product-card .price-group{
  gap:4px;
}
body.rk-wp .product-card .rk-card-main-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:2px;
  min-width:0;
}
body.rk-wp .product-card .rk-card-main-price > .price-caption{
  font-size:9px;
  color:var(--rk-sub);
  font-weight:600;
}
body.rk-wp .product-card .rk-card-main-price > .price-values{
  width:100%;
}
body.rk-wp .product-card .rk-card-price-primary.price-values,
body.rk-wp .product-card .rk-card-main-price .price-values{
  font-size:clamp(12px,1.04vw,15px);
}
body.rk-wp .product-card .price-values :is(.woocommerce-Price-amount,.amount,bdi,del,ins,strong){font-weight:700;}
body.rk-wp .product-card .rk-card-price-per-gram{
  gap:2px 6px;
  margin-top:2px;
  padding-top:4px;
}
body.rk-wp .product-card .rk-card-bottom-actions{
  gap:5px;
  align-self:end;
  justify-self:end;
  min-width:max-content;
}
body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{
  flex:0 0 33px;
  width:33px;
  height:33px;
  min-height:33px;
}
@media(max-width:640px){
  body.rk-wp .product-card .card-text{padding:9px 5px 5px;gap:5px;}
  body.rk-wp .product-card .card-bottom{gap:6px;padding-top:7px;}
  body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon{flex-basis:30px;width:30px;height:30px;min-height:30px;}
}

/* Footer contact section: show the contact details clearly under the heading, without changing stored settings. */
body.rk-wp .site-footer .rk-footer-contact-list{
  display:grid;
  gap:10px;
}
body.rk-wp .site-footer .rk-footer-contact-item{
  display:grid;
  gap:5px;
  margin:0;
}
body.rk-wp .site-footer .rk-footer-contact-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#d7eadf;
  font-size:11px;
  font-weight:700;
  line-height:1.7;
}
body.rk-wp .site-footer .rk-footer-contact-label svg{
  width:14px;
  height:14px;
  stroke:currentColor;
  flex:0 0 14px;
}
body.rk-wp .site-footer .rk-footer-contact-item a{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  max-width:100%;
  width:fit-content;
  color:#bedaca;
  line-height:1.9;
  text-decoration:none;
  overflow-wrap:anywhere;
}
body.rk-wp .site-footer .rk-footer-contact-item a:hover{color:#eff8f2;}
body.rk-wp .site-footer .rk-footer-contact-item--link a{font-weight:700;}
html[data-rk-theme="dark"] body.rk-wp .site-footer .rk-footer-contact-item a{color:#bedaca;}
html[data-rk-theme="dark"] body.rk-wp .site-footer .rk-footer-contact-item a:hover{color:#f2fbf5;}

/* Article recommendation panel: constrain the desktop carousel so oversized media cannot spill outside its card. */
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{
  position:relative;
  overflow:hidden;
  min-width:0;
}
body.rk-wp .rk-article-detail .rk-article-product-track{
  display:flex;
  gap:10px;
  min-width:0;
  max-width:100%;
  padding-top:6px;
  padding-bottom:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card{
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  align-self:flex-start;
  overflow:hidden;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .rk-card-media,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{
  width:100%;
  max-width:100%;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{
  height:clamp(168px,15vw,188px);
  min-height:168px;
  padding:6px;
  overflow:hidden;
}
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
@media(min-width:981px){
  body.rk-wp .rk-article-detail .rk-article-sidebar{min-width:0;}
  body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-product-panel{max-width:100%;}
}
@media(max-width:760px){
  body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image{
    height:clamp(150px,44vw,176px);
    min-height:150px;
  }
}


/* rk-refinement-0656 */
/* v0.6.56: verified base-unit-only shared cards and compact contact details. */
body.rk-wp .product-card{container-type:inline-size;}
body.rk-wp .product-card .card-text{gap:5px;padding-bottom:5px;}
body.rk-wp .product-card .card-bottom,
body.rk-wp.home #featured .product-card .card-bottom,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom,
body.rk-wp .rk-related-grid > .product-card .card-bottom,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .card-bottom{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;
  gap:7px;padding-top:7px;margin-top:auto;min-height:0;
}
body.rk-wp .product-card .price-group{gap:0;min-width:0;}
body.rk-wp .product-card .rk-card-unit-price{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:2px 7px;min-width:0;width:100%;line-height:1.55;
}
body.rk-wp .product-card .rk-card-unit-price .price-caption{
  margin:0;flex:0 1 auto;font-size:10px;font-weight:600;color:var(--rk-sub);
}
body.rk-wp .product-card .rk-card-unit-price .price-values{
  display:inline-flex;flex:0 1 auto;align-items:baseline;min-width:0;max-width:100%;
  font-size:clamp(12px,1.03vw,15px);line-height:1.45;font-weight:700;
}
body.rk-wp .product-card .rk-card-unit-price .woocommerce-Price-amount,
body.rk-wp .product-card .rk-card-unit-price .woocommerce-Price-amount bdi{
  display:inline-block;max-width:none;white-space:nowrap;word-break:normal;
  overflow-wrap:normal;font-weight:700;
}
body.rk-wp .product-card .rk-card-unit-price--unavailable{
  display:block;color:var(--rk-sub);font-size:11px;font-weight:650;
}
body.rk-wp .product-card .rk-card-bottom-actions{gap:5px;align-self:end;justify-self:end;}
/* Avoid clipping a whole currency amount when the individual card is narrow,
   regardless of whether it lives in the archive, homepage or article sidebar. */
@container (max-width:240px){
 .card-bottom{grid-template-columns:minmax(0,1fr);gap:5px;}
 .card-bottom .rk-card-bottom-actions{justify-self:end;}
}

body.rk-wp .site-footer .rk-footer-phone-pair{
  display:grid;gap:7px;max-width:100%;padding:1px 0 0;
}
body.rk-wp .site-footer .rk-footer-phone-pair a{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;
  gap:8px;max-width:100%;width:fit-content;color:#d8f0e3;
  text-decoration:none;font-weight:700;line-height:1.8;
}
body.rk-wp .site-footer .rk-footer-phone-pair a span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){font-size:10px;color:#a6cdbc;font-weight:600;}
body.rk-wp .site-footer .rk-footer-phone-pair a bdi{white-space:nowrap;font-variant-numeric:tabular-nums;}
body.rk-wp .site-footer .rk-footer-phone-pair a:is(:hover,:focus-visible){color:#fff;text-decoration:none;}
body.rk-wp .site-footer .rk-footer-phone-pair a:focus-visible{outline:2px solid #95ddbb;outline-offset:3px;}
body.rk-wp .rk-single-product .rk-v13-heading{margin-bottom:8px;}
@media(max-width:640px){
 body.rk-wp .product-card .card-text{gap:4px;padding-bottom:4px;}
 body.rk-wp .product-card .rk-card-unit-price .price-caption{font-size:9px;}
 body.rk-wp .product-card .rk-card-unit-price .price-values{font-size:12px;}
 body.rk-wp .product-card .card-bottom{grid-template-columns:minmax(0,1fr);gap:5px;}
}


/* rk-refinement-0657 */
/* Rayehe Kimia Theme v0.6.57 — Rabino-owned document isolation handled in PHP. */

/* Footer: two-column telephone chips and consistent native About/Contact links. */
body.rk-wp .site-footer .rk-footer-contact-pages{
 display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px;
}
body.rk-wp .site-footer .rk-footer-contact-pages a{
 display:inline-flex;align-items:center;justify-content:center;min-height:34px;
 padding:6px 12px;border:1px solid rgba(189,221,205,.25);
 border-radius:10px;background:rgba(255,255,255,.035);
 color:#e6f4ec;font-size:12px;font-weight:700;text-decoration:none;
 transition:background-color .22s ease,color .22s ease,border-color .22s ease;
}
body.rk-wp .site-footer .rk-footer-contact-pages a:is(:hover,:focus-visible){
 background:rgba(88,199,190,.12);color:#fff;border-color:rgba(136,207,176,.52);text-decoration:none;
}
body.rk-wp .site-footer .rk-footer-phone-pair{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
 width:100%;margin:8px 0 0;padding:0;
}
body.rk-wp .site-footer .rk-footer-phone-pair a{
 display:flex;align-items:center;justify-content:center;gap:0;
 width:100%;min-width:0;min-height:39px;box-sizing:border-box;
 padding:7px 5px;border:1px solid rgba(184,218,197,.23);
 border-radius:10px;background:rgba(255,255,255,.025);
 color:#f2faf5;font-size:clamp(10px,1vw,12px);font-weight:800;
 line-height:1.5;text-decoration:none;white-space:nowrap;
 transition:background-color .23s ease,border-color .23s ease,color .23s ease;
}
body.rk-wp .site-footer .rk-footer-phone-pair a span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){display:none;}
body.rk-wp .site-footer .rk-footer-phone-pair a bdi{direction:ltr;unicode-bidi:isolate;white-space:nowrap;}
body.rk-wp .site-footer .rk-footer-phone-pair a:is(:hover,:focus-visible){
 background:rgba(88,199,190,.1);border-color:rgba(145,221,195,.6);color:#fff;
}
body.rk-wp .site-footer .rk-footer-phone-pair a:focus-visible,
body.rk-wp .site-footer .rk-footer-contact-pages a:focus-visible{
 outline:2px solid #95ddbb;outline-offset:2px;
}
@media(max-width:390px){
 body.rk-wp .site-footer .rk-footer-phone-pair a{font-size:10px;padding-inline:3px;}
}
@media(max-width:300px){
 body.rk-wp .site-footer .rk-footer-phone-pair{grid-template-columns:minmax(0,1fr);}
}

/* Product-title hover only; do not alter card images, click targets or hover lift. */
body.rk-wp .product-card .rk-card-title-link :where(h3,.rk-h3):not(rkx){
 color:var(--rk-ink);transition:color .28s cubic-bezier(.2,.8,.2,1);
}
body.rk-wp .product-card .rk-card-title-link:is(:hover,:focus-visible) :where(h3,.rk-h3):not(rkx){
 color:var(--rk-primary);
}

/* Desktop customer-services dropdown: same viewport gap as the product submenu.
   An invisible hover bridge prevents pointer loss across the gap. */
@media(min-width:901px){
 body.rk-wp .site-header .rk-primary-links>li.rk-customer-menu{position:relative;}
 body.rk-wp .site-header .rk-primary-links>li.rk-customer-menu>.sub-menu{
   top:calc(100% + 10px);transform:translateY(8px);margin-top:0;
 }
 body.rk-wp .site-header .rk-primary-links>li.rk-customer-menu::after{
   content:"";position:absolute;top:100%;right:0;left:0;height:12px;
 }
 body.rk-wp .site-header .rk-primary-links>li.rk-customer-menu:is(:hover,:focus-within)>.sub-menu{
   transform:translateY(0);
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .product-card .rk-card-title-link :where(h3,.rk-h3):not(rkx){transition:none;}
}


/* rk-refinement-0658 */
/* v0.6.58: Three narrowly scoped presentation fixes. */

/* Each telephone link occupies one half of the row. */
body.rk-wp .site-footer .rk-footer-phone-pair{
  display:grid;
  grid-template-columns:repeat(2,50%);
  gap:0;
  width:100%;
  max-width:100%;
  margin:8px 0 0;
  padding:0;
}
body.rk-wp .site-footer .rk-footer-phone-pair a{
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:39px;
  margin:0;
  padding:7px 10px;
  border:1px solid rgba(184,218,197,.23);
  border-radius:10px;
  background:rgba(255,255,255,.025);
  color:#f2faf5;
  font-size:12px;
  font-weight:800;
  line-height:1.5;
  text-decoration:none;
  white-space:nowrap;
}
body.rk-wp .site-footer .rk-footer-phone-pair a bdi{
  direction:ltr;
  unicode-bidi:isolate;
  white-space:nowrap;
}
body.rk-wp .site-footer .rk-footer-phone-pair a:is(:hover,:focus-visible){
  background:rgba(88,199,190,.1);
  border-color:rgba(145,221,195,.6);
  color:#fff;
}
@media(min-width:901px){
 body.rk-wp .site-footer .rk-footer-phone-pair{
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:8px;
 }
}
@media(max-width:640px){
 body.rk-wp .site-footer .footer-grid:has(.footer-links){
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
 }
 body.rk-wp .site-footer .footer-grid>.rk-footer-contact{
  display:contents;
 }
 body.rk-wp .site-footer .footer-grid:not(:has(.rk-footer-categories)) .rk-footer-contact-info{
  grid-column:1/-1;
 }
 body.rk-wp .site-footer .footer-grid .rk-footer-phone-pair{
  grid-column:1/-1;
  order:3;
  margin:0;
 }
 body.rk-wp .site-footer .rk-footer-phone-pair a{
  min-height:44px;
  padding-inline:6px;
  font-size:clamp(12px,3.6vw,14px);
 }
 body.rk-wp .site-footer .rk-footer-phone-pair a:first-child{
  border-start-end-radius:0;
  border-end-end-radius:0;
 }
 body.rk-wp .site-footer .rk-footer-phone-pair a+a{
  border-inline-start:0;
  border-start-start-radius:0;
  border-end-start-radius:0;
 }
 body.rk-wp .site-footer .rk-footer-phone-pair a:focus-visible{
  position:relative;
  z-index:1;
 }
}
@media(max-width:319px){
 body.rk-wp .site-footer .footer-grid:has(.footer-links){
  grid-template-columns:minmax(0,1fr);
 }
}
/* The internal links share the same paragraph/anchor classes in PHP. */
body.rk-wp .site-footer .rk-footer-contact-item--link a{
  text-decoration:none;
}

/* Help pages: always place the small intro line BELOW the breadcrumb. */
body.rk-wp .rk-customer-help .rk-help-hero-copy .rk-help-breadcrumb{
  display:flex;
  box-sizing:border-box;
  width:fit-content;
  max-width:100%;
  margin:0 0 12px;
  padding:0;
  flex-wrap:wrap;
  align-items:center;
}
body.rk-wp .rk-customer-help .rk-help-hero-copy > .eyebrow{
  display:block;
  clear:both;
  width:fit-content;
  max-width:100%;
  margin:0 0 4px;
  text-align:right;
}

/* Featured products: match the magazine section's open layout, without a second
   card-shaped section surface. Keep the product cards and carousel untouched. */
body.rk-wp.home #featured .featured-wrap,
html[data-rk-theme="dark"] body.rk-wp.home #featured .featured-wrap,
html[data-rk-theme="light"] body.rk-wp.home #featured .featured-wrap{
  background:transparent;
  background-image:none;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:0;
}
body.rk-wp.home #featured .featured-wrap::before,
body.rk-wp.home #featured .featured-wrap::after{
  display:none;
  content:none;
}


/* rk-refinement-0659 */
/* v0.6.59 — footer link rhythm and one-surface WooCommerce product tabs.
   Presentation only; no markup, data, tab behavior, or integration changes. */

/* The category column uses a compact 4px gap. Contact links previously had
   both a 10px grid gap and the global footer paragraph margins (7px each). */
body.rk-wp .site-footer .rk-footer-contact-list{
  gap:4px;
}
body.rk-wp .site-footer .footer-grid .rk-footer-contact-list > .rk-footer-contact-item--link{
  margin:0;
  padding:0;
  gap:0;
  line-height:1.75;
}
/* Match the product-category links: the previous zero padding left the
   hover background hugging the contact link text. Keep only these three
   navigation links scoped; telephone chips and email remain unchanged. */
body.rk-wp .site-footer .footer-grid .rk-footer-contact-item--link > a{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  max-width:100%;
  padding:7px 12px;
  min-height:0;
  border-radius:12px;
  line-height:1.75;
  text-decoration:none;
  transition:color .24s ease, background-color .24s ease, transform .24s ease;
}
body.rk-wp .site-footer .footer-grid .rk-footer-contact-item--link > a:is(:hover,:focus-visible){
  background:rgba(255,255,255,.06);
  transform:translateX(-3px);
  text-decoration:none;
}
html[data-rk-theme="dark"] body.rk-wp .site-footer .footer-grid .rk-footer-contact-item--link > a:is(:hover,:focus-visible){
  background:rgba(255,255,255,.07);
}
@media(max-width:640px){
  /* The category column uses full-width touch rows at this breakpoint. */
  body.rk-wp .site-footer .footer-grid .rk-footer-contact-item--link > a{
    width:100%;
    min-height:38px;
    padding:7px 5px;
    font-size:11px;
    line-height:1.9;
  }
}
/* Keep the contact-number chips in their own group, stacked as requested. */
body.rk-wp .site-footer .rk-footer-phone-pair{
  margin-top:7px;
}

/* The WooCommerce tabs wrapper owns the ONE shared visual surface. Historically
   .panel backgrounds/borders were layered on top of this parent (and the dark
   mode styles forced a separate card background for description/specification). */
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs{
  background:var(--rk-card);
  background-image:none;
  border:1px solid var(--rk-border);
  box-shadow:none;
}
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs,
html[data-rk-theme="light"] body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs{
  background:var(--rk-card) !important;
  background-image:none !important;
  border-color:var(--rk-border) !important;
  box-shadow:none;
}
/* Applies to WooCommerce's canonical panels, preserving inner attribute rows,
   review form fields and their own accessibility/focus styling. */
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .woocommerce-Tabs-panel,
body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .panel{
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0;
  outline:0;
  box-shadow:none !important;
  margin:0;
  padding:12px 0 0;
  color:var(--rk-ink);
}
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .woocommerce-Tabs-panel,
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .panel{
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--rk-ink);
}
/* Woo's review content is nested in the tab panel. Don't touch the review
   form's own controls, inputs, dividers or the tab links' selected state. */
@media(max-width:640px){
  body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .woocommerce-Tabs-panel,
  body.rk-wp .rk-single-product .rk-v13-after .woocommerce-tabs > .panel{
    padding-top:9px;
  }
}


/* rk-refinement-0662 */
/* v0.6.62 — cohesive card style, verified unit prices, Woo-native pack choices. */
/* All shared rk_card instances share one typography/rhythm. Featured retains its carousel width. */
body.rk-wp.home #featured .product-card{
  padding:8px;border-radius:18px;border:1px solid var(--rk-border);
  background:var(--rk-card);box-shadow:0 3px 12px rgba(15,64,48,.045);
  height:100%;align-self:stretch;
}
body.rk-wp.home #featured .product-card .rk-card-media{padding:0;margin:0;}
body.rk-wp.home #featured .product-card .product-image{
  width:100%;height:clamp(160px,15.5vw,194px);padding:3px;
  background:var(--rk-brand-soft);border-radius:12px;
}
body.rk-wp.home #featured .product-card .product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;}
body.rk-wp.home #featured .product-card .card-text{padding:11px 7px 6px;gap:5px;flex:1 1 auto;min-width:0;}
body.rk-wp.home #featured .product-card :where(h3,.rk-h3):not(rkx){font-size:clamp(12px,.95vw,14px);min-height:2.75em;max-height:2.75em;line-height:1.42;}
body.rk-wp.home #featured .product-card .card-bottom{
  grid-template-columns:minmax(0,1fr) auto;gap:7px;
  padding-top:7px;margin-top:auto;border-top:1px solid var(--rk-border);
}
body.rk-wp.home #featured .product-card .rk-card-bottom-actions .card-action-icon{width:33px;height:33px;min-height:33px;}

/* Real verified unit price. Product variation price remains the exact payable amount after selection. */
body.rk-wp .rk-v13-buy .rk-v13-price,
html[data-rk-theme="dark"] body.rk-wp .rk-v13-buy .rk-v13-price,
body.rk-wp .rk-v13-buy .rk-v13-price--sale{
  background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 12px;border-radius:0;
}
body.rk-wp .rk-unit-display{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;min-width:0;color:var(--rk-ink);}
body.rk-wp .rk-unit-display small{color:var(--rk-sub);font-size:12px;font-weight:600;}
body.rk-wp .rk-unit-display strong{font-size:clamp(17px,1.7vw,24px);line-height:1.5;color:var(--rk-primary);font-weight:750;white-space:nowrap;}
body.rk-wp .rk-unit-display--unavailable{color:var(--rk-sub);font-size:13px;font-weight:650;}
body.rk-wp .rk-v13-unit-hint{font-size:11px;color:var(--rk-sub);line-height:1.7;margin:5px 0 0;}
body.rk-wp .rk-v13-payable-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:6px;}
body.rk-wp .rk-v13-payable-price>small{font-size:11px;color:var(--rk-sub);}
body.rk-wp .rk-v13-payable-price .price{font-size:clamp(15px,1.4vw,20px);font-weight:700;margin:0;}
body.rk-wp .rk-v13-buy .woocommerce-variation-price .price{font-size:clamp(17px,1.7vw,23px);font-weight:700;}
body.rk-wp .rk-qv-unit-pricing .rk-unit-display strong{font-size:clamp(16px,1.4vw,21px);}
body.rk-wp .rk-qv-unit-pricing{border:0;box-shadow:none;background:transparent;}
/* Button choices drive the original WC select: never hide it before JS initialized. */
body.rk-wp .rk-v13-buy .rk-pack-native-hidden{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;
}
body.rk-wp .rk-v13-buy .rk-pack-choices{
  display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0;margin:3px 0 7px;
}
body.rk-wp .rk-v13-buy .rk-pack-choices[hidden]{display:none;}
body.rk-wp .rk-v13-buy .rk-pack-choice{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  min-height:41px;max-width:100%;padding:8px 14px;
  border:1px solid var(--rk-border);border-radius:0 13px 0 13px;
  background:var(--rk-card);color:var(--rk-ink);font:inherit;font-size:12px;font-weight:700;
  cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
body.rk-wp .rk-v13-buy .rk-pack-choice:is(:hover,:focus-visible){background:var(--rk-brand-soft);border-color:var(--rk-primary);}
body.rk-wp .rk-v13-buy .rk-pack-choice.is-selected{
  background:var(--rk-brand-soft);border-color:var(--rk-primary);color:var(--rk-primary);
}
body.rk-wp .rk-v13-buy .rk-pack-choice:disabled{opacity:.43;cursor:not-allowed;}
body.rk-wp .rk-v13-buy .rk-pack-choice:focus-visible{outline:2px solid var(--rk-primary);outline-offset:3px;}
@media(max-width:640px){body.rk-wp.home #featured .product-card .product-image{height:clamp(144px,44vw,177px);}}
@media(min-width:901px){
  body.rk-wp .rk-catalog .rk-catalog-sidebar{top:clamp(174px,12vw,190px);}
}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-v13-buy .rk-pack-choice{transition:none;}}


/* rk-refinement-0663 */
/* Rayehe Kimia v0.6.63 — existing benefit rail, new homepage position.
   No slider, carousel, product pricing or checkout logic is changed. */
body.rk-wp.home .rk-home-benefits-after-featured{
  position:relative;
  z-index:1;
  width:100%;
  max-width:100%;
  margin:clamp(10px,1.6vw,20px) auto clamp(28px,3.1vw,46px);
}
body.rk-wp.home .rk-home-benefits-after-featured > .benefit-rail.container{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  gap:0;
  box-sizing:border-box;
  width:var(--shell);
  max-width:100%;
  min-width:0;
  margin:0 auto;
  padding:clamp(10px,1.3vw,14px) clamp(7px,1vw,12px);
  transform:none;
  min-height:0;
  border:1px solid var(--rk-border);
  border-radius:0 clamp(14px,1.4vw,18px) 0 clamp(14px,1.4vw,18px);
  background:var(--rk-card);
  color:var(--rk-ink);
  box-shadow:0 8px 23px rgba(15,79,74,.06);
}
body.rk-wp.home .rk-home-benefits-after-featured .benefit{
  min-width:0;
  padding:7px clamp(6px,1vw,13px);
  gap:9px;
  border-left:1px solid var(--rk-border);
}
body.rk-wp.home .rk-home-benefits-after-featured .benefit:last-child{border-left:0;}
body.rk-wp.home .rk-home-benefits-after-featured .benefit strong{color:var(--rk-ink);font-size:12px;line-height:1.6;}
body.rk-wp.home .rk-home-benefits-after-featured .benefit small{color:var(--rk-sub);font-size:10px;line-height:1.5;}
body.rk-wp.home .rk-home-benefits-after-featured .benefit-icon{
  flex:none;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--rk-brand-soft);
  color:var(--rk-primary);
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-benefits-after-featured > .benefit-rail{
  background:var(--rk-card);
  border-color:var(--rk-border);
  box-shadow:0 5px 17px rgba(0,0,0,.11);
}
@media(max-width:900px){
  body.rk-wp.home .rk-home-benefits-after-featured > .benefit-rail.container{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px 3px;
  }
  body.rk-wp.home .rk-home-benefits-after-featured .benefit:nth-child(3){border-left:0;}
  body.rk-wp.home .rk-home-benefits-after-featured .benefit:nth-child(4),
  body.rk-wp.home .rk-home-benefits-after-featured .benefit:nth-child(5){border-left:0;}
}
@media(max-width:640px){
  body.rk-wp.home .rk-home-benefits-after-featured{margin:12px auto 30px;}
  body.rk-wp.home .rk-home-benefits-after-featured > .benefit-rail.container{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px 8px;
    padding:11px 8px;
  }
  body.rk-wp.home .rk-home-benefits-after-featured .benefit{
    border:0;
    justify-content:flex-start;
    gap:7px;
    padding:7px 5px;
  }
  body.rk-wp.home .rk-home-benefits-after-featured .benefit:last-child{
    grid-column:1 / -1;
    justify-content:center;
  }
  body.rk-wp.home .rk-home-benefits-after-featured .benefit-icon{width:32px;height:32px;}
  body.rk-wp.home .rk-home-benefits-after-featured .benefit strong{font-size:11px;}
  body.rk-wp.home .rk-home-benefits-after-featured .benefit small{font-size:9px;}
}

/* The old native-select caret was still painted at the left of the new WC
   package-count buttons. Remove that decoration only after the visual buttons
   have mounted; native dropdowns for other attributes remain unchanged. */
body.rk-wp .rk-single-product .rk-v13-buy .variations td.value.rk-pack-control--buttons::before{
  content:none !important;
  display:none !important;
}

/* The original Woo select and validation are authoritative. Make only the
   existing accessible feedback inline message look like a designed component. */
body.rk-wp .rk-single-product .rk-v13-buy .rk-variation-feedback:not([hidden]){
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  max-width:100%;
  margin:10px 0 6px;
  padding:11px 13px;
  border:1px solid var(--rk-border);
  border-inline-start:3px solid #be9163;
  border-radius:0 13px 0 13px;
  background:var(--rk-brand-soft);
  color:var(--rk-ink);
  font-size:12px;
  line-height:1.9;
  font-weight:650;
  box-shadow:none;
}
body.rk-wp .rk-single-product .rk-v13-buy .rk-variation-feedback:not([hidden])::before{
  content:"!";
  display:grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  margin:0;
  border-radius:0 7px 0 7px;
  background:var(--rk-primary);
  color:#fff;
  font-weight:800;
  line-height:1;
}
html[data-rk-theme="dark"] body.rk-wp .rk-single-product .rk-v13-buy .rk-variation-feedback:not([hidden]){
  background:var(--rk-card);
  color:var(--rk-ink);
  border-color:var(--rk-border);
  border-inline-start-color:#d3aa79;
  box-shadow:none;
}
body.rk-wp .rk-single-product .rk-v13-buy .rk-pack-choices{
  margin:4px 0 7px;
}


/* rk-home-article-0666 */
/* v0.6.66: wholesale art, canonical single-article grid, unified sidebar spacing. */
/* Transparent artwork: its image stays outside a photo background and the section surface remains rounded. */
body.rk-wp.home .wholesale-section{padding-top:clamp(38px,4.2vw,62px)}
body.rk-wp.home .wholesale-panel{
 position:relative;isolation:isolate;overflow:visible;
 display:grid;direction:rtl;
 grid-template-columns:minmax(0,1fr) minmax(0,.84fr) minmax(290px,1.06fr);
 grid-template-areas:"copy checks photo";align-items:center;
 min-height:340px;gap:clamp(10px,1.3vw,20px);padding:clamp(16px,1.8vw,24px);
 border-radius:0 38px 0 38px;
 background:linear-gradient(115deg,var(--rk-brand-soft),var(--rk-surface) 61%,var(--rk-brand-soft));
 border:1px solid var(--rk-border);box-shadow:var(--rk-raised-sm);
}
body.rk-wp.home .wholesale-photo{grid-area:photo;align-self:stretch;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;max-height:none;height:auto;overflow:visible;border-radius:0;background:none!important}
body.rk-wp.home .wholesale-photo-art{display:block;position:relative;width:108%;max-width:none;height:auto;max-height:370px;object-fit:contain;object-position:center;transform:translateY(-17px);filter:drop-shadow(0 12px 15px rgba(14,48,35,.09));}
body.rk-wp.home .wholesale-copy{grid-area:copy;direction:rtl;align-self:center;padding:8px 6px 8px 0;min-width:0}
body.rk-wp.home .wholesale-copy :where(h2,.rk-h2):not(rkx){font-size:clamp(25px,2.1vw,30px);line-height:1.65}
body.rk-wp.home .wholesale-copy p{font-size:13px;line-height:2.1;margin-bottom:15px}
body.rk-wp.home .wholesale-checks{grid-area:checks;display:flex;flex-direction:column;gap:12px;padding:6px;min-width:0}
body.rk-wp.home .wholesale-checks span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)){line-height:1.9}
html[data-rk-theme="dark"] body.rk-wp.home .wholesale-panel{background:var(--rk-surface);border-color:var(--rk-border);box-shadow:0 12px 30px rgba(0,0,0,.12)}
@media(max-width:1100px){
 body.rk-wp.home .wholesale-panel{grid-template-columns:minmax(0,1fr) minmax(220px,.93fr);grid-template-areas:"copy photo" "checks photo";gap:4px 16px;padding:20px}
 body.rk-wp.home .wholesale-photo-art{width:109%;max-height:335px;transform:translateY(-10px)}
 body.rk-wp.home .wholesale-copy{padding:12px 2px 4px}
 body.rk-wp.home .wholesale-checks{padding:4px;gap:9px}
}
@media(max-width:640px){
 body.rk-wp.home .wholesale-section{padding-top:30px}
 body.rk-wp.home .wholesale-panel{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:15px 16px 22px;border-radius:0 26px 0 26px;overflow:hidden}
 body.rk-wp.home .wholesale-photo{order:1;min-height:0;max-height:none;height:auto;width:100%;align-self:center}
 body.rk-wp.home .wholesale-photo-art{width:min(104%,380px);max-width:100%;max-height:none;transform:none;margin:0 auto;filter:drop-shadow(0 8px 10px rgba(14,48,35,.07))}
 body.rk-wp.home .wholesale-copy{order:2;padding:6px 0 9px}
 body.rk-wp.home .wholesale-copy :where(h2,.rk-h2):not(rkx){font-size:24px}
 body.rk-wp.home .wholesale-checks{order:3;display:flex;padding:0;gap:8px}
}
/* Canonical header/footer shell: inherit .container width:var(--shell) with no smaller article cap. */
body.rk-wp .rk-article-detail .rk-article-container{max-width:min(1280px,calc(100% - 40px));padding-block:clamp(16px,2.1vw,27px) clamp(42px,4.3vw,65px)}
body.rk-wp .rk-article-detail .rk-article-columns{grid-template-columns:minmax(240px,270px) minmax(0,1fr);gap:0 clamp(24px,2.4vw,32px);align-items:start}
body.rk-wp .rk-article-detail .rk-article-sidebar{gap:18px;align-self:start;min-width:0}
body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside{margin:0;min-height:0;padding:20px;border-radius:0 22px 0 22px;box-shadow:none}
body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar{grid-area:auto;width:100%;min-width:0;padding:20px;background:var(--rk-ed-surface);color:var(--rk-ed-ink);border:1px solid var(--rk-ed-border);border-radius:0 22px 0 22px;box-shadow:none}
body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar .aisum{margin:9px 0 0}
body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar .aisum__heading{font-size:13px}
body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar .aisum__buttons{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar .aisum :is(a.aisum__btn,button.aisum__btn){display:flex;justify-content:center;min-width:0;width:100%;line-height:1.55}
body.rk-wp .rk-article-detail .rk-post-hero{margin:0}
body.rk-wp .rk-article-detail .rk-article-head{padding:18px clamp(18px,2vw,28px) 16px}
body.rk-wp .rk-article-detail .rk-entry-content{padding:clamp(20px,2.4vw,32px)}
body.rk-wp .rk-article-detail .rk-entry-content :is(p,ul,ol,blockquote){max-width:100%}
body.rk-wp .rk-article-detail .rk-post-comments{margin-block-start:clamp(22px,2.2vw,30px)}
body.rk-wp .rk-article-detail .rk-related-articles{margin-top:clamp(24px,2.5vw,34px)}
@media(max-width:920px){
 body.rk-wp .rk-article-detail .rk-article-columns{grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:0 18px}
}
@media(max-width:760px){
 body.rk-wp .rk-article-detail .rk-article-columns{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "summary" "head" "sidebar" "content";row-gap:0}
 body.rk-wp .rk-article-detail .rk-article-sidebar{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-block:16px}
 body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside{padding:18px}
 body.rk-wp .rk-article-detail .rk-entry-content{border-block-start:1px solid var(--rk-ed-border)}
}
@media(max-width:640px){
 body.rk-wp .rk-article-detail .rk-article-container{padding-block:12px 42px}
 body.rk-wp .rk-article-detail .rk-article-sidebar{gap:14px;padding-block:14px}
 body.rk-wp .rk-article-detail .rk-article-sidebar .rk-article-aside,
 body.rk-wp .rk-article-detail .rk-article-ai-summary--sidebar{padding:16px}
 body.rk-wp .rk-article-detail .rk-entry-content{padding:18px 16px}
}


/* rk-motion-0666 */
/* One native IntersectionObserver in site-wp.js owns all reveals. CSS never hides without successful JS setup. */
body.rk-wp.rk-motion-ready .rk-motion-reveal:not(.is-visible){opacity:0;transform:translate3d(0,12px,0)}
body.rk-wp.rk-motion-ready .rk-motion-reveal{transition:opacity .46s cubic-bezier(.2,.7,.2,1),transform .46s cubic-bezier(.2,.7,.2,1);will-change:auto}
body.rk-wp.rk-motion-ready .rk-motion-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-motion-reveal{opacity:1!important;transform:none!important;transition:none!important}}


/* rk-phase3-cart */
/* Phase 3: Rayehe-owned Woo mini-cart, without affecting Rabino global cart surfaces. */
body.rk-wp .cart-hover-wrap .mini-cart{width:min(390px,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box;min-width:0;padding:15px;max-height:min(78vh,650px);overflow-y:auto;direction:rtl;background:var(--rk-card,#fff);color:var(--rk-ink,#21483c);border-color:var(--rk-border,#dbe8e3)}
body.rk-wp .mini-cart .woocommerce-mini-cart{padding:0;margin:0;display:grid;gap:10px;list-style:none}
body.rk-wp .mini-cart .woocommerce-mini-cart-item{position:relative!important;display:block!important;min-width:0!important;max-width:100%;padding:10px!important;margin:0;border:1px solid var(--rk-border,#dbe8e3);border-radius:12px;background:var(--rk-surface,#f9fcfa);overflow:visible;line-height:1.8;white-space:normal;overflow-wrap:normal;word-break:normal}
body.rk-wp .mini-cart .woocommerce-mini-cart-item>a:not(.remove){display:flex!important;align-items:center;gap:9px;color:var(--rk-ink,#21483c);font-size:.86rem;font-weight:750;line-height:1.8;text-decoration:none;padding-inline-end:24px;min-width:0;overflow-wrap:normal;word-break:normal}
body.rk-wp .mini-cart .woocommerce-mini-cart-item>a:not(.remove) img{float:none!important;display:block;width:60px!important;height:60px!important;max-width:60px!important;object-fit:contain;flex:0 0 60px!important;border:1px solid var(--rk-border,#dbe8e3);border-radius:9px;margin:0!important;background:var(--rk-card,#fff)}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .remove{position:absolute;inset-inline-end:8px;top:7px;inset-inline-start:auto;z-index:1;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;line-height:1}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .variation{display:block!important;margin:8px 0 4px;padding:7px 9px!important;width:auto!important;min-width:0;max-width:100%;background:color-mix(in srgb,var(--rk-brand-soft,#5193731a) 50%,transparent);border-radius:8px;font-size:.75rem;line-height:1.8;white-space:normal}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .variation dt,body.rk-wp .mini-cart .woocommerce-mini-cart-item .variation dd{display:inline!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0 0 0 4px!important;padding:0!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;line-height:1.8}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .variation dd::after{content:'';display:block}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .variation p{display:inline;margin:0}
body.rk-wp .mini-cart .woocommerce-mini-cart-item .quantity{display:block!important;margin:8px 0 0!important;font-size:.82rem;font-weight:600;white-space:normal!important;direction:rtl;unicode-bidi:plaintext;text-align:right}
body.rk-wp .mini-cart .woocommerce-mini-cart__total{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;font-weight:700;margin:12px 0;padding:12px 3px;border-block:1px solid var(--rk-border,#dbe8e3)}
body.rk-wp .mini-cart .woocommerce-mini-cart__buttons{display:block!important;width:100%;margin:0}
body.rk-wp .mini-cart .woocommerce-mini-cart__buttons a.checkout{display:flex!important;align-items:center;justify-content:center;width:100%;max-width:100%;box-sizing:border-box;margin:0!important;padding:12px;border-radius:12px;min-height:43px;color:white;background:#0e6154;text-align:center;text-decoration:none}
body.rk-wp .mini-cart .woocommerce-mini-cart__buttons a:not(.checkout){display:none!important}
body.rk-wp .rk-v13-buy form.cart:not(.variations_form){display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px;border:1px solid var(--rk-border,#dbe8e3);border-radius:13px;background:var(--rk-surface,#f9fcfa)}
body.rk-wp .rk-v13-buy form.cart .quantity{min-width:72px;flex:0 0 auto}
body.rk-wp .rk-v13-buy form.cart .qty{min-height:43px;width:80px;max-width:100%;padding:7px;border:1px solid var(--rk-border,#dbe8e3);border-radius:10px;background:var(--rk-card,#fff);color:var(--rk-ink,#21483c);text-align:center}
body.rk-wp .rk-v13-buy form.cart .single_add_to_cart_button{min-height:43px;border:0;border-radius:11px;background:#0e6154;color:#fff;font:inherit;font-weight:700;padding:10px 20px;flex:1 1 180px}
body.rk-wp .rk-v13-buy form.cart .single_add_to_cart_button:disabled{opacity:.52}
body.rk-wp .rk-v13-buy form.variations_form{max-width:100%;min-width:0}
body.rk-wp .rk-v13-buy form.variations_form select{max-width:100%;min-height:43px;border-radius:10px}
html[data-rk-theme=dark] body.rk-wp .mini-cart,html[data-rk-theme=dark] body.rk-wp .mini-cart .woocommerce-mini-cart-item{background:var(--rk-card,#163a31);color:var(--rk-ink,#eaf7f0)}
@media(max-width:760px){body.rk-wp .mini-cart{width:min(390px,calc(100vw - 16px))}body.rk-wp #rk-mobile-cart .woocommerce-mini-cart-item .variation,body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item .variation{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;word-break:normal!important}body.rk-wp #rk-mobile-cart .variation dt,body.rk-wp #rk-mobile-cart .variation dd,body.rk-wp #rk-mobile-cart-content .variation dt,body.rk-wp #rk-mobile-cart-content .variation dd{display:inline!important;float:none!important;width:auto!important;max-width:none!important;word-break:normal!important}body.rk-wp #rk-mobile-cart .variation dd::after,body.rk-wp #rk-mobile-cart-content .variation dd::after{content:'';display:block}}
@media(prefers-reduced-motion:reduce){body.rk-wp .mini-cart *{transition:none!important}}


/* rk-layout-loader-068 */
/* v0.6.68 — coherent article shell, spacing rhythm and safe non-blocking loader. */
/* The entire article, not only its inner reading column, shares the global header/footer shell. */
body.rk-wp .rk-article-detail > .rk-article-container.container{
  box-sizing:border-box;
  width:var(--shell);
  max-width:min(1280px,calc(100% - 40px));
  margin-inline:auto;
  padding-block:var(--rk-article-edge,clamp(16px,2vw,26px)) clamp(44px,4vw,64px);
}
body.rk-wp .rk-article-detail{
  --rk-article-gap:clamp(16px,2vw,24px);
  --rk-article-card-padding:clamp(17px,2vw,22px);
  --rk-article-edge:clamp(16px,2vw,26px);
}
body.rk-wp .rk-article-detail .rk-article-columns{
  width:100%;max-width:none;min-width:0;
  display:grid;align-items:start;
  grid-template-columns:minmax(244px,280px) minmax(0,1fr);
  gap:0 var(--rk-article-gap);
}
body.rk-wp .rk-article-detail .rk-article-sidebar{
  min-width:0;align-self:start;
  display:flex;flex-direction:column;
  gap:var(--rk-article-gap);
  margin:0;padding:0;
}
body.rk-wp .rk-article-detail .rk-article-sidebar > .rk-article-aside,
body.rk-wp .rk-article-detail .rk-article-sidebar > .rk-article-ai-summary--sidebar{
  width:100%;max-width:100%;min-height:0;
  padding:var(--rk-article-card-padding);
  margin:0;
}
body.rk-wp .rk-article-detail .rk-post-hero,
body.rk-wp .rk-article-detail .rk-article-head,
body.rk-wp .rk-article-detail .rk-entry-content{min-width:0;max-width:100%;}
/* Comments and related articles use the same cadence as sidebar cards. */
body.rk-wp .rk-article-detail .rk-post-comments,
body.rk-wp .rk-article-detail .rk-related-articles{
  width:100%;min-width:0;
  margin-block-start:var(--rk-article-gap);
}
body.rk-wp .rk-article-detail .rk-related-articles .section-heading{margin-block-end:var(--rk-article-gap);}
/* Keep the print-quality long-form reading line lengths while expanding the outer shell. */
body.rk-wp .rk-article-detail .rk-entry-content :is(p,ul,ol,blockquote){max-width:100%;}
@media(max-width:980px){
 body.rk-wp .rk-article-detail .rk-article-columns{
   grid-template-columns:minmax(208px,240px) minmax(0,1fr);
   column-gap:clamp(16px,2vw,20px);
 }
}
@media(max-width:760px){
 body.rk-wp .rk-article-detail{--rk-article-gap:16px;--rk-article-card-padding:18px;}
 body.rk-wp .rk-article-detail .rk-article-columns{
   grid-template-columns:minmax(0,1fr);
   grid-template-areas:'hero' 'summary' 'head' 'sidebar' 'content';
   row-gap:0;
 }
 body.rk-wp .rk-article-detail .rk-article-sidebar{
   display:flex;flex-direction:column;gap:var(--rk-article-gap);
   padding-block:var(--rk-article-gap);
 }
}
@media(max-width:640px){
 body.rk-wp .rk-article-detail{--rk-article-gap:14px;--rk-article-card-padding:16px;}
 body.rk-wp .rk-article-detail > .rk-article-container.container{
   width:var(--shell);max-width:calc(100% - 28px);
   padding-block:12px 42px;
 }
}
/* Existing observer already owns all reveal states; do not add a competing controller. */
body.rk-wp.rk-motion-ready .rk-motion-reveal{
  transition:opacity .48s cubic-bezier(.22,.72,.27,1),transform .48s cubic-bezier(.22,.72,.27,1);
}
body.rk-wp.rk-motion-ready .rk-motion-reveal:not(.is-visible){opacity:0;transform:translate3d(0,12px,0);}
body.rk-wp.rk-motion-ready .rk-motion-reveal.is-visible{opacity:1;transform:none;}
/* Non-blocking brand loader: never hides content or captures pointer/keyboard input. */
.rk-page-loader{
  position:fixed;z-index:110;top:clamp(82px,13vh,122px);left:50%;
  transform:translateX(-50%) translateY(-8px);
  display:inline-flex;direction:rtl;align-items:center;gap:9px;
  max-width:calc(100vw - 32px);padding:10px 16px;
  background:var(--rk-surface,#f7faf6);color:var(--rk-ink,#123e32);
  border:1px solid var(--rk-border,#c9ddcf);
  border-radius:0 17px 0 17px;
  box-shadow:0 9px 24px rgba(14,59,43,.11);
  opacity:0;visibility:hidden;pointer-events:none;
  font-family:'Yekan Bakh',Tahoma,sans-serif;
  font-size:12px;font-weight:750;white-space:nowrap;
  transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s;
}
html.rk-initial-loading .rk-page-loader{
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);
  transition:opacity .22s ease,transform .22s ease;
  animation:rk-loader-expire 2.4s ease forwards;
}
.rk-page-loader__emblem{display:inline-flex;align-items:center;justify-content:center;color:#59bca1;}
.rk-page-loader__emblem svg{width:19px;height:19px;}
.rk-page-loader__dots{display:inline-flex;gap:4px;align-items:center;margin-inline-start:3px;}
.rk-page-loader__dots i{display:block;width:4px;height:4px;border-radius:50%;background:#68c6b1;animation:rk-loader-pulse .82s ease-in-out infinite alternate;}
.rk-page-loader__dots i:nth-child(2){animation-delay:.16s;}
.rk-page-loader__dots i:nth-child(3){animation-delay:.32s;}
@keyframes rk-loader-pulse{from{opacity:.33;transform:scale(.7)}to{opacity:1;transform:scale(1.16)}}
@keyframes rk-loader-expire{0%,86%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
html[data-rk-theme='dark'] .rk-page-loader{background:#1d322b;color:#effaf3;border-color:#416354;box-shadow:0 8px 26px rgba(0,0,0,.18)}
@media(prefers-reduced-motion:reduce){
 .rk-page-loader{display:none!important}
 body.rk-wp .rk-motion-reveal{opacity:1!important;transform:none!important;transition:none!important}
}


/* rk-refinement-069 */
/* Rayehe Kimia v0.6.69 — centered loader, progressive section motion, TOC and editorial color safety. */

/* Page overlay: fixed to the visual viewport, never blurs the body nor traps pointer input. */
.rk-page-loader{
 position:fixed;inset:0;z-index:9999;left:0;top:0;
 display:grid;place-items:center;
 box-sizing:border-box;max-width:none;width:100%;height:100%;
 padding:24px;direction:rtl;
 background:rgba(243,249,244,.54);
 -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
 border:0;border-radius:0;box-shadow:none;
 opacity:0;visibility:hidden;pointer-events:none;
 transform:none;white-space:normal;
 transition:opacity .24s cubic-bezier(.22,.72,.27,1),visibility 0s linear .24s;
}
.rk-page-loader__card{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 width:min(280px,calc(100vw - 48px));min-height:175px;
 box-sizing:border-box;padding:24px 22px 21px;gap:8px;
 border-radius:0 27px 0 27px;
 border:1px solid rgba(42,101,78,.18);background:rgba(248,252,247,.94);
 color:#174735;box-shadow:0 16px 44px rgba(28,74,54,.12);
 text-align:center;
}
.rk-page-loader__emblem{width:48px;height:48px;color:#359879;display:flex;align-items:center;justify-content:center;background:#e7f5ed;border-radius:0 15px 0 15px}
.rk-page-loader__emblem svg{width:30px;height:30px}
.rk-page-loader__title{font-weight:850;font-size:21px;line-height:1.65}
.rk-page-loader__subtitle{font-size:11px;line-height:1.6;color:#638477}
.rk-page-loader__dots{margin:3px 0 0;display:inline-flex;gap:7px}
.rk-page-loader__dots i{width:6px;height:6px;background:#36a589}
html.rk-initial-loading .rk-page-loader{
 opacity:1;visibility:visible;transform:none;
 transition:opacity .24s cubic-bezier(.22,.72,.27,1),visibility 0s;
 animation:rk-overlay-safety 2.4s forwards;
}
@keyframes rk-overlay-safety{0%,89%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
html[data-rk-theme='dark'] .rk-page-loader{background:rgba(10,23,19,.57);border:0;box-shadow:none}
html[data-rk-theme='dark'] .rk-page-loader__card{background:rgba(26,45,37,.95);border-color:rgba(127,189,153,.21);color:#f0faf4;box-shadow:0 18px 48px rgba(0,0,0,.21)}
html[data-rk-theme='dark'] .rk-page-loader__emblem{background:#2c4e3f;color:#7bd7b9}
html[data-rk-theme='dark'] .rk-page-loader__subtitle{color:#aecabc}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .rk-page-loader{background:rgba(239,248,241,.92)}
 html[data-rk-theme='dark'] .rk-page-loader{background:rgba(16,30,24,.93)}
}
/* Legacy .reveal must not hide anything without a successfully initialized JS observer. */
body.rk-wp .reveal:not(.rk-motion-reveal){opacity:1!important;visibility:visible!important;transform:none!important}
body.rk-wp:not(.rk-motion-ready) .rk-motion-reveal{opacity:1;visibility:visible;transform:none}
/* Text, tables, shortcodes and prose inside the main article never use generic scroll reveals. */
body.rk-wp .rk-article-detail [data-rk-article-body],
body.rk-wp .rk-article-detail [data-rk-article-body] :is(.reveal,.rk-motion-reveal){
 opacity:1!important;visibility:visible!important;transform:none!important;
 transition:none!important;
}
body.rk-wp.rk-motion-ready .rk-motion-reveal{
 transition:opacity .46s cubic-bezier(.22,.72,.27,1),transform .46s cubic-bezier(.22,.72,.27,1);
}
body.rk-wp.rk-motion-ready .rk-motion-reveal:not(.is-visible){transform:translate3d(0,11px,0)}
body.rk-wp.rk-motion-ready .rk-motion-reveal.is-visible{transform:none}

/* Collapsible semantic TOC: H2 sections and nested H3 subsections. */
body.rk-wp .rk-article-detail .rk-article-toc-panel{min-height:0;overflow:visible}
body.rk-wp .rk-article-detail .rk-toc{min-width:0;margin:0;overflow:visible}
body.rk-wp .rk-article-detail .rk-toc :is(.rk-toc-main,.rk-toc-nested){
 margin:0;padding:0;list-style:none;display:grid;gap:3px;counter-reset:rk-toc-title;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-main{counter-reset:rk-toc-title}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-nested{padding-inline-start:14px;gap:2px;margin-block:2px 5px}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-h2{counter-increment:rk-toc-title}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-item{min-width:0;font-size:12px;line-height:1.8;margin:0;counter-increment:none}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-item[hidden]{display:none!important}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-item>a{
 display:flex;align-items:flex-start;gap:9px;min-width:0;max-width:100%;
 padding:8px 10px;border:0;border-radius:0 10px 0 10px;
 text-align:start;line-height:1.9;color:var(--rk-ed-ink);font-weight:750;
 white-space:normal;overflow-wrap:anywhere;transition:background .2s ease,color .2s ease;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-h2>a::before{
 content:counter(rk-toc-title,decimal-leading-zero);color:var(--rk-ed-accent);
 min-width:21px;flex:0 0 21px;padding:1px 0 0;font-size:10px;font-weight:750;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-sub>a{
 color:var(--rk-ed-muted);font-size:11.5px;font-weight:550;padding:5px 10px 5px 4px;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-sub>a::before{
 content:'•';color:var(--rk-ed-accent);min-width:9px;flex:0 0 9px;font-size:16px;line-height:1.3;padding:0;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-item>a:is(:hover,:focus-visible){background:var(--rk-ed-soft);color:var(--rk-ed-ink);text-decoration:none}
body.rk-wp .rk-article-detail .rk-toc-toggle{
 width:100%;min-height:40px;margin-top:12px;display:flex;align-items:center;justify-content:center;
 border:1px solid var(--rk-ed-border);border-radius:0 12px 0 12px;
 background:var(--rk-ed-soft);color:var(--rk-ed-ink);
 font:inherit;font-weight:750;font-size:12px;cursor:pointer;
 transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
body.rk-wp .rk-article-detail .rk-toc-toggle:hover{border-color:var(--rk-ed-accent);transform:translateY(-1px)}
body.rk-wp .rk-article-detail .rk-toc-toggle:focus-visible{outline:2px solid var(--rk-ed-accent);outline-offset:3px}

/* Tables: preserve native table semantics, scroll the region on small screens. */
body.rk-wp .rk-article-detail [data-rk-article-body] :is(.rk-article-table-scroll,.wp-block-table){
 max-width:100%;width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;
 border:1px solid var(--rk-ed-border);border-radius:0 15px 0 15px;margin-block:18px;
 -webkit-overflow-scrolling:touch;
}
body.rk-wp .rk-article-detail [data-rk-article-body] :is(.rk-article-table-scroll,.wp-block-table) table{margin:0;}
body.rk-wp .rk-article-detail [data-rk-article-body] table{
 display:table;max-width:none;width:max-content;min-width:100%;border-spacing:0;
 border-collapse:separate;background:var(--rk-ed-surface);color:var(--rk-ed-ink);
}
body.rk-wp .rk-article-detail [data-rk-article-body] table :is(th,td){
 padding:11px 13px;min-width:85px;white-space:normal;text-align:start;
 border-inline-start:0;border-top:0;border-right:0;border-bottom:1px solid var(--rk-ed-border);
 font-size:clamp(12px,1vw,14px);line-height:1.9;
}
body.rk-wp .rk-article-detail [data-rk-article-body] table th{font-weight:750}
body.rk-wp .rk-article-detail [data-rk-article-body] :is(ul,ol):not(.wp-block-social-links):not(.wp-block-navigation__container){
 padding-inline-start:clamp(18px,2vw,26px);margin-block:10px 15px;
}
body.rk-wp .rk-article-detail [data-rk-article-body] :is(ul,ol) li{padding-inline-start:4px}
body.rk-wp .rk-article-detail [data-rk-article-body] :is(ul,ol) li::marker{color:#268c75}
body.rk-wp .rk-article-detail [data-rk-article-body] ul li::marker{font-size:.85em}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] :is(.rk-article-table-scroll,.wp-block-table){border-color:#486559;background:#1e342c}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] table{background:#1e342c!important;color:#edf7f0!important}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] table :is(thead,tr:first-child:has(th)) th{
 background:#2a5143!important;color:#effbf4!important;border-color:#527362!important;
}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] table :is(td,tbody th){
 background:#20372e!important;color:#e0efe5!important;border-color:#3e5a4e!important;
}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] :is(.wp-block-table.is-style-stripes,.rk-article-table-scroll) table tbody tr:nth-child(even)>:is(td,th){background:#263f35!important}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] :is(ul,ol) li::marker{color:#7dd6b8}
html[data-rk-theme='dark'] body.rk-wp .rk-article-detail [data-rk-article-body] blockquote{background:#274639;color:#e8f7ec;border-color:#68c6a3}
html[data-rk-theme='light'] body.rk-wp .rk-article-detail [data-rk-article-body] table :is(thead,tr:first-child:has(th)) th{background:#dcefe4!important;color:#154537!important;border-color:#bcd9c9}
html[data-rk-theme='light'] body.rk-wp .rk-article-detail [data-rk-article-body] table :is(td,tbody th){background:#f7faf7!important;color:#244b3d!important;border-color:#d9e6de}
html[data-rk-theme='light'] body.rk-wp .rk-article-detail [data-rk-article-body] table tbody tr:nth-child(even)>td{background:#eff6f0!important}
@media(max-width:640px){
 body.rk-wp .rk-article-detail .rk-toc .rk-toc-nested{padding-inline-start:9px}
 body.rk-wp .rk-article-detail .rk-toc .rk-toc-item>a{padding:7px 8px}
 body.rk-wp .rk-article-detail [data-rk-article-body] table :is(th,td){min-width:100px;padding:9px 11px}
 .rk-page-loader__card{width:min(260px,calc(100vw - 44px));padding:22px 18px}
}
@media(prefers-reduced-motion:reduce){
 .rk-page-loader{display:none!important}
 body.rk-wp .rk-motion-reveal,body.rk-wp .reveal{opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important}
 body.rk-wp .rk-article-detail .rk-toc-toggle{transition:none!important;transform:none!important}
}


/* rk-refinement-070 */
/* v0.6.70 — equal article cards, accurate TOC figures, no loader, clear single-post heading and responsive unified motion. */

/* The loader no longer exists in the DOM or script: do not let old class/style resurrect it. */
html.rk-initial-loading .rk-page-loader, .rk-page-loader {display:none!important;}

/* Every magazine card uses the same footprint on the homepage, blog archive and related carousel. */
body.rk-wp .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
body.rk-wp #articles .article-carousel > .rk-mag-card,
body.rk-wp .rk-related-track > .rk-mag-card,
body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{
 box-sizing:border-box; height:222px; min-height:222px; max-height:222px;
 align-self:stretch; flex-shrink:0;
}
body.rk-wp .rk-mag-card .rk-mag-body{
 flex:1 1 65%;min-height:0;gap:7px;overflow:hidden;
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx),
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body :where(h3,.rk-h3):not(rkx){
 display:block;min-width:0;min-height:0;max-height:none;
 overflow:visible;line-height:1.6;font-size:clamp(13px,1.07vw,16px);
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) > a{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 line-clamp:2;overflow:hidden;text-overflow:ellipsis;
 overflow-wrap:anywhere;line-height:1.6;max-height:3.2em;
 transition:color .2s cubic-bezier(.22,.72,.27,1);
}
body.rk-wp .rk-mag-card .rk-mag-excerpt{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
 overflow:hidden;min-height:0;max-height:3.5em;flex-shrink:1;
}
body.rk-wp .rk-mag-card .rk-read-more{flex-shrink:0;margin-top:auto;}
body.rk-wp .rk-mag-card .rk-mag-image{height:100%;min-height:0;}
@media(max-width:640px){
 body.rk-wp .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
 body.rk-wp #articles .article-carousel > .rk-mag-card,
 body.rk-wp .rk-related-track > .rk-mag-card,
 body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{height:212px;min-height:212px;max-height:212px;}
 body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx){font-size:13px;}
}

/* Semantic TOC numerals are generated once by JS; never rely on conflicting CSS counters. */
body.rk-wp .rk-article-detail .rk-toc .rk-toc-h2 > a::before{display:none!important;content:none!important;}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-number{
 flex:0 0 25px;min-width:25px;text-align:center;
 color:var(--rk-ed-accent);font-size:11px;font-weight:800;
 font-variant-numeric:tabular-nums;line-height:1.9;
}
body.rk-wp .rk-article-detail .rk-toc .rk-toc-label{min-width:0;flex:1;line-height:inherit;}

/* Desktop: article title right, category/date on the same row at the opposite edge. */
body.rk-wp .rk-article-detail .rk-article-headline{
 display:flex;align-items:center;justify-content:space-between;
 gap:12px 22px;min-width:0;
}
body.rk-wp .rk-article-detail .rk-article-headline h1{
 flex:1 1 auto;min-width:0;max-width:none;margin:0;
}
body.rk-wp .rk-article-detail .rk-article-headline .rk-article-meta{
 flex:0 1 auto;display:flex;align-items:center;justify-content:flex-end;
 flex-wrap:wrap;gap:8px 12px;min-width:0;margin:0;
}
body.rk-wp .rk-article-detail .rk-article-headline .rk-article-meta time{white-space:nowrap;}
@media(max-width:760px){
 body.rk-wp .rk-article-detail .rk-article-headline{flex-direction:column;align-items:stretch;gap:10px;}
 body.rk-wp .rk-article-detail .rk-article-headline .rk-article-meta{align-self:flex-start;justify-content:flex-start;}
}

/* Article links: visibly interactive without changing embedded widgets or table links. */
body.rk-wp .rk-article-detail [data-rk-article-body] :is(p,li,blockquote) a:not(.btn):not(.button):not([class*="button"]){
 color:var(--rk-ed-accent);font-weight:700;
 text-decoration:underline;text-decoration-thickness:1px;
 text-underline-offset:4px;text-decoration-color:currentColor;
 border-radius:2px;
 transition:color .2s ease,text-decoration-color .2s ease,background-color .2s ease;
}
body.rk-wp .rk-article-detail [data-rk-article-body] :is(p,li,blockquote) a:not(.btn):not(.button):not([class*="button"]):is(:hover,:focus-visible){
 color:var(--rk-ed-ink);background:var(--rk-ed-soft);
 text-decoration-color:var(--rk-ed-accent);
}
body.rk-wp .rk-article-detail [data-rk-article-body] a:focus-visible{
 outline:2px solid var(--rk-ed-accent);outline-offset:3px;
}

/* Mobile reveals continue to use the existing single IntersectionObserver, never article prose. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
 body.rk-wp.rk-motion-ready .rk-motion-reveal{
  transition:opacity .4s cubic-bezier(.22,.72,.27,1),transform .4s cubic-bezier(.22,.72,.27,1);
 }
 body.rk-wp.rk-motion-ready .rk-motion-reveal:not(.is-visible){transform:translate3d(0,9px,0);}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .rk-motion-reveal{opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important;}
 body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) > a{transition:none!important;}
}


/* rk-refinement-071 */
/* 0.6.71 — scoped typography consistency, article imagery and Rabino/Woo reviews. */

/* Keep typography-only refinements isolated from button geometry, interaction or hit areas. */
body.rk-wp .site-header .rk-header-nav :is(a, button, .menu-item, .sub-menu a, .rk-mega-products a),
body.rk-wp .site-header .rk-account-panel > a,
body.rk-wp .site-header .rk-account-profile strong,
body.rk-wp .rk-mobile-links a,
body.rk-wp .rk-mobile-links button,
body.rk-wp .rk-mobile-quick-nav__item,
body.rk-wp .topline-links a{
  font-weight:400!important;
}
body.rk-wp :is(button,.btn,a.btn,a.button,.button,input[type="submit"],input[type="button"],.wp-element-button,.wp-block-button__link,[role="button"],.rk-read-more,.rk-catalog-apply,.rk-card-action,.rk-product-description-toggle),
body.rk-wp .rabino-comments-wrapper :is(.rabino-submit-btn,.rabino-reply-btn,.rabino-cancel-btn){
  font-weight:400!important;
}
body.rk-wp :is(button,.btn,a.btn,a.button,.button,input[type="submit"],input[type="button"],.wp-element-button,.wp-block-button__link,[role="button"]) :is(strong,b){font-weight:400!important;}
/* Do not impose font weight on SVGs, icons or non-button labels. */

/* Article cards use the full attachment as srcset source; keep native sampling at device pixel ratio. */
body.rk-wp .rk-mag-card .rk-mag-image{isolation:isolate;}
body.rk-wp .rk-mag-card .rk-article-photo{
  image-rendering:auto;
  width:100%;height:100%;max-width:100%;
  object-fit:cover;object-position:center;
  backface-visibility:hidden;
}
/* Avoid double zoom/blur introduced by legacy hover refinements. */
body.rk-wp .rk-mag-card:hover .rk-article-photo,
body.rk-wp .rk-mag-card:focus-within .rk-article-photo{transform:scale(1.015);}

/* Rabino owns all comments markup/validation/AJAX; only its documented CSS tokens and visuals are adapted. */
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper{
  --rabino-comment-primary:#0f6859;
  --rabino-comment-primary-hover:#135a4c;
  --rabino-comment-primary-rgb:15,104,89;
  --rabino-comment-primary-soft:rgba(15,104,89,.10);
  --rabino-comment-primary-soft-12:rgba(15,104,89,.12);
  --rabino-comment-primary-soft-20:rgba(15,104,89,.20);
  --rabino-comment-on-primary:#fff;
  --rabino-comment-focus-ring:rgba(15,104,89,.17);
  --rabino-comment-surface:var(--rk-card,#f9fcf9);
  --rabino-comment-surface-muted:var(--rk-surface,#eff6f1);
  --rabino-comment-text:var(--rk-ink,#183f33);
  --rabino-comment-text-muted:var(--rk-sub,#537263);
  --rabino-comment-text-soft:var(--rk-sub,#648372);
  --rabino-comment-border:var(--rk-border,#d4e3d9);
  --rabino-comment-radius-base:14px;
  --rabino-comment-shadow-sm:none;
  --rabino-comment-shadow-md:0 8px 18px rgba(16,64,48,.08);
  max-inline-size:100%;
}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper{
  --rabino-comment-primary:#69c7b6;
  --rabino-comment-primary-hover:#91e1d1;
  --rabino-comment-primary-rgb:105,199,182;
  --rabino-comment-primary-soft:rgba(105,199,182,.10);
  --rabino-comment-primary-soft-12:rgba(105,199,182,.12);
  --rabino-comment-primary-soft-20:rgba(105,199,182,.20);
  --rabino-comment-on-primary:#0f2923;
  --rabino-comment-focus-ring:rgba(105,199,182,.22);
  --rabino-comment-surface:#243a32;
  --rabino-comment-surface-muted:#1b3029;
  --rabino-comment-text:#f0f7f1;
  --rabino-comment-text-muted:#c6dcd0;
  --rabino-comment-text-soft:#a8c8b7;
  --rabino-comment-border:rgba(159,206,181,.19);
  --rabino-comment-shadow-md:0 8px 20px rgba(0,0,0,.12);
  --rabino-comment-success:#9ce0ba;
  --rabino-comment-success-soft:rgba(91,183,131,.15);
  --rabino-comment-success-border:rgba(91,183,131,.24);
  --rabino-comment-danger:#f0a69b;
  --rabino-comment-danger-soft:rgba(208,92,80,.13);
  --rabino-comment-danger-border:rgba(208,92,80,.25);
  --rabino-comment-warning:#edcb83;
  --rabino-comment-warning-soft:rgba(214,162,78,.12);
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper :is(.rabino-form-card,.rabino-comment-card){
  border-radius:0 22px 0 22px;
  box-shadow:none;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper .rabino-form-header{align-items:center;}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper .rabino-form-header .rabino-header-icon{border-radius:0 13px 0 13px;}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper :is(.rabino-input,.rabino-textarea){
  border-radius:0 12px 0 12px;
  color:var(--rabino-comment-text);
  caret-color:var(--rabino-comment-primary);
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper .rabino-submit-btn{
  border-radius:0 14px 0 14px;
  box-shadow:none;
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper .rabino-submit-btn:hover:not(:disabled){box-shadow:none;}
@media(max-width:640px){
  body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper :is(.rabino-form-card,.rabino-comment-card){padding:15px;border-radius:0 17px 0 17px;}
  body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper .rabino-header-icon{width:39px;height:39px;flex-basis:39px;}
}

/* Native Woo/WordPress fallback comments use the same surface when Rabino is disabled. */
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews) :is(#comments,#review_form_wrapper,.comment-respond){
  max-width:100%;min-width:0;color:var(--rk-ink);
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews) :is(.comment-respond,#review_form_wrapper){
  padding:clamp(14px,2vw,22px);border:1px solid var(--rk-border);
  background:var(--rk-card);border-radius:0 22px 0 22px;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews) :is(.comment-form textarea,.comment-form input:not([type="checkbox"]),#review_form input,#review_form textarea){
  max-width:100%;box-sizing:border-box;min-height:42px;
  color:var(--rk-ink);background:var(--rk-surface);border:1px solid var(--rk-border);
  border-radius:0 12px 0 12px;padding:10px 12px;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews) :is(.comment-form textarea,#review_form textarea){width:100%;min-height:130px;resize:vertical;}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews) :is(.comment-form input,.comment-form textarea,#review_form input,#review_form textarea):focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px;}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-mag-card .rk-article-photo{transition:none!important;transform:none!important;}}


/* rk-refinement-072 */
/* v0.6.72 — compact editorial cards, sharp responsive imagery, plugin-owned gram purchase UI. */
body.rk-wp .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
body.rk-wp #articles .article-carousel > .rk-mag-card,
body.rk-wp .rk-related-track > .rk-mag-card,
body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{
 height:192px; min-height:192px;max-height:192px;
 display:flex;flex-direction:row;
}
body.rk-wp .rk-mag-card .rk-mag-body,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body{
 gap:5px; padding:10px 12px 11px; min-width:0;overflow:hidden;
}
body.rk-wp .rk-mag-card .rk-mag-image,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-image{
 flex:0 0 34%;width:34%;height:auto;min-height:0;aspect-ratio:auto;
}
body.rk-wp .rk-mag-card .rk-mag-meta{gap:4px 8px;line-height:1.5}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx){font-size:clamp(12px,1vw,15px);line-height:1.55}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) > a{line-height:1.55;max-height:3.1em}
body.rk-wp .rk-mag-card .rk-mag-excerpt{line-height:1.5;max-height:1.5em;min-height:0;font-size:11.5px;-webkit-line-clamp:1;line-clamp:1}
body.rk-wp .rk-mag-card .rk-read-more{min-height:34px;padding:7px 10px;margin-top:auto}
body.rk-wp .rk-mag-card .rk-article-photo{
 transform:none!important;filter:none!important;image-rendering:auto;
 object-fit:cover;object-position:center;backface-visibility:visible;
}
/* Native WooCommerce gallery: preserve full attachment and contain without stretching. */
body.rk-wp .rk-single-product .woocommerce-product-gallery__image img,
body.rk-wp .rk-single-product .woocommerce-product-gallery__wrapper img,
body.rk-wp .rk-qv-product-image,
body.rk-wp .rk-product-card-photo{
 image-rendering:auto;object-fit:contain;
}
/* Rayehe gram flow is fully owned by the installed plugin. Keep its purchase block
   within the theme's approved purchase surface and avoid any duplicate native form. */
body.rk-wp .rk-v13-rayehe-gram{min-width:0;width:100%;max-width:100%;margin:0 0 12px}
body.rk-wp .rk-v13-rayehe-gram .rayehe-atc{max-width:100%;min-width:0;box-sizing:border-box}
body.rk-wp .rk-v13-rayehe-gram :is(input,button){max-width:100%}
@media(max-width:640px){
 body.rk-wp .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
 body.rk-wp #articles .article-carousel > .rk-mag-card,
 body.rk-wp .rk-related-track > .rk-mag-card,
 body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{height:192px;min-height:192px;max-height:192px}
 body.rk-wp .rk-mag-card .rk-mag-image{flex-basis:33%;width:33%;}
 body.rk-wp .rk-mag-card .rk-mag-body{padding:9px 10px;gap:4px}
 body.rk-wp .rk-mag-card .rk-mag-excerpt{display:none}
 body.rk-wp .rk-v13-rayehe-gram .rayehe-atc__quick-weights{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-mag-card .rk-article-photo{transition:none!important}}


/* rk-refinement-073 */
/* Rayehe Kimia v0.6.73: shared editorial and square product images. */
/* Article cards: title + CTA only, the existing 2-line clamp is retained. */
body.rk-wp .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
body.rk-wp #articles .article-carousel > .rk-mag-card,
body.rk-wp .rk-related-track > .rk-mag-card,
body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{
  height:clamp(122px,11.6vw,148px);min-height:122px;max-height:148px;
}
body.rk-wp .rk-mag-card .rk-mag-body,
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body{
  justify-content:space-between;align-items:stretch;gap:10px;
  min-width:0;padding:clamp(10px,1.1vw,15px);
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx),
body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body :where(h3,.rk-h3):not(rkx){
  flex:0 0 auto;margin:0;min-height:0;max-height:3.1em;
  line-height:1.55;overflow:hidden;
}
body.rk-wp .rk-mag-card .rk-mag-body :where(h3,.rk-h3):not(rkx) a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.55;max-height:3.1em;}
body.rk-wp .rk-mag-card .rk-read-more{
  align-self:flex-end;justify-self:end;flex:0 0 auto;width:max-content;max-width:100%;
  margin-block-start:auto;margin-inline-start:0;margin-inline-end:0;
  min-height:32px;padding:6px 10px;
}
body.rk-wp .rk-mag-card .rk-mag-image{flex-basis:35%;width:35%;}

/* Images: editorial content may include an opaque background.  A real square
   container plus zero padding avoids the letterbox left by the old fixed height.
   Contain preserves the entire original, including its intrinsic alpha space. */
body.rk-wp .product-card .rk-card-media{width:100%;min-width:0;flex:0 0 auto;}
body.rk-wp .product-card .product-image,
body.rk-wp.home #featured .product-card .product-image,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image{
  box-sizing:border-box;width:100%;height:auto;min-height:0;
  aspect-ratio:1 / 1;padding:0;margin:0;overflow:hidden;
}
body.rk-wp .product-card .product-image img,
body.rk-wp.home #featured .product-card .product-image img,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image img{
  display:block;box-sizing:border-box;width:100%;height:100%;min-width:0;
  padding:0;margin:0;object-fit:contain;object-position:center;max-width:100%;max-height:100%;
}
@media (max-width:640px){
 body.rk-wp .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card,
 body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature,
 body.rk-wp #articles .article-carousel > .rk-mag-card,
 body.rk-wp .rk-related-track > .rk-mag-card,
 body.rk-wp .rk-article-detail .rk-related-articles .rk-mag-card{height:124px;min-height:124px;max-height:124px;}
 body.rk-wp .rk-mag-card .rk-mag-body,
 body.rk-wp .rk-mag-grid > .rk-mag-card.rk-mag-feature .rk-mag-body{padding:9px;gap:5px;}
 body.rk-wp .rk-mag-card .rk-mag-image{flex-basis:36%;width:36%;}
 body.rk-wp .rk-mag-card .rk-read-more{font-size:10px;min-height:30px;padding:5px 8px;}
 body.rk-wp .product-card .product-image,
 body.rk-wp.home #featured .product-card .product-image,
 body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image{height:auto;aspect-ratio:1/1;}
}
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-mag-card .rk-read-more{transition:none!important}}


/* rk-home-category-074 */
/* Rayehe Kimia 0.6.74: term artwork actually used by the homepage category rail. */
body.rk-wp.home .rk-showcase-categories .rk-category-dock__item{
  flex-direction:column;gap:0;min-width:0;overflow:hidden;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__item.has-category-image{
  padding:6px 6px 9px;min-height:152px;justify-content:flex-start;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__media{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:105px;min-height:105px;max-height:105px;
  flex:none;overflow:hidden;pointer-events:none;
  border-radius:10px;background:rgba(52,132,99,.055);
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__image{
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  margin:0;padding:0;object-fit:contain;object-position:center;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  transform:none;filter:none;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__label{
  display:block;max-width:100%;text-align:center;line-height:1.65;
  overflow-wrap:anywhere;white-space:normal;
}
body.rk-wp.home .rk-showcase-categories .has-category-image .rk-category-dock__label{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;margin:auto 4px 0;padding-top:7px;font-size:12px;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-showcase-categories .rk-category-dock__media{
  background:rgba(126,205,166,.055);
}
/* Slightly larger artwork box for the updated transparent 1920x1120 slide art.
   The split text column, all CTA data and custom uploaded images are untouched. */
@media(min-width:1060px){
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.rk-generated-hero-visual{
   width:calc(100% + clamp(32px,5.3vw,76px));
   height:clamp(315px,30vw,420px);
 }
}
@media(max-width:760px){
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__item.has-category-image{
   flex-basis:clamp(142px,38vw,174px);min-height:144px;padding:6px 6px 8px;
 }
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__media{
   height:94px;min-height:94px;max-height:94px;
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp.home .rk-showcase-categories .rk-category-dock__image{transition:none!important;}
}


/* rk-refinement-075 */
/* Rayehe Kimia v0.6.75 — scoped wholesale artwork and mega promo. */
@media(min-width:1101px){
 body.rk-wp.home .wholesale-panel{
   position:relative;isolation:isolate;overflow:visible;
   min-height:250px;grid-template-columns:minmax(0,1fr) minmax(0,.84fr) minmax(260px,1.06fr);
 }
 body.rk-wp.home .wholesale-photo{
   position:absolute;z-index:100;left:clamp(-22px,-1.1vw,-8px);top:50%;
   width:clamp(260px,34%,470px);height:calc(100% + 42px);
   transform:translateY(-50%);pointer-events:none;
   display:flex;align-items:center;justify-content:center;
 }
 body.rk-wp.home .wholesale-photo-art{
   display:block;width:108%;height:100%;max-height:420px;max-width:none;
   object-fit:contain;transform:none;
 }
}
@media(min-width:641px) and (max-width:1100px){
 body.rk-wp.home .wholesale-panel{position:relative;isolation:isolate;overflow:visible;min-height:250px;
   grid-template-columns:minmax(0,1fr) minmax(220px,.93fr)}
 body.rk-wp.home .wholesale-photo{position:absolute;z-index:100;left:-10px;top:50%;
   width:clamp(220px,42%,390px);height:calc(100% + 20px);transform:translateY(-50%);
   display:flex;align-items:center;justify-content:center;pointer-events:none}
 body.rk-wp.home .wholesale-photo-art{width:106%;height:100%;max-height:350px;object-fit:contain;transform:none}
}
@media(max-width:640px){
 body.rk-wp.home .wholesale-panel{position:relative;isolation:isolate;min-height:250px;overflow:hidden}
 body.rk-wp.home .wholesale-photo{position:relative;z-index:auto;inset:auto;transform:none;
   width:100%;height:auto;pointer-events:none}
 body.rk-wp.home .wholesale-photo-art{width:min(100%,380px);height:auto;max-height:260px;object-fit:contain;transform:none}
}
/* Local stacking context means wholesale art cannot outrank modal/header layers. */
body.rk-wp.home .wholesale-panel .wholesale-copy,
body.rk-wp.home .wholesale-panel .wholesale-checks{position:relative;z-index:1}
/* Custom uploaded artwork uses contain (including transparent compositions).
   Default promotional art keeps its established cover crop. */
body.rk-wp .rk-mega-promo img.rk-mega-promo__image{display:block;max-width:100%;height:170px;
   object-position:center;border-radius:17px 0 17px 0}
body.rk-wp .rk-mega-promo img.rk-mega-promo__image--custom{object-fit:contain;
   background:color-mix(in srgb,var(--rk-surface),transparent 24%)}


/* rk-refinement-078 */
/* Rayehe Kimia v0.6.78 — user-requested visual refinements + taxonomy mega hierarchy.
   Strictly presentation-only: leaves WooCommerce, Rabino and product data untouched. */

/* Light-only override: a literal :root selector would also overwrite the dark token. */
:root:not([data-rk-theme="dark"]),
html[data-rk-theme="light"] {
  --rk-brand-soft:#5193731a;
}

/* Requested prefooter gradient; the established dark palette remains readable. */
body.rk-wp .prefooter {
  background:linear-gradient(110deg,#83bca1,#b5cebf,#ffffff);
}
html[data-rk-theme="dark"] body.rk-wp .prefooter {
  background:linear-gradient(110deg,#254d40,#314c43,#24372f);
}

body.rk-wp.home .wholesale-panel {
  background:linear-gradient(115deg,#51937359,var(--rk-surface) 61%,#84c5a53d);
}
body.rk-wp.home .rk-home-showcase {
  margin-top:15px;
  padding:0!important;
  border-radius:0;
  border:0;
  box-shadow:none;
  background:none!important;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock,
body.rk-wp.home .rk-home-showcase {
  border-radius:0;
  border:none;
  box-shadow:none;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock {
  background:none!important;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature {
  background:#5193731a;
  min-height:100%!important;
  box-sizing:border-box;
  align-self:stretch;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature :where(h2,.rk-h2):not(rkx) {
  color:inherit;
  margin:0;
  font-size:27px;
  line-height:1.3;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-buttons .btn {
  border-radius:0 15px!important;
}
/* Honor the specified image box geometry; constrain its child to the photo
   column so the 100% overlay cannot cover wholesale copy or CTA. */
@media(min-width:1101px) {
  body.rk-wp.home .wholesale-panel {
    position:relative;
    isolation:isolate;
    overflow:visible;
  }
  body.rk-wp.home .wholesale-photo {
    position:absolute;
    z-index:500;
    left:clamp(-22px,-1.1vw,-8px);
    top:141px;
    width:100%;
    height:350px;
    min-height:0;
    transform:translateY(-50%);
    pointer-events:none;
    display:flex;
    align-items:center;
    justify-content:flex-end;
  }
  body.rk-wp.home .wholesale-photo-art {
    display:block;
    flex:0 0 auto;
    width:clamp(230px,30%,460px);
    max-width:35%;
    height:100%;
    max-height:350px;
    object-fit:contain;
    transform:none;
  }
  body.rk-wp.home .wholesale-panel :is(.wholesale-copy,.wholesale-checks) {
    position:relative;
    z-index:501;
  }
}
@media(max-width:1100px) {
  /* Inherit the proven tablet/mobile positioning, not desktop coordinates. */
  body.rk-wp.home .wholesale-panel .wholesale-copy,
  body.rk-wp.home .wholesale-panel .wholesale-checks {z-index:1;}
}
@media(max-width:760px) {
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy,
  body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .slide .slide-copy {
    grid-row:2!important;
    grid-column:1;
  }
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual,
  body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider > .rk-slide-model-full .hero-visual {
    grid-row:1!important;
    grid-column:1;
  }
  body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature {
    min-height:60px!important;
  }
  body.rk-wp.home .rk-showcase-categories .rk-category-dock__feature :where(h2,.rk-h2):not(rkx) {
    font-size:clamp(19px,5vw,27px);
  }
}

/* The desktop catalog shows WooCommerce parent terms and *all* nested children. */
body.rk-wp .site-header .rk-mega-products {
  max-height:min(76vh,730px);
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  overscroll-behavior:contain;
}
body.rk-wp .rk-mega-columns {
  grid-template-columns:minmax(0,1fr) minmax(205px,.32fr);
  gap:clamp(12px,1.6vw,24px);
}
body.rk-wp .rk-mega-main {min-width:0;}
body.rk-wp .rk-mega-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
body.rk-wp .rk-mega-group {
  min-width:0;
  border:1px solid var(--rk-border);
  border-radius:15px 0 15px 0;
  background:var(--rk-surface);
  padding:9px 11px 11px;
}
body.rk-wp .rk-mega-group-title {margin:0;font-size:inherit;font-weight:400;line-height:1.55;}
body.rk-wp .rk-mega-grid .rk-mega-group .rk-mega-parent {
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:40px;
  padding:7px 8px;
  font-size:13px;
  font-weight:650;
  border:0;
  border-radius:10px;
  box-shadow:none;
  background:var(--rk-brand-soft);
  color:var(--rk-ink);
  text-decoration:none;
}
body.rk-wp .rk-mega-group .rk-mega-parent span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) {flex:1;min-width:0;}
body.rk-wp .rk-mega-group .rk-mega-parent .rk-icon {width:17px;height:17px;color:var(--rk-primary);}
body.rk-wp .rk-mega-group .rk-mega-subcategories {
  list-style:none;
  margin:6px 0 0;
  padding:0 11px 0 0;
  border-right:1px solid var(--rk-border);
  display:grid;
  gap:1px;
}
body.rk-wp .rk-mega-group .rk-mega-subcategories--nested {
  margin:0 11px 4px 0;
  padding-right:10px;
}
body.rk-wp .rk-mega-group .rk-mega-subcategories li {min-width:0;margin:0;}
body.rk-wp .rk-mega-grid .rk-mega-group .rk-mega-subcategories a {
  display:block;
  min-width:0;
  min-height:0;
  padding:6px 9px;
  border:0;
  border-radius:8px;
  background:transparent;
  box-shadow:none;
  font-size:12px;
  font-weight:400;
  line-height:1.8;
  color:var(--rk-ink);
  overflow-wrap:anywhere;
  text-decoration:none;
}
body.rk-wp .rk-mega-grid .rk-mega-group :is(a:hover,a:focus-visible) {
  background:var(--rk-brand-soft);
  color:var(--rk-primary);
}
body.rk-wp .rk-mega-products .rk-mega-promo {align-self:start;}
@media(min-width:901px) and (max-width:1250px) {
  body.rk-wp .rk-mega-columns {grid-template-columns:minmax(0,1fr) minmax(175px,.32fr);}
  body.rk-wp .rk-mega-grid {gap:9px;}
}
@media(min-width:901px) and (max-width:1060px) {
  body.rk-wp .rk-mega-grid {grid-template-columns:minmax(0,1fr);}
}
/* The drawer's native submenu toggles work at every depth and remain keyboard accessible. */
body.rk-wp #rk-mobile-menu .rk-mobile-shop-categories,
body.rk-wp #rk-mobile-menu .rk-mega-subcategories {list-style:none;}
body.rk-wp #rk-mobile-menu .rk-mobile-links ul.rk-mega-subcategories[hidden] {display:none;}
body.rk-wp #rk-mobile-menu .rk-mobile-links ul.rk-mega-subcategories {padding:4px 13px 4px 0;}
body.rk-wp #rk-mobile-menu .rk-mobile-links li.menu-item-has-children {min-width:0;}


/* rk-storefront-refinement-092 */
/* Rayehe Kimia v0.6.92 — five scoped storefront refinements.
   Presentation-only; no Core, cart, inventory or Rabino business logic changes. */

/* Homepage shell width is owned by native .container in site.css. */
body.rk-wp.home #categories.rk-showcase-categories .rk-category-dock{
  width:100%;max-width:100%;box-sizing:border-box;
}

/* Shared product cards: the only remaining footer action is Quick View.
   The Add-to-Cart markup itself was removed from rk_card(). */
body.rk-wp .product-card .rk-card-bottom-actions{
  display:flex;align-items:center;justify-content:flex-end;
}
body.rk-wp .product-card .rk-card-bottom-actions .rk-quick-view-trigger{
  flex-shrink:0;
}
/* Legible two-level base-price disclosure on cards and within Quick View. */
body.rk-wp .product-card .rk-card-unit-price .price-caption,
body.rk-wp .rk-qv-unit-pricing .rk-unit-display > small{
  color:var(--rk-sub);font-weight:700;
}
body.rk-wp .rk-qv-unit-pricing .rk-unit-display--standard{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  min-width:0;
}
body.rk-wp .rk-qv-unit-pricing .rk-unit-display--standard strong{
  font-size:inherit;line-height:1.6;overflow-wrap:anywhere;
}

/* Wholesale art increases without covering copy or buttons; its bottom extends
   outside the panel. Never raise this decorative image above site overlays. */
@media (min-width:1101px){
  body.rk-wp.home .wholesale-panel{position:relative;isolation:isolate;overflow:visible;}
  body.rk-wp.home .wholesale-panel .wholesale-photo{
    position:absolute;left:clamp(0px,1vw,14px);right:auto;
    top:auto;bottom:-74px;transform:none;
    width:clamp(330px,42%,570px);height:clamp(350px,32vw,450px);
    min-height:0;max-height:none;z-index:2;
    display:flex;align-items:flex-end;justify-content:center;pointer-events:none;
  }
  body.rk-wp.home .wholesale-panel .wholesale-photo-art{
    display:block;flex:0 0 auto;width:118%;max-width:none;height:100%;max-height:none;
    object-fit:contain;object-position:center bottom;
    transform:scale(1.10);transform-origin:center bottom;
  }
  body.rk-wp.home .wholesale-panel :is(.wholesale-copy,.wholesale-checks){position:relative;z-index:3;}
}
@media (min-width:641px) and (max-width:1100px){
  body.rk-wp.home .wholesale-panel{position:relative;overflow:visible;isolation:isolate;}
  body.rk-wp.home .wholesale-panel .wholesale-photo{
    position:absolute;left:-8px;right:auto;top:auto;bottom:-30px;transform:none;
    width:min(43%,390px);height:calc(100% + 35px);min-height:0;max-height:none;
    display:flex;align-items:flex-end;justify-content:center;z-index:2;pointer-events:none;
  }
  body.rk-wp.home .wholesale-panel .wholesale-photo-art{
    width:115%;max-width:none;height:100%;max-height:none;
    object-fit:contain;object-position:center bottom;transform:scale(1.04);
    transform-origin:center bottom;
  }
  body.rk-wp.home .wholesale-panel :is(.wholesale-copy,.wholesale-checks){position:relative;z-index:3;}
}
@media (max-width:640px){
  body.rk-wp.home .wholesale-panel{
    overflow:visible;display:flex;flex-direction:column;align-items:stretch;
    padding-bottom:0;
  }
  body.rk-wp.home .wholesale-panel .wholesale-copy{order:1;}
  body.rk-wp.home .wholesale-panel .wholesale-checks{order:2;}
  body.rk-wp.home .wholesale-panel .wholesale-photo{
    order:3;position:relative;inset:auto;transform:none;z-index:1;
    width:100%;height:clamp(225px,69vw,365px);min-height:0;max-height:none;
    margin:4px 0 -32px;align-self:center;
    display:flex;align-items:flex-end;justify-content:center;pointer-events:none;
  }
  body.rk-wp.home .wholesale-panel .wholesale-photo-art{
    display:block;width:min(100%,460px);max-width:100%;height:100%;max-height:none;
    object-fit:contain;object-position:center bottom;
    transform:scale(1.06);transform-origin:center bottom;
  }
  body.rk-wp.home .wholesale-section{padding-bottom:clamp(42px,10vw,65px);}
}

/* Main product gallery clipping is owned by v060-product-search.css. */



/* rk-storefront-refinement-093 */
/* Rayehe Kimia 0.6.93 — strictly presentation-level fixes.
   Reference: Chocolate City v1.6.69 desktop mini-cart and native Cart styling.
   Cart operations, session, checkout, coupons and variation prices remain native. */

/* 1 — Keep the recommendations carousel functional for pointer, touch, scroll
   and arrow controls, but never expose a horizontal scrollbar as a UI bar. */
body.rk-wp .rk-single-product .rk-related-grid{
  overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-ms-overflow-style:none;
  scroll-snap-type:x mandatory;
}
body.rk-wp .rk-single-product .rk-related-grid::-webkit-scrollbar{
  display:none;width:0;height:0;
}
body.rk-wp .rk-single-product .rk-related-grid:focus-visible{
  outline:2px solid var(--rk-primary);outline-offset:3px;
}

/* 2+3 — Remove the unused last-row area of the two-column taxonomy grid by
   flowing complete groups through balanced CSS columns. Children, links,
   keyboard focus and the promo image remain the original WooCommerce HTML. */
@media(min-width:1191px){
  body.rk-wp .site-header .rk-mega-products{
    width:min(1020px,calc(100vw - 36px));
    max-height:min(78vh,750px);overflow-x:hidden;overflow-y:auto;
    border-radius:0 24px 0 24px;
    padding:clamp(12px,1.3vw,18px);
  }
  body.rk-wp .rk-mega-products .rk-mega-columns{
    grid-template-columns:minmax(0,1fr) minmax(195px,27%);
    gap:clamp(12px,1.6vw,20px);
    align-items:stretch;
  }
  body.rk-wp .rk-mega-products .rk-mega-main > .rk-mega-title{margin:3px 0 10px;font-size:clamp(16px,1.5vw,19px)}
  body.rk-wp .rk-mega-products .rk-mega-grid{
    display:block;columns:2;column-gap:12px;
    width:100%;min-width:0;
  }
  body.rk-wp .rk-mega-products .rk-mega-group{
    box-sizing:border-box;display:inline-block;width:100%;
    vertical-align:top;break-inside:avoid-column;-webkit-column-break-inside:avoid;
    margin:0 0 12px;padding:7px 8px 8px;
    border-radius:0 17px 0 17px;
  }
  body.rk-wp .rk-mega-products .rk-mega-group .rk-mega-parent{
    min-height:37px;padding:7px 9px;border-radius:0 12px 0 12px;
  }
  body.rk-wp .rk-mega-products .rk-mega-group .rk-mega-subcategories{
    margin-top:4px;gap:0;padding-inline-start:0;
  }
  body.rk-wp .rk-mega-products .rk-mega-group .rk-mega-subcategories a{
    padding:4px 8px;line-height:1.65;
  }
  body.rk-wp .rk-mega-products .rk-mega-promo{
    min-width:0;max-width:100%;padding:10px;border-radius:0 20px 0 20px;
    align-self:stretch;display:flex;flex-direction:column;
  }
  body.rk-wp .rk-mega-products .rk-mega-promo img{
    width:100%;height:0;min-height:185px;flex:1 1 185px;
    max-height:none;object-fit:cover;
    border-radius:0 14px 0 14px;
  }
  body.rk-wp .rk-mega-products .rk-mega-promo-cta{
    padding:9px 10px;border-radius:0 12px 0 12px;
  }
  body.rk-wp .rk-mega-products .rk-mega-all{margin-top:6px}
}

/* 5 — The visible content, NOT the now-transparent outer decoration, owns the
   exact width of the common .container (same --shell on every breakpoint).
   Remove 0.6.92's 1280px secondary cap that made both sections look narrower. */
/* .container owns width and margins. Only eliminate the legacy outer panel. */
body.rk-wp.home .rk-home-showcase,
body.rk-wp.home #categories.rk-showcase-categories{
  box-sizing:border-box;padding-inline:0;
  border:0;box-shadow:none;background:transparent!important;
}
body.rk-wp.home .rk-home-showcase{
  padding-block:0!important;overflow:visible;
}
body.rk-wp.home .rk-home-showcase > .home-hero,
body.rk-wp.home .rk-home-showcase > .rk-showcase-hero{
  width:100%;max-width:none;box-sizing:border-box;
  margin:0;padding:0;border:0;box-shadow:none;background:transparent!important;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider{
  width:100%;max-width:100%;box-sizing:border-box;
}
body.rk-wp.home #categories.rk-showcase-categories .rk-category-dock{
  box-sizing:border-box;width:100%;max-width:none;
  margin:0;padding:0!important;
  border:0;box-shadow:none;background:transparent!important;
}
body.rk-wp.home #categories.rk-showcase-categories .rk-category-dock__rail{
  min-width:0;width:100%;max-width:none;
}
@media(max-width:760px){
  body.rk-wp.home .rk-home-showcase,
  body.rk-wp.home #categories.rk-showcase-categories{max-width:none}
  body.rk-wp.home .rk-home-showcase > .home-hero,
  body.rk-wp.home #categories.rk-showcase-categories .rk-category-dock{
    padding-inline:0!important;
  }
}

/* 4 — Chocolate City-inspired desktop mini-cart skin on unchanged WooCommerce
   mini-cart DOM. Tailored to Rayehe tokens and diagonal corners. Mobile drawer
   stays completely independent. Do not add or remove cart links/transactions. */
@media(min-width:761px){
  body.rk-wp .cart-hover-wrap .mini-cart{
    box-sizing:border-box;width:min(390px,calc(100vw - 24px));
    min-width:0;max-height:min(72vh,600px);padding:13px;
    overflow-y:auto;overscroll-behavior-y:auto;
    border:1px solid var(--rk-border);
    border-radius:0 20px 0 20px;
    background:var(--rk-card);
    box-shadow:0 19px 50px rgba(8,48,35,.16);
    scrollbar-width:thin;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart{
    display:grid;gap:8px;max-height:min(43vh,380px);
    overflow-x:hidden;overflow-y:auto;padding:0 1px 1px;
    scrollbar-width:thin;overscroll-behavior-y:auto;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item{
    position:relative;min-width:0;padding:9px 10px!important;
    border:1px solid var(--rk-border);
    border-radius:0 14px 0 14px;
    background:var(--rk-surface);
    box-shadow:none;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item > a:not(.remove){
    font-size:12px;line-height:1.8;font-weight:750;gap:10px;
    display:flex!important;align-items:flex-start;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item > a:not(.remove) img{
    width:66px!important;height:66px!important;max-width:66px!important;
    flex:0 0 66px!important;object-fit:contain;
    border-radius:0 11px 0 11px;border:1px solid var(--rk-border);
    background:var(--rk-card);
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item .remove{
    display:grid;place-items:center;width:26px;height:26px;
    top:8px;inset-inline-end:8px;border:1px solid var(--rk-border);
    border-radius:0 8px 0 8px;
    color:var(--rk-primary)!important;background:var(--rk-card)!important;
    text-decoration:none;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item .remove:hover,
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item .remove:focus-visible{
    background:var(--rk-brand-soft)!important;border-color:var(--rk-primary);
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item .quantity{
    font-size:12px;margin:5px 0 0!important;
    color:var(--rk-ink);font-weight:750;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__total{
    margin:9px 0!important;padding:11px 10px;
    background:var(--rk-brand-soft);border:1px solid var(--rk-border);
    border-radius:0 12px 0 12px;gap:10px;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__total strong{
    color:var(--rk-ink);font-weight:800;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__total .amount{
    font-size:14px;font-weight:850;white-space:nowrap;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons{
    margin:0!important;padding-top:0;width:100%;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons a.checkout{
    display:flex!important;align-items:center;justify-content:center;
    width:100%;min-height:44px;padding:9px 13px!important;
    margin:0!important;background:var(--rk-primary)!important;
    color:var(--rk-primary-text,#fff)!important;
    border:1px solid var(--rk-primary)!important;
    border-radius:0 13px 0 13px!important;
    font:inherit;font-size:12px;font-weight:800;
    box-shadow:none;filter:none;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons a.checkout:is(:hover,:focus-visible){
    background:color-mix(in srgb,var(--rk-primary) 87%,var(--rk-card))!important;
    border-color:var(--rk-primary)!important;color:var(--rk-primary-text,#fff)!important;
    box-shadow:0 5px 13px rgba(12,50,35,.13);filter:none;transform:translateY(-1px);
  }
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons a.checkout:active{transform:none;box-shadow:none;}
  body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons a.checkout:is([aria-disabled="true"],[aria-busy="true"]){opacity:.58;pointer-events:none;transform:none;box-shadow:none;}
  @media(prefers-reduced-motion:reduce){
    body.rk-wp .cart-hover-wrap .mini-cart .woocommerce-mini-cart__buttons a.checkout{transition:none;transform:none;}
  }
  body.rk-wp .cart-hover-wrap .mini-cart :is(button,a):focus-visible{
    outline:2px solid var(--rk-primary);outline-offset:2px;
  }
}
/* Desktop native Cart page adopts Chocolate City's card/table/CTA rhythm.
   Pure WooCommerce selectors: no custom cart engine or order logic. */
@media(min-width:992px){
 body.rk-wp.woocommerce-cart main .woocommerce,
 body.rk-wp.woocommerce-cart main .wc-block-cart{
   max-width:100%;min-width:0;margin:0 auto;
 }
 body.rk-wp.woocommerce-cart .woocommerce table.shop_table,
 body.rk-wp.woocommerce-cart .woocommerce-cart-form,
 body.rk-wp.woocommerce-cart .cart-collaterals .cart_totals,
 body.rk-wp.woocommerce-cart .wc-block-cart-items,
 body.rk-wp.woocommerce-cart .wc-block-components-totals-wrapper{
   background:var(--rk-card);border:1px solid var(--rk-border)!important;
   border-radius:0 20px 0 20px!important;box-shadow:0 7px 24px rgba(8,48,35,.06);
   overflow:hidden;
 }
 /* City layout: the cart TABLE is the single card, not another card inside
    a card. WooCommerce form remains untouched and fully functional. */
 body.rk-wp.woocommerce-cart .woocommerce-cart-form{
   padding:0;border:0!important;border-radius:0!important;
   background:transparent;box-shadow:none;overflow:visible;
 }
 body.rk-wp.woocommerce-cart .rk-generic-page .rk-prose{
   max-width:100%;min-width:0;color:var(--rk-ink);
 }
 body.rk-wp.woocommerce-cart .cart-collaterals .cart_totals{padding:17px;}
 body.rk-wp.woocommerce-cart .woocommerce table.shop_table th,
 body.rk-wp.woocommerce-cart .woocommerce table.shop_table td{
   border-color:var(--rk-border);padding:13px 12px;background:transparent;color:var(--rk-ink);
 }
 body.rk-wp.woocommerce-cart .woocommerce .quantity .qty,
 body.rk-wp.woocommerce-cart .woocommerce input.input-text{
   min-height:40px;max-width:100%;border:1px solid var(--rk-border);background:var(--rk-surface);
   border-radius:0 10px 0 10px;color:var(--rk-ink);
 }
 body.rk-wp.woocommerce-cart .woocommerce a.button,
 body.rk-wp.woocommerce-cart .woocommerce button.button,
 body.rk-wp.woocommerce-cart .wc-block-components-button{
   display:inline-flex;align-items:center;justify-content:center;
   min-height:42px;padding:9px 17px;
   border:1px solid var(--rk-primary);border-radius:0 14px 0 14px;
   background:var(--rk-primary);color:var(--rk-primary-text,#fff);
   box-shadow:none;font:inherit;font-weight:750;
 }
 body.rk-wp.woocommerce-cart .woocommerce a.checkout-button{
   display:flex;justify-content:center;min-height:46px;
 }
 body.rk-wp.woocommerce-cart .woocommerce a.button:hover,
 body.rk-wp.woocommerce-cart .woocommerce button.button:hover{
   filter:brightness(1.08);
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .cart-hover-wrap .mini-cart *{transition:none!important;}
}


/* rk-storefront-refinement-094 */
/* Rayehe Kimia 0.6.94 — scoped corrections only */
/* 1) Variation stocks are owned by each WC_Product_Variation in Core.
   There are deliberately no global SKU/weight inventory rules here. */
/* 3) The actual WooCommerce taxonomy groups are rearranged visually, not changed. */
@media(min-width:1191px){
 body.rk-wp .rk-mega-products .rk-mega-grid{
  display:grid;columns:auto;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;align-items:start;align-content:start;
 }
 body.rk-wp .rk-mega-products .rk-mega-group{display:block;width:auto;margin:0;min-width:0;}
 body.rk-wp .rk-mega-products .rk-mega-group--essence{grid-column:1;grid-row:1;}
 body.rk-wp .rk-mega-products .rk-mega-group--solvent{grid-column:2;grid-row:1;}
 body.rk-wp .rk-mega-products .rk-mega-group--materials{grid-column:1/-1;grid-row:2;}
 body.rk-wp .rk-mega-products .rk-mega-columns{align-items:start;}
 body.rk-wp .rk-mega-products .rk-mega-promo{align-self:start;}
}
/* 4) Mini-cart: compact premium empty state and real WooCommerce coupon form. */
@media(min-width:761px){
 body.rk-wp .cart-hover-wrap .mini-cart .rk-desktop-cart-empty{
  display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  padding:19px 13px 9px;color:var(--rk-ink);
 }
 body.rk-wp .rk-desktop-cart-empty__icon{display:grid;place-items:center;width:58px;height:58px;
  background:var(--rk-brand-soft);color:var(--rk-primary);border:1px solid var(--rk-border);
  border-radius:0 19px 0 19px;
 }
 body.rk-wp .rk-desktop-cart-empty__icon svg{width:27px;height:27px;}
 body.rk-wp .rk-desktop-cart-empty strong{font-size:15px;}
 body.rk-wp .rk-desktop-cart-empty > span:last-child{font-size:12px;color:var(--rk-sub);}
 body.rk-wp .cart-hover-wrap .woocommerce-mini-cart__empty-message{
  text-align:center;margin:7px 0 0;padding:9px 12px;color:var(--rk-sub);
  border:1px dashed var(--rk-border);border-radius:0 12px 0 12px;background:var(--rk-surface);
 }
 body.rk-wp .cart-hover-wrap .rk-flyout-coupon{
  margin-top:13px;padding:12px;border:1px solid var(--rk-border);
  border-radius:0 15px 0 15px;background:var(--rk-surface);
 }
 body.rk-wp .rk-flyout-coupon h3{margin:0 0 9px;font-size:13px;color:var(--rk-ink);}
 body.rk-wp .rk-flyout-coupon__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;}
 body.rk-wp .rk-flyout-coupon__form input{min-width:0;width:100%;box-sizing:border-box;
  height:40px;padding:8px 10px;background:var(--rk-card);color:var(--rk-ink);
  border:1px solid var(--rk-border);border-radius:0 10px 0 10px;font:inherit;font-size:12px;}
 body.rk-wp .rk-flyout-coupon__form button{height:40px;min-width:85px;padding:8px 11px;
  border:1px solid var(--rk-primary);border-radius:0 10px 0 10px;background:var(--rk-primary);
  color:var(--rk-primary-text,#fff);font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
 body.rk-wp .rk-flyout-coupon__form button:disabled{opacity:.6;cursor:wait;}
 body.rk-wp .rk-flyout-coupon__feedback{margin:0;font-size:11px;line-height:1.8;}
 body.rk-wp .rk-flyout-coupon__feedback:not(:empty){margin-top:8px;}
 body.rk-wp .rk-flyout-coupon__feedback[data-state="error"]{color:var(--rk-danger,#b43838);}
 body.rk-wp .rk-flyout-coupon__feedback[data-state="success"]{color:var(--rk-primary);}
 body.rk-wp .rk-flyout-coupon__applied{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:11px;}
 body.rk-wp .rk-flyout-coupon__applied small{width:100%;font-size:11px;color:var(--rk-sub);}
 body.rk-wp .rk-flyout-coupon__chip{padding:3px 8px;border:1px solid var(--rk-border);border-radius:0 8px 0 8px;
  font-size:11px;color:var(--rk-primary);background:var(--rk-brand-soft);}
 body.rk-wp .rk-flyout-coupon__total{display:flex;justify-content:space-between;align-items:center;
  margin-top:10px;padding-top:9px;border-top:1px solid var(--rk-border);font-size:12px;gap:8px;}
 body.rk-wp .rk-flyout-coupon__total strong{font-size:13px;white-space:nowrap;}
 body.rk-wp .rk-flyout-coupon :is(input,button):focus-visible{outline:2px solid var(--rk-primary);outline-offset:2px;}
}
@media(max-width:760px){body.rk-wp #miniCart .rk-flyout-coupon,body.rk-wp #miniCart .rk-desktop-cart-empty{display:none!important;}}
/* Quick View photograph cropping is owned by commerce-v0.6.1.css,
   independent of Rabino body classes and of later storefront conditions. */
@media(prefers-reduced-motion:reduce){body.rk-wp .rk-flyout-coupon *{transition:none!important;}}


/* rk-ui-099 */
/* Rayehe Kimia 0.6.99 — focused storefront changes, inherits light/dark tokens. */
/* Product mega-panel: two 50% groups per row. All groups remain linked to WC terms. */
@media (min-width:901px){
 body.rk-wp .site-header .rk-mega-products .rk-mega-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;
  grid-auto-flow:row;align-items:start;align-content:start;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-group{display:block;box-sizing:border-box;width:auto;min-width:0;margin:0;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--essence{grid-area:1/1/2/2;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--solvent{grid-area:1/2/2/3;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--materials{grid-area:2/1/3/2;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--fiber{grid-area:2/2/3/3;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--essence .rk-mega-subcategories,
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--solvent .rk-mega-subcategories{
  margin-block-start:11px;padding-block-start:4px;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-grid .rk-mega-subcategories a{padding-block:5px;line-height:1.8;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-all{
  display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:12px;
  width:fit-content;max-width:100%;min-height:42px;box-sizing:border-box;
  margin-block-start:14px;padding:9px 17px;background:var(--rk-brand-soft);
  color:var(--rk-primary)!important;border:1px solid var(--rk-border);
  border-radius:0 13px 0 13px;text-decoration:none!important;font-size:12.5px;font-weight:850;
  transition:background-color .18s,border-color .18s,transform .18s,color .18s;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-all svg{width:16px;height:16px;transition:transform .18s;}
 body.rk-wp .site-header .rk-mega-products .rk-mega-all:is(:hover,:focus-visible){
  background:var(--rk-primary);border-color:var(--rk-primary);color:var(--rk-primary-text,#fff)!important;
  transform:translateY(-1px);
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-all:is(:hover,:focus-visible) svg{transform:translateX(-3px);}
}
/* Flyout is directly attached to cart icon with no pointer-dead gap. */
@media(min-width:901px){
 body.rk-wp .site-header .cart-hover-wrap{position:relative;}
 body.rk-wp .site-header .cart-hover-wrap > .mini-cart{
  display:block;top:calc(100% + 12px)!important;left:0;right:auto;
  margin-block-start:0!important;z-index:20;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);
  transition:opacity .22s ease,transform .22s cubic-bezier(.2,.8,.25,1),visibility .22s;
 }
 body.rk-wp .site-header .cart-hover-wrap:is(:hover,:focus-within,.is-open):not(.rk-hover-dismissed) > .mini-cart{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
 }
 /* Pointer-safe bridge belongs to the original cart wrapper; no JS timer is needed. */
 body.rk-wp .site-header .cart-hover-wrap:is(:hover,:focus-within,.is-open):not(.rk-hover-dismissed)::after{
  content:"";position:absolute;top:100%;left:0;right:auto;
  width:max(100%,min(390px,calc(100vw - 24px)));height:14px;
  z-index:19;pointer-events:auto;background:transparent;
 }
}
/* Escape dismisses even an active CSS hover without closing the keyboard/mobile drawer. */
@media(min-width:901px){
 body.rk-wp .site-header .cart-hover-wrap.rk-hover-dismissed > .mini-cart{
  visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-5px);
 }
}
/* Compact only the desktop flyout; mobile drawer keeps its proven layout. */
@media(min-width:901px){
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .woocommerce-mini-cart{gap:7px;max-height:min(46vh,385px);}
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item{
  padding:8px 10px!important;gap:2px;min-height:0;justify-content:flex-start;
 }
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item > a:not(.remove){
  margin-bottom:0;line-height:1.5;align-items:flex-start;
 }
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item > a:not(.remove) img{
  width:60px!important;height:60px!important;max-width:60px!important;flex-basis:60px!important;
 }
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .woocommerce-mini-cart-item :is(dl.variation,.wc-item-meta){
  margin:0;padding:0!important;line-height:1.55;gap:2px 5px;
 }
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .rk-flyout-item-meta{gap:3px;margin:2px 0 0;}
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .rk-flyout-item-price,
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .rk-flyout-item-qtyline{min-height:0;gap:5px;}
 body.rk-wp .site-header .cart-hover-wrap .mini-cart .rk-flyout-stock{font-size:10px;line-height:1.5;}
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .site-header .cart-hover-wrap > .mini-cart{transition:none;transform:none;}
}
/* Woo mini-cart line information stays below the genuine product link/title. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove){
 display:flex!important;align-items:flex-start;gap:10px;margin-block-end:4px;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-meta{
 display:flex;flex-direction:column;align-items:stretch;gap:6px;
 margin-block-start:6px;margin-inline-start:0;padding-inline:0;
 color:var(--rk-ink);font-size:12px;direction:rtl;white-space:normal;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-price,
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-qtyline{
 display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-price strong{font-size:12px;color:var(--rk-primary);font-weight:850;white-space:nowrap;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty{
 display:inline-flex;align-items:center;gap:1px;border:1px solid var(--rk-border);
 border-radius:0 10px 0 10px;background:var(--rk-card);overflow:hidden;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button{
 display:grid;place-items:center;flex:0 0 30px;width:30px;height:31px;
 background:transparent;color:var(--rk-primary);border:0;border-radius:0;box-shadow:none;
 font-size:17px;font-weight:800;cursor:pointer;transition:background .18s,color .18s;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button:is(:hover,:focus-visible){background:var(--rk-brand-soft);}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button:disabled{opacity:.38;cursor:not-allowed;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty .rk-flyout-qty-trash{color:var(--rk-danger,#d05b57);}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty output{
 display:block;min-width:28px;padding:2px 3px;text-align:center;font:inherit;font-variant-numeric:tabular-nums;font-size:12px;font-weight:850;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-stock{
 display:block;color:var(--rk-sub);font-size:11px;line-height:1.7;
}
/* Preserve native remove link as a no-JS fallback; use contextual SVG at qty 1 with JS. */
html.rk-flyout-stepper-ready body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item:has(.rk-flyout-qty) > a.remove{display:none!important;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty-feedback{
 margin:8px 0;padding:8px 10px;border:1px solid var(--rk-border);
 border-radius:0 9px 0 9px;color:var(--rk-danger,#bc4c48);font-size:12px;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty-feedback:empty{display:none;}
@media(prefers-reduced-motion:reduce){
 body.rk-wp .site-header .rk-mega-products .rk-mega-all,
 body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button{transition:none;}
}

/* Flow order: title/image first; package price and quantity immediately follow,
   secondary variation metadata remains readable underneath. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item{
 display:flex!important;flex-direction:column;align-items:stretch;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove){order:0;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .variation,
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .wc-item-meta{order:1;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta{order:2;}

/* Phase 13 — scoped native Woo mini-cart item hierarchy and readable long titles. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item{min-width:0;gap:4px;overflow-wrap:anywhere;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove){min-width:0;line-height:1.75;overflow-wrap:anywhere;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove) img{flex:0 0 auto;max-width:72px;object-fit:contain;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item :is(dl.variation,.wc-item-meta){
 display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;min-width:0;margin:0;padding:0;
 color:var(--rk-sub);font-size:11px;line-height:1.8;overflow-wrap:anywhere;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item dl.variation :is(dt,dd){
 float:none;display:block;width:auto;max-width:100%;margin:0;padding:0;overflow-wrap:anywhere;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item dl.variation dd p{margin:0;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-price{flex-wrap:wrap;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-price strong{white-space:normal;overflow-wrap:anywhere;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-qtyline{flex-wrap:wrap;}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-qty button:focus-visible{outline:2px solid var(--rk-primary);outline-offset:-2px;}
/* Two separate roles: the slide safely contains the existing pointer lens;
   the ACTUAL painted bitmap (which can be smaller than its Woo slide) owns
   the visual asymmetric corner mask. No extra gallery or image overlay. */
body.rk-wp .rk-single-product .rk-v13-visual :is(.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder){
 position:relative;border-radius:0 30px 0 30px;overflow:hidden;isolation:isolate;
 background:transparent;clip-path:inset(0 round 0 30px 0 30px);
}
body.rk-wp .rk-single-product .rk-v13-visual .woocommerce-product-gallery__image > a{
 display:block;overflow:visible;border-radius:0;
}
body.rk-wp .rk-single-product .rk-v13-visual :is(.woocommerce-product-gallery__image img:not(.zoomImg),.woocommerce-product-gallery__image--placeholder img){
 display:block;width:auto;max-width:100%;height:auto;max-height:480px;
 object-fit:contain;margin-inline:auto;transform:none;
 border-radius:0 30px 0 30px;clip-path:inset(0 round 0 30px 0 30px);
}
/* Reused on hover; does not intercept click or slider touch gestures. */
body.rk-wp .rk-single-product .rk-v13-visual .rk-local-zoom-lens{
 position:absolute;z-index:3;width:132px;height:132px;left:0;top:0;
 pointer-events:none;border:1px solid var(--rk-border);border-radius:50%;
 background-color:var(--rk-card);background-repeat:no-repeat;
 box-shadow:0 7px 23px rgba(10,40,34,.18);
 opacity:0;visibility:hidden;transform:translateZ(0);
 transition:opacity .14s ease,visibility .14s ease;
}
body.rk-wp .rk-single-product .rk-v13-visual .rk-local-zoom-lens.is-visible{opacity:1;visibility:visible;}
@media(max-width:640px){
 body.rk-wp .rk-single-product .rk-v13-visual :is(.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder,
 .woocommerce-product-gallery__image img:not(.zoomImg),.woocommerce-product-gallery__image--placeholder img){
  border-radius:0 20px 0 20px;clip-path:inset(0 round 0 20px 0 20px);
 }
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
 body.rk-wp .rk-single-product .rk-v13-visual .rk-local-zoom-lens{display:none;transition:none;}
}

/* Native attribute values use real Woo data and wrap without clipping. */
body.rk-wp .rk-single-product .rk-v13-fast-specs{min-width:0;}
body.rk-wp .rk-single-product .rk-v13-fast-specs > div{min-width:0;}
body.rk-wp .rk-single-product .rk-v13-fast-specs strong{
 display:block;overflow-wrap:anywhere;word-break:normal;white-space:normal;line-height:1.75;
}
body.rk-wp .rk-single-product .rk-product-content-specs :is(.shop_attributes,table.shop_attributes){max-width:100%;}
body.rk-wp .rk-single-product .rk-product-content-specs :is(td,th){overflow-wrap:anywhere;white-space:normal;}


/* rk-refinement-077 */
/* Rayehe Kimia Theme 0.7.7 — focused homepage hero and product gallery refinements. */

/* The hero shell must use the exact same width contract as the other .container sections. */
body.rk-wp.home .rk-home-showcase.container{
  box-sizing:border-box;
  width:var(--shell);
  max-width:1280px;
  margin-inline:auto;
  padding:0!important;
  border:0;
  border-radius:0;
  background:transparent!important;
  box-shadow:none;
}
body.rk-wp.home .rk-home-showcase > .home-hero,
body.rk-wp.home .rk-home-showcase > .rk-showcase-hero{
  box-sizing:border-box;
  width:100%;max-width:none;
  margin:0;padding:0;
  border:0;border-radius:0;
  background:transparent!important;
  box-shadow:none;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider{
  box-sizing:border-box;
  width:100%;max-width:100%;min-width:0;
  margin:0;
  padding-inline:0;
  border:0;border-radius:0;
  background:transparent!important;
  box-shadow:none;
}
/* Remove the old 20–30px inline inset around each slide. Keep vertical rhythm,
   slide height, image ratio, controls and inter-column gap unchanged. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide,
body.rk-wp.home .rk-home-showcase .rk-dynamic-hero #heroSlider.rk-hero-motion > .rk-slide-model-full{
  padding-inline:0;
}

/* Remove only the decorative outer gallery panel; retain WooCommerce's gallery,
   FlexSlider thumbnails, image corner treatment and the local zoom lens. */
body.rk-wp .rk-single-product .rk-v13-layout > .rk-v13-visual{
  box-sizing:border-box;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.rk-wp .rk-single-product .rk-v13-visual .woocommerce-product-gallery{
  box-sizing:border-box;
  width:100%!important;max-width:100%;
  margin:0!important;padding:0;
  border:0;border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.rk-wp .rk-single-product .rk-v13-visual .woocommerce-product-gallery__image img:not(.zoomImg){
  max-height:clamp(520px,44vw,600px);
  object-fit:contain;
}


/* rk-storefront-polish-0810 */
/* Rayehe Kimia 0.8.10 - six scoped storefront refinements. */

/* Cart drawer: WooCommerce's native price remains per package; quantity still honors stock rules. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta{
 display:flex;flex-flow:row nowrap;direction:rtl;align-items:center;justify-content:space-between;
 column-gap:12px;row-gap:5px;min-width:0;width:100%;margin:7px 0 0;padding:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-meta .rk-flyout-item-qtyline{
 order:0;display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;min-width:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-meta .rk-flyout-item-price{
 order:1;display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;
 text-align:left;direction:rtl;min-width:0;white-space:normal;overflow-wrap:anywhere;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-item-price strong{
 display:block;max-width:100%;font-size:clamp(12px,1vw,14px);white-space:normal;overflow-wrap:anywhere;
 color:var(--rk-primary,#0f8570);font-weight:850;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty{
 display:inline-flex;direction:rtl;align-items:center;flex-flow:row nowrap;white-space:nowrap;
}
@media(max-width:360px){
 body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta{gap:6px;}
 body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button{width:27px;flex-basis:27px;}
 body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty output{min-width:22px;}
}

/* Products mega-menu: wide supplies, no empty column beside the section. */
@media(min-width:901px){
 body.rk-wp .site-header .rk-mega-products .rk-mega-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;align-content:start;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--materials{
  grid-column:1 / -1;grid-row:auto;min-width:0;width:100%;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--fiber{
  grid-column:1 / -1;grid-row:auto;min-width:0;width:100%;
 }
 body.rk-wp .site-header .rk-mega-products .rk-mega-group--materials .rk-mega-subcategories{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;
 }
}

/* Reviews: Rabino comment plugin owns the inner form background; theme outer card is transparent. */
body.rk-wp .rk-single-product .rk-v13-after .rk-product-content-grid > .rk-product-content-panel.rk-product-content-reviews{
 display:block;grid-column:1 / -1;box-sizing:border-box;width:100%;max-width:none;min-width:0;
 padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;
}
body.rk-wp .rk-single-product .rk-v13-after .rk-product-content-reviews :is(.rabino-comments-wrapper,.rabino-comments,.woocommerce-Reviews,#reviews,#review_form_wrapper){
 box-sizing:border-box;width:100%;max-width:100%;min-width:0;
}
body.rk-wp .rk-single-product .rk-v13-after .rk-product-content-reviews .rabino-comments-wrapper{
 margin-inline:0;padding-inline:0;background:transparent;box-shadow:none;
}
/* Keep Rabino's own form/card background and all interactive inputs intact. */

/* Homepage featured carousel: compact cards at desktop widths including 1366x768. */
@media(min-width:1201px){
 body.rk-wp.home #featured .featured-carousel{width:100%;min-width:0;max-width:100%;overflow-x:auto;scroll-snap-type:x mandatory;}
 body.rk-wp.home #featured .featured-carousel > .products-grid.product-track{
  display:flex;flex-wrap:nowrap;gap:12px;align-items:stretch;width:100%;min-width:0;
  grid-template-columns:none;
 }
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card{
  box-sizing:border-box;display:flex;flex:0 0 clamp(200px,calc((100% - 48px)/4.6),250px);
  width:clamp(200px,calc((100% - 48px)/4.6),250px);max-width:250px;
  height:auto;min-width:0;min-height:0;scroll-snap-align:start;
 }
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card .rk-card-media{padding:0;}
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card .product-image{
  height:clamp(132px,11vw,155px);min-height:0;aspect-ratio:auto;padding:6px;
 }
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card .product-image img{
  height:100%;max-height:100%;width:100%;padding:1px;object-fit:contain;
 }
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card .card-text{
  padding:10px 7px 5px;gap:4px;
 }
 body.rk-wp.home #featured .featured-carousel .product-track > .product-card h3{
  font-size:12px;line-height:1.55;min-height:0;max-height:none;
 }
}

/* Product gallery's left inset: remove the legacy 96%-width bitmap constraint.
   Keep the actual media aspect ratio, FlexSlider's inline widths and the common shell. */
body.rk-wp .rk-single-product .rk-v13-layout > .rk-v13-visual{
 box-sizing:border-box;justify-self:stretch;width:100%;max-width:100%;min-width:0;
 margin-inline:0;padding-inline:0;
}
body.rk-wp .rk-single-product .rk-v13-visual > .woocommerce-product-gallery{
 box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;
 padding-inline:0;margin-inline:0!important;
}
body.rk-wp .rk-single-product .rk-v13-visual .woocommerce-product-gallery .flex-viewport{
 box-sizing:border-box;max-width:100%;margin-inline:0;
}
body.rk-wp .rk-single-product .rk-v13-visual .woocommerce-product-gallery__image > a > img:not(.zoomImg){
 display:block;box-sizing:border-box;width:100%;max-width:100%;height:auto;max-height:none;
 margin:0;object-fit:contain;object-position:center;
}


/* rk-rabino-compat-0811 */
/* Rayehe Kimia 0.8.11 — storefront compatibility with Rabino 1.0.52.
   Strictly cosmetic: Rabino owns state, account routes, comments, cart AJAX and stock.
   Avoid global HTML/form/button overrides that could affect WooCommerce. */

/* Header > Customer Services ONLY: remove the heavy dropdown shadow without changing
   the hover bridge, visibility, position, border, or mobile disclosure behaviour. */
body.rk-wp .site-header .rk-primary-links > li.rk-customer-menu > .sub-menu,
body.rk-wp .site-header .rk-primary-links > li.rk-customer-menu:is(:hover,:focus-within) > .sub-menu {
  box-shadow:none!important;
  filter:none;
}
/* Customer Services navigation is also a box: avoid the old neumorphic halo. */
body.rk-wp .rk-customer-help .rk-help-navigation {box-shadow:none!important;}

/* One recognizable eyebrow color on public static/help/editorial pages.
   Use semantic theme tokens so both schemes retain readable contrast. */
body.rk-wp :is(.rk-help-hero-copy,.rk-help-article-heading,.page-hero,.rk-about,.rk-contact,.rk-wholesale,.rk-customer-help) .eyebrow,
body.rk-wp .rk-customer-help :is(.rk-help-hero-copy,.rk-help-article-heading) > .eyebrow {
  color:var(--rk-primary,#0f4f4a)!important;
  opacity:1;
  text-shadow:none;
  font-weight:800;
}
body.rk-wp :is(.rk-help-hero-copy,.rk-help-article-heading,.page-hero,.rk-about,.rk-contact,.rk-wholesale,.rk-customer-help) .eyebrow::before {
  background:currentColor;
  opacity:.8;
}
body.rk-wp .rk-customer-help :is(.rk-help-hero-copy,.rk-help-article-heading,.rk-help-navigation-head) :is(h1,:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),strong),
body.rk-wp .rk-customer-help :is(.rk-help-hero-copy,.rk-help-article-heading) > p {
  color:var(--rk-ink,#183e32);
}
body.rk-wp .rk-customer-help .rk-help-navigation > a,
body.rk-wp .rk-customer-help .rk-help-navigation > a > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) {color:var(--rk-ink,#183e32);}
body.rk-wp .rk-customer-help :is(.rk-help-hero-copy,.rk-help-article-heading,.rk-help-navigation-head) {opacity:1;}
html[data-rk-theme="dark"] body.rk-wp .rk-customer-help {
  --rk-ink:#eef8f1;
  --rk-sub:#c3d9cb;
  --rk-primary:#83e1cf;
  --rk-brand-soft:#294a3e;
  --rk-surface:#1f302b;
  --rk-card:#263b33;
  --rk-border:#426052;
}
html[data-rk-theme="dark"] body.rk-wp .rk-customer-help :is(.rk-help-hero-copy,.rk-help-article-heading) > .eyebrow {
  color:#8fe4d2!important;
}
html[data-rk-theme="dark"] body.rk-wp :is(.page-hero,.rk-about,.rk-contact,.rk-wholesale) .eyebrow {
  color:#8fe4d2!important;
}

/* Native Rayehe mini-cart: keep Woo price, native qty/stock rules and feedback.
   Move only the current per-line price and qty control below the title in one row. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item {
  gap:3px;
  padding-block:9px!important;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove) {
  margin-bottom:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta {
  order:1!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  width:100%;
  gap:8px;
  margin:4px 0 0;
  padding:0;
  min-width:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-qtyline {
  order:0;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  min-width:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-price {
  order:1;
  display:flex;
  flex:1 1 auto;
  min-width:0;
  justify-content:flex-end;
  align-items:center;
  text-align:left;
  direction:rtl;
  margin:0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-price strong {
  color:var(--rk-primary,#0f4f4a);
  line-height:1.55;
  font-size:clamp(11px,2.8vw,13px);
  font-variant-numeric:tabular-nums;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item :is(dl.variation,.wc-item-meta) {
  order:2!important;
  margin:1px 0 0!important;
  padding:0!important;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-stock {
  order:3;
  margin:1px 0 0;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-qty {
  flex-wrap:nowrap;
  direction:rtl;
  background:var(--rk-card,#f8fbf7);
  border-color:var(--rk-border,#dce8de);
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-qty :is(button,output) {
  color:var(--rk-ink,#133c31);
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-qty .rk-flyout-qty-trash {
  color:var(--rk-danger,#e26b6b);
}
@media(max-width:380px){
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta{gap:5px;}
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty button{flex-basis:27px;width:27px;}
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty output{min-width:22px;}
}

/* Rabino comments: provide only cosmetic token mapping and keep the actual form,
   threaded replies, auth/captcha, and AJAX owned by the plugin. */
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper{
  --rabino-comment-font-family:"Yekan Bakh",Tahoma,sans-serif;
  --rabino-comment-surface:var(--rk-card,#f8fbf7);
  --rabino-comment-surface-muted:var(--rk-surface,#f7faf6);
  --rabino-comment-text:var(--rk-ink,#133c31);
  --rabino-comment-text-muted:var(--rk-sub,#567466);
  --rabino-comment-text-soft:var(--rk-sub,#567466);
  --rabino-comment-border:var(--rk-border,#dce8de);
  --rabino-comment-shadow-sm:none;
  --rabino-comment-shadow-md:none;
  inline-size:100%;max-inline-size:100%;min-inline-size:0;
}
html[data-rk-theme="dark"] body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper{
  --rabino-comment-surface:#263b33;
  --rabino-comment-surface-muted:#1f302b;
  --rabino-comment-text:#eef8f1;
  --rabino-comment-text-muted:#c3d9cb;
  --rabino-comment-text-soft:#aacdbb;
  --rabino-comment-border:#426052;
  --rabino-comment-on-primary:#0e2922;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper :is(.rabino-form-card,.rabino-comment-card){
  max-inline-size:100%;min-inline-size:0;box-shadow:none;
}
body.rk-wp :is(.rk-post-comments,.rk-product-content-reviews,.rk-entry-content) .rabino-comments-wrapper :is(input,textarea,select){
  color:var(--rabino-comment-text);
  background:var(--rabino-comment-surface-muted);
  border-color:var(--rabino-comment-border);
}

/* Rabino's OPTIONAL site-cart widget has its own white surfaces; align them
   only when it is rendered inside this active Rayehe storefront. */
body.rk-wp .rabino-site-cart{
  --rabino-cart-primary:var(--rk-primary,#0f4f4a);
  color:var(--rk-ink,#133c31);
}
body.rk-wp .rabino-site-cart :is(.rabino-site-cart__popover,.rabino-site-cart__trigger,.rabino-site-cart__head,.rabino-site-cart__qty,.rabino-site-cart__head button,.rabino-site-cart__buttons a:not(.is-primary)) {
  background:var(--rk-card,#f8fbf7);
  color:var(--rk-ink,#133c31);
  border-color:var(--rk-border,#dce8de);
}
body.rk-wp .rabino-site-cart :is(.rabino-site-cart__item-name,.rabino-site-cart__price,.rabino-site-cart__totals strong,.rabino-site-cart__qty button) {
  color:var(--rk-ink,#133c31);
}
body.rk-wp .rabino-site-cart :is(.rabino-site-cart__head small,.rabino-site-cart__variation,.rabino-site-cart__totals>div,.rabino-site-cart__empty p){
  color:var(--rk-sub,#567466);
}
body.rk-wp .rabino-site-cart :is(.rabino-site-cart__item,.rabino-site-cart__head,.rabino-site-cart__totals,.rabino-site-cart__coupon) {
  border-color:var(--rk-border,#dce8de);
}
body.rk-wp .rabino-site-cart :is(.rabino-site-cart__thumb,.rabino-site-cart__coupon input){
  background:var(--rk-surface,#f7faf6);color:var(--rk-ink,#133c31);border-color:var(--rk-border,#dce8de);
}
body.rk-wp .rabino-site-cart .rabino-site-cart__buttons a.is-primary{
  color:var(--rk-primary-text,#fff);
}
body.rk-wp .rabino-site-cart .rabino-site-cart__qty button:hover{
  background:var(--rk-brand-soft,#e1f2e6);
}


/* rk-shared-ui-0812 */
/* Rayehe Kimia v0.8.12 — visual unification, scoped to native storefront.
 * No WooCommerce price, inventory, variation, checkout or Rabino selectors changed.
 */
/* One true square image per shared product card; no letterboxing or internal padding.
   All storefront locations use rk_card(), so archive, home, related, editorial share this. */
body.rk-wp .product-card .rk-card-media,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media,
body.rk-wp.home #featured .featured-carousel .product-track > .product-card .rk-card-media {
  box-sizing:border-box;display:block;width:100%;min-width:0;padding:0;margin:0;
}
body.rk-wp .product-card .rk-card-media > a.product-image,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image,
body.rk-wp.home #featured .featured-carousel .product-track > .product-card .product-image {
  display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;max-height:none;
  aspect-ratio:1 / 1;padding:0;margin:0;overflow:hidden;
  border-radius:0 16px 0 16px; background:var(--rk-surface,#f7faf6);
}
body.rk-wp .product-card .product-image > img,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image > img,
body.rk-wp .rk-article-detail .rk-article-product-track > .product-card .product-image > img,
body.rk-wp.home #featured .featured-carousel .product-track > .product-card .product-image > img {
  display:block;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:100%;
  aspect-ratio:1 / 1;margin:0;padding:0;object-fit:cover;object-position:center;
  border-radius:0 16px 0 16px;
}
body.rk-wp .product-card .rk-card-category {
  right:12px;left:auto;bottom:11px;inset-inline-start:auto;inset-inline-end:auto;
  max-width:calc(100% - 25px);
}
body.rk-wp .product-card .rk-card-category a{border-radius:0 9px 0 9px;}
@media(min-width:1201px){
  body.rk-wp.home #featured .featured-carousel .product-track > .product-card{
    flex-basis:clamp(195px,calc((100% - 48px)/4.6),245px);
    width:clamp(195px,calc((100% - 48px)/4.6),245px);max-width:245px;
  }
}
@media(max-width:640px){
  body.rk-wp .product-card .rk-card-media > a.product-image,
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .product-image,
  body.rk-wp.home #featured .featured-carousel .product-track > .product-card .product-image {
    height:auto;aspect-ratio:1 / 1;border-radius:0 12px 0 12px;
  }
  body.rk-wp .product-card .product-image > img {border-radius:0 12px 0 12px;}
  body.rk-wp .product-card .rk-card-category{right:10px;bottom:9px;max-width:calc(100% - 20px);}
}
/* Shared brand geometry: top-left and bottom-right are flat, others rounded.
   Only explicit native storefront controls; untouched Rabino internals. */
body.rk-wp .rk-qv-close,
body.rk-wp .rk-qv-gallery-arrow,
body.rk-wp .rk-qv-gallery-thumb,
body.rk-wp .product-card .rk-quick-view-trigger,
body.rk-wp .site-header .rk-mega-products .rk-mega-all,
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .rk-flyout-qty {
  border-radius:0 12px 0 12px;
}
/* WooCommerce mini-cart: image stays clickable; title and price/stepper occupy
   the same column beside it. The existing PHP and stepper JS still own state. */
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item {
  position:relative;box-sizing:border-box;min-height:97px;align-items:stretch;
  gap:4px;padding:9px!important;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove) {
  position:static;display:block!important;box-sizing:border-box;
  min-height:29px;margin:0;padding:0;padding-inline-start:82px;
  line-height:1.55;overflow-wrap:anywhere;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove) > img {
  position:absolute;top:9px;right:auto;left:auto;inset-inline-start:9px;
  box-sizing:border-box;float:none;display:block;width:70px;height:70px;max-width:70px;max-height:70px;
  flex:none;margin:0;padding:0;object-fit:cover;aspect-ratio:1 / 1;
  border:1px solid var(--rk-border);border-radius:0 12px 0 12px;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta {
  align-self:stretch;box-sizing:border-box;min-width:0;
  width:auto!important;margin:1px 0 0!important;margin-inline-start:82px!important;
  gap:6px;align-items:center;flex-wrap:nowrap;justify-content:space-between;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-price {
  flex:1 1 auto;min-width:0;justify-content:flex-end;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item :is(dl.variation,.wc-item-meta) {
  margin:0!important;margin-inline-start:82px!important;order:3!important;
}
body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-qty-feedback{
  margin-inline-start:82px;
}
@media(max-width:365px){
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove){padding-inline-start:70px;}
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item > a:not(.remove) > img{width:61px;height:61px;max-width:61px;max-height:61px;}
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item .rk-flyout-item-meta{margin-inline-start:70px!important;}
  body.rk-wp :is(#miniCart,#rk-mobile-cart-content) .woocommerce-mini-cart-item :is(dl.variation,.wc-item-meta){margin-inline-start:70px!important;}
}
/* Mega menu: All-products link is a sibling directly below the wholesale card. */
body.rk-wp .site-header .rk-mega-products .rk-mega-aside {
  box-sizing:border-box;display:flex;flex-direction:column;align-self:start;min-width:0;
  width:100%;gap:10px;
}
body.rk-wp .site-header .rk-mega-products .rk-mega-aside .rk-mega-promo {width:100%;align-self:stretch;min-width:0;}
body.rk-wp .site-header .rk-mega-products .rk-mega-aside .rk-mega-all {
  display:flex;box-sizing:border-box;align-items:center;justify-content:space-between;
  width:100%;max-width:none;min-height:41px;margin:0;padding:9px 13px;
  border:1px solid var(--rk-border);background:var(--rk-brand-soft);color:var(--rk-primary);
  border-radius:0 12px 0 12px;
}
/* Real quick-view image strip: same square media, touch-friendly buttons, thumb selection. */
body.rk-wp .rk-quick-view .rk-qv-visual {display:block;width:100%;min-width:0;}
body.rk-wp .rk-quick-view .rk-qv-gallery {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;min-width:0;}
body.rk-wp .rk-quick-view .rk-qv-photo-stage {
  display:grid;place-items:center;overflow:hidden;box-sizing:border-box;min-width:0;
  width:100%;aspect-ratio:1 / 1;background:var(--rk-surface);border-radius:0 22px 0 22px;
}
body.rk-wp .rk-quick-view .rk-qv-photo-stage img.rk-qv-product-image {
  display:block;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:none;
  aspect-ratio:1 / 1;object-fit:contain;object-position:center;
  margin:0;padding:0;border-radius:0 22px 0 22px;clip-path:none;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-controls {
  display:flex;align-items:center;gap:7px;min-width:0;width:100%;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-track {
  display:flex;flex:1 1 auto;min-width:0;gap:7px;overflow-x:auto;overflow-y:hidden;
  padding:3px 1px 6px;scroll-snap-type:x mandatory;scrollbar-width:thin;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-thumb {
  display:block;flex:0 0 clamp(49px,6vw,66px);width:clamp(49px,6vw,66px);
  height:clamp(49px,6vw,66px);min-width:0;padding:2px;margin:0;
  border:1px solid var(--rk-border);background:var(--rk-surface);
  border-radius:0 10px 0 10px;cursor:pointer;overflow:hidden;scroll-snap-align:start;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-thumb img{
  display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;
  border-radius:0 8px 0 8px;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-thumb.is-active,
body.rk-wp .rk-quick-view .rk-qv-gallery-thumb[aria-pressed="true"]{
  border:2px solid var(--rk-primary);background:var(--rk-brand-soft);
}
body.rk-wp .rk-quick-view .rk-qv-gallery-arrow{
  flex:0 0 29px;display:grid;place-items:center;width:29px;height:38px;padding:0;
  border:1px solid var(--rk-border);background:var(--rk-card);color:var(--rk-primary);
  cursor:pointer;border-radius:0 10px 0 10px;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-arrow svg{width:16px;height:16px;}
body.rk-wp .rk-quick-view :is(.rk-qv-gallery-arrow,.rk-qv-gallery-thumb,.rk-qv-close):focus-visible{
  outline:2px solid var(--rk-primary);outline-offset:2px;
}
body.rk-wp .rk-quick-view .rk-qv-close{border-radius:0 13px 0 13px;}
@media(max-width:700px){
  body.rk-wp .rk-quick-view .rk-qv-gallery{gap:8px;}
  body.rk-wp .rk-quick-view .rk-qv-photo-stage{width:min(100%,290px);margin-inline:auto;}
  body.rk-wp .rk-quick-view .rk-qv-gallery-controls{max-width:100%;}
}
@media(prefers-reduced-motion:reduce){body.rk-wp .product-card .product-image img{transition:none;}}
/* Align remaining native surfaces with the design system's asymmetric corners.
   Avoid any generic selectors that could change third-party Rabino UI. */
body.rk-wp .product-card,
body.rk-wp .rk-related-grid > .product-card,
body.rk-wp .rk-article-product-track > .product-card,
body.rk-wp .rk-catalog .rk-catalog-grid > .product-card {
  border-radius:0 20px 0 20px;
}
body.rk-wp .site-header .rk-mega-products .rk-mega-promo {
  border-radius:0 19px 0 19px;overflow:hidden;
}
body.rk-wp .site-header .rk-mega-products .rk-mega-promo img.rk-mega-promo__image {
  border-radius:0 13px 0 13px;
}
body.rk-wp .rk-quick-view :is(.rk-qv-categories a,.rk-qv-stock,.rk-qv-attribute,.rk-qv-retry) {
  border-radius:0 10px 0 10px;
}
@media(max-width:640px){
  body.rk-wp .product-card,
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card {border-radius:0 15px 0 15px;}
}


/* rk-mobile-product-consistency-0813 */
/* Rayehe Kimia 0.8.13 — storefront-only visual corrections.
 * No WooCommerce product data/variation logic, Rabino selectors or cart JS changes.
 */

/* 2. The fragrance pyramid keeps 3 columns on desktop, 2 on tablets, and
   genuinely STACKS the three note groups on phones with comfortable spacing. */
@media (min-width:701px) and (max-width:1000px) {
  body.rk-wp .rk-single-product .rk-fragrance-profile__notes {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
  }
}
@media (max-width:700px) {
  body.rk-wp .rk-single-product .rk-fragrance-profile__notes {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:clamp(13px,3.8vw,18px);
    align-items:stretch;
    width:100%;
    min-width:0;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__note-card {
    width:100%;
    min-width:0;
    margin:0;
    padding:clamp(12px,3.6vw,17px);
    gap:10px;
    align-items:stretch;
    box-sizing:border-box;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__card-heading {
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:8px;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__card-heading :where(h3,.rk-h3):not(rkx) {
    font-size:13px;
    line-height:1.7;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__note-card .rk-fragrance-profile__chips {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,92px),1fr));
    gap:10px;
    width:100%;
    min-width:0;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__chip--illustrated {
    min-width:0;
    width:100%;
    max-width:none;
    padding:8px 5px;
    gap:5px;
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__note-photo {
    width:min(100%,65px);
  }
  body.rk-wp .rk-single-product .rk-fragrance-profile__note-name {
    font-size:11px;
    line-height:1.65;
  }
}
@media (max-width:359px) {
  body.rk-wp .rk-single-product .rk-fragrance-profile__note-card .rk-fragrance-profile__chips {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
}

/* 3. Legacy .rk-draggable-track was set to `touch-action: pan-y` and blocked
   horizontal swipes on the related-products carousel. Allow BOTH native
   directions; mouse drag and existing arrow-button JS stay unchanged. */
body.rk-wp .rk-single-product .rk-related-grid.rk-draggable-track,
body.rk-wp .rk-single-product .rk-related-grid {
  overflow-x:auto;
  overflow-y:hidden;
  touch-action:pan-x pan-y;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
}
@media (hover:none) and (pointer:coarse) {
  body.rk-wp .rk-single-product .rk-related-grid {
    scroll-snap-type:x proximity;
    scroll-behavior:auto;
    cursor:auto;
  }
}

/* 4. Mobile header's taxonomy descendants are drawn at the SAME inline
   inset, regardless of depth. Service links reuse the exact card treatment.
   Hidden submenus stay hidden until their existing accessible toggle opens. */
@media (max-width:900px) {
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu ul {
    display:grid;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    margin:0;
    padding:8px 0 3px;
    gap:7px;
    list-style:none;
  }
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul[hidden],
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu ul[hidden] {
    display:none !important;
  }
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu ul li {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    margin:0;
    padding:0;
  }
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li > a,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li > a {
    display:flex;
    box-sizing:border-box;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    min-width:0;
    min-height:44px;
    margin:0;
    padding:10px 12px;
    border:1px solid var(--rk-border);
    border-radius:0 11px 0 11px;
    box-shadow:none;
    background:var(--rk-surface);
    color:var(--rk-ink);
    text-align:right;
    font:inherit;
    font-size:12px;
    font-weight:500;
    line-height:1.7;
    white-space:normal;
    overflow-wrap:anywhere;
    text-decoration:none;
  }
  /* Reserve space at the LEFT for the submenu chevron, never indent RTL text. */
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li.menu-item-has-children > a,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li.menu-item-has-children > a {
    padding-inline-end:48px;
  }
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li > a:is(:hover,:focus-visible),
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li > a:is(:hover,:focus-visible),
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li.current-menu-item > a,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li.current-menu-item > a {
    background:var(--rk-brand-soft);
    border-color:var(--rk-primary);
    color:var(--rk-primary);
  }
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li > a:focus-visible,
  body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li > a:focus-visible {
    outline:2px solid var(--rk-primary);
    outline-offset:2px;
  }
  /* The customer submenu formerly had literal dark colors; use theme tokens. */
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li > a,
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li > a {
    background:var(--rk-surface);
    border-color:var(--rk-border);
    color:var(--rk-ink);
  }
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li > a:is(:hover,:focus-visible),
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li > a:is(:hover,:focus-visible) {
    background:var(--rk-brand-soft);
    border-color:var(--rk-primary);
    color:var(--rk-primary);
  }
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-customer-menu > ul.sub-menu li.current-menu-item > a,
  html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-links > li.rk-shop-entry ul li.current-menu-item > a {
    background:var(--rk-brand-soft);
    border-color:var(--rk-primary);
    color:var(--rk-primary);
  }

}


/* rk-mobile-cart-preview-0814 */
/* Rayehe Kimia 0.8.14 | only native mini cart, quick view and mobile navigation.
   WooCommerce owns coupon validation, pricing, stock and line quantities. */

/* Desktop and mobile quick-view both use arrow buttons for thumbnail browsing.
   Keep touch and programmatic scroll, but suppress the extra scrollbar. */
body.rk-wp .rk-quick-view .rk-qv-gallery-track{
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;
  min-width:0;scroll-padding-inline:4px;
}
body.rk-wp .rk-quick-view .rk-qv-gallery-track::-webkit-scrollbar{display:none;width:0;height:0;}
body.rk-wp .rk-quick-view .rk-qv-gallery-controls{gap:9px;min-width:0;}
body.rk-wp .rk-quick-view .rk-qv-gallery-arrow{
  box-sizing:border-box;flex:0 0 43px;width:43px;min-width:43px;min-height:43px;
  background:var(--rk-card);border:1px solid var(--rk-border);color:var(--rk-primary);
}
body.rk-wp .rk-quick-view .rk-qv-gallery-arrow svg{width:19px;height:19px;}

/* Mobile drawer: one scroll context for the WHOLE cart.
   Never clamp the list separately; discounts/checkout remain reachable. */
@media(max-width:900px){
 body.rk-wp #rk-mobile-cart{
   overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;
   -webkit-overflow-scrolling:touch;scrollbar-width:none;
 }
 body.rk-wp #rk-mobile-cart::-webkit-scrollbar{
   display:none;width:0;height:0;
 }
 body.rk-wp #rk-mobile-cart #rk-mobile-cart-content{
   display:flex;flex-direction:column;min-width:0;width:100%;
   height:auto;max-height:none;overflow:visible;
 }
 body.rk-wp #rk-mobile-cart #rk-mobile-cart-content .woocommerce-mini-cart{
   display:grid;gap:9px;min-height:0;height:auto;max-height:none!important;
   overflow:visible!important;scrollbar-width:none;
 }
 /* Compact product card: title above price, stepper BELOW price, beside photo. */
 body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item{min-width:0;overflow:visible;}
 body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item .rk-flyout-item-meta{
   box-sizing:border-box;display:flex!important;flex-flow:column nowrap!important;
   align-items:stretch!important;justify-content:flex-start!important;
   min-width:0;width:auto!important;max-width:100%;
   gap:5px;margin-block:5px 0!important;padding:0!important;
 }
 body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item .rk-flyout-item-price{
   order:0!important;display:flex;align-items:center;justify-content:flex-start;
   align-self:stretch;min-width:0;max-width:100%;width:100%;
   text-align:right;direction:rtl;overflow:visible;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-item-price strong{
   max-width:100%;min-width:0;white-space:normal!important;
   overflow-wrap:anywhere;word-break:normal;line-height:1.65;
   color:var(--rk-primary);font-size:clamp(12px,3.3vw,14px);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-item-price :is(.woocommerce-Price-amount,.amount,bdi){
   max-width:100%;white-space:normal!important;overflow-wrap:anywhere;
 }
 body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item .rk-flyout-item-qtyline{
   order:1!important;display:flex;align-items:center;justify-content:flex-start;
   align-self:flex-start;flex:0 0 auto;min-width:0;max-width:100%;margin:0;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty{
   display:inline-flex;align-items:center;justify-content:center;
   flex-flow:row nowrap;min-width:0;min-height:36px;
   border:1px solid var(--rk-border);background:var(--rk-card);
   color:var(--rk-ink);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty :is(button,output){
   display:grid;place-items:center;opacity:1;color:var(--rk-ink);
   -webkit-text-fill-color:currentColor;text-shadow:none;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty button[data-rk-step=plus]{
   color:var(--rk-primary);-webkit-text-fill-color:currentColor;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty button:disabled{opacity:.45;}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty button.rk-flyout-qty-trash{color:var(--rk-danger,#d96565);}
 /* Reuse the checkout button's corner size across the coupon controls. */
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon{
   --rk-cart-control-radius:15px 0 15px 0;
   --rk-coupon-panel:var(--rk-surface);
   --rk-coupon-field:var(--rk-card);
   --rk-coupon-ink:var(--rk-ink);
   --rk-coupon-muted:var(--rk-sub);
   --rk-coupon-field-border:var(--rk-sub);
   box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;
   margin:0;padding:12px;background:var(--rk-coupon-panel);
   color:var(--rk-coupon-ink);border:1px solid var(--rk-border);
   border-radius:var(--rk-cart-control-radius);
 }
 html[data-rk-theme="dark"] body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon{
   --rk-coupon-panel:#233a31;
   --rk-coupon-field:#182b24;
   --rk-coupon-ink:#eef6f0;
   --rk-coupon-muted:#b8d0c1;
   --rk-coupon-field-border:#668b7b;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon h3{
   margin:0 0 10px;font-size:13px;font-weight:800;line-height:1.7;color:var(--rk-coupon-ink);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form{
   display:grid;grid-template-columns:minmax(0,1fr);gap:8px;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form :is(input[type="text"],button[type="submit"]){
   box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:46px;
   margin:0;padding:8px 10px;font:inherit;border-radius:var(--rk-cart-control-radius);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form input[type="text"]{
   font-size:16px;background:var(--rk-coupon-field);color:var(--rk-coupon-ink);
   -webkit-text-fill-color:currentColor;border:1px solid var(--rk-coupon-field-border);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form input::placeholder{
   font-size:12px;color:var(--rk-coupon-muted);-webkit-text-fill-color:currentColor;opacity:1;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form button[type="submit"]{
   font-size:12px;font-weight:800;cursor:pointer;border:1px solid var(--rk-primary);
   background:var(--rk-primary);color:var(--rk-primary-text,#fff);
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form button:enabled:hover{
   background:color-mix(in srgb,var(--rk-primary) 90%,var(--rk-primary-text,#fff));
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form button:disabled{opacity:.55;cursor:wait;}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form :is(button,input):focus-visible{
   outline:2px solid var(--rk-primary);outline-offset:2px;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__feedback{
   margin:6px 0 0;font-size:11px;line-height:1.8;min-height:0;
 }
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__feedback:empty{display:none;}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__feedback[data-state=error]{color:var(--rk-danger,#bd4c4c);}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__feedback[data-state=success]{color:var(--rk-primary);}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__applied{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__applied small{width:100%;font-size:11px;color:var(--rk-coupon-muted);}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__chip{max-width:100%;overflow-wrap:anywhere;font-size:11px;padding:3px 8px;border:1px solid var(--rk-border);color:var(--rk-primary);background:var(--rk-brand-soft);}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__total{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding-top:9px;border-top:1px solid var(--rk-border);font-size:12px;}
 body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__total strong{font-size:13px;overflow-wrap:anywhere;}
 /* Preserve existing accessible submenu toggles. Only improve mobile contrast. */
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-shop-entry ul li > a,
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu ul li > a{
   background:#263e34!important;color:#f0faf4!important;border-color:#426052!important;
   opacity:1;text-shadow:none;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-shop-entry ul li > a :is(span,small),
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li.rk-customer-menu ul li > a :is(span,small){
   color:inherit!important;opacity:1;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li:is(.rk-shop-entry,.rk-customer-menu) ul li > a:is(:hover,:focus-visible),
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-menu .rk-mobile-links li:is(.rk-shop-entry,.rk-customer-menu) ul li.current-menu-item > a{
   background:#35584a!important;color:#fff!important;border-color:#83dec5!important;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-cart-content .rk-flyout-qty{
   background:#263e34!important;border-color:#547365!important;color:#f0faf4!important;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-cart-content .rk-flyout-qty :is(button,output){
   color:#f0faf4!important;-webkit-text-fill-color:currentColor!important;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-cart-content .rk-flyout-qty button[data-rk-step=plus]{
   color:#8de4cf!important;-webkit-text-fill-color:currentColor!important;
 }
 html[data-rk-theme=dark] body.rk-wp #rk-mobile-cart-content .rk-flyout-item-price strong{
   color:#9ae8d2!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.rk-wp #rk-mobile-cart-content .rk-flyout-qty *,
 body.rk-wp .rk-quick-view .rk-qv-gallery-arrow{transition:none!important;}
}


/* rk-hero-image-only-0815 */
/* Rayehe Kimia 0.8.15: one-piece seasonal artwork inside the existing carousel. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .rk-slide-model-image-only{
  box-sizing:border-box;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);
  gap:0;
  align-items:stretch;
  justify-items:stretch;
  padding-block:0;
  padding-inline:0;
  min-width:0;
  min-height:0;
  overflow:visible;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only .rk-hero-image-link{
  display:block;
  position:relative;
  width:100%;
  min-width:0;
  height:auto;
  margin:0;
  /* Reserve the same frame for every image-only slide before images load. */
  aspect-ratio:80 / 31;
  padding:0;
  line-height:0;
  overflow:hidden;
  border-radius:0 24px 0 24px;
  text-decoration:none;
  background:var(--rk-brand-soft);
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture,
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-art{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  margin:0;
  padding:0;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-art{
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
  transform:none;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture{
  position:absolute;
  inset:0;
  height:100%;
  container:rk-hero-banner / size;
}
/* Trim only the small ratio mismatch of desktop art close to the banner frame. */
@media(min-width:641px){
 @container rk-hero-banner (min-aspect-ratio: 2.55 / 1) and (max-aspect-ratio: 2.65 / 1){
  body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture--wide > .rk-hero-image-art{
    object-fit:cover;
  }
 }
}
body.rk-wp.home .rk-home-showcase .home-hero a.rk-hero-image-link:focus-visible{
  outline:3px solid var(--rk-primary,#0f4f4a);
  outline-offset:4px;
}
/* Use the same responsive gap above the slider and before its controls. */
body.rk-wp.home .rk-home-showcase.container{
  --rk-hero-section-gap:16px;
  margin-block-start:var(--rk-hero-section-gap);
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion{
  padding-bottom:0;
}
/* All slides contribute to a shared row, including hidden slides. */
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .slide{
  align-self:stretch;
}
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only .rk-hero-image-link{
  border-radius:28px;
}
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture,
body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-art{
  border-radius:28px;
}
body.rk-wp.home .rk-home-showcase .home-hero > .hero-controls,
body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .hero-controls{
  position:relative;
  inset:auto;
  transform:none;
  grid-area:2 / 1;
  margin:var(--rk-hero-section-gap) auto 0;
}
/* The active marker changes within its slot so neighboring controls stay still. */
body.rk-wp.home .rk-home-showcase .home-hero .hero-controls > button{
  flex:none;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots{
  flex-wrap:wrap;
  justify-content:center;
  min-width:0;
  gap:4px;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button,
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active{
  display:grid;
  place-items:center;
  flex:none;
  width:18px;
  height:18px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  appearance:none;
  transform:none;
  transition:none;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button:focus-visible{
  outline:none;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#bdd3c5;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active::before{
  width:16px;
  background:#438c6c;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button:focus-visible::before{
  outline:2px solid var(--rk-focus,#d39c4c);
  outline-offset:2px;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button::before{
  background:#8aa59a;
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active::before{
  background:#58c7be;
}
@media(max-width:640px){
 body.rk-wp.home .rk-home-showcase.container{--rk-hero-section-gap:12px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only .rk-hero-image-link,
 body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture,
 body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-art{border-radius:22px;}
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only .rk-hero-image-link{
   aspect-ratio:4 / 5;
 }
 /* Crop only designated mobile art. Desktop-only banners may have text
    near their edges, so keep that fallback fully visible. */
 body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture--has-mobile > .rk-hero-image-art{
   object-fit:cover;
 }
 body.rk-wp.home .rk-home-showcase .home-hero #heroSlider.rk-hero-motion > .rk-slide-model-image-only{
   transform:none;
 }
}


/* rk-archive-notes-0819 */
/* Rayehe Kimia Theme 0.8.19 — fragrance note image presentation, mega CTA hover contrast, archive description. */

/* The legacy .rk-mega-all rule marks its text color !important.
   Override it explicitly so the button remains readable on both themes. */
body.rk-wp .site-header .rk-mega-products .rk-mega-aside > .rk-mega-all:is(:hover,:focus-visible){
  background:var(--rk-primary)!important;
  border-color:var(--rk-primary)!important;
  color:var(--rk-primary-text,#fff)!important;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(15,79,74,.16);
}
body.rk-wp .site-header .rk-mega-products .rk-mega-aside > .rk-mega-all:is(:hover,:focus-visible) :is(svg,.rk-icon){
  color:inherit!important;
  stroke:currentColor;
}
body.rk-wp .site-header .rk-mega-products .rk-mega-aside > .rk-mega-all:focus-visible{
  outline:2px solid var(--rk-focus,#f2d76b);
  outline-offset:3px;
}
html[data-rk-theme="dark"] body.rk-wp .site-header .rk-mega-products .rk-mega-aside > .rk-mega-all:is(:hover,:focus-visible){
  color:var(--rk-primary-text,#122b25)!important;
  box-shadow:0 7px 20px rgba(0,0,0,.24);
}

/* Full product-category description is shown after the product list.
   Keep it readable in light/dark mode and constrain long editorial content. */
body.rk-wp .rk-catalog-description{
  box-sizing:border-box;
  width:100%;
  margin:clamp(28px,4vw,54px) auto clamp(48px,6vw,82px);
}
body.rk-wp .rk-catalog-description .container{min-width:0;}
body.rk-wp .rk-catalog-description__inner{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:clamp(20px,3vw,38px);
  border:1px solid var(--rk-border,#dce8de);
  border-radius:0 26px 0 26px;
  background:linear-gradient(135deg,var(--rk-card,#f8fbf7),var(--rk-surface,#f7faf6));
  color:var(--rk-ink,#133c31);
  box-shadow:var(--rk-raised-sm,0 8px 24px rgba(15,79,74,.06));
}
body.rk-wp .rk-catalog-description__inner > :where(h2,.rk-h2):not(rkx){
  margin:0 0 14px;
  color:var(--rk-ink,#133c31);
  font-size:clamp(18px,2vw,24px);
  line-height:1.7;
  font-weight:850;
}
body.rk-wp .rk-catalog-description__content{
  min-width:0;
  color:var(--rk-sub,#567466);
  font-size:clamp(13px,1.05vw,15px);
  line-height:2.15;
  overflow-wrap:anywhere;
}
body.rk-wp .rk-catalog-description__content > :first-child{margin-top:0;}
body.rk-wp .rk-catalog-description__content > :last-child{margin-bottom:0;}
body.rk-wp .rk-catalog-description__content p{margin:0 0 14px;}
body.rk-wp .rk-catalog-description__content :is(:where(h2,.rk-h2):not(rkx),:where(h3,.rk-h3):not(rkx),:where(h4,.rk-h4):not(rkx)){
  margin:22px 0 9px;
  color:var(--rk-ink,#133c31);
  line-height:1.8;
  font-weight:850;
}
body.rk-wp .rk-catalog-description__content :where(h2,.rk-h2):not(rkx){font-size:1.25em;}
body.rk-wp .rk-catalog-description__content :where(h3,.rk-h3):not(rkx){font-size:1.12em;}
body.rk-wp .rk-catalog-description__content :is(ul,ol){
  margin:0 0 16px;
  padding-inline-start:1.5em;
}
body.rk-wp .rk-catalog-description__content li{margin-block:4px;}
body.rk-wp .rk-catalog-description__content a{
  color:var(--rk-primary,#0f4f4a);
  text-decoration:underline;
  text-underline-offset:3px;
}
body.rk-wp .rk-catalog-description__content blockquote{
  margin:18px 0;
  padding:12px 17px;
  border-inline-start:3px solid var(--rk-primary,#0f4f4a);
  border-radius:0 12px 0 12px;
  background:var(--rk-brand-soft,#e1f2e6);
}
body.rk-wp .rk-catalog-description__content :is(img,video,iframe){
  max-width:100%;
  height:auto;
  border-radius:0 14px 0 14px;
}
body.rk-wp .rk-catalog-description__content table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-description__inner{
  --rk-ink:#eef6f0;
  --rk-sub:#b5cebf;
  --rk-card:#243b32;
  --rk-surface:#1c3029;
  --rk-border:#385548;
  --rk-brand-soft:#27483b;
  background:linear-gradient(135deg,#243b32,#1c3029);
  color:var(--rk-ink);
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog-description__content a{
  color:#83e1cf;
}
@media(max-width:640px){
  body.rk-wp .rk-catalog-description{margin-block:24px 48px;}
  body.rk-wp .rk-catalog-description__inner{padding:17px 14px;border-radius:0 18px 0 18px;}
  body.rk-wp .rk-catalog-description__content{font-size:13px;line-height:2;}
}
@media(prefers-reduced-motion:reduce){
  body.rk-wp .site-header .rk-mega-products .rk-mega-aside > .rk-mega-all{transition:none!important;}
}
/* Keep authored layouts and positioned content within their description. */
.rk-category-description-boundary {
  contain: layout paint;
  isolation: isolate;
  overflow-wrap: anywhere;
  min-width: 0;
}


/* rk-storefront-content-0822 */
/* The same visual labels now sit outside the document heading hierarchy. */
.rk-mega-title,
.rk-mega-group-title,
.rk-footer-title,
.rk-prefooter-title,
.rk-drawer-title,
.rk-logout-title {
  display: block;
}
.rk-mega-title,
.rk-prefooter-title,
.rk-drawer-title,
.rk-logout-title {
  font-weight: 850;
}
body.rk-wp .home-hero .slide-copy > .rk-hero-title {
  display: block;
  font-weight: 800;
}
body.rk-wp .rk-catalog-filter-head {
  justify-content: flex-end;
}
@media (min-width: 901px) {
  body.rk-wp .rk-catalog .rk-catalog-filter-head {
    display: none;
  }
}

body.rk-wp.home .eyebrow,
body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .eyebrow,
html[data-rk-theme] body.rk-wp.home .rk-home-showcase .home-hero .slide-copy .eyebrow {
  color: var(--rk-primary);
}
body.rk-wp.home .eyebrow::before,
html[data-rk-theme] body.rk-wp.home .eyebrow::before {
  background-color: currentColor;
}

/* Shared card footer, including archive results replaced by AJAX. */
body.rk-wp .product-card[data-rabino-product-surface="card"] {
  --rk-card-action-size: 44px;
}
body.rk-wp :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] > .card-text > .card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rk-card-action-size);
  align-items: center;
  gap: 7px;
  min-block-size: 0;
}
body.rk-wp :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-bottom > .price-group {
  grid-area: 1 / 1;
  align-self: stretch;
  justify-content: center;
  min-block-size: 0;
  margin: 0;
}
body.rk-wp :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-bottom > .rk-card-bottom-actions {
  grid-area: 1 / 2;
  place-self: center end;
  margin: 0;
}
body.rk-wp :is(#featured .product-card, .product-card)[data-rabino-product-surface="card"] .card-bottom .rk-card-bottom-actions > .rk-quick-view-trigger {
  flex: 0 0 var(--rk-card-action-size);
  width: var(--rk-card-action-size);
  height: var(--rk-card-action-size);
  min-height: var(--rk-card-action-size);
  box-sizing: border-box;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .rk-quick-view-trigger > svg {
  display: block;
  width: 18px;
  height: 18px;
}
body.rk-wp :is(#featured .product-card, .product-card[data-rabino-product-surface="card"]) .card-bottom--with-stock-alert > :is(.price-group, .rk-card-bottom-actions) {
  display: grid;
  align-items: stretch;
  align-self: stretch;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .card-bottom--with-stock-alert > .price-group {
  grid-template-columns: minmax(0, 1fr);
}
body.rk-wp :is(#featured .product-card, .product-card)[data-rabino-product-surface="card"] .card-bottom--with-stock-alert .rk-card-bottom-actions > .rk-quick-view-trigger {
  height: auto;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .rk-card-unit-price {
  align-items: center;
  justify-content: flex-start;
  column-gap: 7px;
}
body.rk-wp .product-card .rk-card-unit-price .price-values {
  font-size: clamp(13px, 6.5cqi, 17px);
  font-weight: 850;
  color: var(--rk-ink);
}
body.rk-wp .product-card .rk-card-unit-price .price-values :is(.woocommerce-Price-amount, bdi) {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .rk-card-unit-price .woocommerce-Price-currencySymbol {
  writing-mode: horizontal-tb;
  transform: none;
  vertical-align: baseline;
}
body.rk-wp :is(.product-card, .rk-catalog .rk-catalog-grid > .product-card) .rk-card-unit-price .price-values del {
  font-size: .78em;
  font-weight: 600;
  color: var(--rk-sub);
  opacity: 1;
}
body.rk-wp .product-card .rk-card-unit-price .price-values ins {
  order: -1;
  color: var(--rk-primary);
  font-weight: 850;
}
body.rk-wp .product-card .rk-card-unit-price--sale {
  grid-column: 1 / -1;
}
@container (max-width: 185px) {
  body.rk-wp .product-card .rk-card-unit-price .price-values {
    font-size: clamp(11px, 7cqi, 13px);
  }
}

/* Rabino inserts its own label and icon. Override its compact archive button
   only for the site-owned stock alert CTA. */
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: var(--rk-card-action-size, 44px) !important;
  padding: 4px 6px !important;
  box-sizing: border-box;
  border: 1px solid var(--rk-primary) !important;
  border-radius: 10px !important;
  background: var(--rk-primary) !important;
  color: var(--rk-primary-text) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center;
  white-space: normal !important;
}
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger]:enabled:not([aria-disabled="true"]):hover {
  background: color-mix(in srgb, var(--rk-primary) 86%, var(--rk-primary-text)) !important;
}
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger]:focus-visible {
  outline: 2px solid var(--rk-focus);
  outline-offset: 2px;
}
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger][aria-disabled="true"] {
  background: var(--rk-surface) !important;
  color: var(--rk-ink) !important;
  border-color: var(--rk-border) !important;
}
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger] :is(.rabino-stock-alert-button__label, .rk-stock-alert-cta__label) {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  white-space: normal !important;
  min-width: 0;
}
body.rk-wp .rk-stock-alert-cta[data-rabino-stock-alert-trigger] :is(.rabino-stock-alert-button__bell, .rabino-stock-alert-button__status) {
  flex: 0 0 auto;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .rk-stock-alert-cta[data-rabino-stock-alert-trigger] {
  font-size: clamp(10px, 6cqi, 13px) !important;
  margin: 0 !important;
}
body.rk-wp .product-card[data-rabino-product-surface="card"] .rk-stock-alert-cta :is(.rabino-stock-alert-button__label, .rk-stock-alert-cta__label) {
  overflow-wrap: anywhere;
}
body.rk-wp .rk-v13-buy .rk-stock-alert-cta {
  width: auto !important;
  padding-inline: 16px !important;
}

body.rk-wp {
  --rk-soft-sun: #f2d76b;
}
body.rk-wp .rk-wholesale-page .eyebrow {
  color: var(--rk-primary);
}
body.rk-wp .rk-wholesale-page .rk-wholesale-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 48px);
}
body.rk-wp .rk-wholesale-gallery {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  justify-self: center;
}
body.rk-wp .rk-wholesale-gallery-track {
  display: flex;
  aspect-ratio: 4 / 3;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  background: var(--rk-card);
  border: 1px solid var(--rk-border);
  border-radius: clamp(14px, 2.5vw, 24px);
}
body.rk-wp .rk-wholesale-gallery-track > img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
}
body.rk-wp .rk-wholesale-gallery-track.rk-draggable-track {
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
}
body.rk-wp .rk-wholesale-gallery-controls {
  display: none;
  position: absolute;
  inset: auto 12px 12px;
  justify-content: space-between;
  pointer-events: none;
}
body.rk-wp .rk-wholesale-gallery-track.rk-draggable-track + .rk-wholesale-gallery-controls {
  display: flex;
}
body.rk-wp .rk-wholesale-gallery-controls > .carousel-arrow {
  pointer-events: auto;
  background: var(--rk-card);
  color: var(--rk-ink);
}
body.rk-wp .rk-wholesale-gallery-controls > .carousel-arrow:not(:disabled):is(:hover,:focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-wholesale-gallery-controls > .carousel-arrow:not(:disabled):is(:hover,:focus-visible),
body.rk-wp .rk-wholesale-page .rk-b2b-steps article > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) {
  background: var(--rk-soft-sun);
  color: #222625;
}
body.rk-wp .rk-wholesale-gallery-track:focus-visible {
  outline: 2px solid var(--rk-primary);
  outline-offset: 3px;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__symbol {
  min-height: 29px;
  border-radius: 8px;
  background: var(--rk-soft-sun);
  color: #222625;
}
body.rk-wp.home .rk-showcase-categories .rk-category-dock__symbol svg {
  width: 18px;
  height: 18px;
}
body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active::before,
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-showcase .home-hero .slide-dots button.active::before {
  background: var(--rk-soft-sun);
  box-shadow: inset 0 0 0 1px #7d6419;
}
@media (max-width: 760px) {
  body.rk-wp .rk-wholesale-page .rk-wholesale-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer trust seal: replace the temporary slot without changing footer columns. */
body.rk-wp .site-footer .rk-footer-enamad-slot {
  min-height: 110px;
  padding: 8px;
  border-style: solid;
  border-color: rgba(210,231,217,.20);
  background: transparent;
}
body.rk-wp .site-footer .rk-footer-enamad-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 156px;
  min-height: 90px;
  text-decoration: none;
}
body.rk-wp .site-footer .rk-footer-enamad-link img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  border: 0;
}
body.rk-wp .site-footer .rk-footer-enamad-link:focus-visible {
  outline: 2px solid #F2D76B;
  outline-offset: 3px;
  border-radius: 6px;
}


/* rk-storefront-0830 */
.rk-wp .rk-home-main-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
    margin-block: clamp(24px, 4vw, 52px);
}

.rk-wp .rk-home-main-category {
    position: relative;
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
    min-block-size: clamp(180px, 21vw, 280px);
    border-radius: 20px;
    color: #fff;
    background: #234b3b;
}

.rk-home-main-category:nth-child(2) { background-color: #395047; }
.rk-home-main-category:nth-child(3) { background-color: #334e57; }
.rk-home-main-category::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, transparent 15%, #11271c 100%);
    content: '';
}

.rk-home-main-category__image,
.rk-home-main-category__icon {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rk-home-main-category__icon {
    display: grid;
    place-items: center;
    color: #a9c4ab;
}

.rk-home-main-category__icon .rk-icon {
    inline-size: clamp(70px, 9vw, 112px);
    block-size: auto;
    opacity: .72;
}

.rk-home-main-category__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: clamp(14px, 2vw, 25px);
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 800;
}

.rk-home-main-category:hover .rk-home-main-category__label { text-decoration: underline; }
.rk-home-main-category:focus-visible { outline: 3px solid var(--rk-brand, #2e6a53); outline-offset: 3px; }

.rk-wp .rk-product-categories { margin-block: 8px 12px; }
.rk-wp .rk-product-categories ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-inline-start: 1.2em;
    list-style: disc;
}
.rk-wp .rk-product-categories ul ul {
    margin-block-start: 3px;
    list-style: circle;
}
.rk-wp .rk-product-categories a { color: inherit; font-size: .875rem; }
.rk-wp .rk-product-categories li:has(> ul) > a { font-weight: 750; }
.rk-wp .rk-product-categories a:hover { text-decoration: underline; }

.rk-wp .rk-catalog-facets {
    display: grid;
    gap: 8px;
    margin-block-end: 16px;
    padding: 12px;
    border: 1px solid var(--rk-border, #dce9de);
    border-radius: 12px;
}
.rk-catalog-facets label { font-weight: 700; }
.rk-wp .rk-catalog-facets select {
    min-inline-size: 0;
    inline-size: 100%;
    min-block-size: 42px;
    margin-block-end: 4px;
    padding: 7px 10px;
    border: 1px solid #98a89f;
    border-radius: 8px;
    color: #18382c;
    background: #fff;
}
.rk-wp .rk-catalog-facets button { min-block-size: 44px; justify-content: center; }
.rk-wp .rk-catalog-clear { text-align: center; text-decoration: underline; }
html[data-rk-theme="dark"] .rk-wp .rk-catalog-facets select { color: #f3faf4; background: #23382f; color-scheme: dark; }
html[data-rk-theme="dark"] .rk-wp .rk-catalog-facets { border-color: #677f71; }

.rk-wp .rk-fragrance-guide {
    margin-block: 28px 48px;
    padding-block: 20px;
    scroll-margin-block-start: 120px;
}

.rk-wp .rk-contact .rk-contact-visit-note {
    background: #fbe4ad;
    color: #422605;
    border-inline-start: 4px solid #935008;
    font-size: .9375rem;
    font-weight: 750;
}
.rk-wp .rk-contact .rk-contact-visit-note .rk-icon { color: currentColor; }
html[data-rk-theme="dark"] .rk-wp .rk-contact .rk-contact-visit-note {
    background: #65461e;
    color: #fff3d8;
    border-inline-start-color: #f9cc80;
}

@media (max-width: 600px) {
    .rk-wp .rk-home-main-categories { grid-template-columns: minmax(0, 1fr); }
    .rk-wp .rk-home-main-category { min-block-size: clamp(165px, 48vw, 230px); }
}

/* iOS zooms focused fields rendered below 16px. Keep the normal viewport and pinch zoom. */
@media (hover: none) and (pointer: coarse) {
    html body.rk-wp.rk-wp :is(textarea, select, [contenteditable]:not([contenteditable="false"]),
        input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="range"], [type="color"],
                  [type="button"], [type="submit"], [type="reset"], [type="image"], [type="file"])) {
        font-size: 16px !important;
    }
}


/* rk-storefront-0831 */
/* Rayehe Kimia Theme 0.8.31 — homepage category hover and structured archive taxonomy/filter UI. */

/* --------------------------------------------------------------------------
   Homepage: polished category cards with a clear, consistent hover/focus state.
   -------------------------------------------------------------------------- */
body.rk-wp.home #categories.rk-home-main-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(14px, 1.8vw, 25px);
    margin-block: clamp(24px, 3.8vw, 50px);
}

body.rk-wp.home #categories .rk-home-main-category {
    min-width: 0;
    min-height: clamp(190px, 21vw, 300px);
    --rk-category-corner: clamp(17px, 1.8vw, 24px);
    border: 0;
    border-radius: 0 var(--rk-category-corner) 0 var(--rk-category-corner);
    color: #fff;
    text-decoration: none !important;
    box-shadow: 0 9px 24px rgba(5, 31, 21, .13);
    transform: translate3d(0, 0, 0);
    transition:
        transform .32s cubic-bezier(.22, 1, .36, 1),
        box-shadow .32s ease,
        background-color .32s ease;
}

body.rk-wp.home #categories .rk-home-main-category::after {
    background:
        linear-gradient(180deg, rgba(10, 26, 20, .02) 8%, rgba(8, 27, 19, .20) 43%, rgba(7, 25, 18, .91) 100%),
        linear-gradient(120deg, rgba(88, 199, 190, .10), transparent 58%);
    transition: background .32s ease, opacity .32s ease;
}

body.rk-wp.home #categories .rk-home-main-category__image {
    transform: scale(1.001);
    filter: saturate(.94) contrast(1.02);
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
}

body.rk-wp.home #categories .rk-home-main-category__label {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: clamp(16px, 2.1vw, 27px);
    color: #fff;
    font-size: clamp(17px, 1.85vw, 25px);
    line-height: 1.55;
    text-decoration: none !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .38);
}

body.rk-wp.home #categories .rk-home-main-category__label,
body.rk-wp.home #categories .rk-home-main-category__label * {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none;
}

body.rk-wp.home #categories .rk-home-main-category__label > svg,
body.rk-wp.home #categories .rk-home-main-category__label > .rk-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    opacity: .9;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
}

body.rk-wp.home #categories .rk-home-main-category:hover .rk-home-main-category__label,
body.rk-wp.home #categories .rk-home-main-category:focus-visible .rk-home-main-category__label {
    text-decoration: none !important;
}

body.rk-wp.home #categories .rk-home-main-category:focus-visible {
    outline: 3px solid var(--rk-focus, #f2d76b) !important;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    body.rk-wp.home #categories .rk-home-main-category:hover {
        box-shadow: 0 16px 34px rgba(5, 31, 21, .22);
        transform: translate3d(0, -5px, 0);
        text-decoration: none !important;
    }

    body.rk-wp.home #categories .rk-home-main-category:hover::after {
        background:
            linear-gradient(180deg, rgba(10, 26, 20, .04) 5%, rgba(8, 27, 19, .25) 40%, rgba(7, 25, 18, .96) 100%),
            linear-gradient(120deg, rgba(88, 199, 190, .20), transparent 62%);
    }

    body.rk-wp.home #categories .rk-home-main-category:hover .rk-home-main-category__image {
        transform: scale(1.065);
        filter: saturate(1.08) contrast(1.04);
    }

    body.rk-wp.home #categories .rk-home-main-category:hover .rk-home-main-category__label > svg,
    body.rk-wp.home #categories .rk-home-main-category:hover .rk-home-main-category__label > .rk-icon {
        opacity: 1;
        transform: translateX(-5px);
    }
}

body.rk-wp.home #categories .rk-home-main-category:active {
    transform: scale(.992);
}

html[data-rk-theme="dark"] body.rk-wp.home #categories .rk-home-main-category {
    background-color: var(--rk-page);
}

html[data-rk-theme="dark"] body.rk-wp.home #categories .rk-home-main-category::after {
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(15, 34, 28, .20) 8%, rgba(15, 34, 28, .37) 51%, #101f1b 94%);
}

html[data-rk-theme="dark"] body.rk-wp.home #categories .rk-home-main-category__image {
    border-radius: inherit;
    filter: brightness(.87) saturate(.91);
}

@media (hover: hover) and (pointer: fine) {
    html[data-rk-theme="dark"] body.rk-wp.home #categories .rk-home-main-category:hover::after {
        background: linear-gradient(180deg, rgba(15, 34, 28, .23) 8%, rgba(15, 34, 28, .43) 51%, #101f1b 94%);
    }

    html[data-rk-theme="dark"] body.rk-wp.home #categories .rk-home-main-category:hover .rk-home-main-category__image {
        filter: brightness(.83) saturate(.94);
    }
}

@media (max-width: 900px) {
    body.rk-wp.home #categories.rk-home-main-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rk-wp.home #categories .rk-home-main-category {
        min-height: clamp(185px, 28vw, 245px);
    }
}

@media (max-width: 640px) {
    body.rk-wp.home #categories.rk-home-main-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(10px, 3vw, 13px);
        margin-block: 22px 34px;
    }

    body.rk-wp.home #categories .rk-home-main-category {
        min-block-size: clamp(136px, 40vw, 190px);
        --rk-category-corner: 18px;
    }

    body.rk-wp.home #categories > .rk-home-main-category:nth-child(3):last-child {
        grid-column: 1 / -1;
    }

    body.rk-wp.home #categories .rk-home-main-category__label {
        gap: 6px;
        padding: clamp(11px, 3vw, 16px);
        font-size: clamp(14px, 4vw, 19px);
        overflow-wrap: anywhere;
    }

    body.rk-wp.home #categories .rk-home-main-category__label > svg {
        width: 16px;
        height: 16px;
    }
}

/* --------------------------------------------------------------------------
   Product archive: three parent groups with their real nested child taxonomy.
   -------------------------------------------------------------------------- */
body.rk-wp .rk-catalog .rk-archive-categories {
    min-width: 0;
    margin-block: clamp(22px, 3vw, 38px) clamp(20px, 2.8vw, 34px);
}

body.rk-wp .rk-catalog .rk-archive-categories__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-block-end: 16px;
}

body.rk-wp .rk-catalog .rk-archive-categories__heading > div {
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-categories__heading :where(h2,.rk-h2):not(rkx) {
    margin: 5px 0 0;
    color: var(--rk-ink, #133c31);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 850;
    line-height: 1.55;
}

body.rk-wp .rk-catalog .rk-archive-categories__heading p {
    max-width: 46ch;
    margin: 0;
    color: var(--rk-sub, #567466);
    font-size: 12px;
    line-height: 1.9;
}

body.rk-wp .rk-catalog .rk-archive-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(12px, 1.5vw, 19px);
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(12px, 1.25vw, 17px);
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 18px 0 18px 0;
    background: var(--rk-card, #f8fbf7);
    box-shadow: var(--rk-raised-sm, 4px 4px 12px rgba(20, 55, 40, .06));
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

body.rk-wp .rk-catalog .rk-archive-category-card.is-active {
    border-color: color-mix(in srgb, var(--rk-primary) 58%, var(--rk-border));
    box-shadow: 0 8px 22px rgba(15, 79, 74, .10);
}

body.rk-wp .rk-catalog .rk-archive-category-card__parent {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 70px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 13px 0 13px 0;
    background: linear-gradient(115deg, var(--rk-brand-soft, #e1f2e6), var(--rk-surface, #f7faf6));
    color: var(--rk-ink, #133c31);
    text-decoration: none !important;
    transition: background .22s ease, border-color .22s ease, color .22s ease;
}

body.rk-wp .rk-catalog .rk-archive-category-card__parent:is(:hover, :focus-visible) {
    border-color: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

body.rk-wp .rk-catalog .rk-archive-category-card__parent[aria-current="page"] {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
}

body.rk-wp .rk-catalog .rk-archive-category-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 12px 0 12px 0;
    background: var(--rk-card, #f8fbf7);
    color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-category-card__icon :is(svg, .rk-icon) {
    width: 21px;
    height: 21px;
}

body.rk-wp .rk-catalog .rk-archive-category-card__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

body.rk-wp .rk-catalog .rk-archive-category-card__eyebrow {
    color: var(--rk-sub, #567466);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
}

body.rk-wp .rk-catalog .rk-archive-category-card__copy strong {
    color: var(--rk-ink, #133c31);
    font-size: clamp(14px, 1.25vw, 17px);
    font-weight: 850;
    line-height: 1.55;
}

body.rk-wp .rk-catalog .rk-archive-category-card__copy small {
    color: var(--rk-sub, #567466);
    font-size: 10px;
    line-height: 1.6;
}

body.rk-wp .rk-catalog .rk-archive-category-card__arrow {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border-radius: 9px 0 9px 0;
    background: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary-text, #fff);
    transition: transform .22s ease, background .22s ease;
}

body.rk-wp .rk-catalog .rk-archive-category-card__arrow :is(svg, .rk-icon) {
    width: 15px;
    height: 15px;
}

body.rk-wp .rk-catalog .rk-archive-category-card__parent:hover .rk-archive-category-card__arrow {
    transform: translateX(-3px);
}

body.rk-wp .rk-catalog .rk-archive-category-card__children {
    min-width: 0;
    margin-block-start: 13px;
}

body.rk-wp .rk-catalog .rk-archive-category-card__children-title {
    display: block;
    margin-block-end: 8px;
    color: var(--rk-sub, #567466);
    font-size: 11px;
    font-weight: 800;
}

body.rk-wp .rk-catalog .rk-archive-category-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__item {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__link {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 7px 9px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 10px 0 10px 0;
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-sub, #567466);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.65;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__link:is(:hover, :focus-visible) {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__item.is-current > .rk-archive-category-tree__link {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    font-weight: 850;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__marker {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rk-primary, #0f4f4a);
    opacity: .72;
}

body.rk-wp .rk-catalog .rk-archive-category-tree__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.rk-wp .rk-catalog .rk-archive-category-tree--depth-2,
body.rk-wp .rk-catalog .rk-archive-category-tree--depth-3,
body.rk-wp .rk-catalog .rk-archive-category-tree--depth-4,
body.rk-wp .rk-catalog .rk-archive-category-tree--depth-5,
body.rk-wp .rk-catalog .rk-archive-category-tree--depth-6 {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-block-start: 7px;
    margin-inline-start: 8px;
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--rk-border, #dce8de);
}

body.rk-wp .rk-catalog .rk-archive-category-card__empty {
    margin: 12px 0 0;
    color: var(--rk-sub, #567466);
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Product filters: a visible full-width card directly below the category tree.
   -------------------------------------------------------------------------- */
body.rk-wp .rk-catalog .rk-archive-filter-card {
    min-width: 0;
    margin-block: 0 clamp(18px, 2.5vw, 28px);
    padding: clamp(16px, 2vw, 23px);
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 19px 0 19px 0;
    background: linear-gradient(135deg, var(--rk-card, #f8fbf7), var(--rk-surface, #f7faf6));
    box-shadow: var(--rk-raised-sm, 4px 4px 12px rgba(20, 55, 40, .06));
}

body.rk-wp .rk-catalog .rk-archive-filter-card__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-block-end: 16px;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 13px 0 13px 0;
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-filter-card__icon :is(svg, .rk-icon) {
    width: 21px;
    height: 21px;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__copy {
    flex: 1 1 auto;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__copy :where(h2,.rk-h2):not(rkx) {
    margin: 2px 0 0;
    color: var(--rk-ink, #133c31);
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 850;
    line-height: 1.5;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__copy p {
    margin: 2px 0 0;
    color: var(--rk-sub, #567466);
    font-size: 11px;
    line-height: 1.8;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__active {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 30px;
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(170px, .72fr);
    align-items: end;
    gap: 13px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.rk-wp .rk-catalog .rk-archive-filter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-filter-field label {
    color: var(--rk-ink, #133c31);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

body.rk-wp .rk-catalog .rk-archive-filter-field select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 9px 13px 9px 39px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 12px 0 12px 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--rk-surface, #f7faf6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4f4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-position: left 13px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    color: var(--rk-ink, #133c31);
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body.rk-wp .rk-catalog .rk-archive-filter-field select:hover {
    border-color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-filter-field select:focus-visible {
    outline: 3px solid var(--rk-focus, #f2d76b) !important;
    outline-offset: 2px;
    border-color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-filter-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-filter-submit {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding-inline: 15px;
    border: 1px solid var(--rk-primary, #0f4f4a);
    border-radius: 12px 0 12px 0;
    background: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary-text, #fff);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(15, 79, 74, .13);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

body.rk-wp .rk-catalog .rk-archive-filter-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(15, 79, 74, .18);
}

body.rk-wp .rk-catalog .rk-archive-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 7px 11px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 12px 0 12px 0;
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-sub, #567466);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.rk-wp .rk-catalog .rk-archive-filter-clear:hover {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

/* The archive is now a single-column flow: taxonomy -> filter card -> controls -> products. */
body.rk-wp .rk-catalog .rk-catalog-layout {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-catalog-results {
    width: 100%;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-catalog-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
    margin-block: 0 18px;
}

body.rk-wp .rk-catalog .rk-catalog-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 12px 0 12px 0;
    background: var(--rk-card, #f8fbf7);
    color: var(--rk-ink, #133c31);
    font-size: 12px;
    font-weight: 750;
}

body.rk-wp .rk-catalog .rk-catalog-count-number {
    color: var(--rk-primary, #0f4f4a);
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

body.rk-wp .rk-catalog .rk-catalog-count-label {
    color: var(--rk-sub, #567466);
}

body.rk-wp .rk-catalog .rk-catalog-controls {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    margin: 0;
}

body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-label {
    color: var(--rk-sub, #567466);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-trigger {
    min-width: min(190px, 42vw);
    min-height: 42px;
    border-radius: 12px 0 12px 0;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card {
    border-color: #3b594b;
    background: linear-gradient(145deg, #263d34, #20342c);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .18);
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card.is-active {
    border-color: #6bc8b0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .23), 0 0 0 1px rgba(107, 200, 176, .12);
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__parent {
    border-color: #3b594b;
    background: linear-gradient(115deg, #29483b, #23382f);
    color: #edf7f0;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__parent:is(:hover, :focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__parent[aria-current="page"] {
    border-color: #73cdb4;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__icon {
    border-color: #476655;
    background: #1d3029;
    color: #86dfc9;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__copy strong {
    color: #f0f7f2;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__eyebrow,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__copy small,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__children-title,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-card__empty {
    color: #b9d2c3;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree__link {
    border-color: #3c5849;
    background: #1f332b;
    color: #d6e9dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree__link:is(:hover, :focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree__item.is-current > .rk-archive-category-tree__link {
    border-color: #70cbb3;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree__marker {
    background: #77d4bb;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree--depth-2,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree--depth-3,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree--depth-4,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree--depth-5,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-category-tree--depth-6 {
    border-inline-start-color: #466253;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card {
    border-color: #3b594b;
    background: linear-gradient(135deg, #263d34, #1f332b);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__icon {
    border-color: #456453;
    background: #315344;
    color: #8de0c8;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__copy :where(h2,.rk-h2):not(rkx),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field label {
    color: #f0f7f2;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__copy p {
    color: #bfd5c8;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__active {
    border-color: #4b705d;
    background: #315344;
    color: #b7f0dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field select {
    border-color: #476454;
    background-color: #1c3029;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238de0c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    color: #eff8f2;
    color-scheme: dark;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field select option {
    background: #1c3029;
    color: #eff8f2;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-submit {
    border-color: #70cbb3;
    background: #70cbb3;
    color: #14352b;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-clear {
    border-color: #486455;
    background: #20362e;
    color: #d6e9dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-clear:hover {
    border-color: #70cbb3;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count {
    border-color: #3e5b4d;
    background: #263d34;
    color: #eaf5ed;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-number {
    color: #8de0c8;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count-label,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-label {
    color: #c2d9cb;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-trigger {
    border-color: #476454;
    background-color: #20362e;
    color: #eff8f2;
}

@media (max-width: 900px) {
    body.rk-wp .rk-catalog .rk-archive-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rk-wp .rk-catalog .rk-archive-categories__heading {
        align-items: start;
    }

    body.rk-wp .rk-catalog .rk-catalog-top {
        display: flex !important;
        align-items: stretch;
    }

    body.rk-wp .rk-catalog .rk-catalog-count {
        flex: 1 1 180px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls {
        flex: 1 1 230px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-control {
        min-width: 0;
        flex: 1 1 150px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-trigger {
        width: 100%;
    }

    body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rk-wp .rk-catalog .rk-archive-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-submit {
        flex: 0 1 190px;
    }
}

@media (max-width: 600px) {
    body.rk-wp .rk-catalog .rk-archive-categories__heading {
        display: block;
    }

    body.rk-wp .rk-catalog .rk-archive-categories__heading p {
        margin-block-start: 7px;
    }

    body.rk-wp .rk-catalog .rk-archive-categories__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    body.rk-wp .rk-catalog .rk-archive-category-card {
        padding: 12px;
        border-radius: 16px 0 16px 0;
    }

    body.rk-wp .rk-catalog .rk-archive-category-card__parent {
        min-height: 65px;
    }

    body.rk-wp .rk-catalog .rk-archive-category-tree {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rk-wp .rk-catalog .rk-archive-filter-card {
        padding: 15px;
        border-radius: 16px 0 16px 0;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-card__heading {
        align-items: flex-start;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-card__active {
        align-self: center;
    }

    body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-actions {
        grid-column: auto;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-submit {
        flex: 1 1 auto;
    }

    body.rk-wp .rk-catalog .rk-catalog-top {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 8px;
    }

    body.rk-wp .rk-catalog .rk-catalog-count {
        min-width: 0;
        flex: initial;
        padding-inline: 8px;
        font-size: 11px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        min-width: 0;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-label {
        font-size: 10px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-control {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    body.rk-wp .rk-catalog .rk-archive-category-tree {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rk-wp .rk-catalog .rk-archive-filter-card__heading {
        flex-wrap: wrap;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-card__active {
        margin-inline-start: 57px;
    }

    body.rk-wp .rk-catalog .rk-catalog-top {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rk-wp .rk-catalog .rk-catalog-controls {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp.home #categories .rk-home-main-category,
    body.rk-wp.home #categories .rk-home-main-category::after,
    body.rk-wp.home #categories .rk-home-main-category__image,
    body.rk-wp.home #categories .rk-home-main-category__label > svg,
    body.rk-wp .rk-catalog .rk-archive-category-card,
    body.rk-wp .rk-catalog .rk-archive-category-tree__link,
    body.rk-wp .rk-catalog .rk-archive-filter-field select,
    body.rk-wp .rk-catalog .rk-archive-filter-submit,
    body.rk-wp .rk-catalog .rk-archive-filter-clear {
        transition: none !important;
        transform: none !important;
    }
}


/* rk-storefront-0832 */
/* Rayehe Kimia 0.8.32 — restore the archive's right-hand category/filter sidebar.
 * Product query, filter values, URLs and catalog AJAX behavior remain unchanged.
 */

/* Desktop archive: sidebar first in RTL grid = right column; products stay left. */
@media (min-width: 901px) {
    body.rk-wp .rk-catalog .rk-catalog-layout {
        display: grid !important;
        grid-template-columns: minmax(250px, 285px) minmax(0, 1fr) !important;
        align-items: start;
        gap: clamp(18px, 2vw, 27px);
        min-width: 0;
        direction: rtl;
    }

    body.rk-wp .rk-catalog .rk-catalog-sidebar {
        position: sticky;
        inset-block-start: clamp(125px, 9.5vw, 146px);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 14px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 165px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: var(--rk-ink);
    }

    body.rk-wp .rk-catalog .rk-catalog-filter-toggle,
    body.rk-wp .rk-catalog .rk-catalog-filter-backdrop,
    body.rk-wp .rk-catalog .rk-catalog-filter-close {
        display: none !important;
    }

    html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar {
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    body.rk-wp .rk-catalog .rk-catalog-results {
        width: 100%;
        min-width: 0;
    }
}

/* The two sidebar panels share the former catalog-sidebar card language. */
body.rk-wp .rk-catalog .rk-catalog-category-panel,
body.rk-wp .rk-catalog .rk-archive-filter-card {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 18px 0 18px 0;
    background: var(--rk-card, #f8fbf7);
    box-shadow: var(--rk-raised-sm, 4px 4px 12px rgba(20, 55, 40, .06));
}

body.rk-wp .rk-catalog .rk-catalog-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    margin: 0 0 13px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--rk-border, #dce8de);
}

body.rk-wp .rk-catalog .rk-catalog-sidebar__heading-copy {
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-catalog-filter-head small {
    display: block;
    margin: 0 0 3px;
    color: var(--rk-sub, #567466);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
}

body.rk-wp .rk-catalog .rk-catalog-filter-head :where(h2,.rk-h2):not(rkx) {
    margin: 0;
    color: var(--rk-ink, #133c31);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.55;
}

body.rk-wp .rk-catalog .rk-catalog-category-toolbar {
    margin-block-end: 10px;
}

body.rk-wp .rk-catalog .rk-catalog-category-toolbar > .rk-catalog-filter-close {
    display: none;
}

body.rk-wp .rk-catalog .rk-catalog-category-nav {
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-catalog-category-all {
    display: flex;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 11px;
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-ink, #133c31);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.65;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.rk-wp .rk-catalog .rk-catalog-category-all:is(:hover, :focus-visible),
body.rk-wp .rk-catalog .rk-catalog-category-all.is-current {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

body.rk-wp .rk-catalog .rk-catalog-category-all__marker {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-catalog-category-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-catalog-category-group {
    min-width: 0;
    margin: 0;
    padding: 0;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent {
    display: flex;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: linear-gradient(110deg, var(--rk-brand-soft, #e1f2e6), var(--rk-surface, #f7faf6));
    color: var(--rk-ink, #133c31);
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent:is(:hover, :focus-visible),
body.rk-wp .rk-catalog .rk-catalog-category-group.is-active > .rk-catalog-category-parent,
body.rk-wp .rk-catalog .rk-catalog-category-parent[aria-current="page"] {
    border-color: color-mix(in srgb, var(--rk-primary, #0f4f4a) 48%, var(--rk-border, #dce8de));
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__icon {
    display: grid;
    place-items: center;
    flex: 0 0 33px;
    width: 33px;
    height: 33px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 9px;
    background: var(--rk-card, #f8fbf7);
    color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__icon :is(svg, .rk-icon) {
    width: 17px;
    height: 17px;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__copy small {
    color: var(--rk-sub, #567466);
    font-size: 9px;
    font-weight: 750;
    line-height: 1.35;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__arrow {
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary-text, #fff);
}

body.rk-wp .rk-catalog .rk-catalog-category-parent__arrow :is(svg, .rk-icon) {
    width: 13px;
    height: 13px;
}

/* Child categories sit a little to the visual left of their parent in RTL. */
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-width: 0;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-1,
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-2,
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-3,
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-4,
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-5,
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-6 {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin-inline-start: 0;
    margin-inline-end: 11px;
    padding-inline-start: 0;
    padding-inline-end: 10px;
    border-inline-start: 0;
    border-inline-end: 1px solid var(--rk-border, #dce8de);
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__item {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__link {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--rk-sub, #567466);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.65;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__link:is(:hover, :focus-visible),
body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__item.is-current > .rk-archive-category-tree__link {
    border-color: var(--rk-border, #dce8de);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    font-weight: 800;
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__marker {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rk-primary, #0f4f4a);
    opacity: .78;
}

body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Filter card directly under the category panel, using the same sidebar surfaces. */
body.rk-wp .rk-catalog .rk-archive-filter-card {
    padding: 15px 13px;
    border-radius: 18px 0 18px 0;
    background: var(--rk-card, #f8fbf7);
}

body.rk-wp .rk-catalog .rk-archive-filter-card__heading {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0 0 13px;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__icon :is(svg, .rk-icon) {
    width: 18px;
    height: 18px;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__copy :where(h2,.rk-h2):not(rkx) {
    margin: 1px 0 0;
    color: var(--rk-ink, #133c31);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.5;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__copy p {
    margin: 2px 0 0;
    color: var(--rk-sub, #567466);
    font-size: 10px;
    line-height: 1.7;
}

body.rk-wp .rk-catalog .rk-archive-filter-card__active {
    padding: 5px 8px;
    font-size: 9px;
}

body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 11px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.rk-wp .rk-catalog .rk-archive-filter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.rk-wp .rk-catalog .rk-archive-filter-field label {
    color: var(--rk-ink, #133c31);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}

body.rk-wp .rk-catalog .rk-archive-filter-field select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 8px 12px 8px 38px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 11px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--rk-surface, #f7faf6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4f4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-position: left 12px center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    color: var(--rk-ink, #133c31);
    color-scheme: light;
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.rk-wp .rk-catalog .rk-archive-filter-field select:hover {
    border-color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-filter-field select:focus-visible {
    outline: 3px solid var(--rk-focus, #f2d76b) !important;
    outline-offset: 2px;
    border-color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-catalog .rk-archive-filter-field select option {
    background: #fff;
    color: #193e31;
}

body.rk-wp .rk-catalog .rk-archive-filter-field select option:checked {
    background: #e1f2e6;
    color: #0f4f4a;
}

body.rk-wp .rk-catalog .rk-archive-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    min-width: 0;
    margin-block-start: 2px;
}

body.rk-wp .rk-catalog .rk-archive-filter-submit,
body.rk-wp .rk-catalog .rk-archive-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
}

body.rk-wp .rk-catalog .rk-archive-filter-submit {
    border: 1px solid var(--rk-primary, #0f4f4a);
    background: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary-text, #fff);
    box-shadow: 0 5px 13px rgba(15, 79, 74, .12);
}

body.rk-wp .rk-catalog .rk-archive-filter-clear {
    border: 1px solid var(--rk-border, #dce8de);
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-sub, #567466);
    text-decoration: none !important;
}

body.rk-wp .rk-catalog .rk-archive-filter-clear:hover {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    text-decoration: none !important;
}

/* Light/dark panel and native option-menu contrast. */
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-panel,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card {
    border-color: #3b594b;
    background: linear-gradient(145deg, #263d34, #1f332b);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-head {
    border-bottom-color: #3b594b;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-head small,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-parent__copy small {
    color: #b9d2c3;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-head :where(h2,.rk-h2):not(rkx),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__copy :where(h2,.rk-h2):not(rkx),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field label {
    color: #f0f7f2;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-all {
    border-color: #3c5849;
    background: #1f332b;
    color: #e1efe6;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-all:is(:hover, :focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-all.is-current {
    border-color: #70cbb3;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-parent {
    border-color: #3b594b;
    background: linear-gradient(110deg, #29483b, #23382f);
    color: #edf7f0;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-parent:is(:hover, :focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-group.is-active > .rk-catalog-category-parent,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-parent[aria-current="page"] {
    border-color: #73cdb4;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-parent__icon {
    border-color: #476655;
    background: #1d3029;
    color: #86dfc9;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-1,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-2,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-3,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-4,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-5,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree--depth-6 {
    border-inline-end-color: #466253;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__link {
    color: #d6e9dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__link:is(:hover, :focus-visible),
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__item.is-current > .rk-archive-category-tree__link {
    border-color: #4b705d;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__marker {
    background: #77d4bb;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__icon {
    border-color: #456453;
    background: #315344;
    color: #8de0c8;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__copy p {
    color: #bfd5c8;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card__active {
    border-color: #4b705d;
    background: #315344;
    color: #b7f0dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field select {
    border-color: #476454;
    background-color: #1c3029;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238de0c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    color: #eff8f2;
    color-scheme: dark;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field select option,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field select option:checked {
    background: #1c3029;
    color: #eff8f2;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-submit {
    border-color: #70cbb3;
    background: #70cbb3;
    color: #14352b;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-clear {
    border-color: #486455;
    background: #20362e;
    color: #d6e9dc;
}

html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-clear:hover {
    border-color: #70cbb3;
    background: #315747;
    color: #fff;
}

/* Mobile/tablet: the same category + filter sidebar opens as one RTL drawer. */
@media (max-width: 900px) {
    body.rk-wp .rk-catalog .rk-catalog-layout {
        display: block !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
        min-width: 0;
    }

    body.rk-wp .rk-catalog .rk-catalog-results {
        width: 100%;
        min-width: 0;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        min-height: 47px;
        padding: 9px 12px;
        border: 1px solid var(--rk-border, #dce8de);
        border-radius: 13px;
        background: var(--rk-card, #f8fbf7);
        color: var(--rk-ink, #133c31);
        font: inherit;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.5;
        cursor: pointer;
        box-shadow: none;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-filter-toggle .rk-icon {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
        color: var(--rk-primary, #0f4f4a);
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-filter-toggle:focus-visible {
        outline: 3px solid var(--rk-focus, #f2d76b);
        outline-offset: 2px;
    }

    html.js body.rk-wp .rk-catalog #rk-catalog-filter-drawer {
        position: fixed;
        z-index: 9997;
        inset-block: 0;
        inset-inline-start: 0;
        inset-inline-end: auto;
        right: 0;
        left: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 12px;
        box-sizing: border-box;
        width: 70vw;
        max-width: 70vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: max(8px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
        border: 1px solid var(--rk-border, #dce8de);
        border-inline-end: 0;
        border-radius: 22px 0 0 22px;
        background: var(--rk-card, #f8fbf7);
        color: var(--rk-ink, #133c31);
        box-shadow: -16px 0 48px rgba(0, 0, 0, .2);
        transform: translate3d(105%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition: transform .34s var(--rk-drawer-ease, cubic-bezier(.22, 1, .36, 1)), visibility 0s linear .34s;
    }

    html.js body.rk-wp .rk-catalog.rk-filter-is-open #rk-catalog-filter-drawer {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
        transition: transform .34s var(--rk-drawer-ease, cubic-bezier(.22, 1, .36, 1)), visibility 0s;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-filter-backdrop {
        display: block;
        position: fixed;
        z-index: 9996;
        inset: 0;
        background: rgba(4, 22, 17, .62);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility 0s linear .25s;
    }

    html.js body.rk-wp .rk-catalog.rk-filter-is-open .rk-catalog-filter-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .25s ease, visibility 0s;
    }

    body.rk-wp .rk-catalog #rk-catalog-filter-drawer > :is(.rk-catalog-category-panel, .rk-archive-filter-card) {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-category-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: stretch;
        gap: 8px;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-category-toolbar > .rk-catalog-category-all {
        grid-area: 1 / 1;
        min-width: 0;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-category-toolbar > .rk-catalog-filter-close {
        display: grid !important;
        grid-area: 1 / 2;
        place-items: center;
        box-sizing: border-box;
        width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid var(--rk-border, #dce8de);
        border-radius: 11px;
        background: var(--rk-brand-soft, #e1f2e6);
        color: var(--rk-ink, #133c31);
        cursor: pointer;
    }

    body.rk-wp .rk-catalog .rk-catalog-filter-close__icon {
        display: block;
        stroke: currentColor;
        pointer-events: none;
    }

    html.js body.rk-wp .rk-catalog .rk-catalog-filter-close:focus-visible {
        outline: 2px solid var(--rk-focus, #f2d76b);
        outline-offset: 2px;
    }

    body.rk-wp.rk-filter-panel-open {
        overflow: hidden;
    }

    body.rk-wp .rk-catalog .rk-catalog-top {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 9px;
        margin-block: 0 16px;
    }

    body.rk-wp .rk-catalog .rk-catalog-count {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 47px;
        margin: 0;
        padding: 8px 9px;
        border: 1px solid var(--rk-border, #dce8de);
        border-radius: 13px;
        background: var(--rk-card, #f8fbf7);
        color: var(--rk-ink, #133c31);
        font-size: 11px;
        line-height: 1.5;
        white-space: nowrap;
    }

    body.rk-wp .rk-catalog .rk-catalog-count-number {
        font-size: 14px;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        min-width: 0;
        margin: 0;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-label {
        margin: 0;
        color: var(--rk-sub, #567466);
        font-size: 11px;
        white-space: nowrap;
    }

    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-select,
    body.rk-wp .rk-catalog .rk-catalog-controls .rk-catalog-sort-trigger {
        width: 100%;
        min-width: 0;
        min-height: 45px;
        border-radius: 12px;
    }

    html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle,
    html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-count {
        border-color: #425d50;
        background: #263d34;
        color: #f1f9f3;
    }

    html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-filter-toggle .rk-icon {
        color: #8de0c8;
    }

    html.js[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-catalog-category-toolbar > .rk-catalog-filter-close {
        border-color: #729583;
        background: #304d40;
        color: #f2fff6;
    }

    html[data-rk-theme="dark"] body.rk-wp .rk-catalog #rk-catalog-filter-drawer {
        border-color: #3b5147;
        background: #1e3029;
        color: #f0f7f2;
        box-shadow: -14px 0 44px rgba(0, 0, 0, .28);
    }

    body.rk-wp .rk-catalog:not(.rk-filter-is-open) #rk-catalog-filter-drawer {
        pointer-events: none;
    }

    html.js body.rk-wp .rk-catalog.rk-filter-is-open #rk-catalog-filter-drawer {
        pointer-events: auto;
    }

    html:not(.js) body.rk-wp .rk-catalog #rk-catalog-filter-drawer {
        position: static;
        width: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 380px) {
    body.rk-wp .rk-catalog .rk-catalog-top {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rk-wp .rk-catalog .rk-catalog-controls {
        grid-column: 1;
    }

    body.rk-wp .rk-catalog .rk-catalog-count {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp .rk-catalog .rk-catalog-category-all,
    body.rk-wp .rk-catalog .rk-catalog-category-parent,
    body.rk-wp .rk-catalog .rk-catalog-sidebar .rk-archive-category-tree__link,
    body.rk-wp .rk-catalog .rk-archive-filter-field select,
    html.js body.rk-wp .rk-catalog .rk-catalog-sidebar,
    html.js body.rk-wp .rk-catalog .rk-catalog-filter-backdrop {
        transition: none !important;
    }
}


/* rk-storefront-0833 */
/* Rayehe Kimia Theme 0.8.33 — clean archive controls, stable AJAX facets and unified product image corners. */

/* Remove visible sidebar headings; keep the mobile close control accessible. */
body.rk-wp .rk-catalog .rk-catalog-filter-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 0;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
}
body.rk-wp .rk-catalog .rk-catalog-filter-head:empty { display: none; }
body.rk-wp .rk-catalog .rk-catalog-filter-head .rk-catalog-filter-close {
    margin-inline-start: auto;
}
body.rk-wp .rk-catalog .rk-archive-filter-card {
    padding: 15px 13px;
    border-radius: 18px 0 18px 0;
}
body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 13px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.rk-wp .rk-catalog .rk-archive-filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}
body.rk-wp .rk-catalog .rk-archive-filter-field > label {
    color: var(--rk-ink, #133c31);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.7;
}
body.rk-wp .rk-catalog .rk-facet-control {
    position: relative;
    z-index: 1;
    min-width: 0;
}
body.rk-wp .rk-catalog .rk-facet-control.is-open {
    z-index: 50;
}
body.rk-wp .rk-catalog .rk-facet-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 9px 12px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 12px 0 12px 0;
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-ink, #193e31);
    box-shadow: var(--rk-inset, inset 0 1px 2px rgba(0,0,0,.025));
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.6;
    text-align: right;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.rk-wp .rk-catalog .rk-facet-trigger:hover,
body.rk-wp .rk-catalog .rk-facet-control.is-open .rk-facet-trigger {
    border-color: var(--rk-primary, #0f4f4a);
    background: var(--rk-brand-soft, #e1f2e6);
}
body.rk-wp .rk-catalog .rk-facet-trigger:focus-visible {
    outline: 3px solid var(--rk-focus, #f2d76b);
    outline-offset: 2px;
}
body.rk-wp .rk-catalog .rk-facet-trigger > [data-rk-facet-summary] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.rk-wp .rk-catalog .rk-facet-chevron {
    display: grid;
    place-items: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    color: var(--rk-primary, #0f4f4a);
    transition: transform .2s ease;
}
body.rk-wp .rk-catalog .rk-facet-chevron :is(svg, .rk-icon) {
    display: block;
    width: 16px;
    height: 16px;
}
body.rk-wp .rk-catalog .rk-facet-control.is-open .rk-facet-chevron {
    transform: rotate(180deg);
}
body.rk-wp .rk-catalog .rk-facet-menu[hidden] { display: none !important; }
body.rk-wp .rk-catalog .rk-facet-menu {
    position: static;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    margin-block-start: 7px;
    max-height: min(280px, 42vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 14px 0 14px 0;
    background: var(--rk-card, #fff);
    color: var(--rk-ink, #193e31);
    box-shadow: var(--rk-raised, 0 14px 34px rgba(12, 47, 34, .16));
}
body.rk-wp .rk-catalog .rk-facet-menu::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.rk-wp .rk-catalog .rk-facet-option {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 10px 0 10px 0;
    background: transparent;
    color: var(--rk-ink, #193e31);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.7;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
body.rk-wp .rk-catalog .rk-facet-option:hover,
body.rk-wp .rk-catalog .rk-facet-option.is-selected {
    border-color: var(--rk-border, #dce8de);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
}
body.rk-wp .rk-catalog .rk-facet-option input {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    min-height: 17px;
    margin: 0;
    padding: 0;
    accent-color: var(--rk-primary, #0f4f4a);
    cursor: pointer;
}
body.rk-wp .rk-catalog .rk-facet-option__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}
body.rk-wp .rk-catalog .rk-facet-empty {
    margin: 0;
    padding: 12px;
    color: var(--rk-sub, #567466);
    font-size: 11px;
    line-height: 1.8;
}
body.rk-wp .rk-catalog .rk-archive-filter-selected {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
body.rk-wp .rk-catalog .rk-archive-filter-selected[hidden] { display: none !important; }
body.rk-wp .rk-catalog .rk-active-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
    min-height: 29px;
    padding: 4px 9px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 9px 0 9px 0;
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
    font: inherit;
    font-size: 10px;
    font-weight: 760;
    line-height: 1.5;
    cursor: pointer;
}
body.rk-wp .rk-catalog .rk-active-filter-chip > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)):first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.rk-wp .rk-catalog .rk-active-filter-chip__remove {
    display: grid;
    place-items: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--rk-primary, #0f4f4a);
    color: #fff;
    font-size: 13px;
    line-height: 1;
}
body.rk-wp .rk-catalog .rk-archive-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    gap: 7px;
    min-width: 0;
    margin-block-start: 1px;
}
body.rk-wp .rk-catalog .rk-archive-filter-submit,
body.rk-wp .rk-catalog .rk-archive-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    margin: 0;
    padding: 8px 9px;
    border-radius: 10px 0 10px 0;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
}
body.rk-wp .rk-catalog .rk-archive-filter-submit {
    border: 1px solid var(--rk-primary, #0f4f4a);
    background: var(--rk-primary, #0f4f4a);
    color: var(--rk-primary-text, #fff);
    box-shadow: 0 5px 13px rgba(15, 79, 74, .12);
}
body.rk-wp .rk-catalog .rk-archive-filter-submit:disabled,
body.rk-wp .rk-catalog .rk-archive-filter-clear:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}
body.rk-wp .rk-catalog .rk-archive-filter-clear {
    border: 1px solid var(--rk-border, #dce8de);
    background: var(--rk-surface, #f7faf6);
    color: var(--rk-sub, #567466);
}

/* Scroll remains available; only the visual scrollbar is hidden. */
body.rk-wp .rk-catalog #rk-catalog-filter-drawer {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body.rk-wp .rk-catalog #rk-catalog-filter-drawer::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* One shared asymmetric image frame on every product-card surface.
   Top-left and bottom-right corners remain square in RTL and LTR contexts. */
body.rk-wp .product-card {
    border-radius: 0 22px 0 22px !important;
}
body.rk-wp .product-card .product-image,
body.rk-wp .product-card .product-image img {
    border-radius: 0 18px 0 18px !important;
}

/* Dark mode: same controls, explicit high-contrast surfaces and selected states. */
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-card {
    border-color: #3b594b;
    background: linear-gradient(145deg, #263d34, #1f332b);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-field > label {
    color: #f0f7f2;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-trigger {
    border-color: #476454;
    background: #1c3029;
    color: #eff8f2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .13);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-trigger:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-control.is-open .rk-facet-trigger {
    border-color: #70cbb3;
    background: #29483b;
    color: #fff;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-chevron {
    color: #8de0c8;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-menu {
    border-color: #476454;
    background: #20362e;
    color: #eff8f2;
    box-shadow: 0 17px 35px rgba(0, 0, 0, .38);
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-option {
    color: #e5f2e9;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-option:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-option.is-selected {
    border-color: #4d705e;
    background: #315747;
    color: #fff;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-option input {
    accent-color: #70cbb3;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-empty {
    color: #bfd5c8;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-active-filter-chip {
    border-color: #4b705d;
    background: #315344;
    color: #c8f3e1;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-active-filter-chip__remove {
    background: #70cbb3;
    color: #14352b;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-submit {
    border-color: #70cbb3;
    background: #70cbb3;
    color: #14352b;
}
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-archive-filter-clear {
    border-color: #486455;
    background: #20362e;
    color: #d6e9dc;
}

@media (max-width: 900px) {
    body.rk-wp .rk-catalog .rk-archive-filter-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    }
    body.rk-wp .rk-catalog .rk-facet-menu {
        max-height: min(260px, 38vh);
    }
}
@media (max-width: 380px) {
    body.rk-wp .rk-catalog .rk-archive-filter-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.rk-wp .rk-catalog .rk-facet-trigger,
    body.rk-wp .rk-catalog .rk-facet-chevron,
    body.rk-wp .rk-catalog .rk-facet-option,
    body.rk-wp .rk-catalog .rk-active-filter-chip {
        transition: none !important;
    }
}


/* Progressive enhancement: without JavaScript, keep every facet visible and submit by POST to the same URL. */
html:not(.js) body.rk-wp .rk-catalog .rk-facet-trigger {
    display: none;
}
html:not(.js) body.rk-wp .rk-catalog .rk-facet-menu[hidden] {
    display: grid !important;
    position: static;
    max-height: none;
    overflow: visible;
    margin-block-start: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
html:not(.js) body.rk-wp .rk-catalog .rk-facet-option {
    border-color: var(--rk-border, #dce8de);
    background: var(--rk-surface, #f7faf6);
}
html:not(.js) body.rk-wp .rk-catalog .rk-archive-filter-noscript-clear {
    display: inline-flex;
    margin-block-start: 8px;
    text-decoration: none;
}


@media (min-width: 901px) {
    body.rk-wp .rk-catalog .rk-catalog-filter-head {
        display: none !important;
    }
}


/* rk-storefront-0834 */
/*
 * Rayehe Kimia 0.8.34 — archive scroll, overlay facets and shared card geometry.
 * This file is intentionally loaded after the 0.8.33 storefront layer.
 */

/* Desktop: the document owns vertical scrolling; the sidebar must not become
   a second scroll container that traps the mouse wheel. */
@media (min-width: 901px) {
    body.rk-wp .rk-catalog .rk-catalog-layout {
        display: grid !important;
        grid-template-columns: minmax(255px, 292px) minmax(0, 1fr) !important;
        align-items: start;
        column-gap: clamp(24px, 2.25vw, 36px) !important;
        row-gap: 24px;
        width: 100%;
        min-width: 0;
        direction: rtl;
    }

    body.rk-wp .rk-catalog .rk-catalog-sidebar {
        position: static !important;
        inset: auto !important;
        align-self: start;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overscroll-behavior: auto !important;
        scrollbar-width: auto;
    }

    body.rk-wp .rk-catalog .rk-catalog-results {
        width: 100%;
        min-width: 0;
        margin: 0;
    }
}

/* Keep the product grid and its cards separated from each other and the sidebar. */
body.rk-wp .rk-catalog .rk-catalog-grid {
    min-width: 0;
    column-gap: clamp(14px, 1.45vw, 22px) !important;
    row-gap: clamp(16px, 1.6vw, 24px) !important;
}

/* Facet triggers are flat, matching the site's sorting control. */
body.rk-wp .rk-catalog .rk-facet-trigger,
body.rk-wp .rk-catalog .rk-facet-trigger:hover,
body.rk-wp .rk-catalog .rk-facet-control.is-open .rk-facet-trigger,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-trigger,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-trigger:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-catalog .rk-facet-control.is-open .rk-facet-trigger {
    box-shadow: none !important;
    filter: none !important;
}

/* The dropdown is temporarily portaled to <body> and positioned against its
   trigger. This escapes the mobile drawer and sidebar overflow boundaries. */
body.rk-wp .rk-facet-menu--portal[hidden] {
    display: none !important;
}

body.rk-wp .rk-facet-menu--portal {
    position: fixed !important;
    z-index: 10050 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 4px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 7px;
    border: 1px solid var(--rk-border, #dce8de);
    border-radius: 16px 0 16px 0;
    background: var(--rk-card, #f8fbf7);
    color: var(--rk-ink, #133c31);
    box-shadow: none !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
}

body.rk-wp .rk-facet-menu--portal .rk-facet-option {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 11px 0 11px 0;
    background: transparent;
    color: var(--rk-ink, #133c31);
    font: inherit;
    font-size: 13px;
    line-height: 1.65;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

body.rk-wp .rk-facet-menu--portal .rk-facet-option:hover,
body.rk-wp .rk-facet-menu--portal .rk-facet-option.is-selected {
    border-color: var(--rk-border, #dce8de);
    background: var(--rk-brand-soft, #e1f2e6);
    color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-facet-menu--portal .rk-facet-option input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-facet-menu--portal .rk-facet-option__text {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.rk-wp .rk-facet-menu--portal .rk-facet-empty {
    margin: 0;
    padding: 10px;
    color: var(--rk-sub, #567466);
    font-size: 12px;
}

/* Dark palette is explicit because the dropdown lives outside .rk-catalog. */
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal {
    border-color: #476454;
    background: #20362e;
    color: #eff8f2;
    box-shadow: none !important;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option {
    color: #e5f2e9;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option.is-selected {
    border-color: #4d705e;
    background: #315747;
    color: #fff;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option input {
    accent-color: #70cbb3;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-empty {
    color: #bfd5c8;
}

/* No Apply button in the enhanced experience; the clear action spans the card. */
body.rk-wp .rk-catalog .rk-archive-filter-actions {
    display: block !important;
    width: 100%;
    margin-block-start: 12px;
}

html.js body.rk-wp .rk-catalog .rk-archive-filter-submit {
    display: none !important;
}

html:not(.js) body.rk-wp .rk-catalog .rk-archive-filter-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-block-start: 10px;
}

body.rk-wp .rk-catalog .rk-archive-filter-clear {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 48px;
    margin: 0;
    padding-inline: 14px;
    border-radius: 12px 0 12px 0;
}

body.rk-wp .rk-catalog .rk-archive-filter-clear:disabled {
    opacity: .48;
    cursor: not-allowed;
}

/* Consistent image silhouette across homepage, archive, related cards and article cards.
   Physical top-left and bottom-right corners intentionally stay square. */
body.rk-wp .product-card {
    border-radius: 0 22px 0 22px !important;
}

body.rk-wp .product-card .rk-card-media,
body.rk-wp .product-card .rk-card-media > .product-image,
body.rk-wp .product-card .product-image,
body.rk-wp .product-card .product-image > img {
    border-radius: 0 18px 0 18px !important;
}

body.rk-wp .product-card .rk-card-media {
    overflow: hidden;
}

body.rk-wp .product-card .product-image {
    overflow: hidden;
}

/* Move the category pill inward from the physical right edge of the image. */
body.rk-wp .product-card .rk-card-category {
    right: 16px !important;
    left: auto !important;
    inset-inline-end: auto !important;
    bottom: 14px !important;
    max-width: calc(100% - 32px) !important;
}

@media (max-width: 900px) {
    body.rk-wp .rk-catalog .rk-catalog-sidebar {
        overscroll-behavior: contain;
    }
    body.rk-wp .product-card .rk-card-category {
        right: 12px !important;
        bottom: 12px !important;
        max-width: calc(100% - 24px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp .rk-facet-menu--portal .rk-facet-option {
        transition: none !important;
    }
}


/* rk-storefront-0835 */
/*
 * Rayehe Kimia 0.8.35 — archive parent-category simplification,
 * circular facet selectors and reliable asymmetric product-image corners.
 * Loaded after every previous storefront refinement.
 */

/* Parent categories: keep the category name and remove decorative icons/arrows. */
body.rk-wp .rk-catalog .rk-catalog-category-parent__icon,
body.rk-wp .rk-catalog .rk-catalog-category-parent__arrow {
    display: none !important;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent--plain {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0 !important;
    min-height: 48px;
    padding-inline: 15px !important;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent--plain .rk-catalog-category-parent__copy {
    display: flex;
    flex: 1 1 100%;
    align-items: stretch;
    min-width: 0;
    gap: 0;
    text-align: right;
}

body.rk-wp .rk-catalog .rk-catalog-category-parent--plain .rk-catalog-category-parent__copy strong {
    display: block;
    width: 100%;
    line-height: 1.7;
}

/* Facet dropdown rows: softer rounded rows and circular check/radio indicators.
   The same rules work after the menu is portaled directly under <body>. */
body.rk-wp .rk-facet-menu .rk-facet-option,
body.rk-wp .rk-facet-menu--portal .rk-facet-option {
    min-height: 45px;
    padding: 9px 12px;
    border-radius: 999px;
    gap: 11px;
}

body.rk-wp .rk-facet-menu .rk-facet-option:hover,
body.rk-wp .rk-facet-menu .rk-facet-option.is-selected,
body.rk-wp .rk-facet-menu--portal .rk-facet-option:hover,
body.rk-wp .rk-facet-menu--portal .rk-facet-option.is-selected {
    border-color: color-mix(in srgb, var(--rk-primary, #0f4f4a) 32%, var(--rk-border, #dce8de));
    background: color-mix(in srgb, var(--rk-primary, #0f4f4a) 9%, var(--rk-card, #fff));
    color: var(--rk-primary, #0f4f4a);
}

body.rk-wp .rk-facet-menu .rk-facet-option input[type="checkbox"],
body.rk-wp .rk-facet-menu .rk-facet-option input[type="radio"],
body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="checkbox"],
body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="radio"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    box-sizing: border-box;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.6px solid var(--rk-sub, #789187) !important;
    border-radius: 50% !important;
    background: var(--rk-card, #fff) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

body.rk-wp .rk-facet-menu .rk-facet-option input[type="checkbox"]:checked,
body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="checkbox"]:checked {
    border-color: var(--rk-primary, #0f4f4a) !important;
    background-color: var(--rk-primary, #0f4f4a) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.1 3.1L13 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
}

body.rk-wp .rk-facet-menu .rk-facet-option input[type="radio"]:checked,
body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="radio"]:checked {
    border-color: var(--rk-primary, #0f4f4a) !important;
    background-color: var(--rk-primary, #0f4f4a) !important;
    background-image: radial-gradient(circle, #fff 0 3px, transparent 3.5px) !important;
}

body.rk-wp .rk-facet-menu .rk-facet-option input:focus-visible,
body.rk-wp .rk-facet-menu--portal .rk-facet-option input:focus-visible {
    outline: 3px solid var(--rk-focus, #f2d76b) !important;
    outline-offset: 3px;
}

body.rk-wp .rk-facet-menu .rk-facet-option input:disabled,
body.rk-wp .rk-facet-menu--portal .rk-facet-option input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option.is-selected,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option:hover,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option.is-selected {
    border-color: #5b8b75;
    background: #29483b;
    color: #f2fbf5;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option input[type="checkbox"],
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option input[type="radio"],
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="checkbox"],
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="radio"] {
    border-color: #8cae9d !important;
    background-color: #1c3029 !important;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option input[type="checkbox"]:checked,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="checkbox"]:checked {
    border-color: #70cbb3 !important;
    background-color: #70cbb3 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.1 3.1L13 4.5' fill='none' stroke='%2314352b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu .rk-facet-option input[type="radio"]:checked,
html[data-rk-theme="dark"] body.rk-wp .rk-facet-menu--portal .rk-facet-option input[type="radio"]:checked {
    border-color: #70cbb3 !important;
    background-color: #70cbb3 !important;
    background-image: radial-gradient(circle, #14352b 0 3px, transparent 3.5px) !important;
}

/* Product-card image: enforce square top-left and bottom-right corners on the
   actual image clipping surface. This avoids inherited rounded clipping from
   older shared-card layers and applies to all rk_card() surfaces. */
body.rk-wp .product-card .rk-card-media {
    overflow: visible !important;
    border-radius: 0 !important;
}

body.rk-wp .product-card .rk-card-media > a.product-image {
    display: block;
    overflow: hidden !important;
    border-radius: 0 !important;
    clip-path: inset(0 round 0 20px 0 20px) !important;
    -webkit-clip-path: inset(0 round 0 20px 0 20px) !important;
}

body.rk-wp .product-card .rk-card-media > a.product-image > img {
    display: block;
    border-radius: 0 !important;
    clip-path: inset(0 round 0 20px 0 20px) !important;
    -webkit-clip-path: inset(0 round 0 20px 0 20px) !important;
}

@media (max-width: 640px) {
    body.rk-wp .product-card .rk-card-media > a.product-image,
    body.rk-wp .product-card .rk-card-media > a.product-image > img {
        clip-path: inset(0 round 0 18px 0 18px) !important;
        -webkit-clip-path: inset(0 round 0 18px 0 18px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp .rk-facet-menu .rk-facet-option,
    body.rk-wp .rk-facet-menu--portal .rk-facet-option,
    body.rk-wp .rk-facet-menu .rk-facet-option input,
    body.rk-wp .rk-facet-menu--portal .rk-facet-option input {
        transition: none !important;
    }
}


/* rk-storefront-0836 */
/*
 * Rayehe Kimia 0.8.36
 * Three independent fragrance-note facets and the shared asymmetric card image frame.
 */

@media (min-width: 901px) {
    body.rk-wp .rk-catalog .rk-archive-filter-field:is([data-rk-facet-control="top_notes"], [data-rk-facet-control="middle_notes"], [data-rk-facet-control="base_notes"]) {
        margin-block-end: 14px;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-field:is([data-rk-facet-control="top_notes"], [data-rk-facet-control="middle_notes"], [data-rk-facet-control="base_notes"]) > label {
        display: block;
        margin-block-end: 8px;
    }
}

@media (max-width: 900px) {
    body.rk-wp .rk-catalog .rk-catalog-facets.rk-archive-filter-form {
        gap: 9px;
    }

    body.rk-wp .rk-catalog .rk-archive-filter-field {
        gap: 5px;
    }
}

/* Keep card heights even as the stock message, price and subtitle vary. */
body.rk-wp .rk-catalog .rk-catalog-grid {
    grid-auto-rows: 1fr;
}

body.rk-wp :is(.rk-catalog .rk-catalog-grid, #featured .product-track, .rk-related-grid, .rk-article-product-track) > .product-card[data-rabino-product-surface="card"] {
    height: auto;
    align-self: stretch;
}

body.rk-wp :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] > .card-text {
    flex: 1 1 auto;
}

body.rk-wp :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] > .card-text > .card-bottom {
    margin-block-start: auto;
}

/*
 * Definitive shared image frame.
 * Explicit physical longhands intentionally replace older shorthand rules.
 * The image link itself clips the image, including when an optimizer wraps it
 * in <picture>; the actual img receives the same corner values as a fallback.
 */
html body.rk-wp .product-card .rk-card-media {
    overflow: visible !important;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 18px !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    isolation: isolate;
}

html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] > picture,
html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),
html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] img {
    position: absolute;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 18px !important;
}

html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] img {
    object-fit: cover !important;
    object-position: center;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

/* Native WooCommerce loops and product blocks also use the shared corner shape. */
body.rk-wp :is(ul.products > li.product .woocommerce-loop-product__link, .wc-block-product .wc-block-components-product-image, .wc-block-grid__product .wc-block-grid__product-image) img {
    border-radius: 0 18px 0 18px !important;
}

@media (max-width: 640px) {
    html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"],
    html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] > picture,
    html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] > span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)),
    html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] img {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 14px !important;
    }
    body.rk-wp :is(ul.products > li.product .woocommerce-loop-product__link, .wc-block-product .wc-block-components-product-image, .wc-block-grid__product .wc-block-grid__product-image) img {
        border-radius: 0 14px 0 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.rk-wp .product-card .rk-card-media > a.product-image[data-rk-card-image="1"] {
        transition: none !important;
    }
}


/* rk-home-info-0851 */
body.rk-wp.home {
    --rk-home-section-gap: clamp(24px, 3.25vw, 48px);
}

body.rk-wp.home .rk-home-main {
    display: grid;
    row-gap: var(--rk-home-section-gap);
    padding-block-start: var(--rk-home-section-gap);
}

body.rk-wp.home .rk-home-main > .rk-home-page-title {
    display: none !important;
}

body.rk-wp.home .rk-home-main > :is(.rk-home-showcase, #categories.rk-home-main-categories, #featured, .rk-home-benefits-after-featured, .wholesale-section, #articles) {
    margin-block: 0;
}

body.rk-wp.home .rk-home-main > :is(#featured, #articles).section,
body.rk-wp.home .rk-home-main > .wholesale-section {
    padding-block: 0;
}

body.rk-wp.home .rk-home-main > #featured {
    display: grid;
    row-gap: var(--rk-home-section-gap);
}

body.rk-wp.home .rk-home-main #featured > .featured-wrap {
    min-width: 0;
    margin-block: 0;
}

body.rk-wp.home .rk-home-main + .prefooter,
body.rk-wp.home .rk-home-main + .site-footer {
    margin-block-start: var(--rk-home-section-gap);
}

body.rk-wp.home .rk-home-main .section-heading .rk-home-carousel-title {
    display: block;
    color: var(--rk-ink);
    font-size: clamp(23px, 2.15vw, 32px);
    font-weight: 850;
    line-height: 1.45;
}

/* The four remaining benefits fill complete rows at each breakpoint. */
body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured > .benefit-rail.container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured .benefit:nth-child(3) {
    border-inline-end: 1px solid var(--rk-border);
}

/* Raised card, recessed photo well and embossed arrow. */
body.rk-wp.home .rk-home-main #categories.rk-home-main-categories {
    --rk-category-surface: #eaf2eb;
    --rk-category-well: #d5e5dc;
    --rk-category-light: #f9fdf9;
    --rk-category-shadow: #b5c8bc;
    --rk-category-arrow: #dbeae0;
    --rk-category-arrow-hover: #cae1d4;
    --rk-category-ink: #173e32;
    --rk-category-photo: saturate(1.06) contrast(1.07);
    --rk-category-ease: cubic-bezier(.22, 1, .36, 1);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2.2vw, 28px);
}

html[data-rk-theme="dark"] body.rk-wp.home .rk-home-main #categories.rk-home-main-categories {
    --rk-category-surface: #203830;
    --rk-category-well: #152a23;
    --rk-category-light: #2c453b;
    --rk-category-shadow: #101e19;
    --rk-category-arrow: #263e34;
    --rk-category-arrow-hover: #305045;
    --rk-category-ink: #e8f5eb;
    --rk-category-photo: brightness(.86) saturate(1.06) contrast(1.1);
}

.rk-home-main .rk-home-category-card {
    --rk-category-radius: clamp(15px, 2.2vw, 30px);
    display: flex;
    flex-direction: column;
    gap: clamp(7px, 1vw, 13px);
    min-width: 0;
    padding: clamp(8px, 1.05vw, 14px);
    border: 0;
    border-radius: 0 var(--rk-category-radius) 0 var(--rk-category-radius);
    color: var(--rk-category-ink);
    background: var(--rk-category-surface);
    text-decoration: none;
    box-shadow: 6px 8px 17px var(--rk-category-shadow), -4px -4px 14px var(--rk-category-light);
    transition: transform .35s var(--rk-category-ease), box-shadow .35s var(--rk-category-ease);
}

.rk-home-main .rk-home-category-card__media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 0 calc(var(--rk-category-radius) - 5px) 0 calc(var(--rk-category-radius) - 5px);
    background: var(--rk-category-well);
    box-shadow: inset 2px 3px 10px var(--rk-category-shadow);
}

.rk-home-main .rk-home-category-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--rk-category-photo);
    transition: transform .55s var(--rk-category-ease);
}

.rk-home-main .rk-home-category-card__placeholder {
    display: grid;
    place-items: center;
    width: 36%;
    aspect-ratio: 1;
    color: var(--rk-category-ink);
}

.rk-home-main .rk-home-category-card__placeholder .rk-icon {
    width: 52%;
    height: 52%;
}

.rk-home-main .rk-home-category-card__label {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-width: 0;
    padding: 4px clamp(2px, .85vw, 11px);
    font-size: clamp(14px, 1.75vw, 23px);
    font-weight: 850;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.rk-home-main .rk-home-category-card__arrow {
    display: grid;
    place-items: center;
    flex: none;
    width: clamp(28px, 3.1vw, 42px);
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--rk-category-ink);
    background: var(--rk-category-arrow);
    box-shadow: 2px 3px 7px var(--rk-category-shadow), -2px -2px 6px var(--rk-category-light);
    transition: transform .35s var(--rk-category-ease), background-color .35s ease;
}

.rk-home-main .rk-home-category-card__arrow svg {
    width: 50%;
    height: 50%;
}

.rk-home-main .rk-home-category-card:focus-visible {
    outline: 2px solid var(--rk-focus, #398575);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .rk-home-main .rk-home-category-card:hover {
        transform: translateY(-4px);
        color: var(--rk-category-ink);
        text-decoration: none;
        box-shadow: 8px 13px 23px var(--rk-category-shadow), -4px -4px 14px var(--rk-category-light);
    }

    .rk-home-main .rk-home-category-card:hover .rk-home-category-card__image {
        transform: scale(1.04);
    }

    .rk-home-main .rk-home-category-card:hover .rk-home-category-card__arrow {
        transform: translateX(-3px);
        background-color: var(--rk-category-arrow-hover);
    }
}

.rk-home-main .rk-home-category-card:active {
    transform: scale(.99);
    box-shadow: inset 3px 4px 9px var(--rk-category-shadow), inset -2px -2px 6px var(--rk-category-light);
}

@media (max-width: 760px) {
    body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured > .benefit-rail.container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured .benefit {
        border: 0;
    }

    body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured .benefit:last-child {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body.rk-wp.home .rk-home-main #categories.rk-home-main-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rk-home-main .rk-home-category-card:nth-child(3):last-child {
        grid-column: 1 / -1;
    }

    .rk-home-main .rk-home-category-card:nth-child(3):last-child .rk-home-category-card__media {
        aspect-ratio: 2 / 1;
    }

    body.rk-wp.home .rk-home-main .section-heading .rk-home-carousel-title {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp.home .rk-home-main .rk-home-category-card,
    body.rk-wp.home .rk-home-main .rk-home-category-card__image,
    body.rk-wp.home .rk-home-main .rk-home-category-card__arrow {
        transition: none;
        transform: none;
    }
}

/* Shared hero art for About and Contact, plus an optional full-width backdrop. */
body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(24px, 4vw, 56px);
    border-radius: 0;
}
body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(20px, 5vw, 74px);
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__copy {
    min-width: 0;
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__image {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    max-height: none;
    border-radius: 0 clamp(28px, 5vw, 66px) 0 clamp(28px, 5vw, 66px);
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(12, 46, 36, .16);
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(245px, 36vw, 410px);
    object-fit: contain;
    border-radius: 0;
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image {
    background: var(--rk-surface);
    overflow: hidden;
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 1;
    background: linear-gradient(to left, rgba(248, 252, 248, .98), rgba(248, 252, 248, .93) 46%, rgba(248, 252, 248, .31)),
        var(--rk-info-hero-image) center / cover no-repeat;
    pointer-events: none;
}

html[data-rk-theme="dark"] body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image::before {
    background: linear-gradient(to left, rgba(16, 35, 28, .98), rgba(16, 35, 28, .94) 46%, rgba(16, 35, 28, .37)),
        var(--rk-info-hero-image) center / cover no-repeat;
}

body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image .rk-info-hero__copy :is(h1, p, .eyebrow, .rk-context-breadcrumb, .rk-context-breadcrumb a) {
    color: var(--rk-ink);
}

@media (max-width: 760px) {
    body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__image img {
        max-height: min(64vw, 345px);
    }

    body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image::before {
        background: linear-gradient(to bottom, rgba(248, 252, 248, .985), rgba(248, 252, 248, .95) 48%, rgba(248, 252, 248, .56)),
            var(--rk-info-hero-image) center / cover no-repeat;
    }

    html[data-rk-theme="dark"] body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero.has-rk-info-hero-image::before {
        background: linear-gradient(to bottom, rgba(16, 35, 28, .98), rgba(16, 35, 28, .96) 48%, rgba(16, 35, 28, .60)),
            var(--rk-info-hero-image) center / cover no-repeat;
    }
}


/* rk-home-polish-0852 */
/* Rayehe Kimia Theme 0.8.52 — homepage stability and informational hero alignment. */

/* Homepage category cards: restrained depth integrated with the site surface. */
body.rk-wp.home .rk-home-main #categories.rk-home-main-categories {
    --rk-category-shadow: rgba(18, 54, 40, .055);
    --rk-category-light: rgba(255, 255, 255, .34);
}
html[data-rk-theme="dark"] body.rk-wp.home .rk-home-main #categories.rk-home-main-categories {
    --rk-category-shadow: rgba(0, 0, 0, .16);
    --rk-category-light: rgba(255, 255, 255, .025);
}
body.rk-wp.home .rk-home-main .rk-home-category-card {
    box-shadow: 0 3px 11px var(--rk-category-shadow);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background-color .28s ease;
}
body.rk-wp.home .rk-home-main .rk-home-category-card__media { box-shadow: none; }
body.rk-wp.home .rk-home-main .rk-home-category-card__arrow {
    box-shadow: 0 1px 4px var(--rk-category-shadow);
}
@media (hover: hover) and (pointer: fine) {
    body.rk-wp.home .rk-home-main .rk-home-category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 14px var(--rk-category-shadow);
    }
    body.rk-wp.home .rk-home-main .rk-home-category-card:hover .rk-home-category-card__image { transform: scale(1.02); }
}
body.rk-wp.home .rk-home-main .rk-home-category-card:active {
    transform: scale(.995);
    box-shadow: 0 1px 4px var(--rk-category-shadow);
}
@media (prefers-reduced-motion: reduce) {
    body.rk-wp.home .rk-home-main .rk-home-category-card,
    body.rk-wp.home .rk-home-main .rk-home-category-card__image,
    body.rk-wp.home .rk-home-main .rk-home-category-card__arrow {
        transition: none !important;
        transform: none !important;
    }
}

/* Article title stays visually prominent without introducing an H heading. */
body.rk-wp.home #articles .rk-home-articles-title {
    display: inline-block;
    color: var(--rk-ink);
    font-size: clamp(23px, 2.15vw, 32px);
    font-weight: 850;
    line-height: 1.45;
}

/* About and Contact hero images align to the physical left edge of the content shell.
   Natural aspect ratio and contain behavior are preserved; no crop is introduced. */
body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__image {
    justify-self: end;
    margin-inline: 0;
}
body.rk-wp :is(.rk-about, .rk-contact) .rk-info-hero .rk-info-hero__image img {
    object-fit: contain;
    object-position: left center;
}


/* rk-mobile-0855 */
/* Rayehe Kimia 0.8.55: mobile-only layout stabilization.
 * Keeps existing desktop/tablet layout and all product/cart behaviors.
 * Loaded last to resolve legacy mobile selectors that reintroduce desktop sizing.
 */
@media screen and (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body.rk-wp { width: 100%; min-width: 0; overflow-x: clip; }
  body.rk-wp .container { width: calc(100% - 24px); max-width: 100%; margin-inline: auto; }
  body.rk-wp :is(main, section, .rk-home-main, .rk-home-showcase, .rk-home-showcase .home-hero, #heroSlider, #categories, #featured, #articles) { min-width: 0; max-width: 100%; }

  /* On a phone, show the compact header rather than a scaled desktop navigation. */
  body.rk-wp .site-header .header-main { display: flex; flex-wrap: nowrap; gap: 5px; min-height: 60px; max-width: 100%; }
  body.rk-wp .site-header .main-nav { display: none !important; }
  body.rk-wp .site-header .header-search { display: none !important; }
  body.rk-wp .site-header .brand { flex: 0 1 clamp(88px, 26vw, 120px); min-width: 0; max-width: 120px; }
  body.rk-wp .site-header .brand img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 49px; object-fit: contain; }
  body.rk-wp .site-header .header-actions { display: flex; flex: 0 0 auto; gap: 4px; margin-inline-start: auto; min-width: 0; }
  body.rk-wp .site-header .header-actions .mobile-top-action { display: inline-grid !important; place-items: center; }
  body.rk-wp .site-header .header-actions :is(.icon-btn, .rk-mode-toggle) { flex: 0 0 auto; width: clamp(32px, 9vw, 38px); height: clamp(34px, 9.5vw, 40px); }
  body.rk-wp .site-header .header-actions :is(.icon-btn, .rk-mode-toggle) svg { width: 18px; height: 18px; }

  /* The existing image-only mobile banner uses the portrait artwork; never
     inherit wide-screen minimum dimensions or force a desktop-sized slide. */
  body.rk-wp.home .rk-home-main { width: 100%; }
  body.rk-wp.home .rk-home-showcase.container { width: calc(100% - 24px); max-width: 100%; }
  body.rk-wp.home .rk-home-showcase .home-hero,
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider { width: 100%; max-width: 100%; min-width: 0; min-height: 0; }
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide { width: 100%; max-width: 100%; min-width: 0; }
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .rk-slide-model-image-only .rk-hero-image-link { width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; }
  body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-picture { width: 100%; height: 100%; }
  body.rk-wp.home .rk-home-showcase .home-hero .rk-hero-image-art { display: block; width: 100%; height: 100%; object-position: center; }

  /* Deliberate mobile layout: one full-width category card above two smaller cards. */
  body.rk-wp.home .rk-home-main #categories.rk-home-main-categories { width: calc(100% - 24px); max-width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; reading-flow: grid-rows; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card { width: 100%; min-width: 0; min-height: 0; padding: 6px; gap: 5px; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card__media { width: 100%; min-width: 0; aspect-ratio: 1 / 1; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card__image { width: 100%; height: 100%; object-fit: cover; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card:nth-child(3):last-child { grid-column: 1 / -1; grid-row: 1; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card:nth-child(3):last-child .rk-home-category-card__media { aspect-ratio: 2 / 1; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card__label { min-width: 0; padding: 5px 3px 6px; font-size: clamp(12px, 3.55vw, 16px); line-height: 1.5; }
  body.rk-wp.home .rk-home-main #categories .rk-home-category-card__arrow { width: 27px; height: 27px; }

  /* These are responsive grids, not min-width desktop strips. */
  body.rk-wp.home .rk-home-main #featured,
  body.rk-wp.home .rk-home-main #articles { width: calc(100% - 24px); max-width: 100%; min-width: 0; }
  body.rk-wp.home .rk-home-main .rk-home-benefits-after-featured .benefit-rail.container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rk-wp .site-footer, body.rk-wp .footer-grid { max-width: 100%; min-width: 0; }
}
@media screen and (max-width: 360px) {
  body.rk-wp .site-header .header-actions { gap: 2px; }
  body.rk-wp .site-header .brand { flex-basis: 86px; }
  body.rk-wp .site-header .header-actions :is(.icon-btn, .rk-mode-toggle) { width: 31px; height: 34px; }
}


/* rk-storefront-navigation-0856 */
/* Pointer gestures affect only the homepage slider, never its controls. */
body.rk-wp #heroSlider.rk-hero-swipe > .slide {
    touch-action: pan-y pinch-zoom;
    translate: var(--rk-hero-drag-x, 0px) 0;
}

@media (hover: hover) and (pointer: fine) {
    body.rk-wp #heroSlider.rk-hero-swipe > .slide.active,
    body.rk-wp #heroSlider.rk-hero-swipe .rk-hero-image-link {
        cursor: grab;
    }

    body.rk-wp #heroSlider.rk-hero-dragging > .slide.active,
    body.rk-wp #heroSlider.rk-hero-dragging .rk-hero-image-link {
        cursor: grabbing;
    }
}

body.rk-wp #heroSlider.rk-hero-dragging > .slide.active {
    user-select: none;
}

body.rk-wp .site-footer {
    --rk-footer-foreground: #f2faf5;
    --rk-footer-muted: #c8dfd2;
    --rk-footer-divider: rgba(184, 218, 197, .27);
}

body.rk-wp .rk-footer-support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
    align-items: center;
    gap: clamp(12px, 2.5vw, 28px);
    padding-block: 0 clamp(15px, 2.5vw, 28px);
    border-block-end: 1px solid var(--rk-footer-divider);
}

body.rk-wp .rk-footer-hours {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--rk-footer-foreground);
}

body.rk-wp .rk-footer-hours__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    aspect-ratio: 1;
    color: var(--rk-footer-foreground);
    background: rgba(88, 199, 190, .12);
    border-radius: 50%;
}

body.rk-wp .rk-footer-hours strong,
body.rk-wp .rk-footer-navigation__group > :is(strong, summary) {
    color: var(--rk-footer-foreground);
    font-size: clamp(13px, 1.25vw, 16px);
    font-weight: 800;
}

body.rk-wp .rk-footer-hours p {
    margin: 2px 0 0;
    color: var(--rk-footer-muted);
    font-size: 13px;
    line-height: 1.8;
}

body.rk-wp .rk-footer-hours p span:not(:where(.rk-h2,.rk-h3,.rk-h4,.rk-h5,.rk-h6)) { white-space: nowrap; }

body.rk-wp .site-footer .rk-footer-support .rk-footer-phone-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

body.rk-wp .site-footer .rk-footer-support .rk-footer-phone-pair a {
    min-height: 44px;
    padding-inline: 3px;
    border: 1px solid var(--rk-footer-divider);
    border-radius: 10px;
    font-size: clamp(12px, 2.9vw, 14px);
}

body.rk-wp .rk-footer-navigation__desktop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    padding-block: clamp(17px, 2.5vw, 32px);
}

body.rk-wp .rk-footer-navigation__mobile { display: none; }

body.rk-wp .rk-footer-navigation__links {
    display: grid;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 7px 0 0;
}

body.rk-wp .rk-footer-navigation__links li { min-width: 0; }

body.rk-wp .rk-footer-navigation__links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--rk-footer-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

body.rk-wp .rk-footer-navigation__links a:is(:hover, :focus-visible) {
    color: var(--rk-footer-foreground);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.rk-wp .rk-footer-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 140px);
    align-items: start;
    gap: clamp(12px, 3vw, 30px);
    padding-block: clamp(16px, 2.5vw, 28px);
    border-block-start: 1px solid var(--rk-footer-divider);
}

body.rk-wp .rk-footer-identity .rk-footer-brand p {
    color: var(--rk-footer-muted);
    max-width: 55ch;
    margin-block: 8px 0;
    font-size: 13px;
}

body.rk-wp .rk-footer-identity .rk-footer-trust {
    color: var(--rk-footer-foreground);
    text-align: center;
    font-size: 12px;
}

body.rk-wp .rk-v13-heading .rk-product-sku {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 9px;
    margin-block: 4px 0;
    color: var(--rk-sub, #547161);
    font-size: .875rem;
}

body.rk-wp .rk-product-sku bdi {
    min-width: 0;
    color: var(--rk-ink, #173e32);
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    body.rk-wp .rk-footer-support { grid-template-columns: minmax(0, 1fr); }
    body.rk-wp .rk-footer-navigation__desktop { display: none; }
    body.rk-wp .rk-footer-navigation__mobile { display: block; }

    body.rk-wp .rk-footer-navigation__group + .rk-footer-navigation__group {
        border-block-start: 1px solid var(--rk-footer-divider);
    }

    body.rk-wp .rk-footer-navigation__group summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 51px;
        list-style: none;
        cursor: pointer;
    }

    body.rk-wp .site-footer .rk-footer-navigation__group summary:is(:hover, :focus) {
        background: transparent;
        color: var(--rk-footer-foreground);
    }

    body.rk-wp .site-footer .rk-footer-navigation__group summary:focus-visible {
        outline: 2px solid var(--rk-focus, #f2d76b);
        outline-offset: -2px;
    }

    body.rk-wp .rk-footer-navigation__group summary::-webkit-details-marker { display: none; }

    body.rk-wp .rk-footer-navigation__group summary svg {
        width: 17px;
        height: 17px;
        transition: transform .2s ease;
    }

    body.rk-wp .rk-footer-navigation__group[open] summary svg { transform: rotate(180deg); }

    body.rk-wp .rk-footer-navigation__group .rk-footer-navigation__links {
        margin: 0;
        padding-block-end: 10px;
    }

    body.rk-wp .rk-footer-navigation__links a { min-height: 40px; }

    body.rk-wp .rk-footer-identity {
        grid-template-columns: minmax(0, 1fr) minmax(72px, 104px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rk-wp .rk-footer-navigation__group summary svg { transition: none; }
}


/* rk-footer-desktop-0857 */
@media (min-width: 761px) {
    body.rk-wp #footer.site-footer {
        padding-block-start: clamp(30px, 3.4vw, 52px);
    }

    body.rk-wp .prefooter + #footer.site-footer {
        padding-block-start: calc(83px + clamp(25px, 2.7vw, 42px));
    }

    body.rk-wp #footer > .rk-footer-shell {
        display: grid;
        grid-template-columns: minmax(182px, 1.15fr) minmax(0, 1.8fr) minmax(100px, .5fr);
        grid-template-areas:
            "support support support"
            "brand links seal"
            "copyright copyright copyright";
        gap: clamp(20px, 2.6vw, 35px) clamp(21px, 3vw, 44px);
        align-items: start;
    }

    body.rk-wp #footer .rk-footer-support {
        grid-area: support;
        grid-template-columns: minmax(0, 1fr) minmax(270px, auto);
        padding: 14px clamp(15px, 2.2vw, 28px);
        margin: 0;
        border: 1px solid var(--rk-footer-divider);
        border-radius: 0 18px 0 18px;
        background: rgba(88, 199, 190, .065);
    }

    body.rk-wp #footer .rk-footer-hours {
        align-items: center;
    }

    body.rk-wp #footer .rk-footer-support .rk-footer-phone-pair {
        width: auto;
        grid-template-columns: repeat(2, minmax(130px, 155px));
        gap: 10px;
    }

    body.rk-wp #footer .rk-footer-support .rk-footer-phone-pair a {
        padding-inline: 12px;
    }

    body.rk-wp #footer .rk-footer-navigation {
        grid-area: links;
        min-width: 0;
    }

    body.rk-wp #footer .rk-footer-navigation__desktop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 3px 0 0;
        gap: clamp(12px, 2vw, 30px);
    }

    body.rk-wp #footer .rk-footer-navigation__group > strong {
        display: block;
        line-height: 1.7;
    }

    body.rk-wp #footer .rk-footer-navigation__links a {
        text-decoration: none;
        min-height: 29px;
    }

    body.rk-wp #footer .rk-footer-navigation__links a:is(:hover, :focus-visible) {
        text-decoration: underline;
    }

    body.rk-wp #footer .rk-footer-identity { display: contents; }

    body.rk-wp #footer .rk-footer-brand {
        grid-area: brand;
        min-width: 0;
        padding-inline-end: clamp(12px, 2vw, 28px);
        border-inline-end: 1px solid var(--rk-footer-divider);
    }

    body.rk-wp #footer .rk-footer-brand .rk-footer-logo-link img {
        max-width: 100%;
    }

    body.rk-wp #footer .rk-footer-brand p {
        text-align: start;
        line-height: 2;
        margin-block: 9px 0;
        font-size: 12px;
    }

    body.rk-wp #footer .rk-footer-trust {
        grid-area: seal;
        justify-self: end;
        min-width: 0;
    }

    body.rk-wp #footer .rk-footer-trust .rk-footer-title {
        display: block;
        margin-bottom: 6px;
    }

    body.rk-wp #footer .rk-footer-enamad-slot {
        width: clamp(90px, 9vw, 122px);
        min-height: 0;
        padding: 5px;
    }

    body.rk-wp #footer .rk-footer-enamad-link {
        min-height: 64px;
    }

    body.rk-wp #footer .rk-footer-enamad-link img {
        max-height: 77px;
    }

    body.rk-wp #footer .footer-bottom {
        grid-area: copyright;
        margin-block-start: 0;
    }
}


/* rk-site-110 */
/* Rayehe Kimia 1.1.0 — small site-wide additions. */

/* Quick search: link to the full product results page (UX-01). */
.rk-search-all {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; margin-top: 8px; padding: 8px 12px;
  border: 1px dashed #b9d2c3; border-radius: 12px 0;
  color: var(--rk-primary, #0f4f4a); font-size: 12.5px; font-weight: 850; text-decoration: none;
}
.rk-search-all:focus-visible { outline: 2px solid var(--rk-primary, #0f4f4a); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rk-search-all:hover { border-style: solid; background: rgba(81, 147, 115, .08); } }
html[data-rk-theme="dark"] .rk-search-all { border-color: var(--rk-border, #385548); color: #cfe7da; }


/* rk-site-120 */
/* Rayehe Kimia 1.2.0 — site-wide: mobile header, bottom-bar cart badge, drawer theme switch. */

/* ------------------------------------------------ mobile header (≤900px) */
@media (max-width: 900px) {
  body.rk-wp .site-header .header-main { min-height: 64px; gap: 12px; }
  body.rk-wp .site-header .brand { display: inline-flex; align-items: center; flex: 0 1 auto; flex-basis: auto; width: auto; max-width: none; min-height: 48px; }
  body.rk-wp .site-header .brand img,
  body.rk-wp .site-header .brand .rk-header-brand-image { width: auto; height: 40px; max-width: 62vw; max-height: none; }
  /* Search, cart and the theme switch live in the bottom bar and the menu. */
  body.rk-wp .site-header .rk-header-search-icon,
  body.rk-wp .site-header .rk-mode-toggle,
  body.rk-wp .site-header .cart-hover-wrap { display: none !important; }
  body.rk-wp .site-header .header-actions .mobile-top-action {
    flex: 0 0 48px; width: 48px; min-width: 48px; height: 48px; min-height: 48px; max-height: none; padding: 0; border-radius: 16px 0;
  }
  body.rk-wp .site-header .header-actions .mobile-top-action svg { width: 24px; height: 24px; }
  body.rk-wp .site-header .header-actions .mobile-top-action:active { transform: scale(.96); }
}
@media (max-width: 360px) {
  body.rk-wp .site-header .brand img,
  body.rk-wp .site-header .brand .rk-header-brand-image { height: 34px; }
}

/* Bottom bar cart: the same yellow count badge as the header cart (always shown). */
.rk-wp .rk-mobile-quick-nav__badge.rk-mobile-cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px;
  background: #f2d76b; color: #233d2a; font-size: 10.5px; font-weight: 900; line-height: 1;
  box-shadow: 0 0 0 2px var(--rk-surface, #f7faf6);
}
.rk-wp .rk-mobile-quick-nav__badge.rk-mobile-cart-count[hidden] { display: inline-flex; }

/* Menu drawer: light/dark switch row */
.rk-wp .rk-offcanvas .rk-mobile-theme-link {
  width: 100%; border: 0; font: inherit; text-align: start; cursor: pointer;
}
.rk-wp .rk-mobile-theme-link > span:first-of-type { flex: 1 1 auto; }
.rk-mobile-theme-switch {
  position: relative; flex: 0 0 auto; width: 42px; height: 24px; border-radius: 999px;
  background: rgba(15, 79, 74, .18); transition: background-color 200ms ease-out;
}
.rk-mobile-theme-switch > span {
  position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform 200ms cubic-bezier(.23, 1, .32, 1);
}
.rk-mobile-theme-link[aria-pressed="true"] .rk-mobile-theme-switch { background: #0f4f4a; }
.rk-mobile-theme-link[aria-pressed="true"] .rk-mobile-theme-switch > span { transform: translateX(-18px); }
[dir="ltr"] .rk-mobile-theme-link[aria-pressed="true"] .rk-mobile-theme-switch > span { transform: translateX(18px); }
html[data-rk-theme="dark"] .rk-mobile-theme-link[aria-pressed="true"] .rk-mobile-theme-switch { background: #8fd0b4; }
@media (min-width: 901px) { .rk-wp .rk-mobile-theme-link { display: none; } }
@media (prefers-reduced-motion: reduce) { .rk-mobile-theme-switch, .rk-mobile-theme-switch > span { transition: none; } }

/* Home slider: horizontal drags belong to the slider, vertical ones to the page.
   Without this the browser may take over a sideways drag (page shifts or scrolls mid-gesture). */
.rk-wp #heroSlider.rk-hero-swipe { touch-action: pan-y pinch-zoom; overscroll-behavior-x: contain; -webkit-user-select: none; user-select: none; }
.rk-wp .home-hero { overflow-x: clip; }
.rk-wp #heroSlider.rk-hero-swipe img { -webkit-user-drag: none; }

/* Section entrance (paired with site-v1.2.0.js): only blocks below the fold, once. */
@keyframes rk-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rk-reveal-wait { opacity: 0; transform: translateY(12px); }
.rk-reveal-wait.is-revealed {
  opacity: 1; transform: none;
  transition: opacity 420ms cubic-bezier(.23, 1, .32, 1), transform 480ms cubic-bezier(.23, 1, .32, 1);
}
/* Staggered children (cards with --rk-i): `backwards` fill so hover transforms stay untouched afterwards. */
.rk-reveal-wait:not(.is-revealed) [style*="--rk-i"] { opacity: 0; }
.rk-reveal-wait.is-revealed [style*="--rk-i"] { animation: rk-rise 420ms cubic-bezier(.23, 1, .32, 1) calc(60ms + var(--rk-i, 0) * 50ms) backwards; }
@media (prefers-reduced-motion: reduce) {
  .rk-reveal-wait, .rk-reveal-wait [style*="--rk-i"] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------
 * 1.2.1 — menu drawer foot: social icons, account, light/dark choice, pinned to the bottom.
 * Touch targets are 44px or more; spacing 12px between the rows.
 * ------------------------------------------------------------------ */
body.rk-wp #rk-mobile-menu { display: flex; flex-direction: column; }
body.rk-wp #rk-mobile-menu > .drawer-body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body.rk-wp #rk-mobile-menu .rk-drawer-foot {
  display: grid; gap: 12px; margin-top: auto; padding-top: 20px; padding-bottom: max(4px, env(safe-area-inset-bottom));
}
body.rk-wp #rk-mobile-menu .rk-drawer-foot .mobile-link.rk-mobile-account-link { margin: 0; }

/* social icons: no boxes — just the marks, spaced for thumbs */
body.rk-wp #rk-mobile-menu .rk-drawer-social {
  display: flex; justify-content: center; gap: 8px; padding: 4px 0 10px; border-bottom: 1px solid var(--rk-border, #dce8de);
}
body.rk-wp #rk-mobile-menu .rk-drawer-social__link {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #0f4f4a; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease-out, background-color 160ms ease-out, transform 120ms cubic-bezier(.23, 1, .32, 1);
}
body.rk-wp #rk-mobile-menu .rk-drawer-social__link .rk-social-icon { width: 24px; height: 24px; }
body.rk-wp #rk-mobile-menu .rk-drawer-social__link:active { transform: scale(.92); background: rgba(15, 79, 74, .08); }
body.rk-wp #rk-mobile-menu .rk-drawer-social__link:focus-visible { outline: 2px solid #0f4f4a; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  body.rk-wp #rk-mobile-menu .rk-drawer-social__link:hover { background: rgba(15, 79, 74, .07); }
}

/* light / dark: a two-option segmented control instead of an unlabeled switch */
body.rk-wp #rk-mobile-menu .rk-mobile-theme {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--rk-border, #dce8de); border-radius: 16px; background: var(--rk-surface, #fff);
}
body.rk-wp #rk-mobile-menu .rk-mobile-theme__label { display: inline-flex; align-items: center; gap: 9px; color: var(--rk-ink, #133c31); font-size: 14px; font-weight: 750; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__label svg { width: 20px; height: 20px; color: #0f4f4a; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__options { display: inline-flex; gap: 4px; padding: 4px; border-radius: 13px; background: #eef4ef; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: #4f6a5d; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out;
}
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option svg { width: 17px; height: 17px; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option[aria-pressed="true"] { background: #fff; color: #0f4f4a; box-shadow: 0 1px 3px rgba(12, 64, 54, .16); }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option:focus-visible { outline: 2px solid #0f4f4a; outline-offset: 1px; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option:active { transform: scale(.97); }

html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-drawer-social__link { color: #cfe7da; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme { background: var(--rk-card, #1d3129); }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme__label { color: #e6f2ec; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme__label svg { color: #8fd0b4; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme__options { background: #12241d; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme__option { color: #a9c7b8; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme__option[aria-pressed="true"] { background: #8fd0b4; color: #10241d; box-shadow: none; }
@media (min-width: 901px) { body.rk-wp #rk-mobile-menu .rk-mobile-theme { display: none; } }
@media (prefers-reduced-motion: reduce) {
  body.rk-wp #rk-mobile-menu :is(.rk-drawer-social__link, .rk-mobile-theme__option) { transition: none; }
}
body.rk-wp #rk-mobile-menu .rk-drawer-foot { grid-template-columns: minmax(0, 1fr); }
body.rk-wp #rk-mobile-menu .rk-drawer-foot > * { box-sizing: border-box; width: auto; min-width: 0; max-width: 100%; margin-inline: 0; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme { padding-inline: 12px 5px; gap: 8px; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__label { gap: 7px; font-size: 13.5px; white-space: nowrap; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option { padding: 0 10px; }
/* Full-width two-option control; the group label stays for screen readers. */
body.rk-wp #rk-mobile-menu .rk-mobile-theme { display: block; min-height: 0; padding: 0; border: 0; background: transparent; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__options { display: flex; width: 100%; box-sizing: border-box; padding: 5px; border-radius: 16px; }
body.rk-wp #rk-mobile-menu .rk-mobile-theme__option { flex: 1 1 0; justify-content: center; min-height: 46px; border-radius: 12px; font-size: 14px; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-mobile-theme { background: transparent; }

/* 1.2.3: the contact-box veil styles moved to inc/setup.php (printed with its script on every page). */

/* 1.2.1: mobile quick search — product results show only image, name and unit price
   (the «محصول» label and the generic «محصول رایحه کیمیا» line are not shown). */
@media (max-width: 640px) {
  .rk-search-result--product :is(.rk-search-result-type, .rk-search-result-meta) { display: none !important; }
  .rk-search-result--product .rk-search-result-copy { justify-content: center; gap: 6px; }
}

/* 1.2.3: height of the home slider is measured once with motion off (see site-v1.2.0.js). */
.rk-wp #heroSlider.rk-hero-measuring .slide { animation: none !important; transition: none !important; }

/* 1.2.3: logo at the top of the menu drawer. */
body.rk-wp #rk-mobile-menu .rk-drawer-title--logo { display: flex; align-items: center; min-width: 0; }
body.rk-wp #rk-mobile-menu .rk-drawer-logo { display: block; width: auto; max-width: 150px; height: 38px; object-fit: contain; }
html[data-rk-theme="dark"] body.rk-wp #rk-mobile-menu .rk-drawer-logo { filter: brightness(0) invert(1); }

/* ------------------------------------------------------------------
 * 1.2.3 — FAQ accordion (home before the footer, About page).
 * One framed box per question, stacked; the answer opens below its question.
 * ------------------------------------------------------------------ */
.rk-wp .rk-faq { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.rk-wp .rk-faq__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(20px, 4vw, 64px); }
.rk-wp .rk-faq__head { position: sticky; top: 120px; }
.rk-wp .rk-faq__title { display: block; margin: 10px 0 0; color: var(--rk-ink, #133c31); font-size: clamp(24px, 2.6vw, 34px); font-weight: 850; line-height: 1.55; }
.rk-wp .rk-faq__list { display: grid; gap: 12px; }
.rk-wp .rk-faq__item {
  overflow: hidden; border: 1px solid #dce8de; border-radius: 0 20px 0 20px; background: #fff;
  transition: border-color 180ms ease-out, box-shadow 220ms ease-out;
}
.rk-wp .rk-faq__item[open] { border-color: rgba(15, 79, 74, .35); box-shadow: 0 16px 34px -24px rgba(12, 64, 54, .35); }
.rk-wp .rk-faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 14px 20px;
  color: var(--rk-ink, #133c31); font-size: 15.5px; font-weight: 800; line-height: 1.8; list-style: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rk-wp .rk-faq__question::-webkit-details-marker { display: none; }
.rk-wp .rk-faq__question:focus-visible { outline: 2px solid #0f4f4a; outline-offset: -2px; }
.rk-wp .rk-faq__icon {
  display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px 0;
  background: #eef5f0; color: #0f4f4a; transition: transform 220ms cubic-bezier(.23, 1, .32, 1), background-color 180ms ease-out, color 180ms ease-out;
}
.rk-wp .rk-faq__icon svg { width: 18px; height: 18px; }
.rk-wp .rk-faq__item[open] .rk-faq__icon { transform: rotate(45deg); background: #0f4f4a; color: #fff; }
.rk-wp .rk-faq__answer { padding: 0 20px 18px; border-top: 1px solid #e8efe9; }
.rk-wp .rk-faq__answer p { margin: 14px 0 0; color: #4f6a5d; font-size: 14.5px; line-height: 2.1; text-align: start; text-justify: none; }
@media (prefers-reduced-motion: no-preference) {
  .rk-wp .rk-faq__item[open] .rk-faq__answer { animation: rk-faq-open 260ms cubic-bezier(.23, 1, .32, 1); }
}
@keyframes rk-faq-open { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .rk-wp .rk-faq__item:not([open]):hover { border-color: rgba(15, 79, 74, .3); } }
@media (max-width: 900px) {
  .rk-wp .rk-faq__inner { grid-template-columns: 1fr; }
  .rk-wp .rk-faq__head { position: static; }
}
@media (max-width: 640px) {
  .rk-wp .rk-faq { padding-block: 44px 36px; }
  .rk-wp .rk-faq__question { min-height: 58px; padding: 12px 14px 12px 12px; font-size: 14.5px; }
  .rk-wp .rk-faq__answer { padding: 0 14px 16px; }
  .rk-wp .rk-faq__item { border-radius: 0 16px 0 16px; }
}
html[data-rk-theme="dark"] .rk-wp .rk-faq__item { background: var(--rk-card, #1d3129); border-color: #2f4a3f; }
html[data-rk-theme="dark"] .rk-wp :is(.rk-faq__title, .rk-faq__question) { color: #e6f2ec; }
html[data-rk-theme="dark"] .rk-wp .rk-faq__answer { border-top-color: #2f4a3f; }
html[data-rk-theme="dark"] .rk-wp .rk-faq__answer p { color: #b9d2c5; }
html[data-rk-theme="dark"] .rk-wp .rk-faq__icon { background: #15281f; color: #8fd0b4; }
html[data-rk-theme="dark"] .rk-wp .rk-faq__item[open] .rk-faq__icon { background: #8fd0b4; color: #10241d; }
@media (prefers-reduced-motion: reduce) { .rk-wp :is(.rk-faq__item, .rk-faq__icon) { transition: none; } }

/* 1.2.4: while a finger drags the home slider, the moving slide reached past the screen edge
   and widened the page (412 → 512px on a phone), so the whole page shifted or rescaled for a
   moment. Clip horizontally at the viewport edges (clip keeps sticky elements working and
   still lets bleeding hero images reach the edges). */
html:has(body.rk-wp.home) { overflow-x: clip; }
body.rk-wp.home #main.rk-home-main,
body.rk-wp.home .rk-home-showcase .home-hero { overflow-x: clip; }

/* ------------------------------------------------------------------ 1.2.5 */
/* No page may become wider than the screen (a wide table or long word in content used to
   widen the layout viewport on phones, which shifted fixed boxes such as the search panel).
   Extends the 1.2.4 home-only rule to every page; clip keeps sticky elements working. */
html:has(body.rk-wp) { overflow-x: clip; }
body.rk-wp #main { overflow-x: clip; }

/* Menu and cart drawers on phones: 80% of the screen width (was 70%). */
@media (max-width: 900px) {
  body.rk-wp #rk-mobile-menu, body.rk-wp #rk-mobile-cart { width: 80vw; max-width: 80vw; }
}

/* Quick search on phones: equal side gaps, smaller placeholder, no helper/status line under
   the field (the status stays available to screen readers). */
@media (max-width: 640px) {
  .rk-search-overlay { padding-inline: 12px; justify-items: stretch; }
  .rk-search-overlay .rk-search-panel { width: auto; margin-inline: 0; }
  .rk-search-overlay .rk-search-field input::placeholder { font-size: 13px; }
  .rk-search-overlay .rk-search-message {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

/* Home carousels on phones: arrows on the left, opposite «مشاهده همه …» (one row under the title). */
@media (max-width: 640px) {
  body.rk-wp.home #featured .section-heading > :first-child { flex: 1 1 100%; }
  body.rk-wp.home #featured .featured-heading-actions { flex: 1 1 100%; width: 100%; flex-direction: row-reverse; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
}

/* ------------------------------------------------------------------
 * 1.2.6 — mobile cart drawer.
 * Order: items → discount code → total → checkout. The code box is a compact single row
 * (field + button) without its heading; the heading stays for screen readers.
 * Item card: image centred vertically; the quantity stepper sits on the left.
 * ------------------------------------------------------------------ */
body.rk-wp #rk-mobile-cart-content > .woocommerce-mini-cart { order: 1; }
body.rk-wp #rk-mobile-cart-content > .rk-flyout-coupon { order: 2; }
body.rk-wp #rk-mobile-cart-content > .woocommerce-mini-cart__total { order: 3; }
body.rk-wp #rk-mobile-cart-content > .woocommerce-mini-cart__buttons { order: 4; }
body.rk-wp #rk-mobile-cart-content > :not(.woocommerce-mini-cart, .rk-flyout-coupon, .woocommerce-mini-cart__total, .woocommerce-mini-cart__buttons) { order: 5; }

body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon { margin: 0; padding: 10px; border-radius: 14px 0; }
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon > .rk-h3 {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form { display: flex; flex-direction: row; align-items: stretch; gap: 8px; margin: 0; }
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form input[type="text"] {
  flex: 1 1 auto; min-width: 0; height: 42px; min-height: 42px; margin: 0; padding: 0 12px; border-radius: 11px; font-size: 16px;
}
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form input[type="text"]::placeholder { font-size: 13px; }
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__form button {
  flex: 0 0 auto; width: auto; height: 42px; min-height: 42px; margin: 0; padding: 0 14px; border-radius: 11px; font-size: 13px; white-space: nowrap;
}
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon__feedback:empty { display: none; }

body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item > a:not(.remove) img { top: 50% !important; bottom: auto !important; transform: translateY(-50%); }
body.rk-wp #rk-mobile-cart-content .woocommerce-mini-cart-item .rk-flyout-item-qtyline { align-self: flex-end; justify-content: flex-end; }
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon .rk-flyout-coupon__form button[type="submit"] { flex: 0 0 auto; width: auto; max-width: none; }
body.rk-wp #rk-mobile-cart-content .rk-flyout-coupon .rk-flyout-coupon__form input[type="text"] { flex: 1 1 auto; width: auto; }

/* 1.2.7: shorter home slider on phones (≈ 45px): a lower image band and slightly tighter copy. */
@media (max-width: 760px) {
  html body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .hero-visual.hero-visual { height: clamp(148px, 42vw, 240px); }
  html body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy .eyebrow { margin-bottom: 5px; }
  html body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy .rk-hero-title { margin-bottom: 6px; }
  html body.rk-wp.home .rk-home-showcase .home-hero #heroSlider > .slide .slide-copy p:not(.rk-hero-title) { margin-bottom: 10px; }
}

/* 1.2.8: desktop cart flyout — the discount box (already above «جمع کل») without its heading,
   as on phones; the heading stays for screen readers. */
body.rk-wp #miniCart .rk-flyout-coupon > .rk-h3 {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}


/* rk-cards-120 */
/*
 * Rayehe Kimia 1.2.0 — product cards.
 * Mobile only (≤640px): desktop and tablet cards are unchanged.
 * - «خرید» button beside quick view (opens the product page at its package box).
 * - Horizontal card (.rk-card-row context): image on the right (one third), details and
 *   actions on the left. Used by archive grids on mobile and by the home carousels.
 * Tokens of the shared card layers: #dce8de lines, #f8fbf7 surface, asymmetric corners.
 */

/* Desktop and tablet keep the original cards: no buy button, no horizontal layout (1.2.0 is mobile-only). */
@media (min-width: 641px) { body.rk-wp .product-card .rk-card-bottom-actions .card-action-icon.rk-card-buy { display: none !important; } }

@media (max-width: 640px) {
/* buy button */
body.rk-wp .product-card .rk-card-bottom-actions .rk-card-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
  background: var(--rk-primary, #0f4f4a); color: #fff; border-color: transparent;
  transition: transform 120ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease-out;
}
.rk-wp .product-card .rk-card-buy svg { width: 18px; height: 18px; }
.rk-wp .product-card .rk-card-buy__label { display: none; font-size: 12px; font-weight: 850; }
.rk-wp .product-card .rk-card-buy:active { transform: scale(.96); }
.rk-wp .product-card .rk-card-buy:focus-visible { outline: 2px solid var(--rk-primary, #0f4f4a); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rk-wp .product-card .rk-card-buy:hover { background: #16614b; color: #fff; } }
.rk-wp .product-card .rk-card-bottom-actions { display: flex; align-items: center; gap: 6px; }

/* horizontal card */
body.rk-wp .rk-card-row .product-card {
  flex-direction: row; align-items: stretch; gap: 12px; min-height: 0; height: auto; padding: 10px;
}
body.rk-wp .rk-card-row .product-card .rk-card-media {
  flex: 0 0 33%; width: 33%; max-width: 150px; align-self: stretch; min-height: 128px;
}
body.rk-wp .rk-card-row .product-card .rk-card-media .product-image,
body.rk-wp .rk-card-row .product-card .rk-card-media .rk-product-image-frame { height: 100%; min-height: 128px; aspect-ratio: auto; }
body.rk-wp .rk-card-row .product-card .rk-card-media img { width: 100%; height: 100%; object-fit: cover; }
body.rk-wp .rk-card-row .product-card .rk-card-category { display: none; }
body.rk-wp .rk-card-row .product-card .card-text { flex: 1 1 auto; min-width: 0; padding: 2px 0 0; gap: 4px; }
body.rk-wp .rk-card-row .product-card .rk-card-title-link h3 { font-size: 13.5px; line-height: 1.7; -webkit-line-clamp: 2; }
body.rk-wp .rk-card-row .product-card .rk-card-english-subtitle { font-size: 10.5px; }
body.rk-wp .rk-card-row .product-card .card-bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px;
}
body.rk-wp .rk-card-row .product-card .price-group { min-width: 0; }
body.rk-wp .rk-card-row .product-card .rk-card-bottom-actions { flex: 0 0 auto; margin-inline-start: auto; }
body.rk-wp .rk-card-row .product-card .rk-card-bottom-actions .card-action-icon.rk-card-buy { display: inline-flex; flex: 0 0 auto; width: auto; min-width: 0; height: 40px; min-height: 40px; padding: 0 12px; border-radius: 12px 0; }
body.rk-wp .rk-card-row .product-card .rk-card-buy__label { display: inline; }
body.rk-wp .rk-card-row .product-card .rk-card-bottom-actions .card-action-icon.rk-quick-view-trigger { flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; }
body.rk-wp .rk-card-row .product-card .product-status { inset-inline-start: auto; }
}

/* archive grids: horizontal, one per row on phones */
@media (max-width: 640px) {
  body.rk-wp .rk-catalog .rk-catalog-grid { grid-template-columns: 1fr; gap: 10px; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card {
    flex-direction: row; align-items: stretch; gap: 12px; min-height: 0; height: auto; padding: 10px;
  }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media { flex: 0 0 33%; width: 33%; align-self: stretch; min-height: 132px; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media .product-image,
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media .rk-product-image-frame { height: 100%; min-height: 132px; aspect-ratio: auto; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-media img { width: 100%; height: 100%; object-fit: cover; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-category { display: none; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-text { flex: 1 1 auto; min-width: 0; padding: 2px 0 0; gap: 4px; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-title-link h3 { font-size: 13.5px; line-height: 1.7; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .card-bottom {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px;
  }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .price-group { min-width: 0; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-bottom-actions { flex: 0 0 auto; margin-inline-start: auto; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-bottom-actions .card-action-icon.rk-card-buy { display: inline-flex; flex: 0 0 auto; width: auto; min-width: 0; height: 40px; min-height: 40px; padding: 0 12px; border-radius: 12px 0; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-buy__label { display: inline; }
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-bottom-actions .card-action-icon.rk-quick-view-trigger { flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; }
}


/* The shared card rules lay .card-bottom out as a grid with ID-level specificity
   (:is(.product-card, #featured .product-card)); in the horizontal card the actions take
   their own row under the price, aligned to the inline end. */
@media (max-width: 640px) {
  body.rk-wp .rk-catalog .rk-catalog-grid > :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-bottom { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  body.rk-wp .rk-catalog .rk-catalog-grid > :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group { grid-area: 1 / 1; }
  body.rk-wp .rk-catalog .rk-catalog-grid > :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions { grid-area: 2 / 1; justify-self: end; }
}
@media (max-width: 640px) {
body.rk-wp .rk-card-row :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-bottom { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
body.rk-wp .rk-card-row :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group { grid-area: 1 / 1; }
body.rk-wp .rk-card-row :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions { grid-area: 2 / 1; justify-self: end; }
}

/* quick view purchase */
.rk-quick-view .rk-qv-purchase { margin-top: 14px; }
.rk-quick-view .rk-qv-purchase--simple { display: flex; align-items: flex-end; gap: 10px; }
.rk-quick-view .rk-qv-qty { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--rk-ink, #133c31); }
.rk-quick-view .rk-qv-qty input {
  width: 92px; min-height: 44px; padding: 6px 10px; border: 1px solid #dce8de; border-radius: 12px 0;
  background: #fff; font: inherit; font-size: 16px; text-align: center;
}
.rk-quick-view .rk-qv-add { flex: 1 1 auto; justify-content: center; min-height: 44px; gap: 8px; }
.rk-quick-view .rk-qv-add svg { width: 18px; height: 18px; }
.rk-quick-view .rk-qv-add.added::after { content: " ✓"; }
.rk-quick-view .rk-qv-purchase-note { margin: 12px 0 0; font-size: 12.5px; color: #567466; }
.rk-quick-view .rk-qv-more-link {
  margin-top: 12px; background: transparent; color: var(--rk-primary, #0f4f4a);
  border: 1px solid #dce8de; box-shadow: none;
}
@media (hover: hover) and (pointer: fine) { .rk-quick-view .rk-qv-more-link:hover { border-color: var(--rk-primary, #0f4f4a); } }
html[data-rk-theme="dark"] .rk-quick-view .rk-qv-qty input { background: var(--rk-card, #243b32); border-color: var(--rk-border, #385548); color: #e6f2ec; }
html[data-rk-theme="dark"] .rk-quick-view .rk-qv-more-link { border-color: var(--rk-border, #385548); color: #cfe7da; }
@media (prefers-reduced-motion: reduce) { .rk-wp .product-card .rk-card-buy { transition: none; } }

/* Horizontal card titles: two full lines. */
@media (max-width: 640px) {
  body.rk-wp .rk-catalog .rk-catalog-grid > .product-card .rk-card-title-link h3 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: none; min-height: 0; line-height: 1.85; padding-bottom: 1px;
  }
}

/* ------------------------------------------------------------------
 * 1.2.1 — simpler mobile card (≤640px): image, name, one unit price, «خرید» and quick view.
 * English name, stock line, category chip and the wishlist/compare overlay are not shown on
 * phones; the same card on desktop/tablet is untouched (the compact price is hidden there).
 * ------------------------------------------------------------------ */
@media (min-width: 641px) { .rk-wp .product-card .rk-card-price-m { display: none !important; } }
@media (max-width: 640px) {
  body.rk-wp .product-card :is(.rk-card-english-subtitle, .rk-card-stock, .rk-card-category, .rk-card-actions) { display: none !important; }
  body.rk-wp .product-card .price-group:has(.rk-card-price-m) > .rk-card-unit-price,
  body.rk-wp .product-card .card-bottom:has(.rk-card-price-m) > .rk-card-unit-price--sale { display: none !important; }

  .rk-wp .product-card .rk-card-price-m {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0;
    color: var(--rk-ink, #133c31); line-height: 1.6;
  }
  .rk-wp .product-card .rk-card-price-m__value { font-size: 15px; font-weight: 750; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .rk-wp .product-card .rk-card-price-m__value :is(.woocommerce-Price-currencySymbol, .rk-card-price-m__from) { font-size: 11.5px; font-weight: 600; color: #5d7a6c; }
  .rk-wp .product-card .rk-card-price-m__value del { display: none; }
  .rk-wp .product-card .rk-card-price-m__value ins { text-decoration: none; }
  .rk-wp .product-card .rk-card-price-m__unit { font-size: 11.5px; font-weight: 600; color: #5d7a6c; white-space: nowrap; }

  /* One orderly layout for the horizontal cards (archive grids and home carousels). */
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] {
    gap: 12px; padding: 10px; border-radius: 16px 0;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media {
    flex: 0 0 34%; width: 34%; max-width: 132px; min-height: 0;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media :is(.product-image, .rk-product-image-frame) {
    height: 100%; min-height: 0; border-radius: 12px 0;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-text {
    display: flex; flex-direction: column; gap: 6px; padding: 2px 0 0;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-title-link h3 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin: 0; font-size: 14px; font-weight: 800; line-height: 1.85; min-height: 3.7em; max-height: none; padding-bottom: 1px;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .card-bottom {
    display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 10px; margin-top: auto; padding-top: 8px;
    border-top: 1px solid #e4ede6;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group { grid-area: 1 / 1; min-width: 0; }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions {
    grid-area: 2 / 1; display: flex; justify-self: stretch; gap: 8px; margin: 0;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon.rk-card-buy {
    flex: 1 1 auto; justify-content: center; height: 42px; min-height: 42px;
  }
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon.rk-quick-view-trigger {
    flex: 0 0 42px; width: 42px; height: 42px; min-height: 42px;
  }
  /* Sold-out cards: the alert button takes the whole actions width. */
  body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions:not(:has(.rk-card-buy)) { justify-content: flex-end; }
  html[data-rk-theme="dark"] .rk-wp .product-card .rk-card-price-m { color: #e6f2ec; }
  html[data-rk-theme="dark"] .rk-wp .product-card :is(.rk-card-price-m__unit, .rk-card-price-m__value .woocommerce-Price-currencySymbol, .rk-card-price-m__from) { color: #a9c7b8; }
  html[data-rk-theme="dark"] body.rk-wp :is(.rk-card-row, .rk-catalog .rk-catalog-grid) .product-card .card-bottom { border-top-color: #2f4a3f; }
}

/* ------------------------------------------------------------------
 * 1.2.1 (b) — mobile list card in the style of the quick-search result:
 *   [ image ] title (2 lines)
 *   [ image ] هر ۱ گرم — ۳۰٬۷۸۰ تومان
 *   [ 👁  + ]
 * Eye (quick view) and «+» (choose size and buy) sit in the bottom-right corner under the
 * image, without boxes; each keeps a 44px touch target. Applies to archive grids and the
 * home carousels on phones. The repeated .rk-wp raises specificity above the older
 * ID-level carousel rules without !important.
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] {
    display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: start;
    grid-template-areas: "media title" "media price" "actions .";
    column-gap: 14px; row-gap: 6px; align-items: start;
    min-height: 0; height: auto; padding: 12px; border: 1px solid #e4ede6; border-radius: 18px 0;
    background: var(--rk-card-bg, #fff); box-shadow: none;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] :is(.card-text, .card-bottom) { display: contents; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media {
    grid-area: media; width: 80px; max-width: none; height: 80px; min-height: 0; padding: 0; flex: none; align-self: start;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media :is(.product-image, .rk-product-image-frame) {
    width: 80px; height: 80px; min-height: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media img { width: 100%; height: 100%; object-fit: cover; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-title-link {
    grid-area: title; align-self: start; min-width: 0; padding-top: 2px; color: inherit; text-decoration: none;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-title-link h3 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin: 0; min-height: 0; max-height: none; color: var(--rk-ink, #133c31); font-size: 15px; font-weight: 800; line-height: 1.8; padding-bottom: 1px;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group {
    grid-area: price; align-self: start; min-width: 0; margin: 0; padding: 0;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m { gap: 0 6px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__unit { color: #0f4f4a; font-size: 13px; font-weight: 750; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__value { color: #0f4f4a; font-size: 14px; font-weight: 800; }

  /* actions: bare icons in the bottom-right corner */
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions {
    grid-area: actions; display: flex; justify-content: space-between; align-items: center; gap: 4px;
    width: 88px; margin: -2px -4px -10px 0; padding: 0;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #0f4f4a; -webkit-tap-highlight-color: transparent;
    transition: background-color 160ms ease-out, transform 120ms cubic-bezier(.23, 1, .32, 1);
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon svg { width: 22px; height: 22px; stroke-width: 1.9; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon:active { transform: scale(.9); background: rgba(15, 79, 74, .08); }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions .card-action-icon:focus-visible { outline: 2px solid #0f4f4a; outline-offset: 1px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-buy__label { display: none; }
  /* sold out: no «+»; the eye stays at the corner and the alert button sits under the title */
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions:not(:has(.rk-card-buy)) { justify-content: flex-start; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .product-status { top: 8px; inset-inline-end: 8px; inset-inline-start: auto; }

  html[data-rk-theme="dark"] body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] { background: var(--rk-card, #1d3129); border-color: #2f4a3f; }
  html[data-rk-theme="dark"] body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] :is(.rk-card-title-link h3) { color: #e6f2ec; }
  html[data-rk-theme="dark"] body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] :is(.rk-card-price-m__unit, .rk-card-price-m__value, .rk-card-bottom-actions .card-action-icon) { color: #8fd0b4; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) .product-card .rk-card-bottom-actions .card-action-icon { transition: none; }
}

/* ------------------------------------------------------------------
 * 1.2.3 — mobile list card, final arrangement:
 *   [ image ] title (2 lines)
 *   [ image ] ۱ گرم — ۳۰٬۷۸۰ تومان            👁  +
 * The image (84px square) spans both rows and is centred; price and the two bare icons share
 * the bottom row (icons on the left). Overrides the 1.2.1 (b) grid above.
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] {
    grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "media title title" "media price actions";
    column-gap: 12px; row-gap: 4px; align-items: center; align-content: stretch; padding: 12px 12px 10px;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media {
    width: 84px; height: 84px; align-self: center;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media :is(.product-image, .rk-product-image-frame) {
    width: 84px; height: 84px; border-radius: 14px;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-title-link { align-self: start; padding-top: 2px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-title-link h3 { font-size: 14.5px; line-height: 1.85; min-height: 3.7em; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group { align-self: center; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m { flex-wrap: nowrap; gap: 0 4px; white-space: nowrap; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__unit { font-size: 11.5px; font-weight: 650; color: #5d7a6c; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__value { font-size: 13px; font-weight: 800; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__value :is(.woocommerce-Price-currencySymbol, .rk-card-price-m__from) { font-size: 10.5px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions {
    grid-area: actions; width: auto; justify-content: flex-end; gap: 2px; margin: 0 0 0 -8px; align-self: center;
  }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions:not(:has(.rk-card-buy)) { justify-content: flex-end; }
  html[data-rk-theme="dark"] body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__unit { color: #a9c7b8; }
}

/* 1.2.4: on narrow phones a long unit price ran under the «+» icon. The price now wraps
   («۱ گرم —» above the amount) instead of overflowing its column. */
@media (max-width: 640px) {
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .price-group { min-width: 0; overflow: hidden; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m { flex-wrap: wrap; white-space: normal; row-gap: 0; line-height: 1.55; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] :is(.rk-card-price-m__unit, .rk-card-price-m__value) { white-space: nowrap; }
}
@media (max-width: 640px) {
  /* the site-wide price style turns «تومان» vertical; in this one-line price it reads horizontally */
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m .woocommerce-Price-currencySymbol {
    display: inline !important; writing-mode: horizontal-tb; transform: none; font-size: 10.5px !important; line-height: inherit !important; margin-inline-start: 3px;
  }
}
@media (max-width: 380px) {
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] { grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 10px; padding-inline: 10px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media,
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-media :is(.product-image, .rk-product-image-frame) { width: 72px; height: 72px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-bottom-actions { gap: 0; margin-inline-end: -10px; }
  html body.rk-wp.rk-wp.rk-wp.rk-wp :is(.rk-card-row, .rk-catalog-grid) :is(.product-card, #featured .product-card)[data-rabino-product-surface="card"] .rk-card-price-m__value { font-size: 12.5px; }
}

/* 1.2.7: package choice (product page and quick view) on phones — two per row; with an odd
   count the last option takes the whole row (three sizes → two on top, the third below). */
@media (max-width: 900px) {
  .rk-native-variation-purchase__grid > .rk-native-variation-purchase__option:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

