/* RAHA Destiny — Recently Viewed Products module.
   Extracted presentation rules only. Universal Product Card base styles,
   root contract and non-Recently-Viewed styles remain in Blogger. */

/* Extracted from Blogger style #rd-ecommerce-product-cards-hunt255; selector scope remains Recently Viewed only. */
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section {
  width:100%;
  margin:clamp(26px,3.2vw,42px) 0 0;
  padding:0;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section[hidden] { display:none !important; }
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 clamp(14px,2vw,22px);
  padding:0 0 12px;
  border-bottom:1px solid var(--rd247-line,#e7e7e7);
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-title {
  margin:0;
  color:#171717;
  font-size:clamp(20px,2.35vw,30px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-subtitle {
  margin:6px 0 0;
  color:#737373;
  font-size:clamp(12px,1.2vw,15px);
  line-height:1.45;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-status {
  margin:0 0 12px;
  color:#777;
  font-size:13px;
  line-height:1.45;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-status[hidden] { display:none !important; }
@media (max-width:600px) {#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section { margin-top:26px; }#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head { margin-bottom:13px; padding-bottom:10px; }}

/* Extracted from Blogger style #rd-hunt310-canva-recently-viewed-design; selector scope remains Recently Viewed only. */
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section {
  box-sizing:border-box;
  width:100%;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.055);
  overflow:hidden;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 13px;
  padding:0 3px;
  border:0;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-title {
  margin:0;
  color:#111;
  font-size:clamp(20px,4.3vw,28px);
  font-weight:850;
  line-height:1.18;
  letter-spacing:-.025em;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-view-all {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 16px;
  border:1px solid #f59a58;
  border-radius:999px;
  background:#fff7f1;
  color:#e86e27;
  font-size:14px;
  line-height:1;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid {
  display:flex !important;
  align-items:stretch;
  gap:9px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 0 3px;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid::-webkit-scrollbar { display:none; }
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-card {
  box-sizing:border-box;
  flex:0 0 clamp(148px,42vw,252px) !important;
  width:clamp(148px,42vw,252px) !important;
  min-width:clamp(148px,42vw,252px) !important;
  max-width:252px !important;
  min-height:0;
  padding:0 0 3px;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  scroll-snap-align:start;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-media {
  width:100%;
  aspect-ratio:3 / 4.02;
  height:auto;
  border-radius:10px;
  background:#f5f2ef;
  overflow:hidden;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-copy {
  padding:7px 6px 0;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-brand {
  margin:0 0 3px;
  font-size:clamp(13px,3.3vw,17px);
  line-height:1.2;
  font-weight:850;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-title {
  font-size:clamp(12px,3vw,15px);
  line-height:1.35;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-promo-row { gap:6px; margin-top:7px; }
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-checkout {
  width:clamp(46px,11vw,65px);
  min-height:34px;
  font-size:clamp(16px,4vw,22px);
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-deals {
  min-height:34px;
  padding:5px 6px;
  border-radius:8px;
  font-size:clamp(9px,2.3vw,12px);
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-bottom-row {
  min-height:34px;
  margin-top:7px;
  gap:6px;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid .rd247-product-share { width:33px; height:33px; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-shell {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:24px 0 28px;
  padding:0;
  background:transparent;
  overflow:visible;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section {
  margin:0;
  padding:14px 6px 11px;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head { margin-bottom:13px; }
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-status { margin:0 4px 10px; }
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section[hidden] { display:none !important; }
#rd-product-buying-hunt259 .rd259-recently-viewed-landing { margin-top:8px; }
#rd-product-buying-hunt259 .rd259-recently-viewed-all-shell {
  box-sizing:border-box;
  width:100%;
  margin:12px 0 28px;
  padding:14px 9px 16px;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.055);
}
#rd-product-buying-hunt259 .rd259-recently-viewed-all-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 10px;
  width:100%;
}
#rd-product-buying-hunt259 .rd259-recently-viewed-all-grid .rd247-product-card {
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  flex:none !important;
}
#rd-product-buying-hunt259 .rd259-recently-viewed-all-grid .rd247-product-media { aspect-ratio:4 / 5.1; height:auto; }
@media (min-width:701px) {#rd-product-buying-hunt259 .rd259-recently-viewed-all-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px 14px; }}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing { display:block !important; width:100%; max-width:none; margin:14px auto 26px; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd247-products-head,
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd247-products-grid { display:none !important; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-back,
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-page-title { display:block; margin:0 8px 12px; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-section { padding:14px 9px 16px; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-head { display:none; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; gap:16px 10px; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid .rd247-product-card { width:auto !important; min-width:0 !important; max-width:none !important; flex:none !important; }
@media (min-width:701px) {#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px 14px; }}
@media (max-width:360px) {#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section { padding-left:5px; padding-right:5px; }#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid { gap:8px; }}
@media (prefers-reduced-motion:reduce) {#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid { scroll-behavior:auto !important; }}

/* Extracted from Blogger style #rd-hunt311-recently-viewed-alignment-universal-render; selector scope remains Recently Viewed only. */
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin:0 0 12px !important;
  padding:0 12px !important;
  border:0 !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-title {
  margin:0 !important;
  color:#111 !important;
  font-size:clamp(22px,4.6vw,30px) !important;
  font-weight:850 !important;
  line-height:1.18 !important;
  letter-spacing:-.025em !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-head .rd247-recently-viewed-view-all {
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  min-height:40px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:8px 17px !important;
  border:1px solid #f59a58 !important;
  border-radius:999px !important;
  background:#fff7f1 !important;
  color:#e86e27 !important;
  font-size:clamp(14px,3.4vw,17px) !important;
  font-weight:800 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-view-all[hidden] {
  display:none !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section {
  position:relative !important;
  box-sizing:border-box !important;
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:14px 0 10px !important;
  border:1px solid #dedede !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 4px 16px rgba(0,0,0,.055) !important;
  overflow:hidden !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-shell {
  box-sizing:border-box !important;
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:100vw !important;
  max-width:100vw !important;
  margin:16px 0 22px !important;
  padding:0 !important;
  background:transparent !important;
  overflow:visible !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-shell .rd247-recently-viewed-section {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid {
  display:flex !important;
  align-items:stretch !important;
  gap:10px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 0 3px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  overscroll-behavior-x:contain !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch !important;
  scroll-snap-type:x proximity !important;
}
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid::-webkit-scrollbar { display:none !important; }
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-shell { margin-top:16px !important; }
#rd-product-buying-hunt259 #rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-all-shell {
  position:static !important;
  left:auto !important;
  transform:none !important;
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
#rd-product-buying-hunt259 #rd-ecommerce-product-universal-hunt255 .rd259-recently-viewed-all-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:start !important;
  gap:16px 10px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  scroll-snap-type:none !important;
}
#rd-product-buying-hunt259 #rd-ecommerce-product-universal-hunt255 .rd259-recently-viewed-all-grid .rd247-product-card {
  box-sizing:border-box !important;
  flex:none !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}
#rd-product-buying-hunt259 #rd-ecommerce-product-universal-hunt255 .rd259-recently-viewed-all-grid .rd247-product-media {
  width:100% !important;
  height:auto !important;
  aspect-ratio:4 / 5.1 !important;
}
@media (min-width:701px) {#rd-product-buying-hunt259 #rd-ecommerce-product-universal-hunt255 .rd259-recently-viewed-all-grid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px 14px !important;
  }}
html.rd259-recently-viewed-home-landing #rd-ecommerce-home-experience > *:not(#rd-ecommerce-product-universal-hunt255) {
  display:none !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing {
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  display:block !important;
  box-sizing:border-box !important;
  width:100vw !important;
  max-width:100vw !important;
  margin:0 0 26px !important;
  padding:14px 0 26px !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-section {
  position:static !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px 10px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid .rd247-product-card {
  flex:none !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}
@media (min-width:701px) {#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-grid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px 14px !important;
  }}
@media (max-width:700px) {#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-section { border-radius:12px !important; }}
@media (prefers-reduced-motion:reduce) {#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-grid { scroll-behavior:auto !important; }}

/* Extracted from Blogger style #rd-hunt312-tools-labels-type-and-recent-viewed-reliability; selector scope remains Recently Viewed only. */
#rd-ecommerce-product-universal-hunt255 .rd247-recently-viewed-title {
  font-size:clamp(19px,4.05vw,25px) !important;
  line-height:1.2 !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing {
  padding:10px 0 26px !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-back,
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-page-title {
  display:block !important;
  margin:0 14px 12px !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-back,
#rd-product-buying-hunt259.rd259-recently-viewed-landing > .rd259-similar-back {
  color:#555 !important;
  font-size:14px !important;
  font-weight:650 !important;
  line-height:1.35 !important;
  text-decoration:none !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing > .rd259-similar-page-title,
#rd-product-buying-hunt259.rd259-recently-viewed-landing > .rd259-similar-page-title {
  margin:0 14px 14px !important;
  color:#111 !important;
  font-size:clamp(26px,6vw,34px) !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  letter-spacing:-.025em !important;
}
#rd-product-buying-hunt259.rd259-recently-viewed-landing > .rd259-similar-back {
  margin:3px 14px 15px !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-section {
  position:static !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 14px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-head,
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-head[hidden] {
  display:none !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd247-recently-viewed-status {
  margin:0 4px 12px !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd259-recently-viewed-all-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:start !important;
  gap:16px 10px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  scroll-snap-type:none !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd259-recently-viewed-all-grid .rd247-product-card {
  box-sizing:border-box !important;
  flex:none !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}
#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd259-recently-viewed-all-grid .rd247-product-media {
  width:100% !important;
  height:auto !important;
  aspect-ratio:4 / 5.1 !important;
}
@media (min-width:701px) {#rd-ecommerce-product-universal-hunt255.rd259-recently-viewed-home-landing .rd259-recently-viewed-all-grid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px 14px !important;
  }}
