/* RC45 — Royal Violet + Crisp White Flagship E-Commerce Storefront, Filter Sidebar, Cards, Wishlist, Compare & Cart */
.dc-ecom-wrap {
  max-width: 1280px;
  margin: 0 auto;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dc-store-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .dc-store-shell { grid-template-columns: 1fr; gap: 16px; }
}

.dc-filter-sidebar {
  background: #FFFFFF;
  border: 1px solid #E6DFEF;
  border-radius: 18px;
  padding: 18px;
  position: sticky;
  top: 132px;
  box-shadow: 0 8px 24px rgba(30, 11, 59, 0.04);
}
@media (max-width: 960px) {
  .dc-filter-sidebar { position: static; padding: 14px; }
}
.dc-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #E6DFEF;
}
.dc-filter-head h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: #231336;
}
.dc-filter-clear {
  background: none;
  border: 0;
  color: #5B3285;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.dc-filter-clear:hover { background: #F2ECF8; }

.dc-filter-group { margin-bottom: 18px; }
.dc-filter-group:last-child { margin-bottom: 0; }
.dc-filter-label {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6B5E86;
  margin-bottom: 8px;
  display: block;
}
.dc-cat-pill-list { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 960px) { .dc-cat-pill-list { flex-direction: row; flex-wrap: wrap; gap: 6px; } }
.dc-cat-pill {
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: #362852;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
}
.dc-cat-pill:hover { background: #FAF8FC; color: #231336; }
.dc-cat-pill.active {
  background: #F2ECF8;
  color: #5B21B6;
  border-color: #D8B4FE;
  font-weight: 800;
}

.dc-price-chips { display: flex; flex-direction: column; gap: 5px; }
@media (max-width: 960px) { .dc-price-chips { flex-direction: row; flex-wrap: wrap; gap: 6px; } }
.dc-price-chip {
  text-align: left;
  background: #FAF8FC;
  border: 1px solid #E6DFEF;
  color: #362852;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 9px;
  cursor: pointer;
}
.dc-price-chip.active {
  background: #231336;
  color: #FFFFFF;
  border-color: #231336;
}

.dc-brand-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; }
.dc-brand-chip {
  background: #FAF8FC;
  border: 1px solid #E6DFEF;
  color: #362852;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.dc-brand-chip.active {
  background: #5B3285;
  color: #FFFFFF;
  border-color: #5B3285;
}

.dc-store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid #E6DFEF;
  border-radius: 14px;
}
.dc-store-count { font-size: .88rem; font-weight: 700; color: #231336; }
.dc-store-sort {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #D1C3E3;
  background: #FFFFFF;
  color: #160A2B;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
}

.dc-ecom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}
.dc-ecom-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E6DFEF;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dc-ecom-card:hover {
  transform: translateY(-4px);
  border-color: #8B62B8;
  box-shadow: 0 18px 38px rgba(91, 33, 182, 0.11);
}

.dc-ecom-imgbox {
  position: relative;
  background: #FFFFFF;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #F3EFFA;
  overflow: hidden;
}
.dc-ecom-imgbox img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.dc-ecom-card:hover .dc-ecom-imgbox img { transform: scale(1.04); }

.dc-card-badge-brand {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #F2ECF8;
  color: #3A1B59;
  border: 1px solid #E9D5FF;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 6px;
}
.dc-card-quick-acts { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; z-index: 3; }
.dc-wish-btn, .dc-cmp-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #E6DFEF;
  background: rgba(255, 255, 255, 0.95);
  color: #3A1B59;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.dc-wish-btn:hover, .dc-cmp-btn:hover { border-color: #5B3285; color: #5B3285; }
.dc-wish-btn.active { background: #FEF2F2; border-color: #EF4444; color: #DC2626; }
.dc-cmp-btn.active { background: #F2ECF8; border-color: #5B3285; color: #5B21B6; }

.dc-ecom-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.dc-ecom-title {
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.38;
  color: #231336;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
}
.dc-ecom-title a { color: inherit; text-decoration: none; }
.dc-ecom-title a:hover { color: #5B3285; }

.dc-spec-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.dc-spec-chip {
  font-size: .7rem;
  font-weight: 600;
  color: #52466B;
  background: #FAF8FC;
  border: 1px solid #E6DFEF;
  padding: 2px 7px;
  border-radius: 6px;
}

.dc-ecom-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.dc-ecom-price { font-size: 1.18rem; font-weight: 900; color: #231336; letter-spacing: -0.02em; }
.dc-ecom-mrp { font-size: .8rem; color: #94A3B8; text-decoration: line-through; }
.dc-ecom-pts { font-size: .7rem; font-weight: 700; color: #047857; background: #ECFDF5; padding: 2px 7px; border-radius: 6px; }

.dc-ecom-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 6px; }
.dc-btn-outline {
  text-align: center;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #D1C3E3;
  background: #FFFFFF;
  color: #3A1B59 !important;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.dc-btn-outline:hover { border-color: #5B3285; background: #FAF8FC; }
.dc-btn-cart {
  padding: 9px 10px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #5B3285 0%, #3A1B59 100%);
  color: #FFFFFF;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.dc-btn-cart:hover { filter: brightness(1.08); }

/* Floating Cart Pill (Positioned cleanly ABOVE Ask TIA AI FAB & mobile bottom dock — ZERO overlap!) */
.dc-cart-fab {
  position: fixed;
  right: 20px;
  bottom: 78px;
  z-index: 9800;
  background: linear-gradient(135deg, #3A1B59 0%, #231336 100%);
  color: #FFFFFF;
  border: 1px solid rgba(232, 194, 128, 0.55);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: .84rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(35, 19, 54, 0.32);
}
@media (max-width: 959px) {
  .dc-cart-fab {
    bottom: 132px;
    right: 14px;
    padding: 9px 14px;
    font-size: .8rem;
  }
}
.dc-cart-fab .dc-cart-badge {
  background: #E8C280;
  color: #231336;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .78rem;
  font-weight: 900;
}

.dc-drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(30, 11, 59, 0.54); backdrop-filter: blur(4px); z-index: 9950; }
.dc-drawer-backdrop.open { display: block; }
.dc-drawer {
  position: fixed; top: 0; right: -460px; width: min(440px, 100vw); height: 100vh;
  background: #FFFFFF; z-index: 9960; transition: right .25s ease;
  display: flex; flex-direction: column; box-shadow: -12px 0 36px rgba(30, 11, 59, 0.2);
}
.dc-drawer.open { right: 0; }
.dc-drawer-head {
  padding: 16px 20px; border-bottom: 1px solid #E6DFEF;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, #231336 0%, #3A1B59 100%); color: #FFFFFF;
}
.dc-drawer-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.dc-drawer-foot { padding: 14px 20px; border-top: 1px solid #E6DFEF; background: #FAF8FC; }

#dc-compare-bar {
  display: none; position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 9850;
  background: #231336; color: #FFFFFF; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.45);
  box-shadow: 0 16px 36px rgba(30, 11, 59, 0.34); align-items: center; gap: 12px; font-size: .85rem; font-weight: 700;
}
#dc-compare-bar.open { display: flex; }
.dc-cmp-modal {
  display: none; position: fixed; inset: 0; z-index: 9980;
  background: rgba(30, 11, 59, 0.65); backdrop-filter: blur(4px);
  padding: 24px; align-items: center; justify-content: center;
}
.dc-cmp-modal.open { display: flex; }
.dc-cmp-box { background: #FFFFFF; border-radius: 20px; max-width: 960px; width: 100%; max-height: 86vh; overflow: auto; padding: 22px; }
.dc-cmp-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dc-cmp-table th, .dc-cmp-table td { border: 1px solid #E6DFEF; padding: 10px 12px; text-align: left; }
.dc-cmp-table th { background: #FAF8FC; color: #231336; font-weight: 800; }

.dc-subcat-section { max-width: 1280px; margin: 28px auto; padding: 0 18px; }
.dc-subcat-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.dc-subcat-head h2 { margin: 0; font-size: 1.45rem; font-weight: 900; color: #231336; letter-spacing: -0.02em; }

/* =========================================================================
   RC52 — UNIVERSAL HEADER SEARCH ON ALL 2,098 SUBPAGES, USE-CASE BADGES,
   KINGDOM POWER ENGINES, SENIOR A+ FONT MODE & CLEAN PRINT STYLESHEET
   ========================================================================= */
.hdr .hdr__in {
  height: auto;
  min-height: 64px;
  padding-block: 8px;
  justify-content: space-between;
  gap: 12px;
}
.hdr .brand {
  flex-shrink: 0;
  white-space: nowrap;
}
.hdr .nav {
  display: none;
}
.hdr .hdr__act {
  margin-left: 0;
  flex-shrink: 0;
  gap: 6px;
}
.hdr .hdr__act a[href="/search"],
.hdr .hdr__act .btn-wa {
  display: none;
}
.dc10x-hdr-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 440px;
  margin-inline: 12px;
}
.dc10x-hdr-search .rc44-search-input {
  width: 100%;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 194, 128, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: .82rem;
}
.dc10x-hdr-search .rc44-search-input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}
.dc10x-hdr-search .rc44-search-input:focus {
  outline: none;
  background: #FFFFFF;
  color: #231336;
  border-color: #E8C280;
}
.dc10x-hdr-search .rc44-search-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  background: #FFFFFF;
  color: #231336;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(35, 19, 54, 0.24);
  border: 1px solid #E6DFEF;
  overflow: hidden;
  z-index: 9999;
  max-height: 390px;
  overflow-y: auto;
}
@media (max-width: 960px) {
  .hdr .hdr__in {
    flex-wrap: wrap;
    height: auto;
    padding-block: 8px;
    gap: 8px;
  }
  .dc10x-hdr-search {
    order: 3;
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: 0;
  }
}

.hdr .dc-mega-bar {
  background: rgba(24, 14, 38, 0.92);
  border-top: 1px solid rgba(232, 194, 128, 0.22);
  overflow-x: auto;
  scrollbar-width: none;
}
.hdr .dc-mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
}
.hdr .dc-mega-link {
  color: #E8E0F5;
  text-decoration: none;
  font-size: .77rem;
  font-weight: 700;
  padding: 8px 8px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.hdr .dc-mega-link:hover,
.hdr .dc-mega-link--gold {
  color: #E8C280;
}

.dc-card-badge-usecase {
  position: absolute;
  bottom: 8px;
  left: 10px;
  background: rgba(35, 19, 54, 0.9);
  color: #F3DCAD;
  font-size: .66rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .02em;
}
.dc-printer-yield-note {
  font-size: .72rem;
  font-weight: 700;
  color: #1B6E46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 7px;
  padding: 4px 8px;
}

/* Kingdom Power Engine Cards (Light + Dark responsive via CSS variables) */
.dc-ke-shell {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}
.dc-ke-card {
  background: var(--dc-card, #FFFFFF);
  color: var(--dc-text, #231633);
  border: 1.5px solid var(--dc-border-strong, #D1C3E3);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(35, 19, 54, 0.07);
}
@media (max-width: 640px) {
  .dc-ke-card { padding: 16px; border-radius: 16px; }
}
.dc-ke-kicker {
  display: inline-block;
  background: var(--dc-violet-soft, #F2ECF8);
  color: var(--dc-violet, #5B3285);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.dc-ke-inp {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--dc-border-strong, #D1C3E3);
  background: var(--dc-bg, #FAF8FC);
  color: var(--dc-text, #231633);
  font-size: .86rem;
  font-family: inherit;
}
.dc-ke-btn {
  background: linear-gradient(135deg, #5B3285 0%, #3A1B59 100%);
  color: #FFFFFF;
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: .86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.dc-ke-btn-gold {
  background: linear-gradient(135deg, #E8C280 0%, #B6924C 100%);
  color: #231336;
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 900;
  font-size: .86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

/* Mobile Sticky Bottom Buy Bar on PDPs */
.pdp-sticky-mob-bar {
  display: none;
}
@media (max-width: 760px) {
  .pdp-sticky-mob-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9920;
    background: var(--dc-card, #FFFFFF);
    border-top: 1.5px solid var(--dc-border-strong, #D1C3E3);
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 -8px 24px rgba(35, 19, 54, 0.16);
  }
  .rc44-pdp-body .dc-cart-fab {
    bottom: 76px;
  }
}

@media print {
  header, footer, nav.dock, .dc-cart-fab, .tia-fab, #rc49-lang-bar, #dc-compare-bar, .no-print {
    display: none !important;
  }
  html, body {
    background: #FFFFFF !important;
    color: #111827 !important;
  }
}
