:root{--wunna-green:#0b3d22;--wunna-green-2:#176b3a;--wunna-orange:#f3840e;--wunna-mist:#f5f7f2;--wunna-line:#e1e8df;--wunna-ink:#15251a}
.collection-save-anchor{position:relative!important}
.collection-save-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #d6e1d7;border-radius:12px;background:#fff;color:var(--wunna-green);font:700 13px/1.2 Poppins,sans-serif;cursor:pointer;transition:.2s ease;box-shadow:none}
.collection-save-button:hover{border-color:var(--wunna-orange);color:#ba5b00;transform:translateY(-1px)}
.collection-save-button.is-saved{border-color:#ffd3a7;background:#fff3e7;color:#c45f00}
.collection-save-button:disabled{opacity:.58;cursor:wait}
.collection-save-button--overlay{position:absolute;z-index:4;top:12px;right:12px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 8px 22px rgba(9,48,27,.15);font-size:16px}
.collection-save-button--detail{min-width:140px}
.collection-toast{position:fixed;z-index:10050;right:20px;bottom:22px;max-width:min(360px,calc(100vw - 32px));padding:13px 18px;border-radius:12px;background:var(--wunna-green);color:#fff;font:600 13px/1.45 Poppins,sans-serif;box-shadow:0 15px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(12px);transition:.2s ease}
.collection-toast.show{opacity:1;transform:none}.collection-toast.is-error{background:#a72922}
@media(max-width:575px){.collection-save-button--detail{width:100%}.collection-toast{right:16px;bottom:16px;left:16px;max-width:none}}

/* Shared visual language for resource details and premium checkout. */
.resource-card,.premium-panel{border:1px solid var(--wunna-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 34px rgba(7,46,12,.08)!important}.resource-card-header,.purchase-panel-header{border-radius:17px 17px 0 0!important}.resource-main-grid,.premium-purchase-grid{gap:22px!important}.details-list .detail-item,.premium-file-meta>div{border-color:#e4ebe2!important;border-radius:12px!important}.purchase-panel-header{background:linear-gradient(135deg,#0b3d22,#176b3a)!important}.premium-checkout{background:#fbfcf9!important}.payment-method-card,.checkout-info{border-radius:12px!important}.checkout-button{min-height:48px!important;border-radius:12px!important}.premium-save-button{margin-top:16px;background:#fff!important;color:#0b3d22!important}.download-area{display:flex!important;flex-wrap:wrap;gap:10px}.download-area .collection-save-button{flex:1}.download-area .download-btn{flex:2}.main-content{background:#f5f7f2}
@media(max-width:767px){.resource-card,.premium-panel{border-radius:14px!important}.resource-main-grid,.premium-purchase-grid{gap:14px!important}.download-area{align-items:stretch;flex-direction:column}.download-area .collection-save-button,.download-area .download-btn{width:100%;flex:auto}}

/* Shared upload/resource card header. The existing card body and footer stay intact. */
.recent-cards[data-resource-id],.recent-cards[data-resource-id] *{text-transform:none!important}
.recent-cards[data-resource-id].has-resource-visual,.recent-cards[data-resource-id].has-resource-visual .resource-card-surface{overflow:hidden;border-radius:18px}
.resource-card-visual{position:relative;display:flex;height:205px;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid rgba(7,46,12,.08);background:linear-gradient(145deg,#f1f7ef 0%,#e1ece0 100%);color:#0a4928!important;isolation:isolate}
.resource-card-visual::before{position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.42);content:"";transform:translate(-56px,-70px)}
.resource-card-visual--premium{border-bottom-color:rgba(225,109,0,.18);background:linear-gradient(145deg,#fff7ea 0%,#f7e5ca 100%);color:#a64f00!important}
.resource-card-visual__open{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;color:inherit!important;text-decoration:none!important}
.resource-card-pdf{position:relative;z-index:1;font-size:66px;filter:drop-shadow(0 8px 15px rgba(7,46,12,.08));transition:transform .2s ease}
.resource-card-visual:hover .resource-card-pdf{transform:translateY(-3px)}
.resource-card-access{position:absolute;z-index:2;top:16px;left:16px;display:inline-flex;min-height:31px;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(10,73,40,.12);border-radius:999px;background:rgba(255,255,255,.88);color:#0a4928;font:800 10px/1 Poppins,sans-serif;box-shadow:0 5px 15px rgba(7,46,12,.07)}
.resource-card-visual--premium .resource-card-access{border-color:rgba(225,109,0,.18);color:#a64f00}
.resource-card-visual .collection-save-button--overlay{top:13px;right:13px;background:#fff9f1;color:#c35c00;box-shadow:0 9px 22px rgba(45,58,47,.14)}
.resource-card-visual .collection-save-button--overlay:hover,.resource-card-visual .collection-save-button--overlay.is-saved{background:#fff1df;color:#c35c00}
.recent-cards[data-resource-id] .title,.recent-cards[data-resource-id] .title a{letter-spacing:-.01em;text-transform:none!important}
@media(max-width:575px){.recent-cards[data-resource-id].has-resource-visual,.recent-cards[data-resource-id].has-resource-visual .resource-card-surface{border-radius:14px}.resource-card-visual{height:155px}.resource-card-pdf{font-size:53px}.resource-card-access{top:10px;left:10px;min-height:28px;padding:5px 8px;font-size:9px}.resource-card-visual .collection-save-button--overlay{top:9px;right:9px;width:40px;height:40px;min-height:40px}}

/* Wunna Market cards embedded on resource details and premium checkout pages. */
.market-section .products .owl-stage{display:flex}
.market-section .products .owl-item{display:flex;padding:2px 0 7px}
.market-section .products .product-cards{width:100%!important;height:100%!important;overflow:hidden;border:1px solid #dfe8e1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 18px rgba(22,53,36,.06)!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.market-section .products .product-cards:hover{border-color:rgba(11,188,34,.36)!important;box-shadow:0 18px 45px rgba(22,53,36,.13)!important;transform:translateY(-6px)}
.market-section .products .product-cards>.d-flex{display:flex!important;height:100%;flex-direction:column;padding:0!important}
.market-section .products .product-cards .img{position:relative;width:100%!important;height:210px!important;overflow:hidden;border-radius:0!important;background:#eef5ef}
.market-section .products .product-cards .img img{display:block;width:100%!important;height:100%!important;min-height:210px!important;max-height:none!important;margin:0!important;object-fit:cover!important;transition:transform .35s ease}
.market-section .products .product-cards:hover .img img{transform:scale(1.04)}
.market-section .products .product-cards .details{display:flex!important;width:auto!important;min-width:0;flex:1;flex-direction:column;margin:0!important;padding:19px!important;word-break:normal!important}
.market-section .products .product-cards .details h2{display:-webkit-box;min-height:47px;overflow:hidden;margin:0 0 10px!important;color:#163524!important;font-size:17px!important;font-weight:850!important;line-height:1.38!important;text-transform:none!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.market-section .products .product-cards .details h2 a{color:inherit!important;text-decoration:none!important}
.market-section .products .product-cards .type-levels{margin:0 0 16px!important;color:#6e7e73!important;font-size:12px!important;font-weight:700!important;line-height:1.5}
.market-section .products .product-cards .type-levels i{color:#0bbc22!important}
.market-section .products .product-cards .amount{display:block;margin:auto 0 16px!important;color:#f3840e!important;font-size:17px!important;font-weight:900!important}
.market-section .products .product-cards .amount .fa-coins{color:#f3840e!important}
.market-section .products .product-cards .details>a.bg-pri{display:flex!important;min-height:44px;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:11px 13px!important;border-radius:10px;background:#e9f8eb!important;color:#087e1b!important;font-size:13px;font-weight:800;text-decoration:none!important;transition:background .2s ease,color .2s ease}
.market-section .products .product-cards .details>a.bg-pri:hover{background:#0bbc22!important;color:#fff!important}
.market-section .products .product-cards .collection-save-button--overlay{top:13px;right:13px;background:rgba(255,249,241,.96);color:#c35c00;box-shadow:0 9px 22px rgba(22,53,36,.16)}
@media(max-width:575px){.market-section .products .product-cards{border-radius:14px!important}.market-section .products .product-cards .img,.market-section .products .product-cards .img img{height:175px!important;min-height:175px!important}.market-section .products .product-cards .details{padding:14px!important}.market-section .products .product-cards .details h2{min-height:40px;font-size:14px!important}.market-section .products .product-cards .type-levels{margin-bottom:12px!important;font-size:11px!important}.market-section .products .product-cards .amount{font-size:15px!important}.market-section .products .product-cards .details>a.bg-pri{font-size:11px}.market-section .products .product-cards .collection-save-button--overlay{top:9px;right:9px;width:40px;height:40px;min-height:40px}}
