/*
Theme Name: AJ Le Bijoux di Jessica
Author: Jessica Albano
Description: Sito vetrina AJ modificabile con l’editor a blocchi. Foto, catalogo e configurazione guidata inclusi.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: aj-bijoux
*/
html{scroll-behavior:smooth}body{margin:0}.wp-site-blocks{padding-top:0;padding-bottom:0}img,video{max-width:100%;height:auto}a{text-underline-offset:4px}.aj-main{padding:40px 5% 64px}.aj-header{padding:20px 5%;border-bottom:1px solid #e6dede;background:#fcfaf7}.aj-logo{max-width:275px;margin:0 auto 20px!important}.aj-header .wp-block-navigation{font-size:13px;gap:18px}.aj-footer{padding:40px 5%;background:#eedbdd;text-align:center}.aj-eyebrow{font-size:12px;letter-spacing:.15em;text-transform:uppercase}.aj-hero{padding:24px 0 50px}.aj-hero h1{font-size:clamp(34px,4vw,58px);letter-spacing:-.035em}.aj-hero .wp-block-columns{align-items:center;gap:48px}.aj-hero-image img{width:100%;max-height:510px;object-fit:cover;object-position:50% 47%}.aj-hero .wp-block-buttons{display:inline-flex;margin-right:10px;margin-top:12px}.aj-collection-card{padding:28px;background:#eedbdd;border-radius:8px}.aj-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.aj-gallery .wp-block-image{margin:0;width:100%;min-width:0}.aj-gallery img{width:100%;aspect-ratio:1;object-fit:cover}.aj-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 0 20px;margin:24px auto;max-width:650px;scrollbar-width:thin}.aj-carousel>figure{flex:0 0 100%;width:100%;margin:0;scroll-snap-align:start;min-width:0}.aj-carousel img,.aj-carousel video{width:100%;height:440px;object-fit:contain;background:#f4eeeb}.aj-price{font-size:25px!important;color:#854f5c}.aj-product-card{padding-bottom:24px}.aj-product-card .wp-block-post-featured-image{margin:0 0 14px}.aj-product-card .wp-block-post-title{font-size:19px;line-height:1.3}.aj-product-card .wp-block-post-title a{color:#392a2e;text-decoration:none}.aj-product-card .wp-block-post-excerpt{font-size:17px;color:#854f5c;margin-top:8px}.aj-product-card .wp-block-read-more{font-size:13px;color:#854f5c}.single-post .wp-block-post-title{font-size:32px}.single-post .wp-block-post-featured-image img{max-height:640px;object-fit:contain}.single-post .wp-block-columns{gap:48px}.wp-block-post-template{gap:28px 20px}.wp-block-button__link:hover{background:#854f5c!important}.aj-main>h2{margin-top:48px}.aj-footer .wp-block-buttons{justify-content:center}button,a{touch-action:manipulation}
@media(max-width:780px){.aj-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aj-main{padding:28px 5% 40px}.aj-logo{max-width:220px}.aj-carousel img,.aj-carousel video{height:340px}.aj-product-card .wp-block-post-title{font-size:14px}.aj-product-card .wp-block-read-more{font-size:12px}.single-post .wp-block-post-title{font-size:26px}.aj-hero-image img{max-height:380px}.single-post .wp-block-post-featured-image img{max-height:420px}}

/* AJ 1.2: restore the compact original proportions on existing WordPress pages. */
.aj-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 5%}
.aj-header>.aj-brand,.aj-header>.wp-block-site-logo,.aj-header>.aj-logo{flex:0 0 auto;margin:0!important;max-width:250px}
.aj-brand a,.aj-brand img{display:block}.aj-brand img{width:240px;height:auto;max-width:100%}
.aj-header>.wp-block-navigation{margin:0!important;margin-left:auto!important;flex:1 1 auto;justify-content:flex-end}
.aj-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container{justify-content:flex-end}
.aj-main>.wp-block-post-content{margin-top:0!important}
.aj-hero{padding:20px 0 34px}.aj-hero>.wp-block-columns{gap:40px;align-items:center;margin-block:0}
.aj-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.16;letter-spacing:-.035em;margin:16px 0 20px}
.aj-hero .aj-eyebrow{font-size:11px;letter-spacing:.16em;margin:0 0 16px}
.aj-hero p:not(.aj-eyebrow){font-size:16px;line-height:1.65;max-width:520px;margin:0 0 18px}
.aj-hero .wp-block-buttons{margin:6px 6px 0 0;display:inline-flex}
.aj-hero .wp-block-button__link{padding:11px 18px;font-size:13px;line-height:1.3}
.aj-hero-image{margin:0!important}.aj-hero-image img{display:block;width:100%;height:460px;object-fit:cover;object-position:50% 44%}
@media(max-width:780px){
 .aj-header{padding:12px 5%;gap:14px;flex-wrap:nowrap;min-height:80px}
 .aj-header>.aj-brand,.aj-header>.wp-block-site-logo,.aj-header>.aj-logo{max-width:190px}.aj-brand img{width:190px}
 .aj-header>.wp-block-navigation{flex:0 0 auto}
 .aj-main{padding:20px 5% 40px}.aj-main .wp-block-post-title{font-size:27px;line-height:1.2}
 .aj-hero{padding:0 0 22px}.aj-hero>.wp-block-columns{display:flex;flex-direction:column;gap:24px}
 .aj-hero>.wp-block-columns>.wp-block-column{width:100%;flex-basis:auto!important;margin:0}
 .aj-hero>.wp-block-columns>.wp-block-column:last-child{order:-1}
 .aj-hero-image img{height:260px;max-height:260px;object-fit:cover;object-position:50% 42%}
 .aj-hero h1{font-size:32px;line-height:1.17;margin:12px 0 16px}
 .aj-hero .aj-eyebrow{font-size:10px;margin:0 0 10px}.aj-hero p:not(.aj-eyebrow){font-size:14px;margin:0 0 16px;line-height:1.65}
 .aj-hero .wp-block-button__link{padding:10px 16px;font-size:12px}.aj-main>h2,.aj-main .wp-block-post-content>h2{font-size:26px;margin-top:32px}
 .aj-gallery{gap:13px}.aj-collection-card{padding:22px}.aj-collection-card h3{font-size:23px}
}
@media(max-width:360px){.aj-hero h1{font-size:29px}.aj-hero .wp-block-button__link{padding:9px 12px;font-size:11px}}
