/* Shared horizontal campaign in the site's ivory and gold palette. */
.library-offer{box-sizing:border-box;container-type:inline-size;isolation:isolate;position:relative;margin:28px auto 32px;padding:18px clamp(20px,3vw,36px) 14px;max-width:1240px;border:1px solid #d7c29b;border-radius:24px;color:#2c251b;background:radial-gradient(ellipse 60% 70% at 100% 0,rgba(212,180,117,.24),transparent 70%),radial-gradient(ellipse 45% 60% at 0 100%,rgba(212,180,117,.12),transparent 70%),#fbf7ef;box-shadow:0 1px 0 #fffdf8 inset,0 22px 60px -18px rgba(98,73,30,.22);font-family:'Hanken Grotesk',system-ui,sans-serif;overflow:hidden;scroll-margin-top:100px;text-align:left}
.library-offer::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,transparent,#c9a35a 20%,#f1d999 50%,#c9a35a 80%,transparent);z-index:-1}
.library-offer *{box-sizing:border-box}.library-offer-home{width:calc(100% - 48px);margin:36px auto}
.library-offer-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e0d0b2;font-size:9px;font-weight:700;letter-spacing:.14em;line-height:1.5}
.library-offer-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 10px;border:1px solid #b99554;border-radius:30px;background:linear-gradient(110deg,#f6e7c6,#e9cf97);color:#5e4113;box-shadow:0 6px 14px -8px rgba(134,94,31,.55)}
.library-offer-badge i{position:relative;width:7px;height:7px;border-radius:50%;background:#b4532a;flex:none}
.library-offer-badge i::after{content:'';position:absolute;inset:-4px;border-radius:50%;border:1.5px solid rgba(180,83,42,.55);animation:library-offer-pulse 2.4s ease-out infinite}
.library-offer-edition{padding:5px 11px;border:1px solid #d9c297;border-radius:30px;color:#805d26;background:#fffaf0}
.library-offer-edition::before{content:'✦ ';color:#b48a3e}
.library-offer-layout{display:grid;grid-template-columns:172px minmax(0,1fr) 284px;grid-template-areas:'book copy buy' 'book body buy';column-gap:32px;row-gap:10px;align-items:center;padding:18px 0}
.library-offer-book{grid-area:book;display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0;text-align:center}
.library-offer-covers{position:relative;width:162px;height:204px;transition:transform .35s ease}
.library-offer:hover .library-offer-covers{transform:translateY(-3px)}
.library-offer-covers img,.library-offer-back{position:absolute;display:block;width:128px;height:181px;border-radius:3px;box-shadow:8px 10px 20px rgba(91,66,29,.22)}
.library-offer-covers img{left:4px;bottom:4px;object-fit:cover;transform:rotate(-5deg);z-index:2}
/* The back cover is the other language edition; library-offer.js sets the section's lang. */
.library-offer-back{right:0;top:0;background:#efe3c9 url(/assets/uretim-kutuphanesi-en-v1.jpg) center/cover no-repeat;transform:rotate(7deg);filter:brightness(.95)}
.library-offer[lang=en] .library-offer-back{background-image:url(/assets/uretim-kutuphanesi-tr-v1.jpg)}
.library-offer-seal{position:absolute;z-index:3;right:-4px;bottom:-2px;display:grid;place-items:center;width:56px;height:56px;padding:6px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f7e2a8,#c79a49 70%);border:2px solid #fffaf0;color:#3b2a0f;font-size:9px;font-weight:800;letter-spacing:.06em;line-height:1.1;text-align:center;transform:rotate(-12deg);box-shadow:0 8px 16px -6px rgba(98,73,30,.6)}
.library-offer-format{max-width:150px;font-size:9px;font-weight:600;line-height:1.7;letter-spacing:.12em;color:#806333}
.library-offer-copy{grid-area:copy;min-width:0;align-self:end}.library-offer .library-offer-copy h2{margin:0 0 6px!important;font-family:'Playfair Display','Cormorant Garamond',Georgia,serif;font-weight:500;font-size:clamp(28px,2.8vw,38px);line-height:1.1;letter-spacing:-.035em;color:#2c251b}
.library-offer-name{margin:0;font-size:14px;font-weight:700;color:#775526;line-height:1.4}
.library-offer-body{grid-area:body;min-width:0;align-self:start}
.library-offer-intro{margin:0;font-size:13px;line-height:1.6;color:#5e5548}
.library-offer-stats{display:flex;gap:18px;justify-content:space-between;margin:12px 0;padding:10px 0;border-top:1px solid #e0d0b2;border-bottom:1px solid #e0d0b2}
.library-offer-stats dt{font-family:Georgia,serif;font-size:26px;line-height:1.1;color:#8d662a}.library-offer-stats dd{margin:3px 0 0;font-size:10px;line-height:1.4;color:#685d4c}
.library-offer-features{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:11.5px;line-height:1.5;color:#463e32}
.library-offer-features li{position:relative;padding-left:22px}.library-offer-features li::before{content:'✓';position:absolute;left:0;top:1px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#efdcb2;color:#6f4e17;font-size:9px;font-weight:800}
.library-offer-purchase{grid-area:buy;min-width:0;text-align:center;padding:18px 18px 12px;border:1px solid #dcc394;border-radius:18px;background:linear-gradient(180deg,#fffdf8,#f6ecd7);box-shadow:0 1px 0 #fff inset,0 14px 30px -20px rgba(98,73,30,.45)}
.library-offer-reference{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 10px;color:#74634a}.library-offer-reference small{font-size:10px;line-height:1.4;max-width:134px;text-align:left}.library-offer-reference b{font-size:15px;white-space:nowrap}
.library-offer-price{display:grid;gap:4px;margin-bottom:8px}.library-offer-price small{font-size:9px;font-weight:700;letter-spacing:.18em;color:#9a5a2c}.library-offer-price strong{font-family:Georgia,serif;font-size:60px;font-weight:400;line-height:1;letter-spacing:-.02em;color:#2c251b}.library-offer-price strong span{font-family:system-ui,sans-serif;font-size:18px;letter-spacing:0}
.library-offer-saving{display:inline-block;margin:0 0 12px;padding:4px 10px;border-radius:14px;background:#2c251b;color:#f3dca8;font-size:10.5px;font-weight:700;line-height:1.5}
.library-offer .library-offer-buy{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;gap:10px;min-height:50px;width:100%;padding:12px;border:1px solid #c59c50;border-radius:12px;background:linear-gradient(110deg,#b48a3e,#e3c27e 50%,#c39a4f);color:#1d170d;font-weight:800;font-size:14px;text-decoration:none;line-height:1.3;box-shadow:0 12px 24px -12px rgba(140,100,30,.75);transition:transform .15s,box-shadow .15s}
.library-offer .library-offer-buy::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,250,232,.6) 50%,transparent 70%);transform:translateX(-120%);animation:library-offer-shine 5s ease-in-out 1.5s infinite}
.library-offer .library-offer-buy:hover{transform:translateY(-1px);box-shadow:0 16px 28px -12px rgba(140,100,30,.85)}
.library-offer-once{margin:8px 0 0;font-size:10px;color:#655a49;line-height:1.5}
.library-offer .library-offer-details{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:#775526;text-decoration:underline;text-underline-offset:4px;font-size:11px;line-height:1.4}
.library-offer a:focus-visible,.library-offer-sticky a:focus-visible,.library-offer-sticky button:focus-visible{outline:3px solid #9b722e;outline-offset:3px}.library-offer-delivery{font-size:9px;line-height:1.55;color:#6d6251;margin:0}
.library-offer-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-top:1px solid #e0d0b2;padding-top:12px;color:#726652;font-size:9px;line-height:1.6}.library-offer-foot>span:first-child{max-width:65%}.library-offer-foot>span:last-child{text-align:right}
@keyframes library-offer-pulse{0%{transform:scale(.6);opacity:1}80%,100%{transform:scale(1.6);opacity:0}}
@keyframes library-offer-shine{0%,70%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@container(max-width:900px){.library-offer-layout{grid-template-columns:112px minmax(0,1fr) 250px;grid-template-areas:'book copy buy' 'body body buy';column-gap:22px;padding:14px 0}.library-offer-covers{width:108px;height:128px}.library-offer-covers img,.library-offer-back{width:82px;height:116px}.library-offer-stats{margin:10px 0;padding:8px 0}.library-offer-stats dt{font-size:23px}.library-offer-seal{width:46px;height:46px;font-size:8px}.library-offer-format{display:none}.library-offer .library-offer-copy h2{font-size:30px}.library-offer-copy{align-self:center}}
@container(max-width:560px){.library-offer-layout{grid-template-columns:104px minmax(0,1fr);grid-template-areas:'book copy' 'buy buy' 'body body';column-gap:14px;row-gap:16px;padding:16px 0}.library-offer-covers{width:104px;height:124px}.library-offer-covers img,.library-offer-back{width:78px;height:110px}.library-offer-covers img{left:0;bottom:2px}.library-offer-back{right:0}.library-offer-seal{width:42px;height:42px;right:-6px;font-size:7.5px;padding:4px}.library-offer .library-offer-copy h2{font-size:26px}.library-offer-name{font-size:13px}.library-offer-purchase{padding:16px 14px 10px}.library-offer-reference small{max-width:none}.library-offer-price strong{font-size:56px}.library-offer-stats dt{font-size:24px}.library-offer-foot{flex-direction:column;gap:6px;font-size:9px}.library-offer-foot>span:first-child{max-width:none}.library-offer-foot>span:last-child{text-align:left}.library-offer-delivery{max-width:320px;margin:auto}.library-offer-top{font-size:8px;letter-spacing:.08em}}
@media(max-width:680px){.library-offer{padding:16px;border-radius:20px}.library-offer-home{width:calc(100% - 24px);margin:24px auto}}
/* Phone bar created by library-offer.js; sits above the home quick-access bar when that is shown. */
.library-offer-sticky{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:899;display:flex;align-items:center;gap:10px;padding:5px 2px 5px 8px;border:1px solid #d7c29b;border-radius:16px;background:rgba(255,251,243,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 16px 34px -14px rgba(60,44,18,.5);font-family:'Hanken Grotesk',system-ui,sans-serif;transform:translateY(170%);visibility:hidden;transition:transform .35s ease,visibility 0s .35s}
html.ta-offer-bar-on .library-offer-sticky{transform:none;visibility:visible;transition:transform .35s ease}
html.ta-mbar-on .library-offer-sticky{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
.library-offer-sticky img{width:30px;height:42px;border-radius:2px;object-fit:cover;box-shadow:2px 3px 6px rgba(91,66,29,.3);flex:none}
.library-offer-sticky a{flex:1;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:#2c251b}
.library-offer-sticky a>span{display:grid;min-width:0;line-height:1.3}.library-offer-sticky b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11.5px;line-height:1.2;font-weight:700}.library-offer-sticky small{font-size:11px;font-weight:700;color:#8d662a}
.library-offer-sticky em{flex:none;padding:10px 13px;border-radius:999px;background:linear-gradient(110deg,#b48a3e,#e3c27e 50%,#c39a4f);color:#1d170d;font-style:normal;font-size:12px;font-weight:800;white-space:nowrap}
.library-offer-sticky button{flex:none;width:32px;min-height:44px;border:0;background:none;color:#7a6a50;font-size:20px;line-height:1;cursor:pointer}
html.ta-offer-bar-on body{padding-bottom:70px}html.ta-offer-bar-on.ta-mbar-on body{padding-bottom:136px}
html.ta-offer-bar-on.ta-mbar-on #ta-chat-btn{bottom:calc(140px + env(safe-area-inset-bottom,0px))!important}
html.ta-offer-bar-on.ta-mbar-on #ta-chat-panel{bottom:calc(198px + env(safe-area-inset-bottom,0px))!important}
@media(min-width:761px){.library-offer-sticky{display:none}}
@media(prefers-reduced-motion:reduce){.library-offer-badge i::after,.library-offer .library-offer-buy::after{animation:none}.library-offer-covers,.library-offer-sticky,.library-offer .library-offer-buy{transition:none}}
