/* Raj Collection — seamless app shell, living loaders, Shop sheet and account UX */

/* ---------- Seamless page navigation — 2026-07-26 ---------- */
.rcs-app-loader{
  position:fixed;
  z-index:20000;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.94) 0,rgba(253,248,240,.98) 42%,#f8efe5 100%);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:opacity .18s ease,visibility .18s ease;
}
.rcs-app-loader.is-visible{opacity:0;visibility:hidden;pointer-events:none;}
html.rcs-app-is-loading .rcs-app-loader.is-visible{
  opacity:1;visibility:visible;pointer-events:auto;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.rcs-app-loader__inner{width:min(100%,300px);text-align:center;}
.rcs-app-loader__mark{
  width:76px;height:76px;display:inline-grid;place-items:center;
  border:1px solid rgba(190,146,69,.5);border-radius:50%;
  color:#f7e5b5;background:linear-gradient(145deg,#8e2445,#5f122a);
  font:600 25px/1 var(--rcs-font-display,Georgia,serif);
  box-shadow:0 0 0 7px rgba(190,146,69,.12),0 18px 42px rgba(91,25,45,.2);
  animation:rcsLoaderBreathe 1.35s ease-in-out infinite;
}
.rcs-app-loader__label{
  display:block;margin:18px 0 12px;color:#5d3440;
  font:600 12px/1.3 var(--rcs-font-body,Inter,sans-serif);
  letter-spacing:.14em;text-transform:uppercase;
}
.rcs-app-loader__line{
  width:126px;height:2px;margin:0 auto;border-radius:2px;overflow:hidden;
  background:rgba(116,28,54,.1);
}
.rcs-app-loader__line::after{
  content:"";display:block;width:48%;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#741c36,#c39a4e);
  animation:rcsLoaderLine 1s ease-in-out infinite;
}
.rcs-app-loader__grid{display:none!important;}
.rcs-app-loader__grid i{
  display:block;height:116px;border-radius:15px;
  background:linear-gradient(105deg,#f2e8dc 20%,#fffaf3 39%,#f2e8dc 58%);
  background-size:220% 100%;animation:rcsSkeleton 1.15s linear infinite;
}
.rcs-main{view-transition-name:rcs-main;}
.rcs-app-main-entering{opacity:0;transform:translateY(7px);transition:none!important;}
.rcs-main:not(.rcs-app-main-entering){transition:opacity .24s ease,transform .28s cubic-bezier(.22,1,.36,1);}
@view-transition{navigation:none;}
::view-transition-old(root),::view-transition-new(root),
::view-transition-old(rcs-main),::view-transition-new(rcs-main){
  animation:none!important;filter:none!important;
}
@keyframes rcsLoaderBreathe{50%{transform:scale(1.055);box-shadow:0 0 0 8px rgba(190,146,69,.1),0 15px 34px rgba(91,25,45,.2)}}
@keyframes rcsLoaderLine{0%{transform:translateX(-110%)}100%{transform:translateX(220%)}}
@keyframes rcsSkeleton{to{background-position-x:-220%}}

/* ---------- Catalog skeleton: replaces the dim-background wait ---------- */
.rcs-product-results{isolation:isolate;}
.rcs-product-results.is-loading{min-height:580px!important;opacity:1!important;pointer-events:none;}
.rcs-product-results.is-loading>.products,
.rcs-product-results.is-loading>.woocommerce-pagination{opacity:.08!important;}
.rcs-product-results.is-loading::after{display:none!important;}
.rcs-product-skeleton{
  position:absolute;z-index:4;inset:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;
  align-content:start;background:var(--rcs-canvas,#fffaf3);
}
.rcs-product-skeleton i{
  display:block;height:310px;border-radius:16px;
  background:
    linear-gradient(#eadfd4 0 0) 0 0/100% 72% no-repeat,
    linear-gradient(#eadfd4 0 0) 10px 76%/72% 13px no-repeat,
    linear-gradient(#eadfd4 0 0) 10px 84%/44% 12px no-repeat,
    linear-gradient(#eadfd4 0 0) 10px 94%/calc(100% - 20px) 38px no-repeat,
    linear-gradient(105deg,#f1e8dd 20%,#fffaf3 39%,#f1e8dd 58%);
  background-size:100% 72%,72% 13px,44% 12px,calc(100% - 20px) 38px,220% 100%;
  animation:rcsSkeleton 1.15s linear infinite;
}

/* ---------- Shop filter / sort bottom sheet ---------- */
.rcs-shop-drawer{z-index:10030!important;background:rgba(30,14,20,.43)!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);}
.rcs-shop-drawer__sheet{
  max-height:min(82vh,720px)!important;padding:15px 16px calc(20px + env(safe-area-inset-bottom))!important;
  border:1px solid rgba(116,28,54,.12)!important;border-bottom:0!important;border-radius:24px 24px 0 0!important;
  background:linear-gradient(155deg,#fffdf9,#fbf3e9)!important;
  box-shadow:0 -18px 48px rgba(55,17,29,.22)!important;
}
.rcs-shop-drawer__handle{display:block;width:42px;height:4px;margin:0 auto 10px;border-radius:10px;background:#d8c7bb;}
.rcs-shop-drawer__close{
  top:13px!important;right:14px!important;width:40px!important;height:40px!important;
  display:grid!important;place-items:center!important;color:#741c36!important;
  background:#fff!important;border:1px solid rgba(116,28,54,.13)!important;
  box-shadow:0 5px 14px rgba(72,27,39,.08)!important;
}
.rcs-shop-drawer__eyebrow{display:block;margin:4px 46px 3px 0;color:#a06b2e;font-size:9px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;}
.rcs-shop-drawer h3{margin:0 46px 4px 0!important;color:#3a2229!important;font-size:25px!important;font-style:normal!important;line-height:1.15!important;}
.rcs-shop-drawer__intro{margin:0 46px 17px 0;color:#75666a;font-size:12px;line-height:1.45;}
.rcs-shop-drawer h4{margin:14px 0 9px;color:#4a333a;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.rcs-filter-categories{display:flex;gap:9px;overflow-x:auto;padding:3px 2px 8px;scrollbar-width:none;scroll-snap-type:x proximity;}
.rcs-filter-categories::-webkit-scrollbar{display:none;}
.rcs-filter-choice{
  position:relative;flex:0 0 68px;display:grid;justify-items:center;gap:5px;
  min-height:92px;padding:3px 1px 5px;border:0;background:transparent;color:#45363a;
  font-size:9.5px;font-weight:700;line-height:1.15;text-align:center;scroll-snap-align:start;
}
.rcs-filter-choice__image{
  width:54px;height:54px;display:grid;place-items:center;overflow:hidden;
  border:2px solid #fff;border-radius:50%;background:#eadfd4;
  box-shadow:0 0 0 1px rgba(116,28,54,.13),0 5px 12px rgba(70,34,26,.1);
}
.rcs-filter-choice__image img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;}
.rcs-filter-choice__image--fallback{color:#fff;background:linear-gradient(145deg,#8e2445,#5f122a);font:600 16px var(--rcs-font-display,Georgia,serif);}
.rcs-filter-choice>span:nth-child(2){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.rcs-filter-choice>.ph-check{
  position:absolute;top:1px;right:5px;width:18px;height:18px;display:none;place-items:center;
  border-radius:50%;color:#fff;background:#741c36;font-size:11px;box-shadow:0 2px 8px rgba(116,28,54,.24);
}
.rcs-filter-choice.is-active .rcs-filter-choice__image{box-shadow:0 0 0 2px #741c36,0 0 0 4px rgba(190,146,69,.25),0 7px 16px rgba(116,28,54,.15);}
.rcs-filter-choice.is-active>.ph-check{display:grid;}
.rcs-filter-choice.is-active{color:#741c36;}
.rcs-filter-prices{display:flex;flex-wrap:wrap;gap:8px;}
.rcs-filter-price{
  min-height:44px;padding:0 13px;border:1px solid #e2d5c9;border-radius:999px;
  background:#fff;color:#55464a;font-size:12px;font-weight:700;
}
.rcs-filter-price.is-active{border-color:#741c36;color:#fff;background:#741c36;box-shadow:0 6px 16px rgba(116,28,54,.16);}
.rcs-filter-actions{
  position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));display:grid;grid-template-columns:92px 1fr;gap:9px;
  margin:19px -3px calc(-20px - env(safe-area-inset-bottom));padding:12px 3px calc(20px + env(safe-area-inset-bottom));
  background:linear-gradient(0deg,#fbf3e9 75%,rgba(251,243,233,0));
}
.rcs-filter-clear,.rcs-filter-apply{min-height:50px;border-radius:14px;font-size:13px;font-weight:800;}
.rcs-filter-clear{border:1px solid #dccbc0;color:#741c36;background:#fff;}
.rcs-filter-apply{border:0;color:#fff;background:linear-gradient(135deg,#7e1b39,#641128);box-shadow:0 10px 23px rgba(116,28,54,.2);}
.rcs-sort-choices{display:grid;gap:7px;margin-top:14px;}
.rcs-sort-choice{
  min-height:54px;display:grid;grid-template-columns:34px 1fr 24px;align-items:center;gap:8px;
  padding:0 13px;border:1px solid #e6d9ce;border-radius:14px;background:#fff;color:#46353a;text-align:left;font-size:13px;font-weight:750;
}
.rcs-sort-choice>.ph:first-child{font-size:19px;color:#a06b2e;}
.rcs-sort-choice>.ph-check{opacity:0;color:#741c36;}
.rcs-sort-choice.is-active{border-color:#741c36;background:#fff8f5;color:#741c36;}
.rcs-sort-choice.is-active>.ph-check{opacity:1;}

/* ---------- Account: four clear destinations, compact useful content ---------- */
body.woocommerce-account .rcs-main{min-height:0!important;}
body.woocommerce-account .rcs-main>.rcs-section{padding-bottom:12px!important;}
.rcs-account{padding-bottom:18px!important;}
.rcs-account__tabs{margin:10px 0 14px!important;border:0!important;}
.rcs-account__tabs::after{display:none!important;}
.rcs-account__tabs ul{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;
  overflow:visible!important;padding:0!important;scroll-snap-type:none!important;
}
.rcs-account__tabs li{min-width:0!important;}
.rcs-account__tabs li a{
  width:100%!important;height:46px!important;justify-content:center!important;padding:0 5px!important;
  border:1px solid #e5d9ce!important;border-radius:999px!important;background:#fffaf4!important;
  color:#5d4c51!important;font-size:9.5px!important;letter-spacing:.045em!important;
  box-shadow:0 5px 13px rgba(55,27,35,.04)!important;
}
.rcs-account__tabs li.is-active a{
  border-color:#741c36!important;color:#fff!important;background:#741c36!important;
  box-shadow:0 8px 18px rgba(116,28,54,.16)!important;
}
.rcs-account__panel{margin:0 0 13px!important;padding:18px!important;border-radius:18px!important;}
.rcs-account__panel--overview{background:linear-gradient(150deg,#fffdf9,#fbf4ec)!important;}
.rcs-account__overview-head>span{display:block;margin-bottom:3px;color:#a06b2e;font-size:9px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;}
.rcs-account__overview-head h2{margin:0 0 5px!important;color:#422a31;font-size:23px!important;}
.rcs-account__overview-head p{margin:0 0 15px!important;font-size:12.5px;line-height:1.48;}
.rcs-account__overview-grid{display:grid;grid-template-columns:1fr;gap:8px;}
.rcs-account__overview-card{
  min-height:64px;display:grid;grid-template-columns:38px 1fr 20px;align-items:center;gap:10px;
  padding:9px 12px;border:1px solid #e7d9cd;border-radius:14px;background:#fff;color:#422f35;text-decoration:none;
  box-shadow:0 5px 14px rgba(65,28,39,.045);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.rcs-account__overview-card:active{transform:scale(.985);border-color:#9b5269;}
.rcs-account__overview-card>.ph:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#741c36;background:#f8e8eb;font-size:19px;}
.rcs-account__overview-card span{min-width:0;}
.rcs-account__overview-card strong,.rcs-account__overview-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rcs-account__overview-card strong{font-size:13px;}
.rcs-account__overview-card small{margin-top:2px;color:#7c6d71;font-size:10.5px;}
.rcs-account__overview-card>.ph:last-child{color:#a06b2e;font-size:16px;}
.rcs-account__utility{
  display:grid;grid-template-columns:1fr auto;gap:8px;margin:0 0 6px;
}
.rcs-account__utility>a{
  min-height:58px;display:flex;align-items:center;gap:9px;padding:9px 12px;
  border:1px solid #e4d7cc;border-radius:14px;background:#fff;color:#4c373e;text-decoration:none;
}
.rcs-account__utility>a>.ph{font-size:20px;color:#741c36;}
.rcs-account__utility span,.rcs-account__utility strong,.rcs-account__utility small{display:block;}
.rcs-account__utility strong{font-size:11px;}
.rcs-account__utility small{margin-top:2px;color:#7a6b6f;font-size:9px;white-space:nowrap;}
.rcs-account__utility .rcs-account__signout{min-width:86px;justify-content:center;color:#741c36;font-size:10px;font-weight:800;text-transform:uppercase;}
.rcs-account .woocommerce-message{
  position:relative!important;min-height:0!important;margin:0 0 12px!important;padding:13px 14px 13px 45px!important;
  border:1px solid rgba(160,107,46,.22)!important;border-radius:14px!important;background:#fff9ed!important;
  color:#624c41!important;font:500 11.5px/1.5 var(--rcs-font-body,Inter,sans-serif)!important;text-align:left!important;
  box-shadow:none!important;
}
.rcs-account .woocommerce-message::before{
  content:"!"!important;position:absolute!important;left:14px!important;top:14px!important;
  width:22px!important;height:22px!important;display:grid!important;place-items:center!important;
  border-radius:50%!important;color:#741c36!important;background:#f4dfe4!important;filter:none!important;
  font-family:var(--rcs-font-body,Inter,sans-serif)!important;font-size:12px!important;font-weight:800!important;
}
.rcs-account .woocommerce-message::after{display:none!important;}

/* WooCommerce's temporary-password and empty-account notices used to inherit
   an oversized decorative empty-state treatment. Keep important guidance,
   but present it as a compact, practical status row. */
.rcs-account .woocommerce-notices-wrapper{
  min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;
}
.rcs-account .woocommerce-info{
  position:relative!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:9px!important;
  margin:0 0 11px!important;
  padding:11px 12px!important;
  border:1px solid rgba(160,107,46,.22)!important;
  border-left:3px solid #a06b2e!important;
  border-radius:13px!important;
  background:#fff9ed!important;
  color:#5d4c46!important;
  box-shadow:none!important;
  font:500 11px/1.45 var(--rcs-font-body,Inter,sans-serif)!important;
  font-style:normal!important;
  text-align:left!important;
}
.rcs-account .woocommerce-info::before{
  content:"i"!important;
  position:static!important;
  width:26px!important;height:26px!important;
  display:grid!important;place-items:center!important;
  margin:0!important;
  border-radius:50%!important;
  background:#f3e3c9!important;
  color:#741c36!important;
  transform:none!important;filter:none!important;
  font:800 12px/1 var(--rcs-font-body,Inter,sans-serif)!important;
}
.rcs-account .woocommerce-info a:not(.button){color:#741c36!important;font-weight:700!important;}
.rcs-account .woocommerce-info a.button{
  min-height:36px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0 13px!important;
  border:0!important;border-radius:999px!important;
  background:#741c36!important;color:#fff!important;
  font:800 9px/1 var(--rcs-font-body,Inter,sans-serif)!important;
  font-style:normal!important;letter-spacing:.08em!important;text-transform:uppercase!important;
  white-space:nowrap!important;
}

@media (max-width:767px){
  body.woocommerce-account .rcs-footer{
    padding-bottom:24px!important;
  }
}

@media (min-width:768px){
  .rcs-app-loader{inset:0;padding:24px;}
  .rcs-app-loader__grid{grid-template-columns:repeat(4,1fr);}
  .rcs-shop-drawer{align-items:center!important;justify-content:center!important;padding:24px;}
  .rcs-shop-drawer__sheet{width:min(620px,100%)!important;border-radius:24px!important;border-bottom:1px solid rgba(116,28,54,.12)!important;}
  .rcs-account__overview-grid{grid-template-columns:1fr 1fr;}
}
@media (prefers-reduced-motion:reduce){
  .rcs-app-loader__mark,.rcs-app-loader__line::after,.rcs-app-loader__grid i,.rcs-product-skeleton i{animation:none!important;}
}


/* ---- compact mark beside the wordmark (2026-07-30) ------------------------------------
   The Round 9 mark sat behind the wordmark as a faint backdrop. The
   finalised system is one mark with one variable — a solid italic C —
   sitting directly beside the name, with no ring around it. */
.rcs-header .rcs-header__brand-r9 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}
.rcs-header .rcs-header__brand-r9 .rcs-brand-mark {
  position: static !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 34px !important;
  height: 26px !important;
  transform: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}
.rcs-header .rcs-header__brand-r9 .rcs-brand-mark svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
}
