/* Vidyanik premium resource cards — v1.4.16 mobile-first authoritative component. */
.vidyanik-home .vid-resource-shelf{
  padding:54px 0 60px;
}
.vidyanik-home .vid-resource-shelf__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.vidyanik-home .vid-resource-shelf__head-main{
  display:flex;
  min-width:0;
  align-items:center;
  gap:16px;
}
.vidyanik-home .vid-resource-shelf__head-main .vid-kicker{display:none}
.vidyanik-home .vid-resource-shelf__icon{
  display:inline-flex;
  width:52px;
  height:52px;
  flex:0 0 52px;
  align-items:center;
  justify-content:center;
  border:1px solid #d7e6f0;
  border-radius:50%;
  background:#f3f8fc;
  color:#075a9c;
  box-shadow:0 8px 20px rgba(10,31,68,.06);
}
.vidyanik-home .vid-resource-shelf--guess .vid-resource-shelf__icon{background:#fff7e8;color:#9b6508}
.vidyanik-home .vid-resource-shelf__icon svg{width:27px;height:27px}
.vidyanik-home .vid-resource-shelf__head h2{
  margin:0;
  color:#0a1f44;
  font-size:clamp(1.75rem,2vw,2.12rem);
  font-weight:850;
  line-height:1.12;
  letter-spacing:-.035em;
}
.vidyanik-home .vid-resource-shelf__head p{
  margin:6px 0 0;
  color:#60778d;
  font-size:.9rem;
  line-height:1.5;
}
.vidyanik-home .vid-resource-shelf__head>.vid-text-link{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  white-space:nowrap;
}
.vidyanik-home .vid-resource-shelf__footer-link{display:none}

.vidyanik-home .vid-resource-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.vid-resource-surface .vid-resource-card{
  --vid-accent:#20c7f2;
  --vid-badge-bg:#eaf6ff;
  --vid-badge-fg:#0a5b94;
  position:relative;
  box-sizing:border-box;
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  padding:14px;
  overflow:visible;
  border:1px solid #d7e2eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(9,37,74,.075);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.vid-resource-surface .vid-resource-card:hover{
  transform:translateY(-2px);
  border-color:#bdd3e3;
  box-shadow:0 16px 36px rgba(9,37,74,.10);
}
.vid-resource-surface .vid-resource-card--guess{
  --vid-accent:#e2b94f;
  --vid-badge-bg:#fff4d9;
  --vid-badge-fg:#75560c;
}

/* Wishlist stays independent from title/action geometry. */
.vid-resource-surface .vid-resource-card__wishlist{
  position:absolute;
  z-index:8;
  top:12px;
  right:12px;
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:1px solid rgba(183,204,220,.95);
  border-radius:12px;
  background:rgba(255,255,255,.96);
  color:#0a4f82;
  box-shadow:0 8px 18px rgba(10,31,68,.10);
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.vid-resource-surface .vid-resource-card__wishlist svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.vid-resource-surface .vid-resource-card__wishlist:hover{border-color:#8bc7df;background:#f4fbfe;color:#087a98}
.vid-resource-surface .vid-resource-card__wishlist.is-saved{border-color:#fecaca;background:#fff;color:#dc2626}
.vid-resource-surface .vid-resource-card__wishlist.is-saved svg{fill:#dc2626;stroke:#dc2626}

/* Premium master artwork + live course copy + exact packaged logo. */
.vid-resource-surface .vid-resource-card__cover{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:3/4;
  min-width:0;
  color:#fff;
  text-decoration:none;
}
.vid-resource-surface .vid-master-book{
  position:absolute;
  inset:0;
  display:block;
  isolation:isolate;
}
.vid-resource-surface .vid-master-book__art{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:contain;
  object-position:center;
  pointer-events:none;
  user-select:none;
}
.vid-resource-surface .vid-master-book__overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  color:#fff;
  pointer-events:none;
  text-shadow:0 1px 2px rgba(0,20,55,.18);
}
.vid-resource-surface .vid-master-book__brand{
  position:absolute;
  top:8.2%;
  left:17.2%;
  display:block;
  width:43%;
}
.vid-resource-surface .vid-master-book__brand img{
  display:block;
  width:100%;
  height:auto;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:brightness(0) invert(1);
}
.vid-resource-surface .vid-master-book__programme{
  position:absolute;
  top:21.9%;
  left:17.4%;
  display:inline-flex;
  min-height:8.3%;
  align-items:center;
  justify-content:center;
  padding:0 6.4%;
  border:1px solid rgba(167,228,255,.72);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(47,116,177,.98),rgba(16,181,231,.92));
  color:#fff;
  font-size:clamp(.58rem,.85vw,.76rem);
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.vid-resource-surface .vid-master-book--guess .vid-master-book__programme{
  border-color:rgba(255,230,146,.7);
  background:linear-gradient(135deg,rgba(101,96,48,.96),rgba(191,151,49,.9));
}
.vid-resource-surface .vid-master-book__code{
  position:absolute;
  top:34.2%;
  left:18.1%;
  max-width:66%;
  overflow:hidden;
  color:#fff;
  font-size:clamp(1.5rem,2.2vw,2rem);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.035em;
  white-space:nowrap;
}
.vid-resource-surface .vid-master-book__rule{
  position:absolute;
  top:45.3%;
  left:18.3%;
  width:12.8%;
  height:3px;
  border-radius:99px;
  background:var(--vid-accent);
}
.vid-resource-surface .vid-master-book__type{
  position:absolute;
  top:49.2%;
  left:18.1%;
  max-width:67%;
  color:#fff;
  font-size:clamp(.86rem,1.2vw,1.04rem);
  font-weight:800;
  line-height:1.18;
}
.vid-resource-surface .vid-master-book__title{
  position:absolute;
  top:58.6%;
  left:18.1%;
  display:-webkit-box;
  width:63%;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  color:rgba(255,255,255,.97);
  font-size:clamp(.68rem,.92vw,.84rem);
  font-weight:600;
  line-height:1.36;
}
.vid-resource-surface .vid-master-book__foot{
  position:absolute;
  left:18.3%;
  bottom:7.7%;
  display:flex;
  width:63%;
  align-items:center;
  gap:7px;
  color:rgba(255,255,255,.94);
  font-size:clamp(.51rem,.7vw,.64rem);
  font-weight:650;
  line-height:1.2;
  white-space:nowrap;
}
.vid-resource-surface .vid-master-book__calendar{
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:var(--vid-accent);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vid-resource-surface .vid-resource-card__content{
  display:grid;
  grid-template-rows:26px 66px 1px 72px;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
  margin-top:10px;
}
.vid-resource-surface .vid-resource-card__meta{
  display:flex;
  min-width:0;
  align-items:center;
  gap:8px;
}
.vid-resource-surface .vid-resource-card__code{
  min-width:0;
  color:#0664ad;
  font-size:.76rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.035em;
  white-space:nowrap;
}
.vid-resource-surface .vid-resource-card__type{
  display:inline-flex;
  min-height:24px;
  max-width:100%;
  align-items:center;
  padding:4px 9px;
  border-radius:999px;
  background:var(--vid-badge-bg);
  color:var(--vid-badge-fg);
  font-size:.61rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.vid-resource-surface .vid-resource-card__title{
  display:-webkit-box;
  overflow:hidden;
  max-height:66px;
  margin:0;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  color:#0a1f44;
  font-size:.98rem;
  font-weight:850;
  line-height:1.3;
  letter-spacing:-.015em;
}
.vid-resource-surface .vid-resource-card__title a{color:inherit;text-decoration:none}
.vid-resource-surface .vid-resource-card__divider{display:block;width:100%;height:1px;background:#e0e8ef}
.vid-resource-surface .vid-resource-card__purchase{display:grid;min-height:72px;gap:8px;align-content:end;align-self:end}
.vid-resource-surface .vid-resource-card__purchase-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  min-width:0;
}
.vid-resource-surface .vid-resource-card__purchase-buttons--single{grid-template-columns:1fr}
.vid-resource-surface .vid-resource-action{
  box-sizing:border-box;
  display:inline-flex;
  width:100%;
  min-width:0;
  height:46px;
  min-height:46px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 10px;
  border:1px solid #bed0de;
  border-radius:10px;
  background:#fff;
  color:#0a3a68;
  font-size:.72rem;
  font-weight:850;
  line-height:1;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.vid-resource-surface .vid-resource-action:hover{text-decoration:none}
.vid-resource-surface .vid-resource-action--buy,
.vid-resource-surface .vid-resource-action--options{
  border-color:#0a4f83;
  background:linear-gradient(135deg,#0a3868,#07659f);
  color:#fff;
  box-shadow:0 5px 12px rgba(7,65,115,.13);
}
.vid-resource-surface .vid-resource-card--guess .vid-resource-action--buy,
.vid-resource-surface .vid-resource-card--guess .vid-resource-action--options{
  border-color:#765a1b;
  background:linear-gradient(135deg,#123b67,#80611c);
}
.vid-resource-surface .vid-resource-action--cart{
  border-color:#a9c7d9;
  background:#f7fbfe;
  color:#0a4f83;
}
.vid-resource-surface .vid-resource-card__sample{
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:4px;
  color:#0a5f96;
  font-size:.71rem;
  font-weight:800;
  line-height:1.25;
  text-decoration:none;
}
.vid-resource-surface .vid-resource-card__sample:hover{text-decoration:underline}

@media(max-width:1040px){
  .vidyanik-home .vid-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}

@media(max-width:720px){
  .vidyanik-home .vid-resource-shelf{padding:38px 0 42px}
  .vidyanik-home .vid-resource-shelf__head{
    display:block;
    margin-bottom:16px;
  }
  .vidyanik-home .vid-resource-shelf__head-main{display:block}
  .vidyanik-home .vid-resource-shelf__icon{display:none}
  .vidyanik-home .vid-resource-shelf__head h2{
    font-size:1.42rem;
    line-height:1.12;
    letter-spacing:-.03em;
  }
  .vidyanik-home .vid-resource-shelf__head p{margin-top:5px;font-size:.8rem;line-height:1.45}
  .vidyanik-home .vid-resource-shelf__head>.vid-text-link{display:none}
  .vidyanik-home .vid-resource-shelf__footer-link{display:inline-flex;margin-top:16px;font-size:.79rem}
  .vidyanik-home .vid-resource-grid{grid-template-columns:1fr;gap:12px}

  .vid-resource-surface .vid-resource-card{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:13px;
    min-height:214px;
    padding:12px;
    border-radius:17px;
    box-shadow:0 7px 18px rgba(10,31,68,.06);
  }
  .vid-resource-surface .vid-resource-card:hover{transform:none}
  .vid-resource-surface .vid-resource-card__wishlist{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
    border-radius:11px;
    box-shadow:0 5px 14px rgba(10,31,68,.08);
  }
  .vid-resource-surface .vid-resource-card__cover{
    width:120px;
    min-width:120px;
    height:160px;
    aspect-ratio:3/4;
    align-self:center;
  }
  .vid-resource-surface .vid-master-book__brand{top:8.5%;left:17.2%;width:43%}
  .vid-resource-surface .vid-master-book__programme{top:22%;left:17.4%;min-height:8%;padding:0 6%;font-size:.45rem}
  .vid-resource-surface .vid-master-book__code{top:34.5%;left:18%;font-size:1.05rem}
  .vid-resource-surface .vid-master-book__rule{top:45.3%;left:18.2%;height:2px}
  .vid-resource-surface .vid-master-book__type{top:49.4%;left:18%;font-size:.61rem;line-height:1.16}
  .vid-resource-surface .vid-master-book__title,.vid-resource-surface .vid-master-book__foot{display:none}

  .vid-resource-surface .vid-resource-card__content{
    display:grid;
    grid-template-rows:28px minmax(0,1fr) 1px 62px;
    gap:9px;
    min-width:0;
    margin-top:0;
  }
  .vid-resource-surface .vid-resource-card__meta{
    min-width:0;
    padding-right:45px;
    gap:6px;
  }
  .vid-resource-surface .vid-resource-card__code{font-size:.78rem}
  .vid-resource-surface .vid-resource-card__type{min-height:22px;padding:3px 7px;font-size:.54rem}
  .vid-resource-surface .vid-resource-card__title{
    max-height:70px;
    font-size:.9rem;
    line-height:1.28;
    overflow-wrap:anywhere;
  }
  .vid-resource-surface .vid-resource-card__purchase{min-height:62px;gap:6px}
  .vid-resource-surface .vid-resource-card__purchase-buttons{gap:6px}
  .vid-resource-surface .vid-resource-action{
    height:42px;
    min-height:42px;
    padding:0 7px;
    border-radius:9px;
    font-size:.68rem;
  }
  .vid-resource-surface .vid-resource-card__sample{font-size:.67rem}
}

@media(max-width:380px){
  .vid-resource-surface .vid-resource-card{grid-template-columns:108px minmax(0,1fr);gap:10px;min-height:204px;padding:10px}
  .vid-resource-surface .vid-resource-card__cover{width:108px;min-width:108px;height:144px}
  .vid-resource-surface .vid-resource-card__wishlist{top:10px;right:10px;width:40px;height:40px}
  .vid-resource-surface .vid-resource-card__meta{padding-right:42px;gap:5px}
  .vid-resource-surface .vid-resource-card__type{padding-inline:5px;font-size:.5rem}
  .vid-resource-surface .vid-resource-card__title{font-size:.84rem;line-height:1.27}
  .vid-resource-surface .vid-resource-action{height:40px;min-height:40px;padding-inline:5px;font-size:.62rem}
}

.vid-resource-surface .vid-resource-card--project{
  --vid-accent:#7c3aed;
  --vid-badge-bg:#f3e8ff;
  --vid-badge-fg:#6d28d9;
}
.vid-catalog-resource-surface .vid-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
@media(max-width:960px){.vid-catalog-resource-surface .vid-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.vid-catalog-resource-surface .vid-resource-grid{grid-template-columns:1fr;gap:13px}}@media(max-width:680px){.vid-resource-surface .vid-master-book__code{top:34.5%;left:16%;right:7%;max-width:none;font-size:.94rem;line-height:1;letter-spacing:-.045em}}

/* Vidyanik 1.4.48 — homepage academic-commerce shelf refinement.
   Homepage-scoped only: clearer product information, stronger action hierarchy,
   larger tap targets, and an in-place Add to cart -> View cart state. */
.vidyanik-home .vid-resource-shelf__head{
  margin-bottom:22px;
}
.vidyanik-home .vid-resource-shelf__icon{
  width:46px;
  height:46px;
  flex-basis:46px;
  border-radius:14px;
  box-shadow:0 8px 22px rgba(10,31,68,.05);
}
.vidyanik-home .vid-resource-shelf__icon svg{width:23px;height:23px}
.vidyanik-home .vid-resource-shelf__head h2{
  font-size:clamp(1.72rem,2vw,2.05rem);
  letter-spacing:-.04em;
}
.vidyanik-home .vid-resource-shelf__head>.vid-text-link{
  min-height:40px;
  padding:0 14px;
  border:1px solid #d6e4ee;
  border-radius:999px;
  background:#fff;
  box-shadow:0 6px 18px rgba(10,31,68,.04);
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.vidyanik-home .vid-resource-shelf__head>.vid-text-link:hover{
  border-color:#b9d2e2;
  background:#f7fbfe;
  text-decoration:none;
}
.vidyanik-home .vid-resource-grid{gap:20px}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-card{
  border-color:#dbe6ee;
  border-radius:20px;
  box-shadow:0 16px 38px rgba(10,31,68,.065);
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-card:hover{
  transform:translateY(-2px);
  border-color:#c5d9e6;
  box-shadow:0 20px 44px rgba(10,31,68,.09);
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-card__wishlist{
  width:42px;
  height:42px;
  border-radius:12px;
  box-shadow:0 7px 18px rgba(10,31,68,.08);
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-action{
  min-height:50px;
  height:50px;
  border-radius:12px;
  font-size:.82rem;
  font-weight:850;
}

:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home{
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__media{
  min-width:0;
  padding:0;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cover{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  height:auto;
  aspect-ratio:3/4;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-master-book__art{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:contain;
  object-position:center;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__content{
  display:flex;
  min-width:0;
  min-height:202px;
  flex:1 1 auto;
  flex-direction:column;
  margin-top:10px;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__meta{
  display:flex;
  min-width:0;
  min-height:26px;
  align-items:center;
  gap:8px;
  margin:0 0 9px;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__code{
  color:#0664ad;
  font-size:.77rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.03em;
  white-space:nowrap;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__type{
  display:inline-flex;
  min-height:24px;
  align-items:center;
  padding:4px 9px;
  border-radius:999px;
  background:#edf7fd;
  color:#0a5b94;
  font-size:.61rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__title{
  display:-webkit-box;
  overflow:hidden;
  min-height:44px;
  max-height:44px;
  margin:0;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  color:#0a1f44;
  font-size:1rem;
  font-weight:850;
  line-height:1.38;
  letter-spacing:-.018em;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__title a{
  color:inherit;
  text-decoration:none;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__price-row{
  display:flex;
  min-height:30px;
  align-items:center;
  gap:8px;
  margin-top:8px;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__price{
  margin:0;
  color:#0a1f44;
  font-size:1.16rem;
  font-weight:900;
  line-height:1;
  letter-spacing:-.025em;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__format{
  display:inline-flex;
  min-height:22px;
  align-items:center;
  padding:0 7px;
  border-radius:999px;
  background:#f1f5f8;
  color:#617487;
  font-size:.58rem;
  font-weight:850;
  letter-spacing:.04em;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__details{
  display:flex;
  min-height:24px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:3px;
  color:#5a7083;
  font-size:.7rem;
  font-weight:650;
  line-height:1.35;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__detail + .vid-product-card__detail::before{
  content:'·';
  margin:0 6px;
  color:#94a6b4;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__preview{
  box-sizing:border-box;
  display:inline-flex;
  width:100%;
  min-height:40px;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:8px;
  padding:0 11px;
  border:1px solid #d4e4ee;
  border-radius:11px;
  background:#f8fbfd;
  color:#0a5f96;
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  text-decoration:none;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__preview:hover{
  border-color:#a9cbe0;
  background:#eff8fd;
  text-decoration:none;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__preview-icon{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__divider{
  display:block;
  width:100%;
  height:1px;
  margin-top:9px;
  background:#e1e9ef;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  width:100%;
  margin-top:auto;
  padding-top:11px;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home :where(.vid-product-card__buy,.vid-product-card__cart,.vid-product-card__details-link),
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cart.button{
  box-sizing:border-box;
  display:inline-flex;
  width:100%;
  min-width:0;
  min-height:50px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 10px;
  border:1px solid #b9d0df;
  border-radius:12px;
  background:#fff;
  color:#0a4f83;
  box-shadow:none;
  font-size:.82rem;
  font-weight:850;
  line-height:1.1;
  text-align:center;
  text-decoration:none;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__buy{
  border-color:#0a4f83;
  background:#0a4f83;
  color:#fff;
  box-shadow:0 9px 20px rgba(10,79,131,.16);
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__buy:hover{
  border-color:#08669f;
  background:#08669f;
  color:#fff;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cart.button:hover{
  border-color:#96bdd4;
  background:#f4f9fc;
  color:#073e6c;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cart--view.button{
  border-color:#b6dbc5;
  background:#f3fbf6;
  color:#17603a;
}
:is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .added_to_cart.wc-forward{display:none}

@media(max-width:1040px){
  .vidyanik-home .vid-resource-grid{gap:16px}
}

@media(max-width:720px){
  .vidyanik-home .vid-resource-shelf{padding:36px 0 40px}
  .vidyanik-home .vid-resource-shelf__head{margin-bottom:15px}
  .vidyanik-home .vid-resource-shelf__head h2{font-size:1.46rem}
  .vidyanik-home .vid-resource-shelf__footer-link{
    box-sizing:border-box;
    display:flex;
    width:100%;
    min-height:46px;
    align-items:center;
    justify-content:center;
    margin-top:14px;
    padding:0 14px;
    border:1px solid #d4e3ec;
    border-radius:12px;
    background:#fff;
    font-size:.76rem;
    font-weight:800;
    text-decoration:none;
  }
  .vidyanik-home .vid-resource-grid{gap:13px}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-card{
    border-radius:18px;
    box-shadow:0 10px 24px rgba(10,31,68,.06);
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-card:hover{transform:none}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-resource-action{
    min-height:46px;
    height:46px;
    border-radius:11px;
    font-size:.76rem;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:13px;
    min-height:232px;
    padding:12px;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__media{
    width:120px;
    min-width:120px;
    height:160px;
    align-self:start;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cover{
    width:120px;
    min-width:120px;
    height:160px;
    aspect-ratio:3/4;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__content{
    min-height:208px;
    margin-top:0;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__meta{
    min-height:27px;
    padding-right:44px;
    gap:6px;
    margin-bottom:6px;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__code{font-size:.76rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__type{min-height:22px;padding:3px 7px;font-size:.54rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__title{
    min-height:2.5em;
    max-height:2.5em;
    font-size:.91rem;
    line-height:1.25;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__price-row{min-height:28px;margin-top:5px}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__price{font-size:1rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__format{min-height:20px;font-size:.52rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__details{min-height:22px;margin-top:1px;font-size:.63rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__preview{
    min-height:38px;
    margin-top:6px;
    border-radius:10px;
    font-size:.7rem;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__divider{margin-top:6px}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__actions{gap:7px;padding-top:7px}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home :where(.vid-product-card__buy,.vid-product-card__cart,.vid-product-card__details-link),
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cart.button{
    min-height:46px;
    padding:0 7px;
    border-radius:11px;
    font-size:.74rem;
  }
}

@media(max-width:430px){
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home{
    grid-template-columns:108px minmax(0,1fr);
    gap:11px;
    min-height:224px;
    padding:11px;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__media,
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cover{
    width:108px;
    min-width:108px;
    height:144px;
  }
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__meta{padding-right:40px}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__title{font-size:.87rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__preview{font-size:.68rem}
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home :where(.vid-product-card__buy,.vid-product-card__cart,.vid-product-card__details-link),
  :is(.vidyanik-home .vid-resource-surface,.vid-course-resource-surface) .vid-product-card--home .vid-product-card__cart.button{font-size:.7rem}
}


/* Homepage mobile composition is owned by home-refine-1465.css, which loads
 * after home-premium-1452.css. Keep its identity/wishlist geometry together. */

/* v1.5.43: prevent long programme labels from escaping book covers. */
.vid-resource-surface .vid-master-book__programme{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.vid-resource-card__meta .vid-resource-card__type.vid-material-pill--solved{background:#e5f3ff!important;border:1px solid #add5f3!important;color:#075c94!important}
.vid-resource-card__meta .vid-resource-card__type.vid-material-pill--guess{background:#fff3dc!important;border:1px solid #f3cc81!important;color:#8a5104!important}
.vid-resource-card__meta .vid-resource-card__type.vid-material-pill--project{background:#f1eaff!important;border:1px solid #d5c1f5!important;color:#6739a0!important}
