
/* v6.7.8: StPageFlip replaces the former CSS paper animation entirely. */
.giftq-stpageflip-view{width:100%;max-width:1500px;margin-inline:auto;overflow:visible;padding:0 4px 28px}
.giftq-st-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0 12px}
.giftq-st-toolbar button{min-width:120px;min-height:43px;cursor:pointer}
#giftqFlipProgress{text-align:center;font:600 14px Georgia,serif;color:#5b4f46}
.giftq-st-stage{width:100%;min-height:400px;display:flex;align-items:center;justify-content:center;overflow:visible;background:#dfd5c6;border-radius:12px;padding:16px 5px;box-sizing:border-box;box-shadow:0 14px 32px #31281b38}
#giftqStPages{width:100%;min-height:400px;margin:0 auto}
.giftq-st-leaf{background:#fffaf0!important;box-sizing:border-box;border:1px solid #d1c1a7;overflow:hidden!important;box-shadow:inset 0 0 12px #86735715;user-select:text}
.giftq-st-leaf .giftq-book-page-inner{box-sizing:border-box;height:100%;padding:clamp(11px,1.3vw,20px);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.giftq-st-leaf .giftq-book-page-top{display:flex;justify-content:space-between;border-bottom:1px solid #c7b49f;padding-bottom:7px;flex:0 0 auto;font:12px Georgia,serif}
.giftq-st-leaf .giftq-book-card-wrap{flex:1 1 auto;min-height:0;overflow:hidden;display:flex}
.giftq-st-leaf article.gift-card{height:100%!important;width:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:4px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important}
.giftq-st-leaf article.gift-card > .gift-media,.giftq-st-leaf article.gift-card > .giftq-art-frame{height:auto!important;flex:0 1 55%!important;max-height:55%!important;min-height:120px!important;overflow:hidden!important;margin:0 0 4px!important}
.giftq-st-leaf article.gift-card img{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important}
.giftq-st-leaf article.gift-card .gift-desc{max-height:3.4em!important;overflow:hidden!important}
.giftq-st-leaf article.gift-card .btn{min-height:34px!important;flex:none!important}
.giftq-st-leaf .giftq-book-footer{font:12px Georgia,serif;text-align:center;margin-top:auto;padding:5px 0 0;flex:0 0 auto}
.giftq-st-bottom{padding:14px 0;display:flex;gap:12px;justify-content:center}
.giftq-st-leaf .giftq-art-caption{z-index:2}
@media(max-width:750px){.giftq-st-toolbar button{min-width:84px;padding:8px}.giftq-st-toolbar{gap:3px}.giftq-st-stage{padding:8px 0;min-height:350px}.giftq-st-leaf .giftq-book-page-inner{padding:10px}.giftq-st-leaf article.gift-card>.gift-media,.giftq-st-leaf article.gift-card>.giftq-art-frame{max-height:44%!important;flex-basis:44%!important}}

/* v6.7.9: navigation only; StPageFlip visual engine unchanged */
.giftq-st-toolbar{flex-wrap:wrap;justify-content:center;gap:8px}
.giftq-st-toolbar button{min-width:0;min-height:42px;padding:8px 13px}
.giftq-st-toolbar button:disabled{opacity:.38;cursor:not-allowed}
.giftq-st-jump{display:flex;gap:7px;align-items:center;justify-content:center;margin:0;white-space:nowrap;font:600 14px Georgia,serif}
.giftq-st-jump input{width:73px;min-height:40px;padding:7px;box-sizing:border-box;text-align:center;font:600 16px Georgia,serif;border:1px solid #baa58c;border-radius:7px;background:white;color:#302921}
.giftq-st-jump button{min-width:48px}
.giftq-flip-progress-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:750px){.giftq-st-toolbar{gap:5px}.giftq-st-toolbar button{min-width:0;padding:8px}.giftq-st-toolbar #giftqFlipFirst span,.giftq-st-toolbar #giftqFlipLast span{display:none}.giftq-st-jump{gap:4px}.giftq-st-jump input{width:59px}}
