/*
Theme Name: AndingShop Studio
Template: astra
Version: 1.0.1
Description: Il catalogo digitale di AndingShop.
Text Domain: andingshop-studio
*/
:root{
  --an-ink:#202735;--an-blue:#2443a7;--an-paper:#f6f7fa;--an-line:#d6dae5;
  --ast-global-color-0:#2443a7;--ast-global-color-1:#182f77;--ast-global-color-2:#202735;
}
body{color:var(--an-ink);font-family:"Inter",system-ui,sans-serif}
.an-shell{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.an-head{background:white;border-bottom:1px solid var(--an-line)}
.an-head__inner,.an-foot__inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.an-head__inner{min-height:76px}
.an-head a,.an-foot a,.an-front a{text-decoration:none}
.an-wordmark{display:inline-flex;align-items:center;gap:10px;color:var(--an-ink);font-size:25px;font-weight:770;letter-spacing:-1.5px}
.an-wordmark i{display:grid;place-items:center;width:34px;height:34px;background:#2941a2;color:white;border-radius:8px 8px 2px 8px;font:italic bold 32px/1 Georgia,serif;padding:0 3px 5px 0}
.an-head nav,.an-head nav ul,.an-foot nav{display:flex;align-items:center;gap:24px}
.an-head nav ul{margin:0;list-style:none}
.an-head nav a,.an-foot nav a,.an-cart{color:var(--an-ink);font-size:14px;font-weight:650}
.an-cart{display:inline-flex;align-items:center;gap:12px;padding:8px 16px;border:1px solid #c9cede;border-radius:25px}
.an-head a:focus-visible,.an-foot a:focus-visible,.an-front a:focus-visible{outline:3px solid #345ad1;outline-offset:4px}
.an-head nav a:hover,.an-foot nav a:hover,.an-categories a:hover strong{text-decoration:underline}
body.home #content>.ast-container{max-width:none;width:100%;padding:0;display:block}
.an-front{padding:40px 0 64px}
body.home .ast-container>#primary.an-front{width:min(1200px,calc(100% - 64px));margin:0 auto;padding:40px 0 64px}
.an-front h1,.an-front h2,.an-front h3,.an-project h2{color:var(--an-ink);font-family:"Inter",system-ui,sans-serif;font-weight:725;line-height:1.08;letter-spacing:-.05em}
.an-front h1{font-size:clamp(38px,5vw,70px);margin:0}
.an-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}
.an-section-head a{color:var(--an-blue);font-weight:650;font-size:15px}
.an-section-head h2,.an-front>h2{font-size:clamp(29px,3.4vw,45px);margin:0}
.an-feature{display:grid;grid-template-columns:1.02fr 1fr;background:#e8ecf9;border-radius:16px;overflow:hidden;min-height:340px}
.an-feature__copy{padding:clamp(30px,4vw,60px);align-self:center}
.an-feature .an-type{font-size:14px;font-weight:700;color:#384c85;margin:0 0 15px}
.an-feature h2{max-width:12ch;font-size:clamp(35px,4vw,61px);margin:0 0 15px}
.an-feature .an-description{max-width:44ch;font-size:17px;line-height:1.45;margin:0;color:#38445e}
.an-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:22px}
.an-button{display:inline-flex;align-items:center;gap:18px;background:#233a91;color:white!important;padding:11px 18px;font-weight:680;font-size:15px;border-radius:6px}
.an-button:hover{background:#162660}
.an-product-photo,.an-cover{display:grid;place-items:center;min-height:290px;background:#bac6f0;overflow:hidden}
.an-product-photo img{width:100%;height:100%;object-fit:contain}
.an-cover{background-color:#c4cef2;background-image:radial-gradient(#8d9cca 1px,transparent 1px);background-size:12px 12px;padding:28px}
.an-jacket{display:flex;width:clamp(170px,20vw,244px);aspect-ratio:4/4.8;color:#f0eebf;background:#273864;transform:rotate(7deg);box-shadow:3px 4px #efecd9,6px 7px #53617b,11px 13px 0 #7c88b4}
.an-spine{width:14px;border-right:1px solid #8397be;box-shadow:inset -2px 0 #192849}
.an-jacket-inner{flex:1;padding:16px 18px 13px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.an-jacket-inner small{font-size:12px;font-weight:650;letter-spacing:.06em}
.an-jacket-inner b{font:bold clamp(56px,7.4vw,112px)/.94 Georgia,serif;letter-spacing:-.12em}
.an-jacket-inner>span{font-size:13px;line-height:1.2;font-weight:700}
.an-ribbons{display:flex;align-items:flex-end;gap:5px;height:42px}
.an-ribbons i{width:18%;height:40%;background:#a0afed;transform:skew(-20deg)}
.an-ribbons i:nth-child(2){height:60%}.an-ribbons i:nth-child(3){height:80%;background:#eae7a5}.an-ribbons i:last-child{height:100%;background:#eae7a5}
.an-lower{margin-top:52px;scroll-margin-top:25px}
.an-categories,.an-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px}
.an-categories a,.an-more a{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--an-ink);background:#f0f2f7;border:1px solid #dce0ea;border-radius:8px;padding:15px 22px}
.an-categories a strong{font-size:19px}.an-categories a span{color:#48526c;font-size:14px}
.an-more{margin-top:15px}.an-more img{width:65px;height:65px;object-fit:cover}
.an-projects{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}
.an-project-link{display:flex;flex-direction:column;justify-content:flex-end;position:relative;min-height:200px;padding:24px;overflow:hidden;background:#e5eafb;border-radius:12px;color:var(--an-ink)}
.an-project-link.kids{background:#143f3d;color:#fff4cc}
.an-project-link.kids img{position:absolute;right:0;top:0;width:48%;height:100%;object-fit:cover;object-position:right}
.an-project-link.kids>b,.an-project-link.kids>span{position:relative;max-width:48%}
.an-project-link b{font-size:clamp(24px,3vw,38px);line-height:1.08;letter-spacing:-.045em}
.an-project-link span{margin-top:8px;font-size:14px}
.an-project-link:hover b{text-decoration:underline}
.an-project-link.pick{background:#fff0d9;color:#403054}
.an-project-link.pick:before{content:'{ }';position:absolute;right:8%;top:8%;font:italic 85px/.9 Georgia;color:#926523;letter-spacing:-.15em}
.an-foot{background:var(--an-paper);border-top:1px solid var(--an-line)}
.an-foot__inner{min-height:88px;flex-wrap:wrap;padding-block:16px}
.an-project-image{width:min(100%,720px);height:auto;border-radius:10px}
.ast-container #primary:has(.an-info){width:100%}
.an-info{max-width:760px;margin-block:18px 50px}
.an-info>p{font-size:18px;max-width:60ch}
.an-info .wpforms-container{max-width:660px}
@media(max-width:700px){
 body.home .ast-container>#primary.an-front{width:calc(100% - 32px);padding:24px 0 40px}
 .an-shell{width:calc(100% - 32px)}.an-head__inner{gap:14px;flex-wrap:wrap;padding:12px 0}
 .an-head__inner nav{order:3;flex:0 0 100%;gap:22px}.an-head nav a{font-size:13px}.an-wordmark{font-size:22px}
 .an-cart{margin-left:auto}.an-front{padding-top:24px}.an-feature{grid-template-columns:1fr}
 .an-feature__copy{padding:25px}.an-cover{min-height:200px;max-height:225px}.an-jacket{width:142px}
 .an-jacket-inner{padding:8px 11px}.an-jacket-inner b{font-size:54px}.an-ribbons{height:26px}
 .an-section-head{margin-bottom:14px}.an-section-head a{font-size:13px}.an-lower{margin-top:32px}
 .an-projects{grid-template-columns:1fr}.an-project-link{min-height:145px}.an-foot nav{flex-wrap:wrap;gap:15px}
}
