/* ===== Header: modern hover effects ===== */

/* Menu links: growing underline */
.ink-nav a{
  position:relative;
  border-bottom:0 !important;
  transition:color .3s ease;
}
.ink-nav a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:2px;
  background:#e5572e;
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
}
.ink-nav .current-menu-item > a::after{ transform:scaleX(1); }
@media (hover:hover){
  .ink-nav a:hover{ color:#c9441a; }
  .ink-nav a:hover::after{ transform:scaleX(1); }
  .ink-nav .is-sale a:hover{ animation:inkPulse .7s ease; }
}
.ink-nav a:focus-visible::after{ transform:scaleX(1); }
@keyframes inkPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.12); }
}

/* Logo */
.ink-brand img{
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
@media (hover:hover){
  .ink-brand:hover img{
    transform:rotate(-8deg) scale(1.08);
    box-shadow:0 8px 18px rgba(20,33,61,.22);
  }
}

/* Account + wishlist heart */
.ink-actions__link{
  transition:transform .35s cubic-bezier(.2,.8,.2,1), color .3s ease;
}
.ink-actions__link .ink-i{
  transition:transform .35s cubic-bezier(.2,.8,.2,1), fill .3s ease;
}
@media (hover:hover){
  .ink-actions__link:hover{ transform:translateY(-2px); color:#c9441a; }
  .ink-wish-link:hover .ink-i{ transform:scale(1.2); fill:#c9441a; }
}

/* Cart button */
.ink-cart{
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background-color .3s ease;
}
.ink-cart .ink-i{ transition:transform .4s cubic-bezier(.2,.8,.2,1); }
@media (hover:hover){
  .ink-cart:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 24px -10px rgba(242,177,52,.9);
  }
  .ink-cart:hover .ink-i{ transform:rotate(-12deg) scale(1.12); }
}
.ink-cart:active{ transform:translateY(0) scale(.97); }

/* Search bar */
.ink-search input[type=search]{
  transition:box-shadow .3s ease, border-color .3s ease;
}
@media (hover:hover){
  .ink-search input[type=search]:hover{ box-shadow:0 8px 22px -10px rgba(20,33,61,.35); }
}
.ink-search input[type=search]:focus{
  border-color:#14213d;
  box-shadow:0 0 0 5px rgba(46,134,171,.18);
}
.ink-search:focus-within .ink-i{ color:#14213d; }



/* ===== Hero banner: modern effects ===== */

/* Soft glow shapes behind the content */
.ink-hero{ position:relative; isolation:isolate; }
.ink-hero::before,
.ink-hero::after{
  content:""; position:absolute; z-index:-1; border-radius:50%;
  filter:blur(60px); pointer-events:none;
}
.ink-hero::before{
  width:420px; height:420px; right:-90px; top:-120px;
  background:rgba(242,177,52,.45);
  animation:inkDrift 14s ease-in-out infinite alternate;
}
.ink-hero::after{
  width:340px; height:340px; right:26%; bottom:-170px;
  background:rgba(229,87,46,.22);
  animation:inkDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes inkDrift{
  from{ translate:0 0; }
  to{ translate:-40px 30px; }
}

/* Entrance: text rises in, one after another (plays once) */
.ink-hero__copy > *{ animation:inkRise .8s cubic-bezier(.2,.8,.2,1) both; }
.ink-hero__copy > :nth-child(1){ animation-delay:.05s; }
.ink-hero__copy > :nth-child(2){ animation-delay:.15s; }
.ink-hero__copy > :nth-child(3){ animation-delay:.28s; }
.ink-hero__copy > :nth-child(4){ animation-delay:.4s; }
@keyframes inkRise{
  from{ opacity:0; translate:0 26px; }
  to{ opacity:1; translate:0 0; }
}

/* Books: float + fan out on hover */
.ink-mock{
  transition:rotate .6s cubic-bezier(.2,.8,.2,1), left .6s cubic-bezier(.2,.8,.2,1), scale .6s cubic-bezier(.2,.8,.2,1);
}
.ink-mock--1{ left:1%; animation:inkFloat 6s ease-in-out infinite; }
.ink-mock--2{ animation:inkFloat 7s ease-in-out -2s infinite; }
.ink-mock--3{ left:61%; width:36%; animation:inkFloat 6.5s ease-in-out -4s infinite; }
@keyframes inkFloat{
  0%,100%{ translate:0 0; }
  50%{ translate:0 -14px; }
}
@media (hover:hover){
  .ink-hero__art:hover .ink-mock--1{ rotate:-6deg; left:-3%; }
  .ink-hero__art:hover .ink-mock--3{ rotate:6deg; left:65%; }
  .ink-hero__art:hover .ink-mock--2{ scale:1.05; }
}

/* Primary button: shine sweep */
.ink-hero .ink-btn{ position:relative; overflow:hidden; }
.ink-hero .ink-btn--primary::after{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform:skewX(-20deg);
  transition:left .7s ease;
}
@media (hover:hover){
  .ink-hero .ink-btn--primary:hover::after{ left:130%; }
  .ink-hero .ink-btn--primary:hover{ box-shadow:0 14px 26px -10px rgba(201,68,26,.7); }
  .ink-hero .ink-btn--outline:hover{ box-shadow:0 14px 26px -12px rgba(20,33,61,.5); }
}

/* Smaller glows on phones */
@media (max-width:700px){
  .ink-hero::before{ width:260px; height:260px; }
  .ink-hero::after{ display:none; }
}




/* ===== Trust badges: modern hover effect ===== */
.ink-trust li{
  position:relative;
  overflow:hidden;
  transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s cubic-bezier(.2,.8,.2,1);
}

/* orange line that slides in along the bottom */
.ink-trust li::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:3px;
  background:linear-gradient(90deg,#e5572e,#f2b134);
  transform:scaleX(0); transform-origin:left;
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
}

/* icon circle */
.ink-trust__icon{
  transition:background-color .35s ease, color .35s ease, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.ink-trust__icon .ink-i{
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
.ink-trust li strong{
  display:block;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), color .3s ease;
}

@media (hover:hover){
  .ink-trust li:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 34px -16px rgba(20,33,61,.35);
  }
  .ink-trust li:hover::after{ transform:scaleX(1); }
  .ink-trust li:hover .ink-trust__icon{
    background:#c9441a;
    color:#fff;
    transform:scale(1.08);
    box-shadow:0 10px 18px -8px rgba(201,68,26,.7);
  }
  .ink-trust li:hover .ink-trust__icon .ink-i{ transform:rotate(-10deg) scale(1.08); }
  .ink-trust li:hover strong{ transform:translateX(3px); color:#c9441a; }
}






/* ===== "Hand-picked" band: modern effects ===== */
.ink-band{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(115deg,#f2b134 0%,#f6c04f 55%,#f2b134 100%);
}

/* translucent circles */
.ink-band::before,
.ink-band::after{
  content:"";
  position:absolute; z-index:-1; border-radius:50%;
  pointer-events:none;
  transition:transform .9s cubic-bezier(.2,.8,.2,1);
}
.ink-band::before{
  width:340px; height:340px; right:-70px; top:-150px;
  background:rgba(255,255,255,.28);
}
.ink-band::after{
  width:220px; height:220px; right:200px; bottom:-130px;
  background:rgba(229,87,46,.22);
}

@media (hover:hover){
  .ink-band:hover::before{ transform:translate(-30px,20px) scale(1.12); }
  .ink-band:hover::after{ transform:translate(30px,-14px) scale(1.15); }
}

/* heading slide-in on load (plays once) */
.ink-band > div{ animation:inkBandIn .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes inkBandIn{
  from{ opacity:0; translate:-24px 0; }
  to{ opacity:1; translate:0 0; }
}

/* button: arrow slides in */
.ink-band .ink-btn{
  position:relative;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background-color .3s ease, padding .35s ease;
}
.ink-band .ink-btn::after{
  content:"\2192";
  display:inline-block;
  width:0; overflow:hidden; opacity:0;
  margin-left:0;
  transition:width .35s ease, opacity .3s ease, margin-left .35s ease;
}
@media (hover:hover){
  .ink-band .ink-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 26px -12px rgba(20,33,61,.7);
  }
  .ink-band .ink-btn:hover::after{ width:1.1em; opacity:1; margin-left:.5rem; }
}
.ink-band .ink-btn:focus-visible::after{ width:1.1em; opacity:1; margin-left:.5rem; }

/* smaller shapes on phones */
@media (max-width:700px){
  .ink-band::before{ width:220px; height:220px; top:-110px; }
  .ink-band::after{ display:none; }
}





/* Category tiles: modern hover effect */
.ink-tile__art.ink-tile__art--img{
  position:relative;
  isolation:isolate;
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1);
}
.ink-tile__art--img img{
  transition:transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
/* dark gradient from the bottom */
.ink-tile__art--img::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(20,33,61,.78) 0%, rgba(20,33,61,0) 55%);
  opacity:0;
  transition:opacity .45s ease;
}
/* "Explore" pill */
.ink-tile__art--img::after{
  content:"Explore";
  position:absolute; left:50%; bottom:16px; z-index:2;
  transform:translate(-50%,16px);
  opacity:0;
  padding:.45rem 1.2rem;
  border-radius:999px;
  background:#fff; color:#14213d;
  font-weight:700; font-size:.9rem; line-height:1.2;
  transition:opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}

/* animated underline on the name */
.ink-tile__name{
  position:relative; display:inline-block;
  transition:color .3s ease;
}
.ink-tile__name::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-3px; height:2px;
  background:#e5572e;
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
}

/* hover + keyboard focus (hover only on devices that have a mouse) */
@media (hover:hover){
  .ink-tile:hover .ink-tile__art.ink-tile__art--img{
    transform:translateY(-8px);
    box-shadow:0 24px 40px -14px rgba(20,33,61,.5);
  }
  .ink-tile:hover .ink-tile__art--img img{ transform:scale(1.1); }
  .ink-tile:hover .ink-tile__art--img::before{ opacity:1; }
  .ink-tile:hover .ink-tile__art--img::after{ opacity:1; transform:translate(-50%,0); }
  .ink-tile:hover .ink-tile__name{ color:#c9441a; }
  .ink-tile:hover .ink-tile__name::after{ transform:scaleX(1); }
}
.ink-tile:focus-visible .ink-tile__art--img










/* Instagram feed: hover effect with Instagram logo */
#sb_instagram .sbi_item .sbi_photo{
  position:relative !important;
  overflow:hidden !important;
  border-radius:18px !important;
  display:block;
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1);
}
#sb_instagram .sbi_item .sbi_photo img{
  transition:transform .8s cubic-bezier(.2,.8,.2,1) !important;
}

/* dark tint */
#sb_instagram .sbi_item .sbi_photo::before{
  content:"";
  position:absolute; inset:0; z-index:2;
  background:rgba(20,33,61,.55);
  opacity:0;
  transition:opacity .4s ease;
  pointer-events:none;
}

/* Instagram logo */
#sb_instagram .sbi_item .sbi_photo::after{
  content:"";
  position:absolute; left:50%; top:50%; z-index:3;
  width:54px; height:54px;
  transform:translate(-50%,-50%) scale(.6);
  opacity:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}

@media (hover:hover){
  #sb_instagram .sbi_item .sbi_photo:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 34px -12px rgba(20,33,61,.5);
  }
  #sb_instagram .sbi_item .sbi_photo:hover img{ transform:scale(1.12); opacity:1 !important; }
  #sb_instagram .sbi_item .sbi_photo:hover::before{ opacity:1; }
  #sb_instagram .sbi_item .sbi_photo:hover::after{ opacity:1; transform:translate(-50%,-50%) scale(1); }
}
#sb_instagram .sbi_item .sbi_photo:focus-visible::before{ opacity:1; }
#sb_instagram .sbi_item .sbi_photo:focus-visible::after{ opacity:1; transform:translate(-50%,-50%) scale(1); }

/* Same effect if the theme's fallback tiles are showing */
.ink-insta__tile{ position:relative; }
.ink-insta__tile::after{
  content:""; position:absolute; inset:0;
  background:rgba(20,33,61,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E") center/54px no-repeat;
  opacity:0; transition:opacity .4s ease; pointer-events:none;
}
@media (hover:hover){ .ink-insta__tile:hover::after{ opacity:1; } }









/* Product cards: modern hover effect */
.ink-card{
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1);
}
.ink-card__cover{
  position:relative;
  isolation:isolate;
  transition:box-shadow .45s ease;
}
.ink-card__cover img,
.ink-card__cover .ink-ph{
  transition:transform .8s cubic-bezier(.2,.8,.2,1);
}

/* soft dark fade at the bottom of the cover */
.ink-card__cover::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(20,33,61,.55) 0%, rgba(20,33,61,0) 45%);
  opacity:0;
  transition:opacity .4s ease;
  pointer-events:none;
}
/* "View book" pill */
.ink-card__cover::after{
  content:"View book";
  position:absolute; left:50%; bottom:14px; z-index:2;
  transform:translate(-50%,14px);
  opacity:0;
  padding:.45rem 1.2rem;
  border-radius:999px;
  background:#fff; color:#14213d;
  font-weight:700; font-size:.9rem; line-height:1.2; white-space:nowrap;
  transition:opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}

/* button + heart polish */
.ink-card .ink-atc{
  transition:background-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.ink-heart{ transition:transform .3s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease; }

@media (hover:hover){
  .ink-card:hover{
    transform:translateY(-8px);
    box-shadow:0 26px 44px -18px rgba(20,33,61,.38);
  }
  .ink-card:hover .ink-card__cover img,
  .ink-card:hover .ink-card__cover .ink-ph{ transform:scale(1.06); }
  .ink-card:hover .ink-card__cover::before{ opacity:1; }
  .ink-card:hover .ink-card__cover::after{ opacity:1; transform:translate(-50%,0); }
  .ink-card:hover .ink-heart{ transform:scale(1.1); }
  .ink-card .ink-heart:hover{ background:#c9441a; color:#fff; }
  .ink-card:hover .ink-atc:not(.is-disabled){ background:#c9441a; box-shadow:0 10px 20px -8px rgba(201,68,26,.6); }
}
.ink-card:focus-within{ box-shadow:0 26px 44px -18px rgba(20,33,61,.38); }

/* keep the lift from being cut off in the Best sellers carousel */
.ink-carousel__track{ padding-top:14px; margin-top:-14px; padding-bottom:26px; }






/* ===== Newsletter band ===== */
.ink-news{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.ink-news::before,
.ink-news::after{
  content:"";
  position:absolute; z-index:-1; border-radius:50%;
  pointer-events:none;
  transition:transform 1s cubic-bezier(.2,.8,.2,1);
}
.ink-news::before{
  width:320px; height:320px; right:-80px; top:-160px;
  background:rgba(242,177,52,.18);
}
.ink-news::after{
  width:240px; height:240px; left:30%; bottom:-150px;
  background:rgba(229,87,46,.18);
}
@media (hover:hover){
  .ink-news:hover::before{ transform:translate(-40px,30px) scale(1.15); }
  .ink-news:hover::after{ transform:translate(30px,-20px) scale(1.2); }
}

/* email field */
.ink-news__form input[type=email]{
  transition:box-shadow .3s ease, transform .3s ease;
}
.ink-news__form input[type=email]:focus{
  box-shadow:0 0 0 5px rgba(242,177,52,.45);
}

/* subscribe button: lift + shine */
.ink-news .ink-btn--yellow{
  position:relative; overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background-color .3s ease;
}
.ink-news .ink-btn--yellow::after{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-20deg);
  transition:left .7s ease;
}
@media (hover:hover){
  .ink-news .ink-btn--yellow:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 24px -10px rgba(242,177,52,.85);
  }
  .ink-news .ink-btn--yellow:hover::after{ left:130%; }
}

/* ===== Footer ===== */

/* column headings: small underline that grows */
.ink-footer__col{ --u:0; }
.ink-footer__h{
  position:relative; display:inline-block;
  padding-bottom:.35rem;
}
.ink-footer__h::after{
  content:""; position:absolute; left:0; bottom:0; height:3px; width:26px;
  border-radius:3px; background:#e5572e;
  transition:width .4s cubic-bezier(.2,.8,.2,1);
}
@media (hover:hover){
  .ink-footer__col:hover .ink-footer__h::after{ width:100%; }
}

/* footer links: slide right + arrow */
.ink-flist a{
  position:relative; display:inline-block;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), color .25s ease;
}
.ink-flist a::before{
  content:"\2192";
  position:absolute; left:-1.1em; top:0;
  color:#e5572e; font-weight:700;
  opacity:0; transform:translateX(-6px);
  transition:opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
@media (hover:hover){
  .ink-flist a:hover{ transform:translateX(14px); color:#14213d; text-decoration:none; }
  .ink-flist a:hover::before{ opacity:1; transform:translateX(0); }
}
.ink-flist a:focus-visible{ transform:translateX(14px); }
.ink-flist a:focus-visible::before{ opacity:1; transform:translateX(0); }

/* contact rows */
.ink-contact li{
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.ink-contact li .ink-i{
  box-sizing:content-box;
  padding:6px; margin:-6px 0 -6px -6px;
  border-radius:50%;
  transition:background-color .3s ease, color .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
@media (hover:hover){
  .ink-contact li:hover{ transform:translateX(6px); }
  .ink-contact li:hover .ink-i{
    background:#c9441a; color:#fff; transform:rotate(-8deg) scale(1.05);
  }
}

/* WhatsApp button: gentle pulse ring */
.float-wa::before{
  content:""; position:absolute; inset:0; border-radius:50%;
  background:#25d366; z-index:-1;
  animation:inkWaPulse 2.6s ease-out infinite;
}
@keyframes inkWaPulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.7); opacity:0; }
}

/* phones: no sliding links, keep layout tidy */
@media (max-width:700px){
  .ink-flist a:hover{ transform:none; }
  .ink-flist a::before{ display:none; }
}