/* Homepage operations feature cards: photo-led layout from the approved mobile design. */
.rb-home .rb-ops-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0;
  background:
    radial-gradient(ellipse at 8% 22%, rgba(220, 44, 122, .055), transparent 30%),
    radial-gradient(ellipse at 92% 72%, rgba(91, 60, 167, .07), transparent 32%),
    #fff;
}
.rb-home .rb-ops-section > .container { position: relative; z-index: 1; }
.rb-home .rb-ops-section .rb-section-heading { max-width: 760px; margin-bottom: clamp(26px, 3.3vw, 42px); }
.rb-home .rb-ops-section .rb-section-heading h2 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.06; }
.rb-home .rb-ops-section .rb-section-heading h2 span {
  background: linear-gradient(100deg, #ed315b 5%, #c5288b 55%, #633ca9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rb-home .rb-ops-section .rb-section-heading p { max-width: 650px; }
.rb-home .rb-ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.rb-home .rb-ops-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(224, 223, 234, .92);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 9px 28px rgba(41, 31, 65, .075), 0 2px 5px rgba(41, 31, 65, .035);
  transition: transform .32s cubic-bezier(.2, .75, .25, 1), border-color .3s, box-shadow .32s;
}
.rb-home .rb-ops-card::after { display: none; }
.rb-home .rb-ops-card:hover,
.rb-home .rb-ops-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(195, 68, 139, .32);
  box-shadow: 0 20px 44px rgba(53, 37, 79, .14), 0 5px 12px rgba(67, 40, 88, .06);
}
.rb-home .rb-ops-photo {
  position: relative;
  isolation: isolate;
  height: clamp(190px, 19vw, 242px);
  overflow: hidden;
  background: #e9e4e2;
}
.rb-home .rb-ops-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.015);
  animation: rbOpsPhotoDrift 22s ease-in-out infinite alternate;
  transition: transform .75s cubic-bezier(.2, .75, .25, 1), filter .45s;
}
.rb-home .rb-ops-card:hover .rb-ops-photo > img { transform: scale(1.075); filter: saturate(1.06); }
.rb-home .rb-ops-card-stock .rb-ops-photo > img { object-position: center 46%; }
.rb-home .rb-ops-card-report .rb-ops-photo > img { object-position: center 48%; }
.rb-home .rb-ops-photo-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 17, 28, .03), transparent 48%, rgba(26, 17, 28, .18));
}
.rb-home .rb-ops-photo::after {
  position: absolute;
  z-index: 3;
  inset: -50% auto -50% -38%;
  width: 22%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-180%) rotate(17deg);
  animation: rbOpsPhotoShine 8.5s ease-in-out infinite;
}
.rb-home .rb-ops-card-stock .rb-ops-photo::after { animation-delay: -2.8s; }
.rb-home .rb-ops-card-report .rb-ops-photo::after { animation-delay: -5.6s; }
.rb-home .rb-ops-glass {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: min(76%, 268px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 16px;
  background: rgba(255, 255, 255, .83);
  box-shadow: 0 14px 38px rgba(20, 15, 28, .2), inset 0 1px rgba(255,255,255,.92);
  color: #242137;
  backdrop-filter: blur(17px) saturate(145%);
  -webkit-backdrop-filter: blur(17px) saturate(145%);
  animation: rbOpsGlassFloat 6s ease-in-out infinite;
}
.rb-home .rb-ops-live-row {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(105, 93, 119, .11);
  font-size: 10px;
}
.rb-home .rb-ops-live-row:last-child { border-bottom: 0; }
.rb-home .rb-ops-live-row > i:first-child { color: #7950b4; font-size: 12px; text-align: center; }
.rb-home .rb-ops-live-row > span:nth-child(2) { overflow: hidden; color: #373247; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.rb-home .rb-ops-live-row > b {
  min-width: 62px;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}
.rb-home .rb-ops-live-row > b.is-busy { background: #ffe0ec; color: #b41f5d; }
.rb-home .rb-ops-live-row > b.is-free { background: #d9f4e9; color: #13845d; }
.rb-home .rb-ops-live-row > b.is-reserved { background: #ffedcf; color: #966019; }
.rb-home .rb-ops-stock-glass { width: min(82%, 286px); }
.rb-home .rb-ops-stock-glass .rb-ops-live-row { grid-template-columns: 28px minmax(0, 1fr) auto 7px; gap: 8px; min-height: 48px; }
.rb-home .rb-ops-product-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(28, 23, 42, .09);
  font-size: 11px;
}
.rb-home .rb-ops-product-icon.is-green { color: #15936c; }
.rb-home .rb-ops-product-icon.is-amber { color: #c27d1a; }
.rb-home .rb-ops-product-icon.is-red { color: #d34161; }
.rb-home .rb-ops-stock-glass .rb-ops-live-row > span:nth-child(2) { font-size: 9px; }
.rb-home .rb-ops-live-row > em { color: #747287; font-size: 8px; font-style: normal; white-space: nowrap; }
.rb-home .rb-ops-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  animation: rbOpsDotPulse 2.3s ease-out infinite;
}
.rb-home .rb-ops-stock-dot.is-green { background: #18ad78; color: rgba(24, 173, 120, .28); }
.rb-home .rb-ops-stock-dot.is-amber { background: #e4a33c; color: rgba(228, 163, 60, .25); animation-delay: .55s; }
.rb-home .rb-ops-stock-dot.is-red { background: #d64363; color: rgba(214, 67, 99, .24); animation-delay: 1.1s; }
.rb-home .rb-ops-report-glass { width: min(71%, 248px); padding: 12px 14px 10px; }
.rb-home .rb-ops-report-head { display: flex; align-items: center; justify-content: space-between; color: #727186; font-size: 9px; font-weight: 750; }
.rb-home .rb-ops-report-head i { color: #8f8c9d; }
.rb-home .rb-ops-sales-total { display: block; margin-top: 4px; color: #211d38; font-size: 23px; line-height: 1.12; font-weight: 900; letter-spacing: -.05em; }
.rb-home .rb-ops-sales-trend { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: #139b70; font-size: 9px; font-weight: 850; }
.rb-home .rb-ops-sales-trend small { margin-left: 2px; color: #737184; font-size: 8px; font-weight: 650; }
.rb-home .rb-ops-chart { display: flex; height: 48px; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: 7px; padding: 0 1px 3px; border-bottom: 1px solid rgba(104, 94, 121, .15); }
.rb-home .rb-ops-chart i { display: block; width: 9%; height: var(--bar); min-height: 7px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #b37be0, #6839b2); box-shadow: 0 2px 7px rgba(108, 57, 178, .16); transform-origin: center bottom; animation: rbOpsBarBeat 2.8s ease-in-out infinite alternate; }
.rb-home .rb-ops-chart i:nth-child(2n) { animation-delay: -.5s; }
.rb-home .rb-ops-chart i:nth-child(3n) { animation-delay: -1.2s; }
.rb-home .rb-ops-chart-labels { display: flex; justify-content: space-between; margin-top: 4px; color: #9693a2; font-size: 6px; }
.rb-home .rb-ops-card-content {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 42px;
  gap: 13px;
  align-items: start;
  min-height: 150px;
  padding: 17px 17px 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(251,250,255,.96));
}
.rb-home .rb-ops-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #fcf7fb);
  box-shadow: 0 7px 19px rgba(67, 40, 89, .1), inset 0 1px rgba(255,255,255,.9);
  color: #e5286f;
  font-size: 19px;
}
.rb-home .rb-ops-icon::after { position: absolute; inset: -4px; z-index: -1; border: 1px solid rgba(207, 72, 145, .16); border-radius: 18px; content: ""; animation: rbOpsIconHalo 4.4s ease-out infinite; }
.rb-home .rb-ops-copy { min-width: 0; }
.rb-home .rb-ops-copy .rb-ops-label { display: block; margin: 1px 0 5px; color: #86849b; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.rb-home .rb-ops-copy h3 { margin: 0 0 6px; color: #211e39; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.28; font-weight: 850; letter-spacing: -.045em; }
.rb-home .rb-ops-copy p { margin: 0; color: #77778d; font-size: 10px; line-height: 1.62; }
.rb-home .rb-ops-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  align-self: center;
  place-items: center;
  border: 1px solid rgba(232, 44, 112, .08);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff4f8, #fde8f1);
  box-shadow: 0 6px 14px rgba(192, 38, 105, .08), inset 0 1px #fff;
  color: #e12d70;
  text-decoration: none;
  transition: transform .25s, background .25s, box-shadow .25s;
}
.rb-home .rb-ops-arrow:hover,
.rb-home .rb-ops-arrow:focus-visible { transform: translateX(3px) scale(1.06); background: linear-gradient(145deg, #f72e78, #b52c90); box-shadow: 0 9px 19px rgba(192, 38, 105, .23); color: #fff; }
.rb-home .rb-ops-arrow:focus-visible { outline: 3px solid rgba(115, 69, 181, .24); outline-offset: 3px; }
@keyframes rbOpsPhotoDrift { from { transform: scale(1.015) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(-.4%, -.5%, 0); } }
@keyframes rbOpsPhotoShine { 0%, 65%, 100% { transform: translateX(-180%) rotate(17deg); opacity: 0; } 8%, 32% { opacity: .8; } 48% { transform: translateX(690%) rotate(17deg); opacity: 0; } }
@keyframes rbOpsGlassFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rbOpsDotPulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
@keyframes rbOpsBarBeat { from { transform: scaleY(.84); filter: saturate(.86); } to { transform: scaleY(1); filter: saturate(1.12); } }
@keyframes rbOpsIconHalo { 0%, 100% { opacity: .28; transform: scale(.97); } 50% { opacity: .72; transform: scale(1.035); } }
@media (max-width: 991px) {
  .rb-home .rb-ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .rb-home .rb-ops-card-report { grid-column: 1 / -1; }
  .rb-home .rb-ops-card-report .rb-ops-photo { height: 225px; }
  .rb-home .rb-ops-card-report .rb-ops-report-glass { width: min(52%, 285px); }
}
@media (max-width: 640px) {
  .rb-home .rb-ops-section { padding: 56px 0 62px; }
  .rb-home .rb-ops-section .rb-section-heading { margin-bottom: 23px; }
  .rb-home .rb-ops-section .rb-section-heading h2 { font-size: clamp(31px, 8.4vw, 37px); line-height: 1.08; }
  .rb-home .rb-ops-section .rb-section-heading p { max-width: 430px; font-size: 12px; line-height: 1.7; }
  .rb-home .rb-ops-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .rb-home .rb-ops-card-report { grid-column: auto; }
  .rb-home .rb-ops-photo,
  .rb-home .rb-ops-card-report .rb-ops-photo { height: clamp(178px, 56vw, 218px); }
  .rb-home .rb-ops-glass { top: 12px; right: 12px; width: min(75%, 278px); border-radius: 14px; }
  .rb-home .rb-ops-stock-glass { width: min(82%, 294px); }
  .rb-home .rb-ops-report-glass { width: min(69%, 258px); padding: 10px 12px 8px; }
  .rb-home .rb-ops-live-row { min-height: 35px; padding: 5px 10px; font-size: 9px; }
  .rb-home .rb-ops-stock-glass .rb-ops-live-row { min-height: 43px; }
  .rb-home .rb-ops-live-row > b { min-width: 58px; padding: 5px 7px; font-size: 8px; }
  .rb-home .rb-ops-report-glass .rb-ops-sales-total { font-size: 21px; }
  .rb-home .rb-ops-chart { height: 42px; }
  .rb-home .rb-ops-card-content { grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 11px; min-height: 0; padding: 14px 13px 15px; }
  .rb-home .rb-ops-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 17px; }
  .rb-home .rb-ops-copy .rb-ops-label { margin-top: 1px; font-size: 8px; }
  .rb-home .rb-ops-copy h3 { margin-bottom: 5px; font-size: 15px; line-height: 1.28; }
  .rb-home .rb-ops-copy p { font-size: 10px; line-height: 1.52; }
  .rb-home .rb-ops-arrow { width: 35px; height: 35px; font-size: 12px; }
  .rb-home .rb-ops-card:hover,
  .rb-home .rb-ops-card:focus-within { transform: translateY(-2px); }
}
@media (max-width: 359px) {
  .rb-home .rb-ops-card-content { grid-template-columns: 38px minmax(0, 1fr) 32px; gap: 9px; padding-inline: 10px; }
  .rb-home .rb-ops-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
  .rb-home .rb-ops-arrow { width: 32px; height: 32px; }
  .rb-home .rb-ops-glass { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-home .rb-ops-card,
  .rb-home .rb-ops-card *,
  .rb-home .rb-ops-card::before,
  .rb-home .rb-ops-card::after,
  .rb-home .rb-ops-photo::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
