/*
Theme Name: Improve Your Way Books
Theme URI: https://improve-your-way.com/
Author: Jeremiah James / Improve Your Way
Description: A premium WooCommerce bookstore theme with automatic 3D book mockups, responsive 4-column desktop / 2-column mobile product grids, account dropdown, AJAX cart counter, legal-page setup, and modern bookstore merchandising.
Version: 1.0.67
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: iyw-books
*/

:root{
  --iyw-bg:#f7f8fb;--iyw-surface:#fff;--iyw-text:#101828;--iyw-muted:#667085;
  --iyw-primary:#5b34da;--iyw-primary-2:#7c5cff;--iyw-accent:#ffb703;--iyw-border:#e7eaf0;
  --iyw-success:#039855;--iyw-danger:#d92d20;--iyw-radius:18px;--iyw-shadow:0 14px 38px rgba(16,24,40,.09);
  --iyw-max:1380px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--iyw-bg);color:var(--iyw-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.iyw-container{width:min(var(--iyw-max),calc(100% - 32px));margin:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* Header */
.iyw-topbar{background:#111827;color:#fff;font-size:13px}.iyw-topbar .iyw-container{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.iyw-topbar strong{color:#ffd166}.iyw-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,234,240,.9)}.iyw-header-main{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;gap:24px;align-items:center;padding:15px 0}.iyw-logo{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:850;letter-spacing:-.04em;white-space:nowrap}.iyw-logo img{max-height:44px;width:auto}.iyw-logo-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--iyw-primary),var(--iyw-primary-2));color:#fff;display:grid;place-items:center;font-weight:900}.iyw-search{display:flex;align-items:center;background:#f2f4f7;border:1px solid #eaecf0;border-radius:14px;overflow:hidden;transition:.2s}.iyw-search:focus-within{background:#fff;border-color:#c6b9ff;box-shadow:0 0 0 4px rgba(91,52,218,.08)}.iyw-search select{border:0;border-right:1px solid #e2e5ea;background:transparent;padding:0 12px;height:48px;color:#475467;max-width:160px}.iyw-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;padding:0 14px;height:48px;font-size:15px}.iyw-search button{width:52px;height:48px;border:0;background:var(--iyw-primary);color:#fff;cursor:pointer;font-size:18px}.iyw-actions{display:flex;align-items:center;gap:10px}.iyw-icon-btn{position:relative;width:46px;height:46px;border:1px solid var(--iyw-border);border-radius:14px;background:#fff;display:grid;place-items:center;cursor:pointer;transition:.2s}.iyw-icon-btn:hover{transform:translateY(-2px);box-shadow:var(--iyw-shadow);border-color:#d7dce5}.iyw-badge{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}.iyw-account-wrap{position:relative}.iyw-account-menu{position:absolute;right:0;top:56px;width:250px;background:#fff;border:1px solid var(--iyw-border);box-shadow:var(--iyw-shadow);border-radius:18px;padding:10px;opacity:0;visibility:hidden;transform:translateY(-7px);transition:.18s}.iyw-account-wrap:hover .iyw-account-menu,.iyw-account-wrap:focus-within .iyw-account-menu,.iyw-account-wrap.is-open .iyw-account-menu{opacity:1;visibility:visible;transform:none}.iyw-account-head{padding:10px 10px 12px;border-bottom:1px solid var(--iyw-border);margin-bottom:6px}.iyw-account-head strong{display:block}.iyw-account-head small{color:var(--iyw-muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iyw-account-menu a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:11px;font-size:14px}.iyw-account-menu a:hover{background:#f5f3ff;color:var(--iyw-primary)}
.iyw-nav{border-top:1px solid #f0f2f5}.iyw-nav .iyw-container{display:flex;align-items:center;gap:25px;min-height:48px;overflow-x:auto}.iyw-nav a{font-size:14px;font-weight:700;white-space:nowrap}.iyw-nav a:hover{color:var(--iyw-primary)}.iyw-category-pill{background:#f2efff!important;color:var(--iyw-primary);padding:8px 12px;border-radius:10px}

/* Hero */
.iyw-hero{padding:40px 0 20px}.iyw-hero-card{position:relative;overflow:hidden;border-radius:28px;background:radial-gradient(circle at 90% 20%,rgba(255,255,255,.28),transparent 28%),linear-gradient(130deg,#2d1b69 0%,#5b34da 48%,#8b5cf6 100%);color:#fff;min-height:430px;padding:58px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;box-shadow:0 28px 60px rgba(56,33,130,.23)}.iyw-hero-card:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-120px;top:-80px}.iyw-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:13px;font-weight:750}.iyw-hero h1{font-size:clamp(40px,5vw,72px);line-height:1.02;letter-spacing:-.06em;margin:18px 0 18px;max-width:780px}.iyw-hero p{font-size:18px;color:rgba(255,255,255,.85);max-width:650px}.iyw-hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.iyw-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;padding:13px 18px;font-weight:800;border:1px solid transparent;cursor:pointer}.iyw-btn-light{background:#fff;color:#2d1b69}.iyw-btn-ghost{border-color:rgba(255,255,255,.3);color:#fff;background:rgba(255,255,255,.08)}.iyw-hero-art{position:relative;min-height:320px}.iyw-hero-book{position:absolute;width:180px;right:18%;top:28px;transform:rotate(8deg);filter:drop-shadow(0 30px 35px rgba(0,0,0,.28));animation:iyw-float 4.2s ease-in-out infinite}.iyw-hero-book:nth-child(2){right:46%;top:88px;width:140px;transform:rotate(-10deg);animation-delay:-1.6s;opacity:.92}@keyframes iyw-float{0%,100%{translate:0 0}50%{translate:0 -14px}}

/* Trust strip */
.iyw-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px auto 44px}.iyw-trust-item{background:#fff;border:1px solid var(--iyw-border);border-radius:16px;padding:18px;display:flex;gap:12px;align-items:center}.iyw-trust-icon{width:42px;height:42px;border-radius:12px;background:#f4f1ff;color:var(--iyw-primary);display:grid;place-items:center;font-weight:900}.iyw-trust-item strong{display:block;font-size:14px}.iyw-trust-item small{color:var(--iyw-muted)}

/* Sections / products */
.iyw-section{padding:26px 0 38px}.iyw-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.iyw-section-head h2{margin:0;font-size:clamp(26px,3vw,38px);letter-spacing:-.045em}.iyw-section-head p{margin:5px 0 0;color:var(--iyw-muted)}.iyw-text-link{font-weight:800;color:var(--iyw-primary)}
.woocommerce ul.products,.iyw-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.iyw-product-card{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--iyw-border);border-radius:20px;padding:15px!important;position:relative;overflow:visible;transition:.22s;box-shadow:0 3px 14px rgba(16,24,40,.03)}.woocommerce ul.products li.product:hover,.iyw-product-card:hover{transform:translateY(-5px);box-shadow:var(--iyw-shadow)}
.iyw-book-stage{position:relative;height:295px;border-radius:16px;background:linear-gradient(145deg,#f8f9fb,#eef0f4);display:grid;place-items:center;overflow:hidden;margin-bottom:14px}.iyw-book-stage:after{content:"";position:absolute;bottom:20px;width:58%;height:18px;border-radius:50%;background:rgba(15,23,42,.18);filter:blur(12px);transform:translateX(7px)}.iyw-book3d{position:relative;z-index:2;width:min(70%,180px);aspect-ratio:2/3;transform-style:preserve-3d;transform:perspective(850px) rotateY(-16deg) rotateX(1.5deg) rotateZ(-.4deg);transition:transform .3s ease;filter:drop-shadow(16px 20px 13px rgba(15,23,42,.18))}.iyw-book3d.is-moving{animation:iyw-book-breathe 4.5s ease-in-out infinite}.iyw-product-card:hover .iyw-book3d,.woocommerce li.product:hover .iyw-book3d{transform:perspective(850px) rotateY(-9deg) rotateX(1deg) translateY(-5px)}@keyframes iyw-book-breathe{0%,100%{translate:0 0}50%{translate:0 -7px}}.iyw-book3d img{position:relative;z-index:3;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:2px 5px 5px 2px!important;margin:0!important;display:block!important;background:#fff;box-shadow:2px 2px 0 #faf9f3,4px 4px 0 #e8e6dc,6px 6px 0 #f5f3e9,8px 8px 0 #d8d6cc,10px 10px 0 #f8f6ee,0 1px 1px rgba(15,23,42,.12)}.iyw-book3d:before{content:"";position:absolute;z-index:2;right:-13px;top:5px;width:15px;height:calc(100% - 8px);background:repeating-linear-gradient(0deg,#f8f6ec 0,#f8f6ec 2px,#ddd9cd 2px,#ddd9cd 3px,#fffef8 3px,#fffef8 5px);transform:rotateY(76deg);transform-origin:left center;border-radius:0 3px 3px 0;box-shadow:inset -2px 0 3px rgba(15,23,42,.14),2px 1px 3px rgba(15,23,42,.10)}.iyw-book3d:after{content:"";position:absolute;z-index:4;left:-5px;top:2px;width:7px;height:calc(100% - 4px);background:linear-gradient(90deg,rgba(15,23,42,.34),rgba(15,23,42,.12) 45%,rgba(255,255,255,.18));border-radius:3px 0 0 3px;box-shadow:1px 0 1px rgba(255,255,255,.20)}.iyw-product-badge{position:absolute;left:12px;top:12px;z-index:5;background:#101828;color:#fff;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}.iyw-wishlist{position:absolute;right:12px;top:12px;z-index:5;width:35px;height:35px;border:0;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 16px rgba(15,23,42,.12)}.iyw-product-meta{font-size:12px;color:var(--iyw-primary);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.woocommerce ul.products li.product .woocommerce-loop-product__title,.iyw-product-title{font-size:16px!important;line-height:1.35!important;margin:7px 0 8px!important;padding:0!important;font-weight:820!important;letter-spacing:-.02em;color:var(--iyw-text)}.iyw-author{color:var(--iyw-muted);font-size:13px;margin-bottom:10px}.iyw-rating{display:flex;align-items:center;gap:6px;font-size:12px;color:#f59e0b;margin:8px 0}.woocommerce ul.products li.product .price{display:block!important;font-size:17px!important;font-weight:850!important;color:var(--iyw-text)!important;margin:8px 0 14px!important}.woocommerce ul.products li.product .button{display:block!important;width:100%;text-align:center;border-radius:11px!important;background:var(--iyw-primary)!important;color:#fff!important;padding:11px 12px!important;font-weight:800!important;margin-top:0!important}.woocommerce ul.products li.product .added_to_cart{display:block;text-align:center;font-size:13px;margin-top:7px;color:var(--iyw-primary);font-weight:700}

/* Category cards */
.iyw-categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.iyw-category-card{background:#fff;border:1px solid var(--iyw-border);border-radius:18px;padding:22px 16px;text-align:center;transition:.2s}.iyw-category-card:hover{border-color:#c9bfff;transform:translateY(-3px);box-shadow:var(--iyw-shadow)}.iyw-category-card .icon{font-size:28px;margin-bottom:10px}.iyw-category-card strong{display:block}.iyw-category-card small{color:var(--iyw-muted)}

/* Single product */
.single-product div.product{display:grid;grid-template-columns:minmax(320px,.8fr) 1.2fr;gap:56px;margin-top:38px}.single-product div.product .woocommerce-product-gallery{width:auto!important;float:none!important}.single-product div.product .summary{width:auto!important;float:none!important;margin:0!important}.iyw-single-book-stage{min-height:520px;background:linear-gradient(145deg,#f5f6f8,#e9ecf1);border-radius:24px;display:grid;place-items:center}.single-product .iyw-book3d{width:min(62%,310px)}.single-product .product_title{font-size:clamp(34px,4vw,56px);letter-spacing:-.05em;line-height:1.05}.single-product .price{font-size:28px!important;color:var(--iyw-text)!important;font-weight:900}.single-product .cart{display:flex;gap:10px;align-items:center}.single-product .quantity .qty{height:50px;border:1px solid var(--iyw-border);border-radius:12px}.single-product .single_add_to_cart_button{height:50px!important;border-radius:12px!important;background:var(--iyw-primary)!important;padding:0 24px!important}.woocommerce-tabs{grid-column:1/-1;margin-top:20px}

/* Account + forms */
.iyw-account-page{padding:48px 0}.iyw-auth-shell{display:grid;grid-template-columns:.9fr 1.1fr;max-width:1050px;margin:auto;background:#fff;border:1px solid var(--iyw-border);border-radius:26px;overflow:hidden;box-shadow:var(--iyw-shadow)}.iyw-auth-side{padding:52px;background:linear-gradient(150deg,#2d1b69,#6d4aff);color:#fff}.iyw-auth-side h2{font-size:38px;letter-spacing:-.05em}.iyw-auth-side p{color:rgba(255,255,255,.8)}.iyw-auth-content{padding:45px}.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password{border:0!important;padding:0!important;margin:0!important}.woocommerce form .form-row input.input-text{height:48px;border:1px solid #dfe3ea;border-radius:11px;padding:0 13px}.woocommerce form .password-input{display:block;position:relative}.show-password-input{right:13px!important;top:50%!important;transform:translateY(-50%);cursor:pointer}.woocommerce-MyAccount-navigation ul{list-style:none;padding:10px;margin:0;background:#fff;border:1px solid var(--iyw-border);border-radius:16px}.woocommerce-MyAccount-navigation li a{display:block;padding:11px 12px;border-radius:10px;font-weight:700}.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{background:#f2efff;color:var(--iyw-primary)}

/* Content pages/footer */
.iyw-content-card{background:#fff;border:1px solid var(--iyw-border);border-radius:22px;padding:34px;margin:36px auto}.iyw-footer{margin-top:60px;background:#101828;color:#d0d5dd}.iyw-footer-main{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:54px 0}.iyw-footer h4{color:#fff;margin:0 0 14px}.iyw-footer p,.iyw-footer a{color:#98a2b3}.iyw-footer a:hover{color:#fff}.iyw-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.iyw-footer-bottom{border-top:1px solid #263141;padding:18px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}.iyw-newsletter{display:flex;margin-top:18px}.iyw-newsletter input{height:44px;border:0;padding:0 12px;border-radius:10px 0 0 10px;min-width:0}.iyw-newsletter button{border:0;background:var(--iyw-primary-2);color:#fff;padding:0 15px;border-radius:0 10px 10px 0;font-weight:800}

/* Woo notices/cart/checkout */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:14px;border-top:0!important;background:#fff!important;box-shadow:0 6px 20px rgba(16,24,40,.05)}.woocommerce-message{border-left:4px solid var(--iyw-success)!important}.woocommerce-info{border-left:4px solid var(--iyw-primary)!important}.woocommerce-error{border-left:4px solid var(--iyw-danger)!important}.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-billing-fields,.woocommerce-shipping-fields{background:#fff;border:1px solid var(--iyw-border);border-radius:18px;padding:20px}.woocommerce table.shop_table{border-color:var(--iyw-border)!important;border-radius:14px!important}.checkout-button,.woocommerce-checkout-payment .button{background:var(--iyw-primary)!important;border-radius:12px!important}

/* Mobile */
.iyw-mobile-toggle{display:none}.iyw-mobile-search{display:none}@media(max-width:980px){.iyw-header-main{grid-template-columns:auto auto}.iyw-search{display:none}.iyw-mobile-search{display:block;padding:0 0 12px}.iyw-mobile-search .iyw-search{display:flex}.iyw-hero-card{grid-template-columns:1fr;padding:40px;min-height:auto}.iyw-hero-art{min-height:260px}.iyw-trust{grid-template-columns:repeat(2,1fr)}.iyw-categories{grid-template-columns:repeat(3,1fr)}.woocommerce ul.products,.iyw-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.iyw-footer-main{grid-template-columns:1fr 1fr}.single-product div.product{grid-template-columns:1fr;gap:30px}.iyw-auth-shell{grid-template-columns:1fr}.iyw-auth-side{display:none}}
@media(max-width:680px){.iyw-container{width:min(100% - 22px,var(--iyw-max))}.iyw-topbar .iyw-container{justify-content:center;text-align:center}.iyw-topbar .iyw-topbar-right{display:none}.iyw-header-main{padding:10px 0;gap:10px}.iyw-logo{font-size:17px}.iyw-logo-mark{width:34px;height:34px}.iyw-actions{gap:6px}.iyw-icon-btn{width:40px;height:40px;border-radius:12px}.iyw-nav .iyw-container{gap:18px;min-height:44px}.iyw-hero{padding-top:18px}.iyw-hero-card{padding:27px 22px;border-radius:21px}.iyw-hero h1{font-size:39px}.iyw-hero p{font-size:15px}.iyw-hero-art{min-height:225px}.iyw-hero-book{width:128px;right:10%;top:25px}.iyw-hero-book:nth-child(2){width:104px;right:47%;top:72px}.iyw-trust{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:25px}.iyw-trust-item{padding:12px;align-items:flex-start}.iyw-trust-item small{font-size:11px}.iyw-section{padding:18px 0 28px}.iyw-section-head{align-items:center}.iyw-section-head h2{font-size:25px}.iyw-section-head p{font-size:13px}.woocommerce ul.products,.iyw-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product,.iyw-product-card{padding:9px!important;border-radius:15px}.iyw-book-stage{height:210px;border-radius:12px}.iyw-book3d{width:72%}.woocommerce ul.products li.product .woocommerce-loop-product__title,.iyw-product-title{font-size:14px!important}.iyw-author{font-size:12px}.woocommerce ul.products li.product .price{font-size:15px!important}.woocommerce ul.products li.product .button{font-size:12px!important;padding:10px 7px!important}.iyw-categories{grid-template-columns:repeat(2,1fr);gap:10px}.iyw-category-card{padding:17px 10px}.iyw-footer-main{grid-template-columns:1fr;padding:38px 0}.iyw-single-book-stage{min-height:390px}.iyw-auth-content{padding:25px}.single-product .product_title{font-size:36px}.single-product div.product{margin-top:20px}.iyw-account-menu{position:fixed;right:12px;top:72px;width:min(290px,calc(100vw - 24px))}}

/* Header layout refinement — v1.0.1 (header/responsiveness only) */
.iyw-header{
  position:relative;
  top:auto;
  z-index:20;
  background:#fff;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.iyw-header-main{
  grid-template-columns:minmax(180px,auto) minmax(260px,1fr) auto;
  gap:20px;
}
.iyw-logo,
.iyw-logo .custom-logo-link{
  min-width:0;
}
.iyw-logo img,
.iyw-logo .custom-logo{
  display:block;
  max-width:min(220px,100%);
  height:auto;
  max-height:44px;
  object-fit:contain;
}
.iyw-actions{justify-self:end;flex-shrink:0}
.iyw-nav{background:#fff}
.iyw-nav .iyw-container{
  min-height:52px;
  overflow:visible;
  flex-wrap:wrap;
  row-gap:8px;
  column-gap:24px;
  padding-top:7px;
  padding-bottom:7px;
}
.iyw-nav li{list-style:none;margin:0;padding:0}
.iyw-nav a{display:inline-flex;align-items:center;min-height:36px}

@media(max-width:980px){
  .iyw-header-main{
    grid-template-columns:minmax(0,1fr) auto;
    gap:14px;
  }
  .iyw-logo img,
  .iyw-logo .custom-logo{max-width:min(200px,100%)}
  .iyw-mobile-search{padding-bottom:10px}
  .iyw-nav .iyw-container{
    justify-content:flex-start;
    column-gap:18px;
  }
}

@media(max-width:680px){
  .iyw-header-main{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .iyw-logo{min-width:0;max-width:100%}
  .iyw-logo img,
  .iyw-logo .custom-logo{max-width:min(165px,100%);max-height:38px}
  .iyw-actions{gap:5px}
  .iyw-mobile-search{padding:0 0 10px}
  .iyw-mobile-search .iyw-search{width:100%}
  .iyw-mobile-search .iyw-search input{width:100%;min-width:0}
  .iyw-nav .iyw-container{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px 8px;
    min-height:0;
    padding-top:8px;
    padding-bottom:10px;
    overflow:visible;
  }
  .iyw-nav a{
    width:100%;
    min-width:0;
    min-height:40px;
    justify-content:center;
    padding:8px 9px;
    border:1px solid var(--iyw-border);
    border-radius:10px;
    background:#fff;
    text-align:center;
    white-space:normal;
    line-height:1.2;
    font-size:12px;
  }
  .iyw-nav .iyw-category-pill{padding:8px 9px}
  .iyw-account-menu{top:64px}
}

@media(max-width:380px){
  .iyw-container{width:calc(100% - 16px)}
  .iyw-logo img,
  .iyw-logo .custom-logo{max-width:138px;max-height:34px}
  .iyw-icon-btn{width:38px;height:38px}
  .iyw-nav .iyw-container{gap:6px}
  .iyw-nav a{font-size:11.5px;padding:7px 6px}
}


/* Primary menu refinement — v1.0.3 (menu area only) */
.iyw-nav{position:relative;background:#fff;border-top:1px solid #f0f2f5}
.iyw-nav .iyw-container{display:flex;align-items:center;gap:22px;min-height:54px;padding-top:7px;padding-bottom:7px;overflow:visible;flex-wrap:nowrap}
.iyw-primary-menu{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0;min-width:0;flex:1}
.iyw-primary-menu>li{position:relative;list-style:none;margin:0;padding:0}
.iyw-primary-menu a{display:flex;align-items:center;min-height:38px;padding:8px 11px;border-radius:10px;font-size:14px;font-weight:700;line-height:1.25;white-space:nowrap;color:var(--iyw-text)}
.iyw-primary-menu>li>a:hover,.iyw-primary-menu>li.current-menu-item>a,.iyw-primary-menu>li.current-menu-ancestor>a{background:#f7f5ff;color:var(--iyw-primary)}
.iyw-primary-menu .menu-item-has-children>a{gap:7px}
.iyw-primary-menu .menu-item-has-children>a:after{content:'⌄';font-size:12px;line-height:1;color:#667085;transition:transform .18s ease}
.iyw-primary-menu .sub-menu{position:absolute;left:0;top:calc(100% + 8px);z-index:80;width:max-content;min-width:230px;max-width:320px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--iyw-border);border-radius:14px;box-shadow:0 18px 45px rgba(16,24,40,.12);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.iyw-primary-menu .sub-menu li{position:relative;list-style:none;margin:0;padding:0}
.iyw-primary-menu .sub-menu a{min-height:38px;padding:9px 11px;border-radius:9px;white-space:normal;font-size:13.5px}
.iyw-primary-menu .sub-menu a:hover{background:#f7f5ff;color:var(--iyw-primary)}
.iyw-primary-menu li:hover>.sub-menu,.iyw-primary-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.iyw-primary-menu li:hover>a:after,.iyw-primary-menu li:focus-within>a:after{transform:rotate(180deg)}
.iyw-primary-menu .sub-menu .sub-menu{left:calc(100% + 8px);top:-8px}
.iyw-mobile-menu-toggle{display:none;border:1px solid var(--iyw-border);background:#fff;color:var(--iyw-text);height:40px;padding:0 12px;border-radius:10px;font:inherit;font-size:13px;font-weight:800;align-items:center;gap:8px;cursor:pointer}
.iyw-menu-toggle-icon{font-size:15px;line-height:1}

@media(max-width:860px){
  .iyw-nav .iyw-container{display:grid;grid-template-columns:auto auto;justify-content:space-between;gap:8px 12px;min-height:0;padding-top:8px;padding-bottom:8px}
  .iyw-mobile-menu-toggle{display:inline-flex;justify-self:end}
  .iyw-primary-menu{display:none;grid-column:1/-1;width:100%;padding:7px 0 2px;border-top:1px solid #f0f2f5;flex-direction:column;align-items:stretch;gap:3px}
  .iyw-nav.is-menu-open .iyw-primary-menu{display:flex}
  .iyw-primary-menu>li{width:100%}
  .iyw-primary-menu a{width:100%;min-height:42px;justify-content:space-between;padding:9px 10px;white-space:normal;border-radius:9px}
  .iyw-primary-menu .sub-menu{position:static;width:100%;min-width:0;max-width:none;margin:2px 0 5px;padding:4px 0 4px 12px;border:0;border-left:2px solid #e9e3ff;border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;background:transparent;display:block}
  .iyw-primary-menu .sub-menu a{min-height:38px;padding:8px 10px;font-size:13px}
  .iyw-primary-menu .sub-menu .sub-menu{position:static;margin-left:8px}
}

@media(max-width:420px){
  .iyw-nav .iyw-container{grid-template-columns:minmax(0,1fr) auto}
  .iyw-category-pill{min-width:0;justify-content:center;font-size:12px!important;padding:8px 9px!important}
  .iyw-mobile-menu-toggle{height:38px;padding:0 10px;font-size:12px}
}

/* v1.0.4 — Hero book alignment + mobile sizing only */
.iyw-hero-art{
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:18px 8px;
}
.iyw-hero-art .iyw-hero-book,
.iyw-hero-art .iyw-hero-book:nth-child(2){
  position:relative;
  right:auto;
  top:auto;
  flex:0 0 auto;
  width:160px;
  transform:none;
}
.iyw-hero-art .iyw-hero-book:nth-child(2){
  width:160px;
  opacity:1;
}
@media(max-width:680px){
  .iyw-hero-art{
    min-height:150px;
    gap:12px;
    padding:12px 0 0;
  }
  .iyw-hero-art .iyw-hero-book,
  .iyw-hero-art .iyw-hero-book:nth-child(2){
    width:min(30vw,92px);
  }
}

/* v1.0.9 — Realistic one-shot hero book opening and printed page-flip animation only */
.iyw-hero-art{
  perspective:1800px;
  transform-style:preserve-3d;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 8px;
  overflow:visible;
}
.iyw-hero-art .iyw-hero-book,
.iyw-hero-art .iyw-hero-book:first-child,
.iyw-hero-art .iyw-hero-book:nth-child(2){
  position:relative;
  right:auto;
  top:auto;
  width:min(250px,70%);
  aspect-ratio:2/3;
  opacity:1;
  overflow:visible;
  transform-style:preserve-3d;
  transform-origin:center center;
  filter:drop-shadow(0 30px 34px rgba(0,0,0,.30));
  animation:iyw-book-stage-real 10.6s cubic-bezier(.4,0,.2,1) 1 both!important;
  will-change:transform,filter;
}
.iyw-flip-book-core{position:absolute;inset:0;transform-style:preserve-3d}
.iyw-flip-book-base{
  position:absolute;inset:1.1% 0 1.1% 1.5%;z-index:1;border-radius:3px 7px 7px 3px;
  background:linear-gradient(90deg,rgba(82,58,36,.20),transparent 5%,transparent 94%,rgba(86,61,38,.13)),repeating-linear-gradient(0deg,#fffdf8 0 2px,#e9e0d3 2px 3px);
  box-shadow:10px 12px 20px rgba(0,0,0,.18),inset -9px 0 12px rgba(91,65,41,.12);transform:translateZ(-4px)
}
.iyw-flip-book-base:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;border-radius:3px 0 0 3px;background:linear-gradient(90deg,rgba(42,28,17,.34),rgba(255,255,255,.06))}
.iyw-flip-book-base:after{content:"";position:absolute;inset:7% 9% 7% 12%;opacity:.30;background:repeating-linear-gradient(to bottom,rgba(74,61,50,.34) 0 1px,transparent 1px 6px)}
.iyw-flip-cover{
  position:absolute;inset:0;z-index:30;transform-origin:left center;transform-style:preserve-3d;transform:rotateY(0deg) translateZ(7px);
  animation:iyw-front-cover-real 10.6s cubic-bezier(.55,.05,.22,1) 1 both;will-change:transform
}
.iyw-flip-cover img{position:absolute;inset:0;z-index:2;display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:2px 6px 6px 2px!important;margin:0!important;backface-visibility:hidden;box-shadow:8px 10px 18px rgba(0,0,0,.17)}
.iyw-flip-cover:after{content:"";position:absolute;inset:0;border-radius:6px 2px 2px 6px;background:linear-gradient(90deg,#e2d6c5,#fffaf0 13%,#f8f0e5 88%,#d4c3ac);box-shadow:inset 9px 0 12px rgba(77,55,35,.14);transform:rotateY(180deg) translateZ(1px);backface-visibility:hidden}
.iyw-flip-leaf{
  position:absolute;inset:2% 1.8% 2% 2.5%;z-index:10;transform-origin:left center;transform-style:preserve-3d;opacity:0;
  will-change:transform,opacity;filter:drop-shadow(1px 3px 3px rgba(0,0,0,.08))
}
.iyw-page-face{
  position:absolute;inset:0;overflow:hidden;border-radius:2px 5px 5px 2px;backface-visibility:hidden;
  background:linear-gradient(90deg,rgba(126,94,61,.14),transparent 8%,transparent 91%,rgba(113,82,50,.10)),linear-gradient(#fffef9,#fbf6ed);
  box-shadow:inset -8px 0 10px rgba(83,59,36,.09),inset 0 0 16px rgba(104,79,55,.035)
}
.iyw-page-front{transform:rotateY(0deg) translateZ(.7px)}
.iyw-page-back{transform:rotateY(180deg) translateZ(.7px);background:linear-gradient(270deg,rgba(126,94,61,.14),transparent 8%,transparent 91%,rgba(113,82,50,.10)),linear-gradient(#fffef9,#fbf6ed)}
.iyw-page-copy{
  position:absolute;inset:8.5% 9% 8% 12%;display:block;color:rgba(58,49,41,.72);font-family:Georgia,"Times New Roman",serif;font-size:5.2px;line-height:1.52;letter-spacing:.01em;text-align:justify;overflow:hidden
}
.iyw-page-back .iyw-page-copy{inset:8.5% 12% 8% 9%}
.iyw-page-copy b{display:block;margin:0 0 7px;padding:0 0 4px;border-bottom:1px solid rgba(77,62,50,.18);font-size:7px;line-height:1.2;text-align:center;letter-spacing:.025em;color:rgba(48,40,33,.78)}
.iyw-page-copy i{display:block;margin:0 0 7px;font-style:normal}
.iyw-page-copy i:after{content:"";display:block;height:38px;margin-top:4px;opacity:.42;background:repeating-linear-gradient(to bottom,rgba(60,51,43,.45) 0 1px,transparent 1px 5px);-webkit-mask-image:linear-gradient(to right,#000 0 92%,transparent 92%);mask-image:linear-gradient(to right,#000 0 92%,transparent 92%)}
.iyw-page-copy em{position:absolute;left:0;right:0;bottom:0;font-size:4.5px;font-style:normal;text-align:center;color:rgba(72,60,49,.55)}
.iyw-flip-leaf-1{z-index:19;animation:iyw-leaf-one 10.6s cubic-bezier(.45,.05,.22,1) 1 both}
.iyw-flip-leaf-2{z-index:18;animation:iyw-leaf-two 10.6s cubic-bezier(.45,.05,.22,1) 1 both}
.iyw-flip-leaf-3{z-index:17;animation:iyw-leaf-three 10.6s cubic-bezier(.45,.05,.22,1) 1 both}
.iyw-flip-leaf-4{z-index:16;animation:iyw-leaf-four 10.6s cubic-bezier(.45,.05,.22,1) 1 both}
.iyw-flip-leaf-5{z-index:15;animation:iyw-leaf-five 10.6s cubic-bezier(.45,.05,.22,1) 1 both}
.iyw-flip-book-glow{position:absolute;z-index:0;left:-30%;right:-30%;bottom:-14%;height:30%;border-radius:50%;opacity:0;background:radial-gradient(ellipse,rgba(255,215,124,.42),rgba(164,108,255,.24) 42%,transparent 72%);filter:blur(13px);animation:iyw-book-glow-real 10.6s ease-in-out 1 both;pointer-events:none}
.iyw-flip-book-shine{position:absolute;z-index:40;top:-12%;bottom:-12%;left:-48%;width:27%;opacity:0;transform:skewX(-16deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.54),transparent);animation:iyw-book-shine-real 10.6s ease-in-out 1 both;pointer-events:none}
@keyframes iyw-book-stage-real{
  0%,12%{transform:perspective(1250px) rotateY(-8deg) rotateX(1deg) rotateZ(-1deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
  24%,72%{transform:perspective(1250px) rotateY(4deg) rotateX(-1deg) rotateZ(.15deg) translate3d(30px,-4px,20px) scale(1.04);filter:drop-shadow(0 38px 40px rgba(0,0,0,.34))}
  84%,100%{transform:perspective(1250px) rotateY(-8deg) rotateX(1deg) rotateZ(-1deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
}
@keyframes iyw-front-cover-real{
  0%,16%{transform:rotateY(0deg) translateZ(7px)}
  27%,72%{transform:rotateY(-168deg) translateZ(7px)}
  84%,100%{transform:rotateY(0deg) translateZ(7px)}
}
@keyframes iyw-leaf-one{
  0%,28%{opacity:0;transform:rotateY(0deg) translateZ(5px)}28.5%{opacity:1}36%,66%{opacity:1;transform:rotateY(-172deg) translateZ(5px)}73%{opacity:1;transform:rotateY(0deg) translateZ(5px)}75%,100%{opacity:0;transform:rotateY(0deg) translateZ(5px)}
}
@keyframes iyw-leaf-two{
  0%,34%{opacity:0;transform:rotateY(0deg) translateZ(4px)}34.5%{opacity:1}42%,64%{opacity:1;transform:rotateY(-174deg) translateZ(4px)}69%{opacity:1;transform:rotateY(0deg) translateZ(4px)}73%,100%{opacity:0;transform:rotateY(0deg) translateZ(4px)}
}
@keyframes iyw-leaf-three{
  0%,40%{opacity:0;transform:rotateY(0deg) translateZ(3px)}40.5%{opacity:1}48%,62%{opacity:1;transform:rotateY(-176deg) translateZ(3px)}66%{opacity:1;transform:rotateY(0deg) translateZ(3px)}71%,100%{opacity:0;transform:rotateY(0deg) translateZ(3px)}
}
@keyframes iyw-leaf-four{
  0%,46%{opacity:0;transform:rotateY(0deg) translateZ(2px)}46.5%{opacity:1}54%,60%{opacity:1;transform:rotateY(-174deg) translateZ(2px)}63%{opacity:1;transform:rotateY(0deg) translateZ(2px)}69%,100%{opacity:0;transform:rotateY(0deg) translateZ(2px)}
}
@keyframes iyw-leaf-five{
  0%,52%{opacity:0;transform:rotateY(0deg) translateZ(1px)}52.5%{opacity:1}59%{opacity:1;transform:rotateY(-171deg) translateZ(1px)}62%{opacity:1;transform:rotateY(0deg) translateZ(1px)}67%,100%{opacity:0;transform:rotateY(0deg) translateZ(1px)}
}
@keyframes iyw-book-glow-real{0%,17%,100%{opacity:0;transform:scale(.82)}28%,72%{opacity:1;transform:scale(1)}84%{opacity:0;transform:scale(.9)}}
@keyframes iyw-book-shine-real{0%,7%{left:-48%;opacity:0}10%{opacity:.62}18%{left:120%;opacity:0}85%{left:-48%;opacity:0}88%{opacity:.42}97%{left:120%;opacity:0}100%{opacity:0}}
@media(max-width:680px){
  .iyw-hero-art{min-height:165px;padding:10px 0 0}
  .iyw-hero-art .iyw-hero-book,.iyw-hero-art .iyw-hero-book:first-child,.iyw-hero-art .iyw-hero-book:nth-child(2){width:min(36vw,112px);transform-origin:center center}
  .iyw-page-copy{inset:8% 8% 8% 11%;font-size:3.15px;line-height:1.42}.iyw-page-back .iyw-page-copy{inset:8% 11% 8% 8%}.iyw-page-copy b{font-size:4.1px;margin-bottom:4px;padding-bottom:2px}.iyw-page-copy i{margin-bottom:4px}.iyw-page-copy i:after{height:20px;background-size:auto}.iyw-page-copy em{font-size:2.8px}
}
@media(prefers-reduced-motion:reduce){
  .iyw-hero-art .iyw-hero-book,.iyw-flip-cover,.iyw-flip-leaf,.iyw-flip-book-glow,.iyw-flip-book-shine{animation:none!important}
  .iyw-flip-cover{transform:rotateY(0deg) translateZ(7px)!important}.iyw-flip-leaf{opacity:0!important}
}


/* v1.0.10 — Full-page print texture + refined realistic one-shot page turning. Hero book only. */
.iyw-page-face{
  isolation:isolate;
  overflow:hidden;
}
/* Fine paper grain and full-page printed lines, so no sheet appears half-empty. */
.iyw-page-face:before{
  content:"";
  position:absolute;
  inset:4.5% 5.5% 5%;
  z-index:0;
  pointer-events:none;
  opacity:.34;
  background:
    radial-gradient(circle at 15% 18%,rgba(87,67,47,.08) 0 .6px,transparent .7px),
    radial-gradient(circle at 72% 64%,rgba(87,67,47,.06) 0 .55px,transparent .65px),
    repeating-linear-gradient(to bottom,rgba(62,53,45,.40) 0 1px,transparent 1px 5.25px);
  background-size:13px 17px,17px 19px,100% 5.25px;
  -webkit-mask-image:linear-gradient(to right,#000 0 94%,transparent 94%);
  mask-image:linear-gradient(to right,#000 0 94%,transparent 94%);
}
.iyw-page-back:before{
  -webkit-mask-image:linear-gradient(to left,#000 0 94%,transparent 94%);
  mask-image:linear-gradient(to left,#000 0 94%,transparent 94%);
}
.iyw-page-copy{
  z-index:2;
  inset:7.5% 8.5% 7% 11%;
  font-size:5px;
  line-height:1.42;
  text-align:justify;
  background:linear-gradient(#fffef9 0 0) padding-box;
  box-shadow:0 0 0 3px rgba(255,254,249,.72);
}
.iyw-page-back .iyw-page-copy{inset:7.5% 11% 7% 8.5%}
/* Continue the visual typesetting down to the footer of every page. */
.iyw-page-copy:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:41%;
  bottom:7%;
  z-index:-1;
  opacity:.72;
  background:
    repeating-linear-gradient(to bottom,rgba(57,49,42,.58) 0 1px,transparent 1px 5.05px),
    linear-gradient(to right,transparent 0 9%,rgba(255,254,249,.82) 9% 11%,transparent 11% 70%,rgba(255,254,249,.74) 70% 72%,transparent 72%);
  -webkit-mask-image:linear-gradient(to right,#000 0 96%,transparent 96%);
  mask-image:linear-gradient(to right,#000 0 96%,transparent 96%);
}
.iyw-page-copy b{position:relative;z-index:3;background:#fffef9;padding-left:2px;padding-right:2px}
.iyw-page-copy i{position:relative;z-index:3;background:rgba(255,254,249,.92);padding:0 1px;margin-bottom:5px}
.iyw-page-copy i:after{
  height:49px;
  margin-top:3px;
  opacity:.58;
  background:repeating-linear-gradient(to bottom,rgba(57,49,42,.55) 0 1px,transparent 1px 5.05px);
}
.iyw-page-copy em{z-index:4;background:#fffef9;padding:0 3px;width:max-content;margin:auto}

/* More convincing paper stack and spine depth while open. */
.iyw-flip-book-base{
  box-shadow:12px 14px 24px rgba(0,0,0,.20),inset -13px 0 15px rgba(91,65,41,.15),inset 4px 0 8px rgba(66,44,26,.09);
}
.iyw-flip-book-base:before{width:10px;background:linear-gradient(90deg,rgba(36,23,14,.40),rgba(255,255,255,.08) 55%,rgba(72,49,31,.10))}
.iyw-flip-leaf{
  transform-origin:1.5% 50%;
  filter:drop-shadow(2px 5px 4px rgba(0,0,0,.11));
}
.iyw-page-face{
  box-shadow:inset -10px 0 13px rgba(83,59,36,.11),inset 5px 0 7px rgba(114,83,53,.06),inset 0 0 18px rgba(104,79,55,.04);
}
.iyw-page-back{
  box-shadow:inset 10px 0 13px rgba(83,59,36,.10),inset -5px 0 7px rgba(114,83,53,.05),inset 0 0 18px rgba(104,79,55,.04);
}
/* A thin highlight travels near the fold as each sheet turns. */
.iyw-flip-leaf:after{
  content:"";
  position:absolute;
  z-index:50;
  top:1%;bottom:1%;left:0;
  width:12%;
  pointer-events:none;
  opacity:.55;
  background:linear-gradient(90deg,rgba(89,60,36,.16),rgba(255,255,255,.50),rgba(255,255,255,0));
  border-radius:3px 0 0 3px;
  backface-visibility:hidden;
}

/* Refined leaf paths: each sheet lifts, arches through 90°, settles, then returns before closing. */
@keyframes iyw-leaf-one{
  0%,27%{opacity:0;transform:translateZ(5px) rotateY(0deg) rotateZ(0deg)}
  28%{opacity:1;transform:translateZ(6px) rotateY(-8deg) rotateZ(.2deg)}
  31%{opacity:1;transform:translate3d(-1px,-1px,9px) rotateY(-58deg) rotateZ(.7deg) skewY(.35deg)}
  34%{opacity:1;transform:translate3d(-3px,-2px,12px) rotateY(-104deg) rotateZ(.55deg) skewY(-.25deg)}
  38%,65%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-173deg) rotateZ(.12deg)}
  68%{opacity:1;transform:translate3d(-3px,-1px,11px) rotateY(-116deg) rotateZ(-.35deg)}
  71%{opacity:1;transform:translate3d(-1px,-1px,8px) rotateY(-48deg) rotateZ(-.4deg)}
  74%{opacity:1;transform:translateZ(5px) rotateY(0deg)}
  76%,100%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
}
@keyframes iyw-leaf-two{
  0%,33%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
  34%{opacity:1;transform:translateZ(5px) rotateY(-7deg)}
  37%{opacity:1;transform:translate3d(-1px,-1px,9px) rotateY(-62deg) rotateZ(.55deg)}
  40%{opacity:1;transform:translate3d(-3px,-2px,11px) rotateY(-109deg) rotateZ(.4deg)}
  44%,63%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-174deg)}
  66%{opacity:1;transform:translate3d(-3px,-1px,10px) rotateY(-110deg) rotateZ(-.3deg)}
  69%{opacity:1;transform:translate3d(-1px,-1px,7px) rotateY(-43deg)}
  72%{opacity:1;transform:translateZ(4px) rotateY(0deg)}
  74%,100%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
}
@keyframes iyw-leaf-three{
  0%,39%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
  40%{opacity:1;transform:translateZ(4px) rotateY(-8deg)}
  43%{opacity:1;transform:translate3d(-1px,-1px,8px) rotateY(-65deg) rotateZ(.45deg)}
  46%{opacity:1;transform:translate3d(-3px,-2px,10px) rotateY(-112deg) rotateZ(.3deg)}
  50%,61%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-175deg)}
  64%{opacity:1;transform:translate3d(-3px,-1px,9px) rotateY(-106deg) rotateZ(-.25deg)}
  67%{opacity:1;transform:translate3d(-1px,-1px,6px) rotateY(-40deg)}
  70%{opacity:1;transform:translateZ(3px) rotateY(0deg)}
  72%,100%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
}
@keyframes iyw-leaf-four{
  0%,45%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
  46%{opacity:1;transform:translateZ(3px) rotateY(-8deg)}
  49%{opacity:1;transform:translate3d(-1px,-1px,7px) rotateY(-68deg) rotateZ(.35deg)}
  52%{opacity:1;transform:translate3d(-3px,-2px,9px) rotateY(-116deg) rotateZ(.25deg)}
  55%,59%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-174deg)}
  62%{opacity:1;transform:translate3d(-3px,-1px,8px) rotateY(-102deg) rotateZ(-.2deg)}
  65%{opacity:1;transform:translate3d(-1px,-1px,5px) rotateY(-37deg)}
  68%{opacity:1;transform:translateZ(2px) rotateY(0deg)}
  70%,100%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
}
@keyframes iyw-leaf-five{
  0%,51%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
  52%{opacity:1;transform:translateZ(2px) rotateY(-8deg)}
  55%{opacity:1;transform:translate3d(-1px,-1px,6px) rotateY(-70deg) rotateZ(.25deg)}
  58%{opacity:1;transform:translate3d(-3px,-2px,8px) rotateY(-118deg) rotateZ(.2deg)}
  60%{opacity:1;transform:translate3d(-5px,0,4px) rotateY(-172deg)}
  62.5%{opacity:1;transform:translate3d(-3px,-1px,7px) rotateY(-100deg) rotateZ(-.15deg)}
  65%{opacity:1;transform:translate3d(-1px,-1px,4px) rotateY(-34deg)}
  67%{opacity:1;transform:translateZ(1px) rotateY(0deg)}
  69%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}
/* Cover follows the paper more naturally and pauses fully open while the pages move. */
@keyframes iyw-front-cover-real{
  0%,15%{transform:rotateY(0deg) translateZ(7px)}
  19%{transform:rotateY(-38deg) translate3d(-1px,-1px,10px)}
  23%{transform:rotateY(-112deg) translate3d(-3px,-1px,12px)}
  27%,74%{transform:rotateY(-168deg) translate3d(-5px,0,8px)}
  78%{transform:rotateY(-118deg) translate3d(-3px,-1px,11px)}
  82%{transform:rotateY(-42deg) translate3d(-1px,-1px,9px)}
  86%,100%{transform:rotateY(0deg) translateZ(7px)}
}
@media(max-width:680px){
  .iyw-page-copy{inset:7% 8% 7% 10.5%;font-size:3px;line-height:1.38}
  .iyw-page-back .iyw-page-copy{inset:7% 10.5% 7% 8%}
  .iyw-page-copy b{font-size:4px;margin-bottom:3px}
  .iyw-page-copy i{margin-bottom:3px}
  .iyw-page-copy i:after{height:28px;background:repeating-linear-gradient(to bottom,rgba(57,49,42,.55) 0 .7px,transparent .7px 3.4px)}
  .iyw-page-copy:after{top:39%;bottom:7%;background:repeating-linear-gradient(to bottom,rgba(57,49,42,.56) 0 .7px,transparent .7px 3.4px)}
  .iyw-page-face:before{background-size:9px 12px,11px 13px,100% 3.4px}
}


/* v1.0.11 — Fluid, human-paced hero book opening. Hero animation only. */
.iyw-hero-art .iyw-hero-book,
.iyw-hero-art .iyw-hero-book:first-child,
.iyw-hero-art .iyw-hero-book:nth-child(2){
  animation-duration:13.2s!important;
  animation-timing-function:cubic-bezier(.22,.61,.36,1)!important;
}
.iyw-flip-cover{
  animation-duration:13.2s;
  animation-timing-function:linear;
}
.iyw-flip-leaf-1,
.iyw-flip-leaf-2,
.iyw-flip-leaf-3,
.iyw-flip-leaf-4,
.iyw-flip-leaf-5{
  animation-duration:13.2s;
  animation-timing-function:linear;
}
.iyw-flip-book-glow,.iyw-flip-book-shine{animation-duration:13.2s}

/* The whole book makes only a small, natural adjustment as it is handled. */
@keyframes iyw-book-stage-real{
  0%,10%{transform:perspective(1250px) rotateY(-7deg) rotateX(1.2deg) rotateZ(-.7deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
  24%{transform:perspective(1250px) rotateY(-3deg) rotateX(.4deg) rotateZ(-.25deg) translate3d(8px,-2px,8px) scale(1.015);filter:drop-shadow(0 31px 34px rgba(0,0,0,.30))}
  34%,76%{transform:perspective(1250px) rotateY(1.5deg) rotateX(-.5deg) rotateZ(.08deg) translate3d(18px,-4px,13px) scale(1.025);filter:drop-shadow(0 35px 38px rgba(0,0,0,.32))}
  88%{transform:perspective(1250px) rotateY(-3deg) rotateX(.35deg) rotateZ(-.25deg) translate3d(7px,-1px,6px) scale(1.012);filter:drop-shadow(0 31px 34px rgba(0,0,0,.30))}
  96%,100%{transform:perspective(1250px) rotateY(-7deg) rotateX(1.2deg) rotateZ(-.7deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
}

/* A slow lift, smooth acceleration through the hinge, then a soft settle fully open. */
@keyframes iyw-front-cover-real{
  0%,11%{transform:rotateY(0deg) translateZ(7px)}
  15%{transform:rotateY(-5deg) translate3d(0,-.4px,8px)}
  19%{transform:rotateY(-18deg) translate3d(-.4px,-1px,9px)}
  23%{transform:rotateY(-48deg) translate3d(-1px,-1.6px,11px)}
  27%{transform:rotateY(-91deg) translate3d(-2.3px,-1.8px,13px)}
  30%{transform:rotateY(-132deg) translate3d(-3.6px,-1.2px,12px)}
  33%{transform:rotateY(-160deg) translate3d(-4.6px,-.5px,9px)}
  35%,77%{transform:rotateY(-166deg) translate3d(-4.8px,0,8px)}
  80%{transform:rotateY(-157deg) translate3d(-4.4px,-.3px,9px)}
  84%{transform:rotateY(-126deg) translate3d(-3.2px,-1px,11px)}
  88%{transform:rotateY(-78deg) translate3d(-1.8px,-1.3px,11px)}
  91%{transform:rotateY(-36deg) translate3d(-.7px,-.8px,9px)}
  94%{transform:rotateY(-9deg) translate3d(-.1px,-.25px,8px)}
  96%,100%{transform:rotateY(0deg) translateZ(7px)}
}

/* Each sheet turns once, at a slightly different human cadence. Pages do not mechanically reverse. */
@keyframes iyw-leaf-one{
  0%,34%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
  34.4%{opacity:1;transform:translateZ(6px) rotateY(-2deg)}
  36.2%{opacity:1;transform:translate3d(-.3px,-1px,10px) rotateY(-18deg) rotateZ(.18deg)}
  38.7%{opacity:1;transform:translate3d(-1.2px,-2.1px,15px) rotateY(-56deg) rotateZ(.42deg) skewY(.18deg)}
  41.1%{opacity:1;transform:translate3d(-2.8px,-2.5px,18px) rotateY(-101deg) rotateZ(.34deg) skewY(-.12deg)}
  43.4%{opacity:1;transform:translate3d(-4.2px,-1.4px,13px) rotateY(-143deg) rotateZ(.16deg)}
  45.5%,79.5%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-176deg) rotateZ(.04deg)}
  80.2%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-176deg)}
  81%,100%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
}
@keyframes iyw-leaf-two{
  0%,40%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
  40.4%{opacity:1;transform:translateZ(5px) rotateY(-2deg)}
  42.1%{opacity:1;transform:translate3d(-.3px,-.8px,9px) rotateY(-20deg) rotateZ(.14deg)}
  44.3%{opacity:1;transform:translate3d(-1.3px,-1.9px,14px) rotateY(-60deg) rotateZ(.34deg)}
  46.5%{opacity:1;transform:translate3d(-2.8px,-2.2px,17px) rotateY(-105deg) rotateZ(.28deg)}
  48.6%{opacity:1;transform:translate3d(-4.1px,-1.2px,12px) rotateY(-146deg) rotateZ(.12deg)}
  50.5%,79.3%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-177deg)}
  80%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-177deg)}
  81%,100%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
}
@keyframes iyw-leaf-three{
  0%,46%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
  46.4%{opacity:1;transform:translateZ(4px) rotateY(-2deg)}
  48.1%{opacity:1;transform:translate3d(-.3px,-.9px,9px) rotateY(-19deg) rotateZ(.16deg)}
  50.2%{opacity:1;transform:translate3d(-1.2px,-1.8px,13px) rotateY(-58deg) rotateZ(.31deg)}
  52.4%{opacity:1;transform:translate3d(-2.7px,-2px,16px) rotateY(-104deg) rotateZ(.22deg)}
  54.3%{opacity:1;transform:translate3d(-4px,-1.1px,11px) rotateY(-148deg) rotateZ(.10deg)}
  56.2%,79.1%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-177deg)}
  79.8%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-177deg)}
  81%,100%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
}
@keyframes iyw-leaf-four{
  0%,52%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
  52.4%{opacity:1;transform:translateZ(3px) rotateY(-2deg)}
  54%{opacity:1;transform:translate3d(-.2px,-.8px,8px) rotateY(-18deg) rotateZ(.13deg)}
  56.1%{opacity:1;transform:translate3d(-1.1px,-1.7px,12px) rotateY(-57deg) rotateZ(.28deg)}
  58.2%{opacity:1;transform:translate3d(-2.6px,-1.9px,15px) rotateY(-103deg) rotateZ(.18deg)}
  60.1%{opacity:1;transform:translate3d(-3.9px,-1px,10px) rotateY(-149deg) rotateZ(.08deg)}
  62%,78.9%{opacity:1;transform:translate3d(-5px,0,4px) rotateY(-178deg)}
  79.6%{opacity:0;transform:translate3d(-5px,0,4px) rotateY(-178deg)}
  81%,100%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
}
@keyframes iyw-leaf-five{
  0%,58%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
  58.4%{opacity:1;transform:translateZ(2px) rotateY(-2deg)}
  60%{opacity:1;transform:translate3d(-.2px,-.8px,7px) rotateY(-18deg) rotateZ(.12deg)}
  62%{opacity:1;transform:translate3d(-1px,-1.6px,11px) rotateY(-56deg) rotateZ(.25deg)}
  64%{opacity:1;transform:translate3d(-2.5px,-1.8px,14px) rotateY(-102deg) rotateZ(.16deg)}
  65.8%{opacity:1;transform:translate3d(-3.8px,-.9px,9px) rotateY(-150deg) rotateZ(.07deg)}
  67.6%,78.7%{opacity:1;transform:translate3d(-5px,0,3px) rotateY(-178deg)}
  79.4%{opacity:0;transform:translate3d(-5px,0,3px) rotateY(-178deg)}
  81%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}

@keyframes iyw-book-glow-real{
  0%,14%,100%{opacity:0;transform:scale(.86)}
  27%{opacity:.58;transform:scale(.94)}
  38%,76%{opacity:.9;transform:scale(1)}
  90%{opacity:.18;transform:scale(.92)}
  96%{opacity:0}
}
@keyframes iyw-book-shine-real{
  0%,8%{left:-48%;opacity:0}
  11%{opacity:.32}
  18%{left:115%;opacity:0}
  100%{left:115%;opacity:0}
}


/* v1.0.12 — Curved page-turn bridge + printed inside spread. Hero animation only.
   This removes the harsh "cut" look at mid-turn by keeping a visible curled
   section of paper while the main sheet crosses the spine. */

/* Keep the opened spread visually complete behind every moving sheet. */
.iyw-flip-cover:before{
  content:"";
  position:absolute;
  inset:2.6% 3.2% 2.6% 4.2%;
  z-index:1;
  border-radius:3px 7px 7px 3px;
  transform:rotateY(180deg) translateZ(1.8px);
  backface-visibility:hidden;
  pointer-events:none;
  opacity:.98;
  background:
    linear-gradient(90deg,rgba(91,63,39,.16),transparent 8%,transparent 94%,rgba(96,68,43,.10)),
    linear-gradient(#fffdf8,#fbf4e9);
  box-shadow:inset 10px 0 15px rgba(66,43,26,.10),inset -5px 0 8px rgba(92,66,43,.05);
}
.iyw-flip-cover:before{
  background-image:
    linear-gradient(90deg,rgba(91,63,39,.16),transparent 8%,transparent 94%,rgba(96,68,43,.10)),
    repeating-linear-gradient(to bottom,transparent 0 13%,rgba(56,48,40,.28) 13% calc(13% + .7px),transparent calc(13% + .7px) calc(13% + 4px)),
    linear-gradient(#fffdf8,#fbf4e9);
  background-size:100% 100%,78% 84%,100% 100%;
  background-position:0 0,56% 52%,0 0;
  background-repeat:no-repeat;
}

/* The stationary right-hand page gets a proper inner margin/spine, so the
   moving sheet never appears to end against an empty rectangle. */
.iyw-flip-book-base:after{
  inset:6.5% 8% 6.5% 12%;
  opacity:.42;
  background:
    linear-gradient(to bottom,transparent 0 5%,rgba(55,46,39,.38) 5% calc(5% + 1px),transparent calc(5% + 1px) 10%),
    repeating-linear-gradient(to bottom,rgba(67,56,47,.36) 0 .8px,transparent .8px 5px);
  -webkit-mask-image:linear-gradient(to right,#000 0 94%,transparent 94%);
  mask-image:linear-gradient(to right,#000 0 94%,transparent 94%);
}

/* A flexible trailing section counter-rotates while the main page crosses
   90 degrees. This creates a soft curl instead of a flat page collapsing
   into a narrow vertical strip. */
.iyw-flip-leaf:before{
  content:"";
  position:absolute;
  z-index:45;
  top:.7%;
  right:-.4%;
  width:54%;
  height:98.6%;
  border-radius:2px 12px 13px 2px;
  transform-origin:left center;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  pointer-events:none;
  opacity:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.12),rgba(255,255,255,.76) 18%,rgba(244,235,221,.96) 82%,rgba(144,110,75,.16)),
    repeating-linear-gradient(to bottom,rgba(62,53,45,.33) 0 .75px,transparent .75px 5px),
    linear-gradient(#fffef9,#faf3e8);
  background-size:100% 100%,78% 83%,100% 100%;
  background-position:0 0,48% 52%,0 0;
  background-repeat:no-repeat;
  box-shadow:7px 3px 12px rgba(35,24,15,.10),inset -7px 0 9px rgba(72,49,31,.10);
  filter:brightness(1.015);
  will-change:transform,opacity;
}
.iyw-flip-leaf-1:before{animation:iyw-curl-one 13.2s linear 1 both}
.iyw-flip-leaf-2:before{animation:iyw-curl-two 13.2s linear 1 both}
.iyw-flip-leaf-3:before{animation:iyw-curl-three 13.2s linear 1 both}
.iyw-flip-leaf-4:before{animation:iyw-curl-four 13.2s linear 1 both}
.iyw-flip-leaf-5:before{animation:iyw-curl-five 13.2s linear 1 both}

@keyframes iyw-curl-one{
  0%,35.7%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
  37.2%{opacity:.52;transform:translate3d(1px,-1px,5px) rotateY(20deg) scaleX(1.02) skewY(-.2deg)}
  39.6%{opacity:.94;transform:translate3d(3px,-2px,9px) rotateY(48deg) scaleX(1.08) skewY(-.55deg)}
  41.5%{opacity:1;transform:translate3d(5px,-2px,12px) rotateY(67deg) scaleX(1.13) skewY(-.35deg)}
  43.6%{opacity:.78;transform:translate3d(2px,-1px,7px) rotateY(34deg) scaleX(1.05)}
  45.7%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
}
@keyframes iyw-curl-two{
  0%,41.5%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
  43%{opacity:.52;transform:translate3d(1px,-1px,5px) rotateY(20deg) scaleX(1.02)}
  45.1%{opacity:.94;transform:translate3d(3px,-2px,9px) rotateY(49deg) scaleX(1.08) skewY(-.45deg)}
  47%{opacity:1;transform:translate3d(5px,-2px,12px) rotateY(66deg) scaleX(1.13) skewY(-.3deg)}
  49%{opacity:.74;transform:translate3d(2px,-1px,7px) rotateY(32deg) scaleX(1.05)}
  51.2%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
}
@keyframes iyw-curl-three{
  0%,47.2%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
  48.7%{opacity:.52;transform:translate3d(1px,-1px,5px) rotateY(21deg) scaleX(1.02)}
  50.8%{opacity:.94;transform:translate3d(3px,-2px,9px) rotateY(50deg) scaleX(1.08) skewY(-.4deg)}
  52.6%{opacity:1;transform:translate3d(5px,-2px,12px) rotateY(65deg) scaleX(1.13) skewY(-.25deg)}
  54.5%{opacity:.72;transform:translate3d(2px,-1px,7px) rotateY(31deg) scaleX(1.05)}
  56.7%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
}
@keyframes iyw-curl-four{
  0%,52.8%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
  54.3%{opacity:.52;transform:translate3d(1px,-1px,5px) rotateY(21deg) scaleX(1.02)}
  56.2%{opacity:.94;transform:translate3d(3px,-2px,9px) rotateY(49deg) scaleX(1.08) skewY(-.35deg)}
  58%{opacity:1;transform:translate3d(5px,-2px,12px) rotateY(64deg) scaleX(1.12) skewY(-.22deg)}
  59.8%{opacity:.70;transform:translate3d(2px,-1px,7px) rotateY(30deg) scaleX(1.05)}
  62%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
}
@keyframes iyw-curl-five{
  0%,58.2%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
  59.6%{opacity:.50;transform:translate3d(1px,-1px,5px) rotateY(20deg) scaleX(1.02)}
  61.4%{opacity:.92;transform:translate3d(3px,-2px,9px) rotateY(47deg) scaleX(1.08) skewY(-.3deg)}
  63%{opacity:1;transform:translate3d(5px,-2px,12px) rotateY(62deg) scaleX(1.12) skewY(-.18deg)}
  64.5%{opacity:.68;transform:translate3d(2px,-1px,7px) rotateY(29deg) scaleX(1.04)}
  66.7%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg) scaleX(.98)}
}

/* More organic page silhouettes and softer edges at the spine/fore-edge. */
.iyw-page-face{
  border-radius:3px 10px 11px 2px;
  clip-path:polygon(0 .3%,97.2% 0,99.4% 2.2%,100% 7%,99.7% 93%,98.2% 98.7%,95.5% 100%,0 99.6%);
}
.iyw-page-back{
  border-radius:10px 3px 2px 11px;
  clip-path:polygon(.5% 2.2%,2.8% .2%,100% .3%,100% 99.6%,4.5% 100%,1.8% 98.8%,0 93%,0 7%);
}
.iyw-flip-leaf:after{
  width:17%;
  opacity:.62;
  background:linear-gradient(90deg,rgba(80,53,31,.19),rgba(255,255,255,.58) 43%,rgba(255,255,255,.14) 72%,transparent);
  filter:blur(.15px);
}

/* Cross the edge-on position quickly; this prevents a page from visually
   lingering as a razor-thin vertical panel. */
@keyframes iyw-leaf-one{
  0%,34%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
  34.4%{opacity:1;transform:translateZ(6px) rotateY(-2deg)}
  37.2%{opacity:1;transform:translate3d(-.7px,-1.4px,12px) rotateY(-34deg) rotateZ(.22deg)}
  39.7%{opacity:1;transform:translate3d(-2px,-2.3px,18px) rotateY(-72deg) rotateZ(.38deg) scaleX(1.04)}
  40.8%{opacity:1;transform:translate3d(-3px,-2.2px,20px) rotateY(-112deg) rotateZ(.28deg) scaleX(1.04)}
  43.8%{opacity:1;transform:translate3d(-4.4px,-1px,12px) rotateY(-153deg) rotateZ(.10deg)}
  46%,79.5%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-176deg) rotateZ(.04deg)}
  80.2%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-176deg)}81%,100%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
}
@keyframes iyw-leaf-two{
  0%,40%{opacity:0;transform:translateZ(4px) rotateY(0deg)}40.4%{opacity:1;transform:translateZ(5px) rotateY(-2deg)}
  43%{opacity:1;transform:translate3d(-.7px,-1.3px,11px) rotateY(-35deg) rotateZ(.18deg)}45.3%{opacity:1;transform:translate3d(-2px,-2.2px,17px) rotateY(-73deg) rotateZ(.32deg) scaleX(1.04)}
  46.4%{opacity:1;transform:translate3d(-3px,-2.1px,19px) rotateY(-113deg) rotateZ(.24deg) scaleX(1.04)}49.2%{opacity:1;transform:translate3d(-4.4px,-.9px,11px) rotateY(-154deg)}
  51.5%,79.5%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-176deg)}80.2%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-176deg)}81%,100%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
}
@keyframes iyw-leaf-three{
  0%,46%{opacity:0;transform:translateZ(3px) rotateY(0deg)}46.4%{opacity:1;transform:translateZ(4px) rotateY(-2deg)}
  48.8%{opacity:1;transform:translate3d(-.7px,-1.2px,10px) rotateY(-35deg) rotateZ(.16deg)}51%{opacity:1;transform:translate3d(-2px,-2px,16px) rotateY(-74deg) rotateZ(.28deg) scaleX(1.04)}
  52.1%{opacity:1;transform:translate3d(-3px,-2px,18px) rotateY(-114deg) rotateZ(.20deg) scaleX(1.04)}54.8%{opacity:1;transform:translate3d(-4.4px,-.8px,10px) rotateY(-154deg)}
  57%,79.5%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-176deg)}80.2%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-176deg)}81%,100%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
}
@keyframes iyw-leaf-four{
  0%,52%{opacity:0;transform:translateZ(2px) rotateY(0deg)}52.4%{opacity:1;transform:translateZ(3px) rotateY(-2deg)}
  54.7%{opacity:1;transform:translate3d(-.7px,-1.1px,9px) rotateY(-36deg) rotateZ(.14deg)}56.8%{opacity:1;transform:translate3d(-2px,-1.9px,15px) rotateY(-74deg) rotateZ(.24deg) scaleX(1.04)}
  57.9%{opacity:1;transform:translate3d(-3px,-1.9px,17px) rotateY(-114deg) rotateZ(.18deg) scaleX(1.04)}60.4%{opacity:1;transform:translate3d(-4.4px,-.7px,9px) rotateY(-154deg)}
  62.4%,79.5%{opacity:1;transform:translate3d(-5px,0,4px) rotateY(-176deg)}80.2%{opacity:0;transform:translate3d(-5px,0,4px) rotateY(-176deg)}81%,100%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
}
@keyframes iyw-leaf-five{
  0%,58%{opacity:0;transform:translateZ(1px) rotateY(0deg)}58.4%{opacity:1;transform:translateZ(2px) rotateY(-2deg)}
  60.6%{opacity:1;transform:translate3d(-.7px,-1px,8px) rotateY(-36deg) rotateZ(.12deg)}62.6%{opacity:1;transform:translate3d(-2px,-1.8px,14px) rotateY(-75deg) rotateZ(.20deg) scaleX(1.04)}
  63.7%{opacity:1;transform:translate3d(-3px,-1.8px,16px) rotateY(-115deg) rotateZ(.15deg) scaleX(1.04)}66%{opacity:1;transform:translate3d(-4.4px,-.6px,8px) rotateY(-154deg)}
  68%,79.5%{opacity:1;transform:translate3d(-5px,0,3px) rotateY(-176deg)}80.2%{opacity:0;transform:translate3d(-5px,0,3px) rotateY(-176deg)}81%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}

@media(max-width:680px){
  .iyw-flip-leaf:before{width:56%;background-size:100% 100%,80% 83%,100% 100%;box-shadow:4px 2px 7px rgba(35,24,15,.09)}
  .iyw-page-face{border-radius:2px 7px 8px 2px}
}
@media(prefers-reduced-motion:reduce){
  .iyw-flip-leaf:before{animation:none!important;opacity:0!important}
}

/* v1.0.13 — Faster, smoother and more continuous paper turning. Hero animation only. */
.iyw-hero-art .iyw-hero-book,
.iyw-hero-art .iyw-hero-book:first-child,
.iyw-hero-art .iyw-hero-book:nth-child(2),
.iyw-flip-cover,
.iyw-flip-leaf-1,.iyw-flip-leaf-2,.iyw-flip-leaf-3,.iyw-flip-leaf-4,.iyw-flip-leaf-5,
.iyw-flip-book-glow,.iyw-flip-book-shine,
.iyw-flip-leaf-1:before,.iyw-flip-leaf-2:before,.iyw-flip-leaf-3:before,.iyw-flip-leaf-4:before,.iyw-flip-leaf-5:before{
  animation-duration:8.4s!important;
}

/* Keep every turning sheet visible and flexible through the spine crossing. */
.iyw-flip-leaf{
  perspective:900px;
  transform-origin:1.2% 50%;
  filter:drop-shadow(2px 4px 5px rgba(34,22,13,.11));
}
.iyw-flip-leaf:before{
  width:64%;
  right:-1.2%;
  transform-origin:1% 50%;
  border-radius:2px 16px 17px 2px;
  box-shadow:10px 4px 15px rgba(35,24,15,.12),inset -10px 0 12px rgba(72,49,31,.11);
}
.iyw-page-face{
  box-shadow:inset -10px 0 13px rgba(83,59,36,.10),inset 3px 0 6px rgba(255,255,255,.38),inset 0 0 16px rgba(104,79,55,.035);
}

/* Natural handling: quick lift, smooth open, brief reading position, smooth close. */
@keyframes iyw-book-stage-real{
  0%,8%{transform:perspective(1250px) rotateY(-7deg) rotateX(1.1deg) rotateZ(-.6deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
  20%{transform:perspective(1250px) rotateY(-2deg) rotateX(.2deg) rotateZ(-.15deg) translate3d(7px,-2px,8px) scale(1.012);filter:drop-shadow(0 31px 34px rgba(0,0,0,.30))}
  29%,68%{transform:perspective(1250px) rotateY(1deg) rotateX(-.4deg) rotateZ(.05deg) translate3d(17px,-4px,13px) scale(1.023);filter:drop-shadow(0 35px 38px rgba(0,0,0,.32))}
  82%{transform:perspective(1250px) rotateY(-3deg) rotateX(.3deg) rotateZ(-.18deg) translate3d(6px,-1px,5px) scale(1.01);filter:drop-shadow(0 31px 33px rgba(0,0,0,.30))}
  92%,100%{transform:perspective(1250px) rotateY(-7deg) rotateX(1.1deg) rotateZ(-.6deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
}
@keyframes iyw-front-cover-real{
  0%,9%{transform:rotateY(0deg) translateZ(7px)}
  13%{transform:rotateY(-8deg) translate3d(0,-.5px,8px)}
  17%{transform:rotateY(-31deg) translate3d(-.7px,-1.2px,10px)}
  21%{transform:rotateY(-76deg) translate3d(-1.8px,-1.8px,13px)}
  24%{transform:rotateY(-125deg) translate3d(-3.3px,-1.3px,12px)}
  27%{transform:rotateY(-157deg) translate3d(-4.5px,-.5px,9px)}
  29%,70%{transform:rotateY(-166deg) translate3d(-4.8px,0,8px)}
  74%{transform:rotateY(-151deg) translate3d(-4.2px,-.4px,9px)}
  78%{transform:rotateY(-112deg) translate3d(-2.8px,-1.1px,11px)}
  82%{transform:rotateY(-58deg) translate3d(-1.3px,-1.1px,10px)}
  86%{transform:rotateY(-18deg) translate3d(-.3px,-.5px,8px)}
  89%,100%{transform:rotateY(0deg) translateZ(7px)}
}

/* Five quick overlapping turns. The edge-on phase is intentionally very short. */
@keyframes iyw-leaf-one{
  0%,30%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
  30.3%{opacity:1;transform:translateZ(7px) rotateY(-3deg)}
  32.1%{opacity:1;transform:translate3d(-.5px,-1.2px,13px) rotateY(-39deg) rotateZ(.22deg)}
  33.5%{opacity:1;transform:translate3d(-1.8px,-2.3px,20px) rotateY(-79deg) rotateZ(.34deg) scaleX(1.035)}
  34.15%{opacity:1;transform:translate3d(-2.8px,-2.1px,22px) rotateY(-110deg) rotateZ(.25deg) scaleX(1.035)}
  35.7%{opacity:1;transform:translate3d(-4.3px,-.8px,12px) rotateY(-154deg) rotateZ(.08deg)}
  37.2%,68%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-177deg)}
  68.7%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-177deg)}69%,100%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
}
@keyframes iyw-leaf-two{
  0%,34.2%{opacity:0;transform:translateZ(4px) rotateY(0deg)}34.5%{opacity:1;transform:translateZ(6px) rotateY(-3deg)}
  36.1%{opacity:1;transform:translate3d(-.5px,-1.1px,12px) rotateY(-40deg) rotateZ(.18deg)}37.45%{opacity:1;transform:translate3d(-1.8px,-2.2px,19px) rotateY(-80deg) rotateZ(.30deg) scaleX(1.035)}
  38.1%{opacity:1;transform:translate3d(-2.8px,-2px,21px) rotateY(-111deg) rotateZ(.22deg) scaleX(1.035)}39.6%{opacity:1;transform:translate3d(-4.3px,-.8px,11px) rotateY(-155deg)}
  41.1%,68%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-177deg)}68.7%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-177deg)}69%,100%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
}
@keyframes iyw-leaf-three{
  0%,38.4%{opacity:0;transform:translateZ(3px) rotateY(0deg)}38.7%{opacity:1;transform:translateZ(5px) rotateY(-3deg)}
  40.3%{opacity:1;transform:translate3d(-.5px,-1px,11px) rotateY(-40deg) rotateZ(.16deg)}41.65%{opacity:1;transform:translate3d(-1.8px,-2.1px,18px) rotateY(-81deg) rotateZ(.27deg) scaleX(1.035)}
  42.3%{opacity:1;transform:translate3d(-2.8px,-1.9px,20px) rotateY(-112deg) rotateZ(.19deg) scaleX(1.035)}43.8%{opacity:1;transform:translate3d(-4.3px,-.7px,10px) rotateY(-155deg)}
  45.3%,68%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-177deg)}68.7%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-177deg)}69%,100%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
}
@keyframes iyw-leaf-four{
  0%,42.6%{opacity:0;transform:translateZ(2px) rotateY(0deg)}42.9%{opacity:1;transform:translateZ(4px) rotateY(-3deg)}
  44.5%{opacity:1;transform:translate3d(-.5px,-.9px,10px) rotateY(-41deg) rotateZ(.14deg)}45.85%{opacity:1;transform:translate3d(-1.8px,-2px,17px) rotateY(-81deg) rotateZ(.23deg) scaleX(1.035)}
  46.5%{opacity:1;transform:translate3d(-2.8px,-1.8px,19px) rotateY(-112deg) rotateZ(.17deg) scaleX(1.035)}48%{opacity:1;transform:translate3d(-4.3px,-.6px,9px) rotateY(-156deg)}
  49.5%,68%{opacity:1;transform:translate3d(-5px,0,4px) rotateY(-178deg)}68.7%{opacity:0;transform:translate3d(-5px,0,4px) rotateY(-178deg)}69%,100%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
}
@keyframes iyw-leaf-five{
  0%,46.8%{opacity:0;transform:translateZ(1px) rotateY(0deg)}47.1%{opacity:1;transform:translateZ(3px) rotateY(-3deg)}
  48.7%{opacity:1;transform:translate3d(-.5px,-.8px,9px) rotateY(-41deg) rotateZ(.12deg)}50.05%{opacity:1;transform:translate3d(-1.8px,-1.9px,16px) rotateY(-82deg) rotateZ(.20deg) scaleX(1.035)}
  50.7%{opacity:1;transform:translate3d(-2.8px,-1.7px,18px) rotateY(-113deg) rotateZ(.15deg) scaleX(1.035)}52.2%{opacity:1;transform:translate3d(-4.3px,-.5px,8px) rotateY(-156deg)}
  53.7%,68%{opacity:1;transform:translate3d(-5px,0,3px) rotateY(-178deg)}68.7%{opacity:0;transform:translate3d(-5px,0,3px) rotateY(-178deg)}69%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}

/* The visible curl counter-rotates more strongly, maintaining apparent page width at 90°. */
@keyframes iyw-curl-one{0%,31.5%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}32.2%{opacity:.58;transform:translate3d(1px,-1px,7px) rotateY(34deg) scaleX(1.05)}33.55%{opacity:1;transform:translate3d(5px,-2px,14px) rotateY(86deg) scaleX(1.18) skewY(-.45deg)}34.3%{opacity:1;transform:translate3d(6px,-2px,15px) rotateY(96deg) scaleX(1.2) skewY(-.2deg)}35.8%{opacity:.58;transform:translate3d(2px,-1px,7px) rotateY(43deg) scaleX(1.07)}37.3%,100%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}}
@keyframes iyw-curl-two{0%,35.5%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}36.2%{opacity:.58;transform:translate3d(1px,-1px,7px) rotateY(35deg) scaleX(1.05)}37.55%{opacity:1;transform:translate3d(5px,-2px,14px) rotateY(87deg) scaleX(1.18)}38.3%{opacity:1;transform:translate3d(6px,-2px,15px) rotateY(97deg) scaleX(1.2)}39.8%{opacity:.56;transform:translate3d(2px,-1px,7px) rotateY(42deg) scaleX(1.07)}41.3%,100%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}}
@keyframes iyw-curl-three{0%,39.7%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}40.4%{opacity:.58;transform:translate3d(1px,-1px,7px) rotateY(35deg) scaleX(1.05)}41.75%{opacity:1;transform:translate3d(5px,-2px,14px) rotateY(88deg) scaleX(1.18)}42.5%{opacity:1;transform:translate3d(6px,-2px,15px) rotateY(98deg) scaleX(1.2)}44%{opacity:.55;transform:translate3d(2px,-1px,7px) rotateY(41deg) scaleX(1.07)}45.5%,100%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}}
@keyframes iyw-curl-four{0%,43.9%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}44.6%{opacity:.57;transform:translate3d(1px,-1px,7px) rotateY(36deg) scaleX(1.05)}45.95%{opacity:1;transform:translate3d(5px,-2px,14px) rotateY(88deg) scaleX(1.18)}46.7%{opacity:1;transform:translate3d(6px,-2px,15px) rotateY(98deg) scaleX(1.2)}48.2%{opacity:.54;transform:translate3d(2px,-1px,7px) rotateY(40deg) scaleX(1.07)}49.7%,100%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}}
@keyframes iyw-curl-five{0%,48.1%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}48.8%{opacity:.56;transform:translate3d(1px,-1px,7px) rotateY(36deg) scaleX(1.05)}50.15%{opacity:1;transform:translate3d(5px,-2px,14px) rotateY(89deg) scaleX(1.18)}50.9%{opacity:1;transform:translate3d(6px,-2px,15px) rotateY(99deg) scaleX(1.2)}52.4%{opacity:.52;transform:translate3d(2px,-1px,7px) rotateY(39deg) scaleX(1.07)}53.9%,100%{opacity:0;transform:translateZ(1px) rotateY(0) scaleX(.98)}}

@keyframes iyw-book-glow-real{0%,10%,100%{opacity:0;transform:scale(.86)}24%{opacity:.58;transform:scale(.94)}31%,70%{opacity:.88;transform:scale(1)}84%{opacity:.15;transform:scale(.92)}90%{opacity:0}}
@keyframes iyw-book-shine-real{0%,6%{left:-48%;opacity:0}9%{opacity:.30}17%{left:115%;opacity:0}100%{left:115%;opacity:0}}

@media(max-width:680px){
  .iyw-flip-leaf:before{width:66%;right:-1.5%;box-shadow:5px 2px 8px rgba(35,24,15,.10),inset -6px 0 7px rgba(72,49,31,.09)}
}

/* v1.0.14 — 10.2s continuous curved-sheet page turn. Hero animation only.
   Two counter-rotating paper segments remain visible while each main leaf
   crosses edge-on, preventing the visible page from collapsing/cutting. */
.iyw-hero-art .iyw-hero-book,
.iyw-hero-art .iyw-hero-book:first-child,
.iyw-hero-art .iyw-hero-book:nth-child(2),
.iyw-flip-cover,
.iyw-flip-leaf-1,.iyw-flip-leaf-2,.iyw-flip-leaf-3,.iyw-flip-leaf-4,.iyw-flip-leaf-5,
.iyw-flip-book-glow,.iyw-flip-book-shine,
.iyw-flip-leaf-1:before,.iyw-flip-leaf-2:before,.iyw-flip-leaf-3:before,.iyw-flip-leaf-4:before,.iyw-flip-leaf-5:before,
.iyw-flip-leaf-1:after,.iyw-flip-leaf-2:after,.iyw-flip-leaf-3:after,.iyw-flip-leaf-4:after,.iyw-flip-leaf-5:after{
  animation-duration:10.2s!important;
}

/* Main sheet: no clipping and a softer paper silhouette. */
.iyw-flip-leaf{
  overflow:visible!important;
  perspective:none!important;
  transform-origin:1.35% 50%!important;
  transform-style:preserve-3d!important;
  filter:drop-shadow(2px 4px 5px rgba(30,19,11,.10));
}
.iyw-page-face{
  overflow:hidden;
  clip-path:none!important;
  border-radius:3px 11px 12px 2px!important;
  box-shadow:inset -11px 0 14px rgba(82,57,35,.10),inset 4px 0 7px rgba(255,255,255,.30),inset 0 0 17px rgba(98,73,50,.035)!important;
}
.iyw-page-back{border-radius:11px 3px 2px 12px!important}

/* Outer curled half of the turning sheet. */
.iyw-flip-leaf:before{
  content:"";
  position:absolute;
  z-index:55;
  top:.6%;
  bottom:.6%;
  left:40%;
  right:auto!important;
  width:62%!important;
  height:auto!important;
  opacity:0;
  transform-origin:0 50%!important;
  transform-style:preserve-3d;
  backface-visibility:visible!important;
  pointer-events:none;
  border-radius:1px 16px 17px 1px!important;
  background:
    linear-gradient(90deg,rgba(119,88,58,.10),rgba(255,255,255,.80) 12%,rgba(252,248,239,.98) 52%,rgba(235,224,208,.94) 88%,rgba(108,77,49,.13)),
    repeating-linear-gradient(to bottom,rgba(65,54,45,.31) 0 .75px,transparent .75px 5px),
    linear-gradient(#fffef9,#faf3e8)!important;
  background-size:100% 100%,76% 84%,100% 100%!important;
  background-position:0 0,48% 52%,0 0!important;
  background-repeat:no-repeat!important;
  box-shadow:8px 3px 12px rgba(35,24,15,.10),inset -8px 0 10px rgba(72,49,31,.10),inset 5px 0 8px rgba(255,255,255,.35)!important;
  will-change:transform,opacity;
}

/* Inner flexible bridge from the spine into the outer curl. */
.iyw-flip-leaf:after{
  content:"";
  position:absolute;
  z-index:54;
  top:.8%;
  bottom:.8%;
  left:-.4%!important;
  width:47%!important;
  opacity:0;
  transform-origin:0 50%;
  transform-style:preserve-3d;
  backface-visibility:visible!important;
  pointer-events:none;
  border-radius:3px 9px 10px 3px;
  background:
    linear-gradient(90deg,rgba(77,51,31,.18),rgba(255,255,255,.76) 18%,rgba(252,247,237,.98) 72%,rgba(150,111,74,.10)),
    repeating-linear-gradient(to bottom,rgba(64,53,44,.29) 0 .7px,transparent .7px 5px),
    linear-gradient(#fffef9,#faf4e9)!important;
  background-size:100% 100%,72% 84%,100% 100%!important;
  background-position:0 0,58% 52%,0 0!important;
  background-repeat:no-repeat!important;
  box-shadow:5px 2px 9px rgba(31,20,12,.08),inset 8px 0 11px rgba(79,53,32,.11),inset -5px 0 8px rgba(255,255,255,.35)!important;
  filter:none!important;
  will-change:transform,opacity;
}

/* Natural cover handling with a little more breathing room, while the page
   turns themselves remain quick. */
@keyframes iyw-book-stage-real{
  0%,8%{transform:perspective(1250px) rotateY(-7deg) rotateX(1deg) rotateZ(-.55deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
  20%{transform:perspective(1250px) rotateY(-1.5deg) rotateX(.15deg) rotateZ(-.12deg) translate3d(8px,-2px,8px) scale(1.012);filter:drop-shadow(0 31px 34px rgba(0,0,0,.30))}
  27%,70%{transform:perspective(1250px) rotateY(.8deg) rotateX(-.35deg) rotateZ(.04deg) translate3d(16px,-4px,13px) scale(1.022);filter:drop-shadow(0 35px 38px rgba(0,0,0,.32))}
  83%{transform:perspective(1250px) rotateY(-2.5deg) rotateX(.25deg) rotateZ(-.16deg) translate3d(6px,-1px,5px) scale(1.009);filter:drop-shadow(0 31px 33px rgba(0,0,0,.30))}
  92%,100%{transform:perspective(1250px) rotateY(-7deg) rotateX(1deg) rotateZ(-.55deg) translate3d(0,0,0) scale(1);filter:drop-shadow(0 28px 30px rgba(0,0,0,.28))}
}
@keyframes iyw-front-cover-real{
  0%,9%{transform:rotateY(0deg) translateZ(7px)}
  13%{transform:rotateY(-7deg) translate3d(0,-.4px,8px)}
  17%{transform:rotateY(-29deg) translate3d(-.6px,-1px,10px)}
  21%{transform:rotateY(-72deg) translate3d(-1.7px,-1.7px,13px)}
  24%{transform:rotateY(-122deg) translate3d(-3.2px,-1.2px,12px)}
  27%{transform:rotateY(-156deg) translate3d(-4.5px,-.4px,9px)}
  29%,72%{transform:rotateY(-166deg) translate3d(-4.8px,0,8px)}
  76%{transform:rotateY(-149deg) translate3d(-4.1px,-.4px,9px)}
  80%{transform:rotateY(-108deg) translate3d(-2.7px,-1px,11px)}
  84%{transform:rotateY(-54deg) translate3d(-1.2px,-1px,10px)}
  88%{transform:rotateY(-16deg) translate3d(-.3px,-.4px,8px)}
  91%,100%{transform:rotateY(0deg) translateZ(7px)}
}

/* Faster overlapping leaf turns within the 10.2 second presentation. The
   parent sheet crosses 90 degrees quickly; the two child segments counter-
   rotate to preserve continuous visible paper width. */
@keyframes iyw-leaf-one{
  0%,30%{opacity:0;transform:translateZ(5px) rotateY(0deg)}30.2%{opacity:1;transform:translateZ(7px) rotateY(-2deg)}
  31.8%{opacity:1;transform:translate3d(-.4px,-1px,12px) rotateY(-31deg) rotateZ(.18deg)}
  33.2%{opacity:1;transform:translate3d(-1.4px,-2px,18px) rotateY(-67deg) rotateZ(.30deg) scaleX(1.025)}
  34.0%{opacity:1;transform:translate3d(-2.1px,-2.3px,22px) rotateY(-91deg) rotateZ(.30deg) scaleX(1.04)}
  34.8%{opacity:1;transform:translate3d(-3px,-2px,20px) rotateY(-116deg) rotateZ(.22deg) scaleX(1.03)}
  36.4%{opacity:1;transform:translate3d(-4.4px,-.7px,11px) rotateY(-154deg)}
  38.1%,69%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-177deg)}69.5%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-177deg)}70%,100%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
}
@keyframes iyw-leaf-two{
  0%,34%{opacity:0;transform:translateZ(4px) rotateY(0deg)}34.2%{opacity:1;transform:translateZ(6px) rotateY(-2deg)}
  35.8%{opacity:1;transform:translate3d(-.4px,-1px,11px) rotateY(-31deg)}36.95%{opacity:1;transform:translate3d(-1.4px,-2px,17px) rotateY(-68deg) rotateZ(.27deg) scaleX(1.025)}
  37.7%{opacity:1;transform:translate3d(-2.1px,-2.2px,21px) rotateY(-92deg) rotateZ(.27deg) scaleX(1.04)}38.45%{opacity:1;transform:translate3d(-3px,-2px,19px) rotateY(-117deg) scaleX(1.03)}
  40%{opacity:1;transform:translate3d(-4.4px,-.7px,10px) rotateY(-155deg)}41.7%,69%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-177deg)}69.5%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-177deg)}70%,100%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
}
@keyframes iyw-leaf-three{
  0%,38%{opacity:0;transform:translateZ(3px) rotateY(0deg)}38.2%{opacity:1;transform:translateZ(5px) rotateY(-2deg)}
  39.8%{opacity:1;transform:translate3d(-.4px,-.9px,10px) rotateY(-32deg)}40.95%{opacity:1;transform:translate3d(-1.4px,-1.9px,16px) rotateY(-68deg) rotateZ(.24deg) scaleX(1.025)}
  41.7%{opacity:1;transform:translate3d(-2.1px,-2.1px,20px) rotateY(-92deg) rotateZ(.24deg) scaleX(1.04)}42.45%{opacity:1;transform:translate3d(-3px,-1.9px,18px) rotateY(-118deg) scaleX(1.03)}
  44%{opacity:1;transform:translate3d(-4.4px,-.6px,9px) rotateY(-155deg)}45.7%,69%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-178deg)}69.5%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-178deg)}70%,100%{opacity:0;transform:translateZ(3px) rotateY(0deg)}
}
@keyframes iyw-leaf-four{
  0%,42%{opacity:0;transform:translateZ(2px) rotateY(0deg)}42.2%{opacity:1;transform:translateZ(4px) rotateY(-2deg)}
  43.8%{opacity:1;transform:translate3d(-.4px,-.8px,9px) rotateY(-32deg)}44.95%{opacity:1;transform:translate3d(-1.4px,-1.8px,15px) rotateY(-69deg) rotateZ(.21deg) scaleX(1.025)}
  45.7%{opacity:1;transform:translate3d(-2.1px,-2px,19px) rotateY(-93deg) rotateZ(.21deg) scaleX(1.04)}46.45%{opacity:1;transform:translate3d(-3px,-1.8px,17px) rotateY(-118deg) scaleX(1.03)}
  48%{opacity:1;transform:translate3d(-4.4px,-.5px,8px) rotateY(-156deg)}49.7%,69%{opacity:1;transform:translate3d(-5px,0,4px) rotateY(-178deg)}69.5%{opacity:0;transform:translate3d(-5px,0,4px) rotateY(-178deg)}70%,100%{opacity:0;transform:translateZ(2px) rotateY(0deg)}
}
@keyframes iyw-leaf-five{
  0%,46%{opacity:0;transform:translateZ(1px) rotateY(0deg)}46.2%{opacity:1;transform:translateZ(3px) rotateY(-2deg)}
  47.8%{opacity:1;transform:translate3d(-.4px,-.7px,8px) rotateY(-32deg)}48.95%{opacity:1;transform:translate3d(-1.4px,-1.7px,14px) rotateY(-69deg) rotateZ(.18deg) scaleX(1.025)}
  49.7%{opacity:1;transform:translate3d(-2.1px,-1.9px,18px) rotateY(-93deg) rotateZ(.18deg) scaleX(1.04)}50.45%{opacity:1;transform:translate3d(-3px,-1.7px,16px) rotateY(-119deg) scaleX(1.03)}
  52%{opacity:1;transform:translate3d(-4.4px,-.4px,7px) rotateY(-156deg)}53.7%,69%{opacity:1;transform:translate3d(-5px,0,3px) rotateY(-178deg)}69.5%{opacity:0;transform:translate3d(-5px,0,3px) rotateY(-178deg)}70%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}

/* Outer curl: at the parent sheet's edge-on point this is rotated back toward
   the viewer, so a broad curved surface remains visible rather than a cut. */
@keyframes iyw-curl-one{0%,31.2%{opacity:0;transform:rotateY(0) translateZ(1px)}31.9%{opacity:.45;transform:translate3d(0,-.5px,5px) rotateY(18deg) scaleX(1.02)}33.2%{opacity:.92;transform:translate3d(2px,-1.5px,11px) rotateY(55deg) scaleX(1.08)}34%{opacity:1;transform:translate3d(5px,-2px,16px) rotateY(103deg) scaleX(1.16) skewY(-.35deg)}34.8%{opacity:.96;transform:translate3d(4px,-1.7px,14px) rotateY(132deg) scaleX(1.13)}36.5%{opacity:.42;transform:translate3d(1px,-.5px,6px) rotateY(151deg) scaleX(1.04)}38.2%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-curl-two{0%,35.2%{opacity:0;transform:rotateY(0) translateZ(1px)}35.9%{opacity:.45;transform:translate3d(0,-.5px,5px) rotateY(18deg) scaleX(1.02)}36.95%{opacity:.92;transform:translate3d(2px,-1.5px,11px) rotateY(56deg) scaleX(1.08)}37.7%{opacity:1;transform:translate3d(5px,-2px,16px) rotateY(104deg) scaleX(1.16)}38.45%{opacity:.96;transform:translate3d(4px,-1.7px,14px) rotateY(133deg) scaleX(1.13)}40.1%{opacity:.42;transform:translate3d(1px,-.5px,6px) rotateY(151deg) scaleX(1.04)}41.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-curl-three{0%,39.2%{opacity:0;transform:rotateY(0) translateZ(1px)}39.9%{opacity:.45;transform:translate3d(0,-.5px,5px) rotateY(18deg) scaleX(1.02)}40.95%{opacity:.92;transform:translate3d(2px,-1.5px,11px) rotateY(56deg) scaleX(1.08)}41.7%{opacity:1;transform:translate3d(5px,-2px,16px) rotateY(104deg) scaleX(1.16)}42.45%{opacity:.96;transform:translate3d(4px,-1.7px,14px) rotateY(134deg) scaleX(1.13)}44.1%{opacity:.42;transform:translate3d(1px,-.5px,6px) rotateY(152deg) scaleX(1.04)}45.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-curl-four{0%,43.2%{opacity:0;transform:rotateY(0) translateZ(1px)}43.9%{opacity:.45;transform:translate3d(0,-.5px,5px) rotateY(18deg) scaleX(1.02)}44.95%{opacity:.92;transform:translate3d(2px,-1.5px,11px) rotateY(57deg) scaleX(1.08)}45.7%{opacity:1;transform:translate3d(5px,-2px,16px) rotateY(105deg) scaleX(1.16)}46.45%{opacity:.96;transform:translate3d(4px,-1.7px,14px) rotateY(134deg) scaleX(1.13)}48.1%{opacity:.42;transform:translate3d(1px,-.5px,6px) rotateY(152deg) scaleX(1.04)}49.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-curl-five{0%,47.2%{opacity:0;transform:rotateY(0) translateZ(1px)}47.9%{opacity:.45;transform:translate3d(0,-.5px,5px) rotateY(18deg) scaleX(1.02)}48.95%{opacity:.92;transform:translate3d(2px,-1.5px,11px) rotateY(57deg) scaleX(1.08)}49.7%{opacity:1;transform:translate3d(5px,-2px,16px) rotateY(105deg) scaleX(1.16)}50.45%{opacity:.96;transform:translate3d(4px,-1.7px,14px) rotateY(135deg) scaleX(1.13)}52.1%{opacity:.42;transform:translate3d(1px,-.5px,6px) rotateY(153deg) scaleX(1.04)}53.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}

/* Inner bridge: lower counter-rotation creates the curved transition from
   spine to the outer curl instead of a disconnected rectangular flap. */
@keyframes iyw-bridge-one{0%,31.2%{opacity:0;transform:rotateY(0) translateZ(1px)}31.9%{opacity:.38;transform:translateZ(4px) rotateY(10deg) scaleX(1.02)}33.2%{opacity:.78;transform:translate3d(1px,-1px,9px) rotateY(34deg) scaleX(1.06)}34%{opacity:.94;transform:translate3d(2px,-1.5px,13px) rotateY(71deg) scaleX(1.11)}34.8%{opacity:.86;transform:translate3d(2px,-1px,11px) rotateY(88deg) scaleX(1.10)}36.5%{opacity:.35;transform:translateZ(5px) rotateY(105deg) scaleX(1.03)}38.2%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-bridge-two{0%,35.2%{opacity:0;transform:rotateY(0) translateZ(1px)}35.9%{opacity:.38;transform:translateZ(4px) rotateY(10deg) scaleX(1.02)}36.95%{opacity:.78;transform:translate3d(1px,-1px,9px) rotateY(34deg) scaleX(1.06)}37.7%{opacity:.94;transform:translate3d(2px,-1.5px,13px) rotateY(72deg) scaleX(1.11)}38.45%{opacity:.86;transform:translate3d(2px,-1px,11px) rotateY(89deg) scaleX(1.10)}40.1%{opacity:.35;transform:translateZ(5px) rotateY(106deg) scaleX(1.03)}41.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-bridge-three{0%,39.2%{opacity:0;transform:rotateY(0) translateZ(1px)}39.9%{opacity:.38;transform:translateZ(4px) rotateY(10deg) scaleX(1.02)}40.95%{opacity:.78;transform:translate3d(1px,-1px,9px) rotateY(35deg) scaleX(1.06)}41.7%{opacity:.94;transform:translate3d(2px,-1.5px,13px) rotateY(72deg) scaleX(1.11)}42.45%{opacity:.86;transform:translate3d(2px,-1px,11px) rotateY(90deg) scaleX(1.10)}44.1%{opacity:.35;transform:translateZ(5px) rotateY(106deg) scaleX(1.03)}45.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-bridge-four{0%,43.2%{opacity:0;transform:rotateY(0) translateZ(1px)}43.9%{opacity:.38;transform:translateZ(4px) rotateY(10deg) scaleX(1.02)}44.95%{opacity:.78;transform:translate3d(1px,-1px,9px) rotateY(35deg) scaleX(1.06)}45.7%{opacity:.94;transform:translate3d(2px,-1.5px,13px) rotateY(73deg) scaleX(1.11)}46.45%{opacity:.86;transform:translate3d(2px,-1px,11px) rotateY(90deg) scaleX(1.10)}48.1%{opacity:.35;transform:translateZ(5px) rotateY(107deg) scaleX(1.03)}49.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}
@keyframes iyw-bridge-five{0%,47.2%{opacity:0;transform:rotateY(0) translateZ(1px)}47.9%{opacity:.38;transform:translateZ(4px) rotateY(10deg) scaleX(1.02)}48.95%{opacity:.78;transform:translate3d(1px,-1px,9px) rotateY(35deg) scaleX(1.06)}49.7%{opacity:.94;transform:translate3d(2px,-1.5px,13px) rotateY(73deg) scaleX(1.11)}50.45%{opacity:.86;transform:translate3d(2px,-1px,11px) rotateY(91deg) scaleX(1.10)}52.1%{opacity:.35;transform:translateZ(5px) rotateY(107deg) scaleX(1.03)}53.8%,100%{opacity:0;transform:rotateY(0) translateZ(1px)}}

.iyw-flip-leaf-1:before{animation-name:iyw-curl-one!important}.iyw-flip-leaf-2:before{animation-name:iyw-curl-two!important}.iyw-flip-leaf-3:before{animation-name:iyw-curl-three!important}.iyw-flip-leaf-4:before{animation-name:iyw-curl-four!important}.iyw-flip-leaf-5:before{animation-name:iyw-curl-five!important}
.iyw-flip-leaf-1:after{animation:iyw-bridge-one 10.2s linear 1 both!important}.iyw-flip-leaf-2:after{animation:iyw-bridge-two 10.2s linear 1 both!important}.iyw-flip-leaf-3:after{animation:iyw-bridge-three 10.2s linear 1 both!important}.iyw-flip-leaf-4:after{animation:iyw-bridge-four 10.2s linear 1 both!important}.iyw-flip-leaf-5:after{animation:iyw-bridge-five 10.2s linear 1 both!important}

@media(max-width:680px){
  .iyw-flip-leaf:before{left:38%;width:64%!important}
  .iyw-flip-leaf:after{width:49%!important}
}
@media(prefers-reduced-motion:reduce){
  .iyw-flip-leaf:before,.iyw-flip-leaf:after{animation:none!important;opacity:0!important}
}


/* v1.0.15 — final-leaf continuity fix only.
   The fifth/last sheet keeps a wider flexible bridge and outer curl visible
   through the edge-on crossing and settling phase so the final turn never
   collapses into a thin cut. */
.iyw-flip-leaf-5{
  transform-origin:1.1% 50%!important;
  z-index:66!important;
}
.iyw-flip-leaf-5:before{
  left:36%!important;
  width:68%!important;
  z-index:68!important;
  border-radius:1px 18px 18px 1px!important;
}
.iyw-flip-leaf-5:after{
  left:-1%!important;
  width:54%!important;
  z-index:67!important;
  border-radius:3px 11px 12px 3px!important;
}

/* The main fifth sheet moves through 90° quickly while the two flexible
   segments stay broad, then settles without any opacity gap. */
@keyframes iyw-leaf-five{
  0%,46%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
  46.2%{opacity:1;transform:translateZ(3px) rotateY(-2deg)}
  47.7%{opacity:1;transform:translate3d(-.3px,-.7px,8px) rotateY(-30deg)}
  48.8%{opacity:1;transform:translate3d(-1.2px,-1.6px,14px) rotateY(-63deg) rotateZ(.16deg) scaleX(1.03)}
  49.45%{opacity:1;transform:translate3d(-1.8px,-1.9px,19px) rotateY(-82deg) rotateZ(.17deg) scaleX(1.055)}
  49.9%{opacity:1;transform:translate3d(-2.2px,-2px,20px) rotateY(-99deg) rotateZ(.15deg) scaleX(1.06)}
  50.55%{opacity:1;transform:translate3d(-2.8px,-1.8px,17px) rotateY(-121deg) scaleX(1.045)}
  51.7%{opacity:1;transform:translate3d(-4px,-.8px,10px) rotateY(-151deg) scaleX(1.015)}
  53.5%,69%{opacity:1;transform:translate3d(-5px,0,3px) rotateY(-178deg) scaleX(1)}
  69.6%{opacity:0;transform:translate3d(-5px,0,3px) rotateY(-178deg) scaleX(1)}
  70%,100%{opacity:0;transform:translateZ(1px) rotateY(0deg)}
}

@keyframes iyw-curl-five{
  0%,47%{opacity:0;transform:rotateY(0) translateZ(1px) scaleX(.99)}
  47.6%{opacity:.50;transform:translate3d(0,-.4px,6px) rotateY(16deg) scaleX(1.05)}
  48.8%{opacity:.94;transform:translate3d(2px,-1.4px,12px) rotateY(50deg) scaleX(1.14)}
  49.45%{opacity:1;transform:translate3d(5px,-2px,17px) rotateY(83deg) scaleX(1.24) skewY(-.28deg)}
  49.9%{opacity:1;transform:translate3d(6px,-2px,18px) rotateY(96deg) scaleX(1.27) skewY(-.18deg)}
  50.55%{opacity:.98;transform:translate3d(5px,-1.8px,16px) rotateY(119deg) scaleX(1.21)}
  51.8%{opacity:.72;transform:translate3d(2px,-.8px,9px) rotateY(143deg) scaleX(1.11)}
  53.65%{opacity:.28;transform:translate3d(.5px,-.2px,4px) rotateY(158deg) scaleX(1.04)}
  54.25%,100%{opacity:0;transform:rotateY(0) translateZ(1px) scaleX(.99)}
}

@keyframes iyw-bridge-five{
  0%,47%{opacity:0;transform:rotateY(0) translateZ(1px) scaleX(1)}
  47.6%{opacity:.44;transform:translateZ(5px) rotateY(8deg) scaleX(1.04)}
  48.8%{opacity:.82;transform:translate3d(1px,-.9px,10px) rotateY(29deg) scaleX(1.10)}
  49.45%{opacity:.98;transform:translate3d(2px,-1.4px,14px) rotateY(56deg) scaleX(1.17)}
  49.9%{opacity:1;transform:translate3d(2.5px,-1.5px,15px) rotateY(67deg) scaleX(1.20)}
  50.55%{opacity:.94;transform:translate3d(2px,-1.2px,13px) rotateY(80deg) scaleX(1.17)}
  51.8%{opacity:.66;transform:translateZ(7px) rotateY(96deg) scaleX(1.10)}
  53.65%{opacity:.24;transform:translateZ(3px) rotateY(111deg) scaleX(1.04)}
  54.25%,100%{opacity:0;transform:rotateY(0) translateZ(1px) scaleX(1)}
}

.iyw-flip-leaf-5:before{animation:iyw-curl-five 10.2s linear 1 both!important}
.iyw-flip-leaf-5:after{animation:iyw-bridge-five 10.2s linear 1 both!important}

@media(max-width:680px){
  .iyw-flip-leaf-5:before{left:34%!important;width:70%!important}
  .iyw-flip-leaf-5:after{width:56%!important}
}


/* v1.0.17 — Product-card book depth/position refinement only.
   Keep full cover artwork visible while presenting the book upright at a
   natural mockup angle with a clearly exposed fore-edge page block. */
.woocommerce ul.products li.product .iyw-book3d,
.iyw-product-card .iyw-book3d{
  transform:perspective(1000px) rotateY(-8deg) rotateX(1deg) rotateZ(-4.8deg)!important;
  transform-origin:50% 88%!important;
  filter:drop-shadow(13px 19px 12px rgba(15,23,42,.22))!important;
}
.woocommerce ul.products li.product:hover .iyw-book3d,
.iyw-product-card:hover .iyw-book3d{
  transform:perspective(1000px) rotateY(-6deg) rotateX(.8deg) rotateZ(-4.2deg) translateY(-4px)!important;
}
.woocommerce ul.products li.product .iyw-book3d img,
.iyw-product-card .iyw-book3d img{
  position:relative!important;
  z-index:4!important;
  transform:none!important;
  object-fit:contain!important;
  box-shadow:0 1px 2px rgba(15,23,42,.11),3px 3px 0 rgba(241,239,232,.98)!important;
}
.woocommerce ul.products li.product .iyw-book3d:before,
.iyw-product-card .iyw-book3d:before{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  right:-11px!important;
  top:7px!important;
  bottom:1px!important;
  width:13px!important;
  height:auto!important;
  border-radius:0 2px 3px 0!important;
  transform:skewY(-3deg)!important;
  transform-origin:left center!important;
  background:
    repeating-linear-gradient(to bottom,
      #f7f5ed 0 2px,
      #d9d5ca 2px 3px,
      #fffef9 3px 5px)!important;
  box-shadow:
    inset 2px 0 3px rgba(58,49,40,.10),
    inset -1px 0 1px rgba(255,255,255,.75),
    2px 2px 4px rgba(15,23,42,.15)!important;
}
.woocommerce ul.products li.product .iyw-book3d:after,
.iyw-product-card .iyw-book3d:after{
  content:""!important;
  position:absolute!important;
  z-index:5!important;
  left:-4px!important;
  top:3px!important;
  bottom:3px!important;
  width:6px!important;
  height:auto!important;
  border-radius:2px 0 0 2px!important;
  background:linear-gradient(90deg,rgba(36,30,26,.32),rgba(255,255,255,.08))!important;
  box-shadow:1px 0 1px rgba(255,255,255,.18)!important;
}


/* v1.0.18 — Approved realistic product-book mockup only.
   Keep every product image fully visible while making the product read as a
   physical upright book: clean light stage, visible fore-edge pages, subtle
   cover depth and grounded shadow. */
.woocommerce ul.products li.product .iyw-book-stage,
.iyw-product-card .iyw-book-stage{
  background:linear-gradient(145deg,#ffffff 0%,#fbfcfe 66%,#f5f7fa 100%)!important;
}
.woocommerce ul.products li.product .iyw-book-stage:after,
.iyw-product-card .iyw-book-stage:after{
  bottom:18px!important;
  width:55%!important;
  height:14px!important;
  background:rgba(15,23,42,.16)!important;
  filter:blur(12px)!important;
  transform:translateX(12px)!important;
}
.woocommerce ul.products li.product .iyw-book3d,
.iyw-product-card .iyw-book3d{
  width:min(66%,184px)!important;
  transform:perspective(1100px) rotateY(-11deg) rotateX(.35deg) rotateZ(-.35deg)!important;
  transform-origin:50% 84%!important;
  filter:drop-shadow(12px 17px 10px rgba(15,23,42,.18))!important;
}
.woocommerce ul.products li.product:hover .iyw-book3d,
.iyw-product-card:hover .iyw-book3d{
  transform:perspective(1100px) rotateY(-9deg) rotateX(.25deg) rotateZ(-.25deg) translateY(-3px)!important;
}
.woocommerce ul.products li.product .iyw-book3d img,
.iyw-product-card .iyw-book3d img{
  position:relative!important;
  z-index:4!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
  background:#fff!important;
  border-radius:1px 2px 2px 1px!important;
  transform:translateZ(2px)!important;
  box-shadow:
    1px 1px 1px rgba(15,23,42,.13),
    3px 3px 0 #f6f4ed,
    5px 5px 0 #e4e0d6!important;
}
/* Fore-edge/page block — intentionally wider and higher contrast so the
   individual paper layers remain visible even on pale cover artwork. */
.woocommerce ul.products li.product .iyw-book3d:before,
.iyw-product-card .iyw-book3d:before{
  content:""!important;
  position:absolute!important;
  z-index:3!important;
  right:-17px!important;
  top:5px!important;
  bottom:2px!important;
  width:19px!important;
  height:auto!important;
  border-radius:0 2px 3px 0!important;
  transform:none!important;
  transform-origin:left center!important;
  background:
    repeating-linear-gradient(to bottom,
      #fffef9 0 2px,
      #d8d3c8 2px 3px,
      #f7f4eb 3px 5px,
      #cfc9bc 5px 6px,
      #fffef9 6px 8px)!important;
  box-shadow:
    inset 3px 0 4px rgba(76,65,51,.12),
    inset -2px 0 2px rgba(255,255,255,.9),
    3px 2px 5px rgba(15,23,42,.16)!important;
}
/* Narrow shaded spine/cover lip on the opposite edge. */
.woocommerce ul.products li.product .iyw-book3d:after,
.iyw-product-card .iyw-book3d:after{
  content:""!important;
  position:absolute!important;
  z-index:5!important;
  left:-4px!important;
  top:3px!important;
  bottom:3px!important;
  width:5px!important;
  height:auto!important;
  border-radius:2px 0 0 2px!important;
  background:linear-gradient(90deg,rgba(24,29,38,.28),rgba(255,255,255,.06))!important;
  box-shadow:1px 0 1px rgba(255,255,255,.24)!important;
}
@media(max-width:680px){
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{width:66%!important}
  .woocommerce ul.products li.product .iyw-book3d:before,
  .iyw-product-card .iyw-book3d:before{right:-13px!important;width:15px!important}
}

/* v1.0.19 — Photorealistic upright book mockup, product imagery only.
   This deliberately affects only the physical-book presentation inside
   .iyw-book-stage / .iyw-single-book-stage. No store layout/content rules. */
.woocommerce ul.products li.product .iyw-book-stage,
.iyw-product-card .iyw-book-stage{
  height:330px!important;
  padding:24px 26px 22px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#fbfbfc 100%)!important;
  border-radius:16px!important;
}
.woocommerce ul.products li.product .iyw-book-stage:before,
.iyw-product-card .iyw-book-stage:before{
  content:"";
  position:absolute;
  left:19%;right:15%;bottom:20px;height:24px;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(23,28,38,.19) 0%,rgba(23,28,38,.10) 38%,rgba(23,28,38,0) 72%);
  filter:blur(7px);
  transform:translateX(12px) scaleX(.96);
  pointer-events:none;
}
.woocommerce ul.products li.product .iyw-book-stage:after,
.iyw-product-card .iyw-book-stage:after{display:none!important}

.woocommerce ul.products li.product .iyw-book3d,
.iyw-product-card .iyw-book3d{
  width:min(68%,190px)!important;
  aspect-ratio:2/3!important;
  position:relative!important;
  transform-style:preserve-3d!important;
  transform:perspective(1350px) rotateY(-5.7deg) rotateX(.5deg) rotateZ(-.2deg)!important;
  transform-origin:50% 84%!important;
  filter:drop-shadow(10px 14px 8px rgba(24,30,42,.15))!important;
  transition:transform .3s ease,filter .3s ease!important;
  isolation:isolate!important;
}
.woocommerce ul.products li.product:hover .iyw-book3d,
.iyw-product-card:hover .iyw-book3d{
  transform:perspective(1350px) rotateY(-4.2deg) rotateX(.35deg) rotateZ(-.12deg) translateY(-3px)!important;
  filter:drop-shadow(12px 18px 10px rgba(24,30,42,.17))!important;
}
.woocommerce ul.products li.product .iyw-book3d.is-moving,
.iyw-product-card .iyw-book3d.is-moving{animation:none!important}

/* Front cover: preserve every pixel of the uploaded artwork. */
.woocommerce ul.products li.product .iyw-book3d img,
.iyw-product-card .iyw-book3d img,
.iyw-single-book-stage .iyw-book3d img{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  border-radius:1.5px 3px 3px 1.5px!important;
  transform:translateZ(4px)!important;
  backface-visibility:hidden!important;
  box-shadow:1px 1px 1px rgba(16,24,40,.10),2px 2px 2px rgba(16,24,40,.07)!important;
}

/* Thick fore-edge on the right. Fine alternating lines create actual paper. */
.woocommerce ul.products li.product .iyw-book3d:before,
.iyw-product-card .iyw-book3d:before,
.iyw-single-book-stage .iyw-book3d:before{
  content:""!important;
  position:absolute!important;
  z-index:3!important;
  top:5px!important;
  right:-16px!important;
  bottom:4px!important;
  width:19px!important;
  height:auto!important;
  border:1px solid rgba(106,101,91,.18)!important;
  border-left:0!important;
  border-radius:0 3px 3px 0!important;
  transform:skewY(-1.4deg) translateZ(-1px)!important;
  transform-origin:left center!important;
  background:
    linear-gradient(90deg,rgba(137,130,117,.20) 0%,rgba(255,255,255,.98) 18%,rgba(247,244,236,.98) 72%,rgba(213,207,195,.88) 100%),
    repeating-linear-gradient(to bottom,#fffdfa 0 1px,#e4e0d7 1px 2px,#faf8f2 2px 4px)!important;
  background-blend-mode:multiply!important;
  box-shadow:inset 3px 0 3px rgba(79,71,60,.08),inset -2px 0 2px rgba(98,88,74,.10),3px 3px 4px rgba(17,24,39,.10)!important;
}

/* Spine lip, subtle enough that the cover remains the hero. */
.woocommerce ul.products li.product .iyw-book3d:after,
.iyw-product-card .iyw-book3d:after,
.iyw-single-book-stage .iyw-book3d:after{
  content:""!important;
  position:absolute!important;
  z-index:9!important;
  left:-3px!important;
  top:2px!important;
  bottom:2px!important;
  width:5px!important;
  height:auto!important;
  border-radius:2px 0 0 2px!important;
  background:linear-gradient(90deg,rgba(18,24,33,.28),rgba(18,24,33,.09) 45%,rgba(255,255,255,.15))!important;
  box-shadow:1px 0 1px rgba(255,255,255,.25)!important;
}

/* Visible page stacks along top and bottom make the mockup read as a real book. */
.iyw-book-top-pages,
.iyw-book-bottom-pages,
.iyw-book-cover-back{
  position:absolute;
  display:block;
  pointer-events:none;
}
.iyw-book-top-pages{
  z-index:4;
  left:3px;right:-13px;top:-4px;height:8px;
  transform:skewX(-50deg) translateZ(-2px);
  transform-origin:left bottom;
  border-radius:2px 3px 0 0;
  background:repeating-linear-gradient(to right,#f9f7ef 0 3px,#ded9ce 3px 4px,#fffefa 4px 7px);
  box-shadow:0 -1px 1px rgba(38,43,52,.08),inset 0 -2px 2px rgba(83,74,61,.08);
}
.iyw-book-bottom-pages{
  z-index:4;
  left:4px;right:-14px;bottom:-5px;height:9px;
  transform:skewX(49deg) translateZ(-2px);
  transform-origin:left top;
  border-radius:0 0 3px 2px;
  background:repeating-linear-gradient(to right,#fffefa 0 4px,#ded9ce 4px 5px,#f7f4ec 5px 8px);
  box-shadow:0 2px 2px rgba(38,43,52,.10),inset 0 2px 2px rgba(83,74,61,.07);
}
.iyw-book-cover-back{
  z-index:2;
  inset:2px -18px -3px 2px;
  border-radius:2px 4px 4px 2px;
  background:linear-gradient(90deg,#d8d5ce,#f6f4ef 12%,#ece8de 90%,#cbc5b9);
  transform:translateZ(-5px);
  box-shadow:5px 6px 7px rgba(22,28,39,.08);
}

/* Single product uses the same physical construction at a larger scale. */
.iyw-single-book-stage{
  overflow:hidden!important;
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#f8f9fb 100%)!important;
}
.iyw-single-book-stage .iyw-book3d{
  width:min(58%,300px)!important;
  aspect-ratio:2/3!important;
  position:relative!important;
  transform:perspective(1500px) rotateY(-5.5deg) rotateX(.5deg)!important;
  transform-style:preserve-3d!important;
  filter:drop-shadow(15px 22px 12px rgba(24,30,42,.17))!important;
  animation:none!important;
}
.iyw-single-book-stage .iyw-book3d:before{right:-24px!important;width:28px!important}
.iyw-single-book-stage .iyw-book-top-pages{right:-20px;height:11px;top:-6px}
.iyw-single-book-stage .iyw-book-bottom-pages{right:-21px;height:12px;bottom:-7px}
.iyw-single-book-stage .iyw-book-cover-back{right:-26px;bottom:-5px}

@media(max-width:680px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{height:225px!important;padding:17px 14px 15px!important}
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{width:min(69%,128px)!important}
  .woocommerce ul.products li.product .iyw-book3d:before,
  .iyw-product-card .iyw-book3d:before{right:-11px!important;width:13px!important}
  .iyw-book-top-pages{right:-9px;top:-3px;height:6px}
  .iyw-book-bottom-pages{right:-10px;bottom:-4px;height:7px}
  .iyw-book-cover-back{right:-13px;bottom:-2px}
}

/* v1.0.20 — Product book fore-edge page lines only.
   Make the visible paper edge read as full-height book pages: long, straight
   vertical page lines running continuously from top to bottom. */
.woocommerce ul.products li.product .iyw-book3d:before,
.iyw-product-card .iyw-book3d:before,
.iyw-single-book-stage .iyw-book3d:before{
  background:
    repeating-linear-gradient(
      to right,
      rgba(255,255,252,.99) 0 1px,
      rgba(205,199,187,.78) 1px 2px,
      rgba(249,247,240,.99) 2px 3px,
      rgba(222,217,207,.68) 3px 4px
    ),
    linear-gradient(90deg,rgba(130,122,108,.16) 0%,rgba(255,255,255,.98) 16%,rgba(247,244,236,.98) 76%,rgba(202,195,182,.88) 100%)!important;
  background-blend-mode:multiply!important;
}

/* v1.0.21 — Fore-edge correction only: unmistakable vertical page sheets (||||). */
.woocommerce ul.products li.product .iyw-book3d:before,
.iyw-product-card .iyw-book3d:before,
.iyw-single-book-stage .iyw-book3d:before{
  background-color:#f7f3e9!important;
  background-image:repeating-linear-gradient(
    90deg,
    #fbf9f2 0px,
    #fbf9f2 2px,
    #c9c2b5 2px,
    #c9c2b5 3px,
    #f3efe5 3px,
    #f3efe5 5px,
    #d8d1c5 5px,
    #d8d1c5 6px
  )!important;
  background-blend-mode:normal!important;
}


/* v1.0.22 — Requested mockup-only correction.
   Keep the realistic vertical fore-edge pages on the RIGHT only.
   Remove the artificial lined page strips from the top and bottom, and
   restore the existing subtle book movement on non-mobile screens. */
.iyw-book-top-pages,
.iyw-book-bottom-pages{
  display:none!important;
}

.woocommerce ul.products li.product .iyw-book3d.is-moving,
.iyw-product-card .iyw-book3d.is-moving,
.iyw-single-book-stage .iyw-book3d.is-moving{
  animation:iyw-book-breathe 4.5s ease-in-out infinite!important;
}

/* Preserve the previously requested no-book-animation behaviour on mobile. */
@media(max-width:680px){
  .woocommerce ul.products li.product .iyw-book3d.is-moving,
  .iyw-product-card .iyw-book3d.is-moving,
  .iyw-single-book-stage .iyw-book3d.is-moving{
    animation:none!important;
  }
}

/* v1.0.23 — Responsive product-book fit + mobile movement only.
   Scope is intentionally limited to the book mockup stage and book itself. */
@media(max-width:680px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:clamp(195px,50vw,220px)!important;
    min-height:0!important;
    padding:8px 8px 7px!important;
    margin-bottom:10px!important;
    place-items:center!important;
  }

  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(78%,145px)!important;
    max-height:calc(100% - 6px)!important;
  }

  .woocommerce ul.products li.product .iyw-book3d.is-moving,
  .iyw-product-card .iyw-book3d.is-moving,
  .iyw-single-book-stage .iyw-book3d.is-moving{
    animation:iyw-book-breathe 4.5s ease-in-out infinite!important;
    will-change:translate;
  }
}

/* Extra-small phones: keep the two-column grid neat without wasting stage space. */
@media(max-width:390px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:clamp(182px,51vw,199px)!important;
    padding:6px!important;
  }
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(80%,132px)!important;
  }
}

/* Tablets / narrow desktops: let the book use more of its stage instead of
   leaving a large empty halo around it. */
@media(min-width:681px) and (max-width:1180px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:clamp(260px,28vw,315px)!important;
    padding:16px 18px!important;
  }
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(74%,185px)!important;
  }
}

/* v1.0.24 — Mobile product-book correction only.
   1) Force the product books to animate on phones.
   2) Make the mockup substantially larger inside its stage.
   3) Remove excess empty stage space on all small-screen widths.
   No typography, buttons, product data, grid columns, header, footer or WooCommerce behaviour changed. */
@keyframes iyw-product-book-mobile-float{
  0%,100%{translate:0 0}
  50%{translate:0 -9px}
}

@media(max-width:680px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:190px!important;
    min-height:190px!important;
    padding:4px 5px 3px!important;
    margin-bottom:8px!important;
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
  }

  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(82%,126px)!important;
    max-width:126px!important;
    max-height:none!important;
    margin:0 auto!important;
    animation:iyw-product-book-mobile-float 3.8s ease-in-out infinite!important;
    will-change:translate!important;
  }

  /* Keep the realistic ground shadow close to the now-larger book. */
  .woocommerce ul.products li.product .iyw-book-stage:before,
  .iyw-product-card .iyw-book-stage:before{
    bottom:10px!important;
    width:68%!important;
  }
}

@media(max-width:430px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:178px!important;
    min-height:178px!important;
    padding:3px!important;
  }
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(84%,116px)!important;
    max-width:116px!important;
  }
}

@media(max-width:360px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:166px!important;
    min-height:166px!important;
  }
  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(86%,108px)!important;
    max-width:108px!important;
  }
}

/* v1.0.25 — Desktop fore-edge page-line visibility only.
   Keep the existing book mockup untouched; strengthen only the vertical ||||
   paper-sheet lines on screens wider than mobile so they remain clearly visible. */
@media(min-width:681px){
  .woocommerce ul.products li.product .iyw-book3d:before,
  .iyw-product-card .iyw-book3d:before,
  .iyw-single-book-stage .iyw-book3d:before{
    background-color:#f7f3e9!important;
    background-image:repeating-linear-gradient(
      90deg,
      #fffdf8 0px,
      #fffdf8 2px,
      #bdb5a8 2px,
      #bdb5a8 3px,
      #f8f5ed 3px,
      #f8f5ed 5px,
      #cec6b8 5px,
      #cec6b8 6px
    )!important;
    background-blend-mode:normal!important;
  }
}

/* v1.0.27 — Desktop product-book stage fit only.
   Reduce unused whitespace around the mockup on wide screens while leaving
   mobile/tablet styling, animation, page lines, cards and product content untouched. */
@media(min-width:1181px){
  .woocommerce ul.products li.product .iyw-book-stage,
  .iyw-product-card .iyw-book-stage{
    height:310px!important;
    min-height:310px!important;
    padding:5px 10px!important;
    margin-bottom:10px!important;
  }

  .woocommerce ul.products li.product .iyw-book3d,
  .iyw-product-card .iyw-book3d{
    width:min(74%,200px)!important;
    max-width:200px!important;
  }

  .woocommerce ul.products li.product .iyw-book-stage:before,
  .iyw-product-card .iyw-book-stage:before{
    bottom:11px!important;
  }
}

/* v1.0.28 — Related products layout only. */
.single-product .related.products{
  width:100%!important;
  max-width:100%!important;
  margin-top:46px!important;
  clear:both!important;
}
.single-product .related.products > h2{
  margin:0 0 20px!important;
}

/* v1.0.29 — WooCommerce rating star colour only. */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span,
.woocommerce .star-rating span::before,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .star-rating::before,
.woocommerce ul.products li.product .star-rating span,
.woocommerce ul.products li.product .star-rating span::before{
  color:#f5b301!important;
}

/* v1.0.31 — Buy Now button only. */
.single-product .iyw-buy-now-button{height:50px!important;border-radius:12px!important;background:#111827!important;color:#fff!important;padding:0 24px!important;font-weight:800!important;white-space:nowrap}
.single-product .iyw-buy-now-button:hover{background:#000!important;color:#fff!important}
@media(max-width:680px){.single-product .cart{flex-wrap:wrap}.single-product .iyw-buy-now-button{flex:1 1 140px}.single-product .single_add_to_cart_button{flex:1 1 140px}}


/* v1.0.32 — Buy Now button on WooCommerce product cards only. */
.woocommerce ul.products li.product .iyw-loop-buy-now-button{
  display:block!important;
  width:100%;
  box-sizing:border-box;
  margin-top:9px!important;
  padding:10px 12px!important;
  text-align:center;
  border:2px solid var(--iyw-primary)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--iyw-primary)!important;
  font-weight:800!important;
}
.woocommerce ul.products li.product .iyw-loop-buy-now-button:hover,
.woocommerce ul.products li.product .iyw-loop-buy-now-button:focus{
  background:var(--iyw-primary)!important;
  color:#fff!important;
}


/* v1.0.33 — Shine animation on Buy Now buttons only. */
.woocommerce ul.products li.product .iyw-loop-buy-now-button,
.single-product .iyw-buy-now-button{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
}
.woocommerce ul.products li.product .iyw-loop-buy-now-button::after,
.single-product .iyw-buy-now-button::after{
  content:"";
  position:absolute;
  top:-45%;
  left:-65%;
  width:38%;
  height:190%;
  pointer-events:none;
  transform:skewX(-22deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),transparent);
  filter:blur(.2px);
  animation:iyw-buy-now-shine 2.6s ease-in-out infinite;
  z-index:2;
}
.woocommerce ul.products li.product .iyw-loop-buy-now-button::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 30%,rgba(95,48,227,.13) 47%,rgba(255,255,255,.88) 50%,rgba(95,48,227,.13) 53%,transparent 70%);
  background-size:250% 100%;
  background-position:180% 0;
  animation:iyw-buy-now-soft-glow 2.6s ease-in-out infinite;
  z-index:1;
}
@keyframes iyw-buy-now-shine{
  0%,24%{left:-65%;opacity:0}
  34%{opacity:1}
  58%{left:130%;opacity:1}
  70%,100%{left:130%;opacity:0}
}
@keyframes iyw-buy-now-soft-glow{
  0%,24%{background-position:180% 0}
  65%,100%{background-position:-80% 0}
}
@media (prefers-reduced-motion:reduce){
  .woocommerce ul.products li.product .iyw-loop-buy-now-button::after,
  .woocommerce ul.products li.product .iyw-loop-buy-now-button::before,
  .single-product .iyw-buy-now-button::after{animation:none!important}
}

/* Professional customer authentication + profile — v1.0.34 (account pages only) */
.iyw-auth-page-body .woocommerce{max-width:1180px;margin:0 auto}.iyw-auth-page{display:grid;grid-template-columns:minmax(0,.9fr) minmax(460px,1.1fr);max-width:1120px;margin:22px auto 34px;background:#fff;border:1px solid #e6e9ef;border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(16,24,40,.10)}.iyw-auth-intro{position:relative;overflow:hidden;padding:64px 56px;background:linear-gradient(145deg,#181034 0%,#3f22a8 56%,#673de6 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:650px}.iyw-auth-intro:before,.iyw-auth-intro:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none}.iyw-auth-intro:before{width:330px;height:330px;right:-150px;top:-110px}.iyw-auth-intro:after{width:220px;height:220px;left:-110px;bottom:-70px}.iyw-auth-eyebrow,.iyw-profile-kicker{display:inline-flex;align-items:center;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.iyw-auth-intro h1{position:relative;margin:18px 0 16px;color:#fff;font-size:clamp(38px,4vw,56px);line-height:1.02;letter-spacing:-.055em}.iyw-auth-intro>p{position:relative;margin:0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.75;max-width:470px}.iyw-auth-benefits{position:relative;display:grid;gap:13px;margin-top:36px}.iyw-auth-benefits div{display:flex;align-items:center;gap:11px;color:#fff}.iyw-auth-benefits div span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.15);font-size:13px}.iyw-auth-benefits strong{font-size:14px}.iyw-auth-panel{padding:48px 52px;align-self:center}.iyw-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f2f3f7;padding:5px;border-radius:13px;margin-bottom:34px}.iyw-auth-tab{height:44px;border:0;border-radius:9px;background:transparent;color:#667085;font:inherit;font-weight:800;cursor:pointer}.iyw-auth-tab.is-active{background:#fff;color:#171a25;box-shadow:0 2px 10px rgba(16,24,40,.08)}.iyw-auth-view[hidden]{display:none!important}.iyw-auth-heading h2{margin:0;color:#101828;font-size:31px;letter-spacing:-.04em}.iyw-auth-heading p{margin:7px 0 26px;color:#667085}.woocommerce .iyw-auth-form{border:0!important;padding:0!important;margin:0!important}.woocommerce .iyw-auth-form .form-row{margin:0 0 17px}.woocommerce .iyw-auth-form label{display:block;margin-bottom:7px;color:#344054;font-size:13px;font-weight:750}.woocommerce .iyw-auth-form input.input-text{width:100%;height:50px;border:1px solid #d7dce5!important;border-radius:12px!important;background:#fff;padding:0 14px!important;font-size:15px;outline:0;box-shadow:none;transition:.18s}.woocommerce .iyw-auth-form input.input-text:focus{border-color:#7658e8!important;box-shadow:0 0 0 4px rgba(91,52,218,.09)}.iyw-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.iyw-form-grid .form-row-first,.iyw-form-grid .form-row-last{float:none!important;width:auto!important}.iyw-auth-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:-2px 0 22px;font-size:13px}.iyw-auth-row label{display:flex!important;align-items:center;gap:7px;margin:0!important;font-weight:600!important}.iyw-auth-row input[type=checkbox]{width:16px;height:16px}.iyw-forgot-link{font-weight:750;color:#5b34da}.woocommerce .iyw-auth-submit{width:100%;min-height:51px;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#5730d7,#7149ec)!important;color:#fff!important;font-weight:850!important;font-size:15px!important;box-shadow:0 8px 20px rgba(91,52,218,.18);transition:.18s}.woocommerce .iyw-auth-submit:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(91,52,218,.23)}.iyw-auth-note,.iyw-auth-privacy{color:#667085;font-size:12px;line-height:1.55}.iyw-auth-privacy{text-align:center;margin:14px 0 0!important}

.iyw-profile-page .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;max-width:1180px;margin:0 auto}.iyw-profile-page .woocommerce-MyAccount-navigation{float:none!important;width:auto!important}.iyw-profile-page .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;background:#fff;border:1px solid #e6e9ef;border-radius:22px;padding:28px;box-shadow:0 10px 35px rgba(16,24,40,.05)}.iyw-profile-nav{position:sticky;top:22px}.iyw-profile-mini{display:flex;align-items:center;gap:12px;padding:16px;margin-bottom:12px;background:#fff;border:1px solid #e6e9ef;border-radius:18px}.iyw-profile-mini img{width:46px;height:46px;border-radius:14px;object-fit:cover;background:#f2f4f7}.iyw-profile-mini div{min-width:0}.iyw-profile-mini strong,.iyw-profile-mini span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iyw-profile-mini strong{font-size:14px;color:#101828}.iyw-profile-mini span{margin-top:3px;color:#667085;font-size:11px}.iyw-profile-nav ul{list-style:none!important;margin:0!important;padding:8px!important;background:#fff;border:1px solid #e6e9ef!important;border-radius:18px!important}.iyw-profile-nav li{margin:0!important}.iyw-profile-nav li a{display:flex!important;align-items:center;gap:10px;padding:11px 12px!important;border-radius:11px!important;color:#475467!important;font-weight:700!important;font-size:14px}.iyw-profile-nav li.is-active a,.iyw-profile-nav li a:hover{background:#f2efff!important;color:#5b34da!important}.iyw-nav-icon{width:27px;height:27px;border-radius:8px;background:#f5f5f8;display:grid;place-items:center;font-size:13px}.iyw-profile-nav li.is-active .iyw-nav-icon{background:#e8e1ff}.iyw-profile-hero{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:24px;border-radius:18px;background:linear-gradient(135deg,#f7f4ff,#fbfaff);border:1px solid #e9e2ff}.iyw-profile-hero>img{width:78px;height:78px;border-radius:20px;object-fit:cover;background:#fff;border:4px solid #fff;box-shadow:0 6px 18px rgba(16,24,40,.09)}.iyw-profile-kicker{padding:0;background:none;color:#6941c6;font-size:10px}.iyw-profile-hero h2{margin:4px 0 5px;font-size:27px;letter-spacing:-.035em}.iyw-profile-hero p{margin:0;color:#667085;font-size:13px}.woocommerce .iyw-profile-edit{align-self:center;background:#fff!important;color:#5b34da!important;border:1px solid #ded7fa!important;border-radius:10px!important;padding:10px 14px!important;font-size:13px!important}.iyw-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:18px 0}.iyw-profile-stats>a{display:block;padding:18px;border:1px solid #e8ebf0;border-radius:16px;background:#fff;transition:.18s}.iyw-profile-stats>a:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,24,40,.06);border-color:#dcd4fb}.iyw-profile-stats span,.iyw-profile-stats small{display:block;color:#667085;font-size:11px}.iyw-profile-stats strong{display:block;margin:7px 0 4px;color:#101828;font-size:18px}.iyw-profile-details{border:1px solid #e8ebf0;border-radius:17px;overflow:hidden}.iyw-profile-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #edf0f3}.iyw-profile-section-head span{display:block;color:#667085;font-size:11px}.iyw-profile-section-head h3{margin:2px 0 0;font-size:18px}.iyw-profile-section-head>a{font-size:13px;font-weight:800;color:#5b34da}.iyw-profile-detail-grid{display:grid;grid-template-columns:1fr 1fr}.iyw-profile-detail-grid>div{padding:17px 20px;border-bottom:1px solid #edf0f3}.iyw-profile-detail-grid>div:nth-child(odd){border-right:1px solid #edf0f3}.iyw-profile-detail-grid>div:nth-last-child(-n+2){border-bottom:0}.iyw-profile-detail-grid small,.iyw-profile-detail-grid strong{display:block}.iyw-profile-detail-grid small{color:#667085;font-size:11px;margin-bottom:5px}.iyw-profile-detail-grid strong{font-size:13px;color:#344054;word-break:break-word}.iyw-profile-page .woocommerce-MyAccount-content>h2,.iyw-profile-page .woocommerce-MyAccount-content>h3{letter-spacing:-.03em}.iyw-profile-page .woocommerce-MyAccount-content form .form-row input.input-text,.iyw-profile-page .woocommerce-MyAccount-content form select,.iyw-profile-page .woocommerce-MyAccount-content form textarea{border:1px solid #dfe3ea;border-radius:11px;padding:11px 13px}.iyw-profile-page .woocommerce-MyAccount-content fieldset{border:1px solid #e8ebf0;border-radius:15px;margin:22px 0;padding:18px}.iyw-profile-page .woocommerce-MyAccount-content fieldset legend{font-weight:800;padding:0 7px}.iyw-profile-page .woocommerce-MyAccount-content .button{border-radius:10px!important;background:#5b34da!important;color:#fff!important}.iyw-profile-page .woocommerce-Address{float:none!important;width:auto!important;border:1px solid #e8ebf0;border-radius:16px;padding:18px;margin-bottom:14px}.iyw-profile-page .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:14px}.iyw-profile-page .woocommerce-Address-title h2{font-size:19px}.iyw-profile-page .woocommerce-Address-title a{font-size:12px;font-weight:800;color:#5b34da}

@media(max-width:900px){.iyw-auth-page{grid-template-columns:1fr;max-width:650px}.iyw-auth-intro{min-height:auto;padding:40px}.iyw-auth-intro h1{font-size:40px}.iyw-profile-page .woocommerce{grid-template-columns:1fr}.iyw-profile-nav{position:static}.iyw-profile-nav ul{display:flex;overflow-x:auto;gap:5px}.iyw-profile-nav li{flex:0 0 auto}.iyw-profile-mini{display:none}}
@media(max-width:600px){.iyw-auth-page{margin:10px 0 24px;border-radius:20px}.iyw-auth-intro{padding:30px 24px}.iyw-auth-intro h1{font-size:33px}.iyw-auth-benefits{margin-top:25px}.iyw-auth-panel{padding:30px 22px}.iyw-form-grid{grid-template-columns:1fr;gap:0}.iyw-auth-heading h2{font-size:27px}.iyw-auth-row{align-items:flex-start}.iyw-profile-page .woocommerce-MyAccount-content{padding:15px;border-radius:17px}.iyw-profile-hero{grid-template-columns:auto 1fr;padding:17px}.iyw-profile-hero>img{width:58px;height:58px;border-radius:16px}.iyw-profile-hero h2{font-size:21px}.iyw-profile-hero p{display:none}.iyw-profile-edit{grid-column:1/-1;text-align:center}.iyw-profile-stats{grid-template-columns:1fr}.iyw-profile-detail-grid{grid-template-columns:1fr}.iyw-profile-detail-grid>div,.iyw-profile-detail-grid>div:nth-child(odd){border-right:0;border-bottom:1px solid #edf0f3}.iyw-profile-detail-grid>div:last-child{border-bottom:0}.iyw-profile-page .woocommerce-Addresses{grid-template-columns:1fr}}


/* v1.0.35 — Account dropdown overlay fix only. */
.iyw-account-wrap{z-index:10020}
.iyw-account-trigger{z-index:10023}
.iyw-account-menu{z-index:10022;box-shadow:0 24px 60px rgba(16,24,40,.22),0 6px 18px rgba(16,24,40,.10)}
.iyw-account-wrap.is-open::before{content:"";position:fixed;inset:0;z-index:10021;background:rgba(16,24,40,.22);backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px);pointer-events:none}
@media(max-width:680px){.iyw-account-menu{right:12px;top:82px;width:min(300px,calc(100vw - 24px));max-height:calc(100vh - 98px);overflow:auto}}

/* v1.0.36 — Professional My Account layout alignment fix only. */
.iyw-profile-page .woocommerce{
  display:block!important;
  max-width:1180px;
  margin:0 auto;
}
.iyw-profile-page .iyw-account-layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:24px;
  align-items:start;
  width:100%;
}
.iyw-profile-page .iyw-account-sidebar{
  min-width:0;
}
.iyw-profile-page .iyw-account-sidebar .woocommerce-MyAccount-navigation{
  float:none!important;
  width:100%!important;
  margin:0!important;
}
.iyw-profile-page .iyw-account-main.woocommerce-MyAccount-content{
  float:none!important;
  width:100%!important;
  min-width:0;
  margin:0!important;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-nav{
  position:sticky;
  top:22px;
  width:100%;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-mini,
.iyw-profile-page .iyw-profile-nav ul{
  width:100%;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-nav li a{
  width:100%;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-dashboard{
  width:100%;
  min-width:0;
}
.iyw-profile-page .iyw-profile-hero{
  width:100%;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-stats{
  width:100%;
}
.iyw-profile-page .iyw-profile-stats>a{
  min-width:0;
  box-sizing:border-box;
}
.iyw-profile-page .iyw-profile-details{
  width:100%;
  box-sizing:border-box;
}

@media(max-width:900px){
  .iyw-profile-page .iyw-account-layout{
    grid-template-columns:1fr;
    gap:18px;
  }
  .iyw-profile-page .iyw-profile-nav{
    position:static;
  }
}

/* v1.0.37 — Account details profile photo: top-positioned rounded AJAX changer only. */
.iyw-profile-page .iyw-account-photo{display:flex;align-items:center;gap:18px;margin:0 0 26px;padding:18px;border:1px solid #e8ebf0;border-radius:16px;background:#fbfbfd}
.iyw-profile-page .iyw-account-photo__preview-wrap{flex:0 0 auto;width:92px;height:92px;border-radius:50%;padding:4px;background:#fff;box-shadow:0 4px 16px rgba(16,24,40,.10)}
.iyw-profile-page .iyw-account-photo__preview{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#f2f4f7}
.iyw-profile-page .iyw-account-photo__copy{display:flex;align-items:flex-start;flex-direction:column;min-width:0}
.iyw-profile-page .iyw-account-photo__copy strong{color:#101828;font-size:15px;line-height:1.35}
.iyw-profile-page .iyw-account-photo__copy>span:not(.iyw-account-photo__status){margin-top:4px;color:#667085;font-size:12px;line-height:1.5}
.iyw-profile-page .woocommerce-MyAccount-content .iyw-account-photo__button{margin-top:10px!important;padding:8px 14px!important;min-height:38px;background:#5b34da!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:13px!important;font-weight:800!important;cursor:pointer}
.iyw-profile-page .woocommerce-MyAccount-content .iyw-account-photo__button.is-loading{opacity:.7;pointer-events:none}
.iyw-profile-page .iyw-account-photo__status{display:block;min-height:18px;margin-top:7px;color:#667085;font-size:12px;line-height:1.4}
.iyw-profile-page .iyw-account-photo__status.is-error{color:#b42318}
.iyw-profile-page .iyw-account-photo__status.is-success{color:#067647}
@media(max-width:600px){.iyw-profile-page .iyw-account-photo{align-items:flex-start;gap:14px;padding:15px}.iyw-profile-page .iyw-account-photo__preview-wrap{width:76px;height:76px}}

/* v1.0.39 — Create-account option beneath Sign in. */
.iyw-auth-create-option{margin-top:22px;padding-top:22px;border-top:1px solid #eaecf0;text-align:center}.iyw-auth-create-option>span{display:block;margin-bottom:10px;color:#667085;font-size:13px}.iyw-auth-create-button{width:100%;min-height:49px;border:1px solid #d7dce5;border-radius:12px;background:#fff;color:#4f2bc4;font:inherit;font-size:14px;font-weight:850;cursor:pointer;transition:.18s}.iyw-auth-create-button:hover{border-color:#7658e8;background:#f8f6ff;transform:translateY(-1px)}


/* v1.0.40 — Ensure Create account is always visible beneath Sign in. */
.iyw-auth-create-option{display:block!important}

/* v1.0.39 — Empty-cart "New in store" books only.
   Match the homepage product-book presentation inside WooCommerce's empty-cart
   recommendations. Everything outside the empty-cart recommendation grid is
   intentionally left untouched. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  padding:0!important;
  margin:0!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block li.wc-block-grid__product{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  border:0!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
  position:relative!important;
  height:310px!important;
  min-height:310px!important;
  padding:5px 10px!important;
  margin:0 0 10px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#fbfbfc 100%)!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage:before{
  content:""!important;
  position:absolute!important;
  left:19%!important;
  right:15%!important;
  bottom:11px!important;
  height:24px!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse at center,rgba(23,28,38,.19) 0%,rgba(23,28,38,.10) 38%,rgba(23,28,38,0) 72%)!important;
  filter:blur(7px)!important;
  transform:translateX(12px) scaleX(.96)!important;
  pointer-events:none!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
  width:min(74%,200px)!important;
  max-width:200px!important;
  aspect-ratio:2/3!important;
  position:relative!important;
  z-index:2!important;
  display:block!important;
  transform-style:preserve-3d!important;
  transform:perspective(1350px) rotateY(-5.7deg) rotateX(.5deg) rotateZ(-.2deg)!important;
  transform-origin:50% 84%!important;
  filter:drop-shadow(10px 14px 8px rgba(24,30,42,.15))!important;
  animation:iyw-book-breathe 4.5s ease-in-out infinite!important;
  transition:transform .3s ease,filter .3s ease!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .iyw-cart-book3d,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product:hover .iyw-cart-book3d{
  transform:perspective(1350px) rotateY(-4.2deg) rotateX(.35deg) rotateZ(-.12deg) translateY(-3px)!important;
  filter:drop-shadow(12px 18px 10px rgba(24,30,42,.17))!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d img{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  border-radius:1.5px 3px 3px 1.5px!important;
  transform:translateZ(4px)!important;
  backface-visibility:hidden!important;
  box-shadow:1px 1px 1px rgba(16,24,40,.10),2px 2px 2px rgba(16,24,40,.07)!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d:before{
  content:""!important;
  position:absolute!important;
  z-index:3!important;
  top:5px!important;
  right:-16px!important;
  bottom:4px!important;
  width:19px!important;
  border:1px solid rgba(106,101,91,.18)!important;
  border-left:0!important;
  border-radius:0 3px 3px 0!important;
  transform:skewY(-1.4deg) translateZ(-1px)!important;
  transform-origin:left center!important;
  background-color:#f7f3e9!important;
  background-image:repeating-linear-gradient(90deg,#fffdf8 0 2px,#bdb5a8 2px 3px,#f8f5ed 3px 5px,#cec6b8 5px 6px)!important;
  box-shadow:inset 3px 0 3px rgba(79,71,60,.08),inset -2px 0 2px rgba(98,88,74,.10),3px 3px 4px rgba(17,24,39,.10)!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d:after{
  content:""!important;
  position:absolute!important;
  z-index:9!important;
  left:-3px!important;
  top:2px!important;
  bottom:2px!important;
  width:5px!important;
  border-radius:2px 0 0 2px!important;
  background:linear-gradient(90deg,rgba(18,24,33,.28),rgba(18,24,33,.09) 45%,rgba(255,255,255,.15))!important;
  box-shadow:1px 0 1px rgba(255,255,255,.25)!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-name,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title{
  font-size:16px!important;
  line-height:1.35!important;
  margin:7px 0 8px!important;
  padding:0!important;
  font-weight:820!important;
  letter-spacing:-.02em!important;
  color:var(--iyw-text)!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-price,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price{
  display:block!important;
  font-size:17px!important;
  font-weight:850!important;
  color:var(--iyw-text)!important;
  margin:8px 0 14px!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button{
  width:100%!important;
  text-align:center!important;
  border-radius:11px!important;
  background:var(--iyw-primary)!important;
  color:#fff!important;
  padding:11px 12px!important;
  font-weight:800!important;
}

@media(max-width:1180px) and (min-width:681px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
    height:clamp(260px,28vw,315px)!important;
    min-height:0!important;
    padding:16px 18px!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
    width:min(74%,185px)!important;
  }
}

@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 12px!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
    height:178px!important;
    min-height:178px!important;
    padding:3px!important;
    margin-bottom:8px!important;
    overflow:visible!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
    width:min(84%,116px)!important;
    max-width:116px!important;
    animation:iyw-product-book-mobile-float 3.8s ease-in-out infinite!important;
    will-change:translate!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d:before{
    right:-11px!important;
    width:13px!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage:before{
    bottom:10px!important;
    width:68%!important;
  }
}

@media(max-width:360px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
    height:166px!important;
    min-height:166px!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
    width:min(86%,108px)!important;
    max-width:108px!important;
  }
}


/* v1.0.42 — Empty-cart book-size normalization + rating colour only.
   Some original cover files use a wider canvas, which makes object-fit:contain
   render the physical book noticeably smaller. Scale only those wider empty-cart
   covers as a complete book (cover + page depth) so the full artwork stays visible
   while matching the visual size of the homepage books. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d.iyw-cart-cover-wide{
  transform:perspective(1350px) rotateY(-5.7deg) rotateX(.5deg) rotateZ(-.2deg) scale(1.16)!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d.iyw-cart-cover-very-wide{
  transform:perspective(1350px) rotateY(-5.7deg) rotateX(.5deg) rotateZ(-.2deg) scale(1.30)!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .iyw-cart-book3d.iyw-cart-cover-wide,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product:hover .iyw-cart-book3d.iyw-cart-cover-wide{
  transform:perspective(1350px) rotateY(-4.2deg) rotateX(.35deg) rotateZ(-.12deg) translateY(-3px) scale(1.16)!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .iyw-cart-book3d.iyw-cart-cover-very-wide,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product:hover .iyw-cart-book3d.iyw-cart-cover-very-wide{
  transform:perspective(1350px) rotateY(-4.2deg) rotateX(.35deg) rotateZ(-.12deg) translateY(-3px) scale(1.30)!important;
}

/* Empty-cart recommendation stars only — match the homepage WooCommerce gold. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .star-rating,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .star-rating:before,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .star-rating span,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .star-rating span:before,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating__stars,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating__stars:before,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating__stars span,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating__stars span:before{
  color:#f5b301!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating svg,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-rating__stars svg{
  fill:#f5b301!important;
  color:#f5b301!important;
}

@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
    overflow:visible!important;
  }
}

/* v1.0.43 — Empty-cart mobile recommendations: one book per row only. */
@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
    grid-template-columns:minmax(0,1fr)!important;
    gap:24px 0!important;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template > li{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
    height:260px!important;
    min-height:260px!important;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
    width:min(70%,180px)!important;
    max-width:180px!important;
  }
}


/* v1.0.45 — Empty-cart recommendations only: show two books and center them. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products{
  width:min(100%,760px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  justify-content:center!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products > .wc-block-grid__product:nth-child(n+3),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template > .wc-block-product:nth-child(n+3),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template > li:nth-child(n+3),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products > li:nth-child(n+3),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products > li.product:nth-child(n+3){
  display:none!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template > li,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products > li.product{
  text-align:center!important;
  justify-self:center!important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book-stage{
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(min-width:681px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products{
    width:min(100%,360px)!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* v1.0.46 — Requested fixes only:
   1) truly center the two empty-cart book covers;
   2) place Shop and Help side-by-side in the mobile footer. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image.iyw-cart-book-stage,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image.iyw-cart-book-stage,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-image.iyw-cart-book-stage{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  place-items:center!important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .iyw-cart-book3d{
  margin-left:auto!important;
  margin-right:auto!important;
  justify-self:center!important;
}

@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template > li,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products > li.product{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-self:stretch!important;
    width:100%!important;
  }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image.iyw-cart-book-stage,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image.iyw-cart-book-stage,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-image.iyw-cart-book-stage{
    width:100%!important;
    align-self:stretch!important;
  }

  .iyw-footer-main{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:28px!important;
    row-gap:34px!important;
  }
  .iyw-footer-main > div:first-child,
  .iyw-footer-main > div:nth-child(4){
    grid-column:1 / -1!important;
  }
  .iyw-footer-main > div:nth-child(2){
    grid-column:1!important;
    grid-row:2!important;
    text-align:left!important;
  }
  .iyw-footer-main > div:nth-child(3){
    grid-column:2!important;
    grid-row:2!important;
    text-align:left!important;
  }
}

/* v1.0.47 — Empty-cart recommendations only: give the title breathing room below the book. */
@media(max-width:680px){
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-name,
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title{
    margin-top:28px!important;
  }
}


/* v1.0.48 — Homepage articles only: hide article excerpts on mobile. */
@media(max-width:680px){
  .iyw-home-articles .iyw-product-card > .iyw-author{
    display:none!important;
  }
}


/* v1.0.49 — Requested homepage refinements only.
   1) Desktop hero animated book now carries the same realistic visible page-edge / spine depth as homepage product books.
   2) Featured “Shop all” and article “More articles” links align to the right.
   No other theme areas are changed. */
.iyw-home-link-row{
  text-align:right;
}

@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    right:-14px!important;
    top:3px!important;
    bottom:3px!important;
    background-color:#f7f3e9!important;
    background-image:repeating-linear-gradient(
      90deg,
      #fffdf8 0px,
      #fffdf8 2px,
      #bdb5a8 2px,
      #bdb5a8 3px,
      #f8f5ed 3px,
      #f8f5ed 5px,
      #cec6b8 5px,
      #cec6b8 6px
    )!important;
    border-radius:3px 7px 7px 3px!important;
    box-shadow:12px 14px 24px rgba(0,0,0,.20),inset -4px 0 6px rgba(91,65,41,.18)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover img{
    object-fit:contain!important;
    background:#fff!important;
    box-shadow:2px 2px 0 #faf9f3,4px 4px 0 #e8e6dc,6px 6px 0 #f5f3e9,8px 8px 0 #d8d6cc,10px 10px 0 #f8f6ee,0 1px 1px rgba(15,23,42,.12)!important;
  }
}

/* v1.0.50 — Homepage action links: keep Shop all / More articles right-aligned on mobile too. */
@media(max-width:680px){
  .iyw-home-link-row{
    display:flex!important;
    width:100%!important;
    justify-content:flex-end!important;
    align-items:center!important;
    text-align:right!important;
  }
  .iyw-home-link-row .iyw-text-link{
    margin-left:auto!important;
    margin-right:0!important;
    text-align:right!important;
  }
}

/* v1.0.51 — Desktop hero book only: remove the old horizontal dash/print-line
   textures so the animated book matches the clean homepage book mockup. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:after{
    display:none!important;
    content:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover:before{
    background-image:linear-gradient(90deg,rgba(91,63,39,.16),transparent 8%,transparent 94%,rgba(96,68,43,.10)),linear-gradient(#fffdf8,#fbf4e9)!important;
    background-size:100% 100%,100% 100%!important;
    background-position:0 0,0 0!important;
    background-repeat:no-repeat!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i:after,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy:after{
    display:none!important;
    content:none!important;
  }
}


/* v1.0.52 — Desktop hero book only: remove the remaining short horizontal
   page-edge stripes. Keep a clean continuous fore-edge with subtle vertical
   depth so it matches the approved homepage book mockup. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    background:
      linear-gradient(90deg,rgba(82,58,36,.16) 0%,rgba(255,253,248,.96) 8%,#f8f5ed 62%,#e4ddd1 88%,rgba(104,76,48,.16) 100%)!important;
    background-image:
      linear-gradient(90deg,rgba(82,58,36,.16) 0%,rgba(255,253,248,.96) 8%,#f8f5ed 62%,#e4ddd1 88%,rgba(104,76,48,.16) 100%)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before{
    background:linear-gradient(90deg,rgba(36,23,14,.34),rgba(255,255,255,.10) 55%,rgba(72,49,31,.08))!important;
  }
}

/* v1.0.53 — Desktop hero animated book only.
   The hero wrapper also carries the generic .iyw-book3d class, whose own
   :before/:after mockup layers were still drawing a second striped page edge.
   Disable those inherited generic layers here; the hero's dedicated
   .iyw-flip-book-base remains responsible for the clean book depth. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before,
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:after{
    content:none!important;
    display:none!important;
    background:none!important;
    box-shadow:none!important;
  }
}

/* v1.0.54 — Desktop hero animated book only.
   Make the book visibly thicker and make every page turn read as a complete,
   natural sheet: clean paper stack, fully typeset page faces, no fake curl
   overlay covering/cutting copy, and smoother one-direction page turns. */
@media(min-width:681px){
  /* A thicker, clean page block. Multiple solid paper offsets create depth
     without bringing back the short horizontal stripe texture. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    right:-28px!important;
    top:2px!important;
    bottom:2px!important;
    transform:translateZ(-10px)!important;
    background:linear-gradient(90deg,
      rgba(72,50,31,.18) 0%,
      #fffdf8 7%,
      #faf7ef 48%,
      #f2ede3 76%,
      #ded6c9 94%,
      rgba(92,65,40,.20) 100%)!important;
    box-shadow:
      4px 0 0 #fbf8f0,
      8px 0 0 #ece7dd,
      12px 0 0 #f8f5ed,
      16px 0 0 #e4ded3,
      20px 0 0 #f7f3eb,
      24px 0 0 #d9d1c4,
      15px 16px 28px rgba(0,0,0,.22),
      inset -12px 0 18px rgba(91,65,41,.13),
      inset 5px 0 9px rgba(66,44,26,.08)!important;
    border-radius:3px 8px 8px 3px!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before{
    width:12px!important;
    background:linear-gradient(90deg,rgba(31,20,12,.35),rgba(255,255,255,.15) 50%,rgba(77,52,31,.08))!important;
  }

  /* Keep the real page copy fully inside each sheet. The previous artificial
     curl/line overlays could cover portions of the printed content mid-turn. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf:before,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf:after{
    content:none!important;
    display:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-face:before{
    content:none!important;
    display:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    top:7.5%!important;
    bottom:7.5%!important;
    font-size:4.45px!important;
    line-height:1.38!important;
    letter-spacing:0!important;
    text-align:left!important;
    overflow:hidden!important;
    background:transparent!important;
    box-shadow:none!important;
    hyphens:none!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy{
    left:11.5%!important;
    right:9.5%!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    left:9.5%!important;
    right:11.5%!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy b{
    font-size:6.25px!important;
    line-height:1.2!important;
    margin:0 0 5px!important;
    padding:0 0 3px!important;
    background:transparent!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i{
    display:block!important;
    margin:0 0 5px!important;
    padding:0!important;
    line-height:1.38!important;
    background:transparent!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i:after,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy:after{
    content:none!important;
    display:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy em{
    bottom:0!important;
    font-size:4px!important;
    background:transparent!important;
  }

  /* Smoother paper geometry. Pages remain complete during the turn and move
     once from right to left, rather than snapping back before the cover closes. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf{
    transform-origin:1.2% 50%!important;
    filter:drop-shadow(3px 5px 5px rgba(0,0,0,.10))!important;
    backface-visibility:visible!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-face{
    border-radius:2px 6px 6px 2px!important;
    background:linear-gradient(90deg,rgba(111,82,54,.10),transparent 8%,transparent 92%,rgba(104,75,47,.08)),linear-gradient(#fffefb,#faf5eb)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back{
    background:linear-gradient(270deg,rgba(111,82,54,.10),transparent 8%,transparent 92%,rgba(104,75,47,.08)),linear-gradient(#fffefb,#faf5eb)!important;
  }

  .iyw-hero-art .iyw-hero-book,
  .iyw-hero-art .iyw-hero-book:first-child,
  .iyw-hero-art .iyw-hero-book:nth-child(2),
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-1,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-2,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-3,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-4,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-glow,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-shine{
    animation-duration:15.2s!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf{
    animation-timing-function:cubic-bezier(.32,.02,.18,1)!important;
  }
}

@keyframes iyw-leaf-one{
  0%,27%{opacity:0;transform:translateZ(8px) rotateY(0deg)}
  28%{opacity:1;transform:translateZ(9px) rotateY(-4deg)}
  32%{opacity:1;transform:translate3d(-1px,-1px,13px) rotateY(-52deg) rotateZ(.4deg)}
  36%{opacity:1;transform:translate3d(-3px,-1px,16px) rotateY(-104deg) rotateZ(.25deg)}
  41%,76%{opacity:1;transform:translate3d(-5px,0,9px) rotateY(-176deg)}
  79%{opacity:0;transform:translate3d(-5px,0,9px) rotateY(-176deg)}
  100%{opacity:0;transform:translate3d(-5px,0,9px) rotateY(-176deg)}
}
@keyframes iyw-leaf-two{
  0%,34%{opacity:0;transform:translateZ(7px) rotateY(0deg)}
  35%{opacity:1;transform:translateZ(8px) rotateY(-4deg)}
  39%{opacity:1;transform:translate3d(-1px,-1px,12px) rotateY(-54deg) rotateZ(.35deg)}
  43%{opacity:1;transform:translate3d(-3px,-1px,15px) rotateY(-107deg) rotateZ(.2deg)}
  48%,76%{opacity:1;transform:translate3d(-5px,0,8px) rotateY(-176deg)}
  79%{opacity:0;transform:translate3d(-5px,0,8px) rotateY(-176deg)}
  100%{opacity:0;transform:translate3d(-5px,0,8px) rotateY(-176deg)}
}
@keyframes iyw-leaf-three{
  0%,41%{opacity:0;transform:translateZ(6px) rotateY(0deg)}
  42%{opacity:1;transform:translateZ(7px) rotateY(-4deg)}
  46%{opacity:1;transform:translate3d(-1px,-1px,11px) rotateY(-56deg) rotateZ(.3deg)}
  50%{opacity:1;transform:translate3d(-3px,-1px,14px) rotateY(-110deg) rotateZ(.16deg)}
  55%,76%{opacity:1;transform:translate3d(-5px,0,7px) rotateY(-176deg)}
  79%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-176deg)}
  100%{opacity:0;transform:translate3d(-5px,0,7px) rotateY(-176deg)}
}
@keyframes iyw-leaf-four{
  0%,48%{opacity:0;transform:translateZ(5px) rotateY(0deg)}
  49%{opacity:1;transform:translateZ(6px) rotateY(-4deg)}
  53%{opacity:1;transform:translate3d(-1px,-1px,10px) rotateY(-58deg) rotateZ(.25deg)}
  57%{opacity:1;transform:translate3d(-3px,-1px,13px) rotateY(-112deg) rotateZ(.12deg)}
  62%,76%{opacity:1;transform:translate3d(-5px,0,6px) rotateY(-176deg)}
  79%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-176deg)}
  100%{opacity:0;transform:translate3d(-5px,0,6px) rotateY(-176deg)}
}
@keyframes iyw-leaf-five{
  0%,55%{opacity:0;transform:translateZ(4px) rotateY(0deg)}
  56%{opacity:1;transform:translateZ(5px) rotateY(-4deg)}
  60%{opacity:1;transform:translate3d(-1px,-1px,9px) rotateY(-60deg) rotateZ(.2deg)}
  64%{opacity:1;transform:translate3d(-3px,-1px,12px) rotateY(-114deg) rotateZ(.1deg)}
  69%,76%{opacity:1;transform:translate3d(-5px,0,5px) rotateY(-176deg)}
  79%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-176deg)}
  100%{opacity:0;transform:translate3d(-5px,0,5px) rotateY(-176deg)}
}
@keyframes iyw-front-cover-real{
  0%,14%{transform:rotateY(0deg) translateZ(10px)}
  18%{transform:rotateY(-34deg) translate3d(-1px,-1px,13px)}
  23%{transform:rotateY(-108deg) translate3d(-3px,-1px,16px)}
  28%,77%{transform:rotateY(-169deg) translate3d(-6px,0,10px)}
  82%{transform:rotateY(-112deg) translate3d(-3px,-1px,15px)}
  87%{transform:rotateY(-36deg) translate3d(-1px,-1px,12px)}
  91%,100%{transform:rotateY(0deg) translateZ(10px)}
}


/* v1.0.55 — Desktop hero animated book only.
   Remove the dark/grooved strip between the front cover and the thick page block.
   Keep the page thickness and flipping animation untouched. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    background:linear-gradient(90deg,
      #fffdf8 0%,
      #fffdf8 16%,
      #faf7ef 48%,
      #f2ede3 78%,
      #ded6c9 100%)!important;
    box-shadow:
      4px 0 0 #fbf8f0,
      8px 0 0 #ece7dd,
      12px 0 0 #f8f5ed,
      16px 0 0 #e4ded3,
      20px 0 0 #f7f3eb,
      24px 0 0 #d9d1c4,
      15px 16px 28px rgba(0,0,0,.22)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before{
    content:none!important;
    display:none!important;
    background:none!important;
    box-shadow:none!important;
  }
}

/* v1.0.56 — Desktop hero animated book only.
   Make the closed book edge read like the approved homepage 3D books:
   no blank middle band, a continuous attached paper block, and full-height
   vertical page layers directly against the cover. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    right:-20px!important;
    top:3px!important;
    bottom:3px!important;
    left:1px!important;
    transform:translateZ(-7px)!important;
    border-radius:2px 7px 7px 2px!important;
    background:
      linear-gradient(90deg,
        #f7f3e9 0%,
        #fffdf8 5%,
        #e5dfd3 6%,
        #fbf8f0 10%,
        #d9d2c6 11%,
        #fffdf8 16%,
        #e9e3d8 17%,
        #faf7ef 22%,
        #d8d0c4 23%,
        #fffdf8 29%,
        #e7e0d4 30%,
        #faf7ef 38%,
        #d6cec1 39%,
        #fffdf8 48%,
        #e6dfd3 49%,
        #faf7ef 60%,
        #d9d1c5 61%,
        #fffdf8 73%,
        #e5ded2 74%,
        #f8f4ec 88%,
        #d1c8bb 100%)!important;
    box-shadow:
      3px 0 0 #fbf8f0,
      6px 0 0 #e8e2d7,
      9px 0 0 #f9f6ee,
      12px 0 0 #ddd6ca,
      15px 0 0 #f7f3eb,
      18px 0 0 #d5ccbf,
      13px 16px 27px rgba(0,0,0,.21),
      inset -7px 0 10px rgba(88,63,40,.12)!important;
  }

  /* Paper bridge: fills the former blank strip without reintroducing the
     dark/grooved spine. It is deliberately paper-coloured and continuous. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:14px!important;
    border-radius:2px 0 0 2px!important;
    background:linear-gradient(90deg,#eee8dd 0%,#fffdf8 32%,#e1dacd 58%,#faf7ef 82%,#d7cfc2 100%)!important;
    box-shadow:none!important;
  }

  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover img{
    box-shadow:
      2px 2px 0 #faf9f3,
      4px 4px 0 #e8e6dc,
      6px 6px 0 #f5f3e9,
      8px 8px 0 #d8d6cc,
      10px 10px 0 #f8f6ee,
      0 1px 1px rgba(15,23,42,.12)!important;
  }
}


/* v1.0.57 — Desktop hero animated book only.
   Join the cover and page block into one physical-looking book. The visible
   fore-edge now begins immediately at the cover edge, uses many fine vertical
   paper layers (not a wide blank band), and keeps the thickness behind the
   cover so the book reads as a single bound object. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    left:2px!important;
    right:-24px!important;
    top:3px!important;
    bottom:3px!important;
    border-radius:2px 7px 7px 2px!important;
    background:
      linear-gradient(90deg,rgba(90,65,43,.09),transparent 5%,transparent 89%,rgba(91,64,41,.10)),
      repeating-linear-gradient(90deg,
        #fffdf8 0px,#fffdf8 2px,
        #e8e2d8 2px,#e8e2d8 3px,
        #faf7ef 3px,#faf7ef 5px,
        #ddd5c9 5px,#ddd5c9 6px
      )!important;
    box-shadow:
      2px 0 0 #faf7ef,
      4px 0 0 #e8e2d7,
      6px 0 0 #f9f6ee,
      8px 0 0 #ddd6ca,
      10px 0 0 #f7f3eb,
      12px 0 0 #d8d0c4,
      13px 16px 27px rgba(0,0,0,.20),
      inset -6px 0 9px rgba(88,63,40,.10)!important;
  }

  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:after{
    content:none!important;
    display:none!important;
  }

  /* The cover itself should not manufacture a second stack of offset layers;
     the dedicated page block behind it now supplies all visible thickness. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover img{
    box-shadow:1px 1px 0 rgba(245,242,233,.9),0 2px 5px rgba(15,23,42,.12)!important;
  }
}

/* v1.0.58 — Desktop hero book only: final bound-book edge correction.
   The previous page block was almost a full second rectangle behind the cover,
   which exposed a wide cream band and made the closed book look like two books.
   Keep the page block as a narrow fore-edge only, tucked a few pixels beneath
   the cover and extending outward to create thickness. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    left:auto!important;
    right:-22px!important;
    width:27px!important;
    top:3px!important;
    bottom:3px!important;
    transform:translateZ(-7px)!important;
    border-radius:0 7px 7px 0!important;
    background:
      linear-gradient(90deg,rgba(91,66,43,.10),transparent 18%,transparent 84%,rgba(83,59,38,.12)),
      repeating-linear-gradient(90deg,
        #fffdf8 0px,#fffdf8 2px,
        #e8e2d8 2px,#e8e2d8 3px,
        #faf7ef 3px,#faf7ef 5px,
        #ddd5c9 5px,#ddd5c9 6px
      )!important;
    box-shadow:
      2px 0 0 #faf7ef,
      4px 0 0 #e8e2d7,
      6px 0 0 #f9f6ee,
      8px 0 0 #ddd6ca,
      10px 0 0 #f7f3eb,
      12px 0 0 #d8d0c4,
      8px 12px 22px rgba(0,0,0,.18),
      inset -5px 0 8px rgba(88,63,40,.10)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:after{
    content:none!important;
    display:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover img{
    box-shadow:1px 1px 0 #f7f3eb,2px 2px 0 #e6e0d5,0 7px 14px rgba(15,23,42,.14)!important;
  }
}

/* v1.0.59 — Desktop hero animated book only.
   Rebuild the closed-book body from the same physical construction used by
   homepage product books: one cover, one narrow fore-edge and one subtle spine.
   The flip-book interior stays underneath for the opening sequence, but it no
   longer forms a second visible slab beside the cover when the book is closed. */
@media(min-width:681px){
  /* Interior paper lives directly behind the cover instead of beside it. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base{
    left:2.5%!important;
    right:1.8%!important;
    top:2%!important;
    bottom:2%!important;
    width:auto!important;
    transform:translateZ(-2px)!important;
    border:0!important;
    border-radius:2px 5px 5px 2px!important;
    background:linear-gradient(90deg,rgba(126,94,61,.08),transparent 8%,transparent 92%,rgba(113,82,50,.08)),linear-gradient(#fffef9,#fbf6ed)!important;
    box-shadow:inset -7px 0 9px rgba(83,59,36,.08),6px 9px 15px rgba(0,0,0,.10)!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:before,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-base:after{
    content:none!important;
    display:none!important;
  }

  /* Re-enable the hero wrapper's book body and make it identical in principle
     to the homepage product-book fore-edge: narrow, attached, and outside the
     cover rather than a second full rectangle. */
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:3!important;
    top:5px!important;
    right:-16px!important;
    bottom:4px!important;
    width:19px!important;
    height:auto!important;
    border:1px solid rgba(106,101,91,.18)!important;
    border-left:0!important;
    border-radius:0 3px 3px 0!important;
    transform:skewY(-1.4deg) translateZ(-1px)!important;
    transform-origin:left center!important;
    background:
      linear-gradient(90deg,rgba(137,130,117,.20) 0%,rgba(255,255,255,.98) 18%,rgba(247,244,236,.98) 72%,rgba(213,207,195,.88) 100%),
      repeating-linear-gradient(to bottom,#fffdfa 0 1px,#e4e0d7 1px 2px,#faf8f2 2px 4px)!important;
    background-blend-mode:multiply!important;
    box-shadow:inset 3px 0 3px rgba(79,71,60,.08),inset -2px 0 2px rgba(98,88,74,.10),3px 3px 4px rgba(17,24,39,.10)!important;
  }

  /* Same subtle bound-spine lip used by homepage books. */
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:9!important;
    left:-3px!important;
    top:2px!important;
    bottom:2px!important;
    width:5px!important;
    height:auto!important;
    border-radius:2px 0 0 2px!important;
    background:linear-gradient(90deg,rgba(18,24,33,.28),rgba(18,24,33,.09) 45%,rgba(255,255,255,.15))!important;
    box-shadow:1px 0 1px rgba(255,255,255,.25)!important;
  }

  /* The front cover itself stays clean; all thickness comes from the attached
     fore-edge above, exactly like the homepage product presentation. */
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover img{
    object-fit:contain!important;
    background:transparent!important;
    border-radius:1.5px 3px 3px 1.5px!important;
    box-shadow:1px 1px 1px rgba(16,24,40,.10),2px 2px 2px rgba(16,24,40,.07)!important;
  }
}


/* v1.0.60 — Desktop hero animated book only.
   Replace the fore-edge's horizontal stripe texture with long, straight,
   full-height vertical page lines so the edge reads like a real stacked book. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{
    background:
      linear-gradient(90deg,rgba(137,130,117,.16) 0%,rgba(255,255,255,.98) 14%,rgba(249,247,241,.98) 82%,rgba(207,201,190,.80) 100%),
      repeating-linear-gradient(to right,
        rgba(211,205,194,.68) 0px,
        rgba(211,205,194,.68) 1px,
        rgba(255,254,250,.96) 1px,
        rgba(255,254,250,.96) 3px
      )!important;
    background-blend-mode:multiply!important;
  }
}

/* v1.0.61 — Desktop hero animated book only.
   The closed-book fore-edge is only a closed-cover detail. Hide it as soon as
   the front cover begins to open, keep it hidden throughout the open/page-turn
   phase, then restore it only when the cover is almost fully closed again. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{
    animation:iyw-hero-closed-edge-visibility 10.2s linear 1 both!important;
    will-change:opacity!important;
  }
}
@keyframes iyw-hero-closed-edge-visibility{
  0%,10.5%{opacity:1}
  12%{opacity:.75}
  14%{opacity:0}
  91%{opacity:0}
  94%{opacity:.55}
  96%,100%{opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{animation:none!important;opacity:1!important}
}

/* v1.0.62 — Desktop hero animated book only.
   Keep the straight fore-edge visible only while the cover is actually closed.
   Sync its visibility to the same 15.2s repeating hero cycle so it disappears
   every time the cover opens, not only on the first run. */
@media(min-width:681px){
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{
    animation:iyw-hero-closed-edge-visibility 15.2s linear infinite!important;
    opacity:1;
  }
}
@keyframes iyw-hero-closed-edge-visibility{
  0%,13.5%{opacity:1}
  14.5%,88.5%{opacity:0}
  90%,100%{opacity:1}
}


/* v1.0.63 — Desktop hero flip pages: full-page natural book copy only */\n@media (min-width:681px){\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy,\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{\n    top:6.2%!important;\n    bottom:5.8%!important;\n    font-size:4.05px!important;\n    line-height:1.31!important;\n    overflow:hidden!important;\n    text-align:justify!important;\n  }\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy{left:10.5%!important;right:8.7%!important}\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{left:8.7%!important;right:10.5%!important}\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy b{\n    font-size:5.9px!important;\n    line-height:1.18!important;\n    margin:0 0 4px!important;\n    padding:0 0 3px!important;\n  }\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i{\n    display:block!important;\n    margin:0 0 4.2px!important;\n    padding:0!important;\n    line-height:1.31!important;\n  }\n  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy em{\n    bottom:.2%!important;\n    font-size:3.8px!important;\n  }\n}\n

/* v1.0.64 — Desktop hero flip pages only.
   Fill the full visible sheet with natural book copy from near the top margin
   to the bottom margin while keeping every line safely inside the flipping page. */
@media (min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    top:4.8%!important;
    bottom:4.4%!important;
    font-size:3.72px!important;
    line-height:1.27!important;
    text-align:justify!important;
    overflow:hidden!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy{left:9.6%!important;right:7.9%!important}
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{left:7.9%!important;right:9.6%!important}
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy b{
    font-size:5.35px!important;
    line-height:1.16!important;
    margin:0 0 3px!important;
    padding:0 0 2px!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i{
    display:block!important;
    margin:0 0 2.8px!important;
    padding:0!important;
    line-height:1.27!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy em{
    bottom:.15%!important;
    font-size:3.45px!important;
  }
}


/* v1.0.65 — Desktop hero flip pages only.
   Use real, readable book copy across the full page height. The previous
   typography was so small that even the extended paragraphs occupied only the
   upper half of the sheet. Increase the type to a natural book proportion,
   remove synthetic filler-line textures, and let the existing long copy flow
   from the upper margin to the lower page-number area. */
@media (min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    top:4.2%!important;
    bottom:4.8%!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:5.45px!important;
    line-height:1.38!important;
    letter-spacing:0!important;
    text-align:justify!important;
    color:rgba(43,38,34,.88)!important;
    overflow:hidden!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy{left:9.2%!important;right:7.6%!important}
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{left:7.6%!important;right:9.2%!important}
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy b{
    display:block!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:7px!important;
    line-height:1.18!important;
    font-weight:700!important;
    margin:0 0 5px!important;
    padding:0 0 3px!important;
    background:transparent!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i{
    display:block!important;
    font-style:normal!important;
    line-height:1.38!important;
    margin:0 0 5px!important;
    padding:0!important;
    background:transparent!important;
  }
  /* Real paragraph text only — no artificial short dash/line fillers. */
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i:after,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy:after{
    content:none!important;
    display:none!important;
    background:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy em{
    bottom:.1%!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:4.4px!important;
    background:#fffef9!important;
  }
}


/* v1.0.66 — Desktop hero flip pages only.
   True full-page book typography + slightly faster natural page-turn cycle.
   This deliberately overrides only the desktop hero animated book. */
@media (min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    top:3.4%!important;
    bottom:3.7%!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:6.25px!important;
    line-height:1.42!important;
    letter-spacing:0!important;
    text-align:justify!important;
    color:rgba(43,38,34,.90)!important;
    overflow:hidden!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy{
    left:8.6%!important;
    right:7.2%!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-back .iyw-page-copy{
    left:7.2%!important;
    right:8.6%!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy b{
    display:block!important;
    font-size:7.5px!important;
    line-height:1.18!important;
    margin:0 0 5px!important;
    padding:0 0 3px!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i,
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy i.iyw-full-page-extra{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    font-style:normal!important;
    line-height:1.42!important;
    margin:0 0 5.6px!important;
    padding:0!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-page-copy em{
    bottom:.05%!important;
    font-size:4.7px!important;
  }

  /* Slightly quicker overall cycle while preserving the existing motion path. */
  .iyw-hero-art .iyw-hero-book,
  .iyw-hero-art .iyw-hero-book:first-child,
  .iyw-hero-art .iyw-hero-book:nth-child(2),
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-cover,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-1,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-2,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-3,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-4,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-glow,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-book-shine{
    animation-duration:13.2s!important;
  }
  .iyw-hero-art .iyw-hero-single-book.iyw-book3d:before{
    animation-duration:13.2s!important;
  }
}

/* v1.0.67 — Desktop hero only: the BACK of the final flipping leaf is intentionally short. */
@media (min-width:681px){
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5 .iyw-last-flip-back .iyw-page-copy{
    top:7%!important;
    bottom:auto!important;
    height:31%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5 .iyw-last-flip-back .iyw-page-copy:after,
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5 .iyw-last-flip-back .iyw-page-copy i:after{
    content:none!important;
    display:none!important;
  }
  .iyw-hero-art .iyw-hero-single-book .iyw-flip-leaf-5 .iyw-last-flip-back .iyw-page-copy em{
    position:fixed!important;
    bottom:6%!important;
  }
}
