.tifam-native-shop{--ink:#17212b;--plum:#3b1958;--forest:#0f5e4a;--cream:#faf7ef;--line:#dce2e8;--muted:#61707c;color:var(--ink);font:400 16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:1180px;margin:1.5rem auto 3rem;padding:0 20px;box-sizing:border-box}
.tifam-native-shop *{box-sizing:border-box}
.tifam-native-shop h2,.tifam-native-shop h3{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em;color:var(--plum)}
.tifam-native-shop h2{font-size:clamp(1.8rem,3.5vw,2.8rem);margin:.25rem 0 1rem;line-height:1.12}
.tifam-native-shop h3{font-size:1.4rem;line-height:1.25;margin:0 0 .7rem}
.tifam-native-shop a{color:var(--forest);text-underline-offset:3px}
.tifam-native-shop a:hover{color:var(--plum)}
.tifam-shop-lead{display:flex;align-items:center;gap:18px;padding:14px 22px;margin:1.2rem 0;background:linear-gradient(115deg,#f9f5e9,#f1f7f2);border:1px solid #e4dfd0;border-radius:18px}
.tifam-shop-lead img{width:90px;height:auto;object-fit:contain;flex:none}
.tifam-shop-lead p{margin:.2rem 0;color:#354452}
.tifam-shop-eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--forest)}
.tifam-shop-member{border:1px solid #a8c7b8;background:#edf7f0;color:#164936;border-radius:12px;padding:12px 16px;font-weight:650}
.tifam-shop-heritage-link{display:inline-block;border-bottom:2px solid #c99d4b;font-weight:700;padding-bottom:4px}
.tifam-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:1.5rem 0}
.tifam-shop-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px 14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin-top:20px}
.tifam-shop-filter label{flex:1 1 210px;margin:0}.tifam-shop-filter button{flex:0 0 auto}.tifam-shop-pages{display:flex;gap:20px;justify-content:center;font-weight:700;margin:20px 0}
.tifam-shop-card{display:flex;flex-direction:column;padding:16px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 7px 24px rgba(23,33,43,.07);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.tifam-shop-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(23,33,43,.12)}
.tifam-shop-card>a:first-child{display:flex;align-items:center;justify-content:center;background:#faf8f5;border-radius:11px;min-height:230px;margin-bottom:17px;overflow:hidden}
.tifam-shop-card>a:first-child img{max-height:250px;width:100%;object-fit:contain;transition:transform .2s ease}
.tifam-shop-card:hover>a:first-child img{transform:scale(1.03)}
.tifam-shop-card h3 a{text-decoration:none;color:var(--plum)}
.tifam-shop-card .tifam-shop-buy{margin-top:auto}
.tifam-shop-buy{padding-top:8px}
.tifam-shop-buy p strong{font-family:Georgia,serif;font-size:1.55rem;color:var(--ink)}
.tifam-shop-term{font-size:.86rem;color:#51626d;line-height:1.4;margin:.35rem 0 .8rem}
.tifam-native-shop input:not([type=hidden]):not([type=checkbox]),.tifam-native-shop select,.tifam-native-shop textarea{display:block;width:100%;border:1px solid #bac7ce;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;min-height:44px}
.tifam-native-shop input:focus,.tifam-native-shop select:focus,.tifam-native-shop button:focus-visible,.tifam-native-shop a:focus-visible{outline:3px solid #9bc4b3;outline-offset:2px}
.tifam-native-shop label{display:block;color:#354452;font-weight:650;margin:.4rem 0}
.tifam-shop-buy label input{max-width:100px;margin-top:5px}
.tifam-native-shop button,.tifam-native-shop .tifam-shop-button,.tifam-native-shop a.button{display:inline-flex;justify-content:center;align-items:center;min-height:43px;border:1px solid var(--forest);border-radius:10px;background:var(--forest);color:#fff!important;font:700 .95rem/1.25 system-ui,sans-serif;text-decoration:none;padding:10px 17px;cursor:pointer;transition:background .15s ease,transform .15s ease}
.tifam-native-shop button:hover,.tifam-native-shop .tifam-shop-button:hover,.tifam-native-shop a.button:hover{background:var(--plum);border-color:var(--plum);transform:translateY(-1px)}
.tifam-shop-buy button{margin-top:10px;width:100%}
.tifam-shop-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;padding:23px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 6px 24px rgba(23,33,43,.055)}
.tifam-shop-fields label{margin:0}
.tifam-shop-fields input,.tifam-shop-fields select{margin-top:6px}
.tifam-shop-cart-item{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);background:#fff;padding:17px 20px;border-radius:14px;margin:10px 0;box-shadow:0 4px 12px rgba(23,33,43,.035)}
.tifam-shop-cart-item>div:last-child{display:flex;align-items:end;gap:9px;flex-wrap:wrap}
.tifam-shop-cart-item input{width:86px!important}
.tifam-shop-cart-item button{min-height:39px;padding:8px 11px}
.tifam-shop-alert{padding:13px 16px;border-radius:12px;background:#fff1e8;border:1px solid #ebbe9f;color:#6e3417}
.tifam-shop-small{font-size:.9rem;color:var(--muted)}
.tifam-shop-policies{margin:22px 0;padding:18px 22px;border:1px solid #d4d9dc;border-radius:14px;background:#fafbfa}
.tifam-shop-policies legend{font-family:Georgia,serif;font-size:1.25rem;font-weight:700;color:var(--plum);padding:0 8px}
.tifam-shop-policies ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 20px;margin:12px 0 17px;padding-left:20px}
.tifam-shop-policies .tifam-shop-consent{display:flex;align-items:flex-start;gap:10px;max-width:850px}
.tifam-shop-policies input[type=checkbox]{appearance:auto;flex:none;width:19px;height:19px;margin:3px 0;accent-color:var(--forest)}
.tifam-shop-receipt{background:var(--cream);padding:26px;border:1px solid #ded5bd;border-radius:18px;max-width:680px}
.tifam-shop-receipt h3{font-size:2rem;margin:.3rem 0}
.tifam-product-detail{background:#fff;padding:20px;border-radius:18px}
.tifam-shop-summary{font-size:1.15rem;color:#3e4d56;border-left:3px solid var(--forest);padding:2px 0 2px 15px;margin-bottom:22px}
.tifam-shop-related{margin-top:34px;border-top:1px solid var(--line);padding-top:24px}
.tifam-shop-related .tifam-shop-card>a:first-child{min-height:170px}
.tifam-product-detail .tifam-shop-buy{border-top:1px solid var(--line);margin-top:20px}
.tifam-product-detail .tifam-shop-buy button{width:auto}
.tifam-shop-gallery{display:flex;gap:10px;overflow-x:auto;margin:18px 0}.tifam-shop-gallery img{width:150px;height:150px;object-fit:contain;background:#faf8f5;border:1px solid var(--line);border-radius:12px}
.tifam-shop-attributes{display:grid;grid-template-columns:minmax(110px,1fr) 3fr;gap:8px 15px;max-width:620px}.tifam-shop-attributes dt{font-weight:700}.tifam-shop-attributes dd{margin:0}
.tifam-shop-account-panel{padding:20px;border:1px solid var(--line);background:#fff;border-radius:17px;margin:18px 0;box-shadow:0 5px 18px rgba(28,39,50,.05)}
.tifam-shop-history-row{display:flex;justify-content:space-between;gap:20px;padding:13px 4px;border-top:1px solid var(--line)}
.tifam-shop-history-row>div:last-child{text-align:right;white-space:nowrap}
.tifam-shop-history-row small,.tifam-shop-history-row span{display:block;color:var(--muted);font-size:.85rem}
@media(max-width:900px){.tifam-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tifam-native-shop{padding:0 14px}.tifam-shop-grid,.tifam-shop-fields,.tifam-shop-policies ul{grid-template-columns:1fr}.tifam-shop-lead{padding:12px;gap:12px}.tifam-shop-lead img{width:65px}.tifam-shop-card>a:first-child{min-height:195px}.tifam-shop-cart-item{flex-direction:column;align-items:stretch}.tifam-shop-cart-item>div:last-child{align-items:center}}

/* Newsagent storefront follows the Federation Portal's dark hero and light card language. */
.tifam-newsagent{width:min(1180px,calc(100vw - 32px));max-width:none;padding:0;position:relative;left:50%;transform:translateX(-50%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tifam-newsagent-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.95fr);align-items:center;min-height:360px;padding:42px 38px 37px 53px;background:radial-gradient(circle at 78% 28%,rgba(37,119,84,.33),transparent 41%),linear-gradient(125deg,#17212b 8%,#271d34 64%,#3b1958 100%);border:1px solid #383044;border-radius:24px;color:#fff;box-shadow:0 17px 40px rgba(23,33,43,.19)}
.tifam-newsagent-hero:before{content:"";position:absolute;width:480px;height:480px;border:1px solid rgba(238,220,171,.16);border-radius:50%;right:-100px;top:-160px;pointer-events:none}
.tifam-newsagent-hero:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(238,220,171,.13);border-radius:50%;right:-24px;top:-90px;pointer-events:none}
.tifam-newsagent-hero-copy{position:relative;z-index:2}
.tifam-newsagent-hero .tifam-shop-eyebrow{color:#bed5c8;letter-spacing:.13em;font-size:.69rem}
.tifam-newsagent-hero h1{color:#fff;font:700 clamp(2.5rem,5.5vw,4.6rem)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.045em;margin:15px 0 16px;max-width:530px}
.tifam-newsagent-hero-copy>p{max-width:480px;font-size:1.12rem;line-height:1.55;color:#e2e9e7;margin:0 0 25px}
.tifam-newsagent-art{z-index:1;display:grid;place-items:center;min-width:0}
.tifam-newsagent-art img{display:block;object-fit:contain;width:min(100%,540px);height:auto;max-height:340px;filter:drop-shadow(0 12px 22px rgba(0,0,0,.18))}
.tifam-newsagent-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.tifam-newsagent .tifam-newsagent-hero-actions .tifam-shop-button{background:#0f7055;border-color:#0f7055;min-height:46px}
.tifam-newsagent .tifam-newsagent-hero-actions .tifam-shop-button:hover{background:#158c69;border-color:#158c69}
.tifam-newsagent-secondary{color:#fff!important;font-weight:700;text-decoration:underline!important;text-decoration-color:#d6b35c!important;text-underline-offset:5px!important}
.tifam-newsagent-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:16px 0 24px}
.tifam-newsagent-highlight{display:flex;align-items:center;gap:13px;min-height:91px;padding:14px 18px;background:#fff;border:1px solid #dce2e8;border-radius:17px;box-shadow:0 5px 18px rgba(28,39,50,.05)}
.tifam-newsagent-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#edf4ef;color:#0f5e4a;font-size:.78rem;font-weight:800}
.tifam-newsagent-highlight strong,.tifam-newsagent-highlight small{display:block}
.tifam-newsagent-highlight strong{color:#3b1958;font-size:.88rem;line-height:1.3}
.tifam-newsagent-highlight small{color:#61707c;font-size:.76rem;line-height:1.35;margin-top:4px}
.tifam-newsagent .tifam-shop-member{margin:0 0 22px}
.tifam-newsagent-letter{display:grid;grid-template-columns:minmax(175px,.4fr) minmax(0,1fr);gap:16px 30px;margin:0 0 23px;padding:28px 32px;border:1px solid #dce2e8;border-left:4px solid #0f5e4a;border-radius:18px;background:linear-gradient(120deg,#fbfaf6,#fff 48%);box-shadow:0 6px 19px rgba(23,33,43,.05)}
.tifam-newsagent-letter .tifam-shop-eyebrow{font-size:.67rem}
.tifam-newsagent-letter h2{font:700 clamp(1.7rem,3vw,2.25rem)/1.2 Georgia,serif;color:#3b1958;margin:9px 0 0}
.tifam-newsagent-letter-copy p{margin:0 0 12px;color:#34434d;line-height:1.7;font-size:.96rem}
.tifam-newsagent-letter-copy p:last-child{margin-bottom:0}
.tifam-newsagent-trail{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 24px;margin:0 0 23px;border:1px solid #d1dfd6;border-radius:16px;background:#eff7f1}
.tifam-newsagent-trail strong{display:block;margin-top:3px;color:#243e34;font:700 1.17rem Georgia,serif}
.tifam-newsagent-trail a{font-weight:750;white-space:nowrap}
.tifam-newsagent-products{padding:25px 26px 12px;background:#fff;border:1px solid #dce2e8;border-radius:20px;box-shadow:0 8px 27px rgba(23,33,43,.06);scroll-margin-top:32px}
.tifam-newsagent-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px}
.tifam-newsagent-section-head h2{font:700 clamp(1.8rem,3.6vw,2.55rem)/1.16 Georgia,serif;margin:6px 0 0;color:#3b1958}
.tifam-newsagent-section-head>p{max-width:280px;margin:0 0 3px;color:#61707c;font-size:.87rem;line-height:1.45}
.tifam-newsagent-categories{display:flex;gap:8px;overflow-x:auto;padding:20px 0 4px;scrollbar-width:thin}
.tifam-newsagent-categories a{flex:none;border:1px solid #d6dfe0;border-radius:999px;background:#f7f9f7;color:#3b1958;padding:8px 15px;font-size:.83rem;font-weight:700;text-decoration:none}
.tifam-newsagent-categories a.is-current,.tifam-newsagent-categories a:hover{background:#3b1958;border-color:#3b1958;color:#fff}
.tifam-newsagent .tifam-shop-filter{margin-top:19px;background:#f7f9f8;box-shadow:none}
.tifam-newsagent .tifam-shop-filter input,.tifam-newsagent .tifam-shop-filter select{margin-top:6px}
.tifam-newsagent .tifam-shop-filter button{margin-bottom:1px}
.tifam-newsagent-results{color:#61707c;font-size:.82rem;margin:13px 0 -5px}
.tifam-newsagent-empty{padding:24px;background:#faf7ef;border-radius:12px;margin:18px 0}
.tifam-newsagent .tifam-shop-grid{gap:16px;margin:20px 0}
.tifam-newsagent .tifam-shop-card{box-shadow:0 5px 18px rgba(28,39,50,.045);padding:16px}
.tifam-newsagent .tifam-shop-card>a:first-child{min-height:210px;background:#f7f8f5;margin-bottom:12px}
.tifam-newsagent-card-category{align-self:flex-start;padding:4px 9px;border-radius:999px;background:#eff5f1;color:#0f5e4a;font-size:.69rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;margin:0 0 11px}
.tifam-newsagent .tifam-shop-card h3{font:700 1.18rem/1.32 Georgia,serif;margin:0 0 9px}
.tifam-newsagent-card-description{font-size:.82rem;line-height:1.5;color:#60707a;margin:0 0 12px}
.tifam-newsagent .tifam-shop-card .tifam-shop-buy{border-top:1px solid #e7ebeb;margin-top:auto;padding-top:12px}
.tifam-newsagent .tifam-shop-card .tifam-shop-buy p strong{font-size:1.25rem}
.tifam-newsagent .tifam-shop-card .tifam-shop-buy p{margin:0 0 7px}
.tifam-newsagent .tifam-shop-pages{margin:14px 0 0;padding:0 0 10px}
.tifam-newsagent-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:17px 22px;margin:19px 0 28px;border-radius:13px;background:#17212b;color:#e0e8e5;font-size:.79rem}
.tifam-newsagent-footer span{font-weight:800;color:#fff;margin-right:auto}
.tifam-newsagent-footer a{color:#e2ede8!important}
@media(max-width:920px){.tifam-newsagent-hero{grid-template-columns:minmax(0,1fr) minmax(260px,.76fr);padding:30px 27px}.tifam-newsagent-highlights{grid-template-columns:1fr 1fr}.tifam-newsagent-highlights>:last-child{grid-column:1/-1}}
@media(max-width:700px){.tifam-newsagent-hero{grid-template-columns:1fr;padding:30px 24px 15px;gap:0}.tifam-newsagent-hero h1{font-size:clamp(2.5rem,12vw,4rem)}.tifam-newsagent-art img{max-height:270px}.tifam-newsagent-highlights{grid-template-columns:1fr;gap:9px}.tifam-newsagent-highlights>:last-child{grid-column:auto}.tifam-newsagent-highlight{min-height:70px}.tifam-newsagent-letter{grid-template-columns:1fr;padding:22px;gap:11px}.tifam-newsagent-section-head{display:block}.tifam-newsagent-section-head>p{max-width:none;margin-top:8px}.tifam-newsagent-trail{align-items:flex-start;flex-direction:column}.tifam-newsagent-products{padding:20px 16px 8px}}
@media(max-width:430px){.tifam-newsagent{width:calc(100vw - 20px)}.tifam-newsagent-hero{padding:25px 19px 10px;border-radius:19px}.tifam-newsagent-hero-copy>p{font-size:1rem}.tifam-newsagent-art img{max-height:210px}.tifam-newsagent-footer{align-items:flex-start;flex-direction:column}}

/* Keep the Newsagent hero readable when the WordPress theme overrides page text colours. */
.tifam-newsagent .tifam-newsagent-hero h1,
.tifam-newsagent .tifam-newsagent-hero .tifam-newsagent-hero-copy>p,
.tifam-newsagent .tifam-newsagent-hero .tifam-newsagent-secondary{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    opacity:1!important;
}
.tifam-newsagent .tifam-newsagent-hero .tifam-shop-eyebrow{
    color:#d4eddf!important;
    -webkit-text-fill-color:#d4eddf!important;
    opacity:1!important;
}
