/* NUMA: linguaggio grafico delle anteprime del dossier v01 (galleria di design) */
:root {
	--nm-ink: #272c28;
	--nm-muted: #656a62;
	--nm-bg: #f7f6f1;
	--nm-paper: #fff;
	--nm-line: #ced0c4;
	--nm-green: #364438;
	--nm-soft: #e7e9df;
	--nm-focus: #916c32;
	--nm-serif: Georgia, "Times New Roman", serif;
	--wd-primary-color: #364438;
	--wd-link-color: #272c28;
	--wd-link-color-hover: #364438;
}
body, .website-wrapper, .main-page-wrapper { background-color: var(--nm-bg); color: var(--nm-ink); }
h1, h2, h3, .title, .wd-entities-title, .product_title, .page-title .entry-title, .woodmart-title-container { font-family: var(--nm-serif) !important; font-weight: 400 !important; letter-spacing: -.3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--nm-focus); outline-offset: 4px; }

/* niente negozio sul sito brand */
.wd-header-cart, .wd-header-wishlist, .wd-header-my-account, .cart-widget-side, .menu-item-wishlist, .menu-item-account,
.wd-wishlist-btn, .wd-compare-btn, .wd-add-btn, .add_to_cart_button, .single_add_to_cart_button, form.cart,
.price, .product-labels, .onsale, .woocommerce-mini-cart, .login-form-side, .wd-social-icons.product-share { display: none !important; }

/* selettore lingua */
.nm-lang { display: inline-flex; gap: 2px; font-size: 12px; letter-spacing: .5px; }
.nm-lang a { padding: 6px 7px; text-decoration: none; color: inherit; }
.nm-lang a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.nm-lang-item { padding: 12px 20px; }

/* elementi comuni */
.nm-page { max-width: 1280px; margin: 0 auto; }
.nm-page p { max-width: 66ch; }
.nm-eyebrow { text-transform: uppercase; letter-spacing: 2.1px; font-size: 11px; color: #647065; margin-bottom: 6px; }
.nm-btn { display: inline-block; padding: 13px 22px; border: 1px solid #3b453b; background: var(--nm-green); color: #fff !important; text-decoration: none; font-size: 13px; letter-spacing: .25px; line-height: 1.3; transition: background .2s, color .2s; }
.nm-btn:hover { background: #222b23; }
.nm-btn-2 { background: transparent; color: #30382f !important; }
.nm-btn-2:hover { background: var(--nm-soft); }
.nm-btn-s { font-size: 12px; padding: 10px 14px; width: 100%; text-align: center; margin-top: 10px; }
.nm-buttons, .nm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nm-more { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; color: var(--nm-ink); }
.nm-small { font-size: 12.5px; color: var(--nm-muted); }
.nm-cap { font-size: 12.5px; color: #6d7067; margin: 0 0 8px; }
.nm-page p.nm-center { text-align: center; margin-top: 32px; max-width: none; }
.nm-center a { margin: 0 auto; }
.nm-sec { padding: 64px 0; border-top: 1px solid var(--nm-line); }
.nm-head { padding: 40px 0 32px; }
.nm-head h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; margin: 0 0 18px; }
.nm-lead { font-size: 19px; line-height: 1.6; max-width: 850px; }
.nm-sec h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; margin: 0 0 20px; }
.nm-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; align-items: end; }
.nm-panel { background: var(--nm-soft); padding: 32px; border-top: 0; margin-bottom: 24px; }
.nm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 0; padding-top: 0; }
.nm-two .nm-panel { margin: 0; }

/* home */
.nm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 48px 0 76px; }
.nm-hero h1 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -2px; margin: 16px 0 20px; }
.nm-hero p { font-size: 17px; line-height: 1.65; }
.nm-art { background: var(--nm-paper); padding: 35px; min-height: 520px; display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; }
.nm-art img { max-height: 500px; width: 100%; object-fit: contain; transition: transform 1.4s ease; }
.nm-art:hover img { transform: scale(1.03); }
.nm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nm-coll-img { display: block; background: var(--nm-paper); overflow: hidden; }
.nm-coll img { height: 260px; width: 100%; object-fit: contain; transition: transform .6s ease; }
.nm-coll:hover img { transform: scale(1.04); }
.nm-coll h3 { font-size: 25px; margin: 16px 0 4px; }
.nm-coll h3 a, .nm-workcard h3, .nm-workcard > a { text-decoration: none; color: inherit; }
.nm-coll p { font-size: 14px; }
.nm-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.nm-workcard { background: var(--nm-paper); padding: 24px; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.nm-workcard:hover { box-shadow: 0 14px 32px rgba(39, 44, 40, .08); transform: translateY(-2px); }
.nm-workcard img { height: 230px; width: 100%; object-fit: contain; }
.nm-workcard h3 { font-size: 23px; margin: 14px 0 4px; }
.nm-workcard .nm-more { margin-top: 12px; }
.nm-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nm-story figure { margin: 0; }
.nm-story img { height: 440px; width: 100%; object-fit: cover; }
.nm-story p { font-size: 17px; margin-bottom: 26px; }
.nm-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nm-event { border-top: 1px solid #72806f; padding-top: 22px; }
.nm-event h3 { font-size: 26px; margin: 4px 0 6px; }
.nm-event p { font-size: 14px; }
.nm-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.nm-bottom > div { background: var(--nm-soft); padding: 34px; }
.nm-bottom h2 { font-size: 32px; }

/* rivenditori, autori */
.nm-stockists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 18px; }
.nm-stockist { padding: 26px; border: 1px solid #c9cfc1; background: var(--nm-paper); }
.nm-stockist h3 { font-size: 23px; margin: 0 0 6px; }
.nm-index-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 48px; }
.nm-entry { padding: 18px 0; border-bottom: 1px solid var(--nm-line); }
.nm-entry h3 { font-size: 23px; margin: 0 0 6px; }
.nm-entry p { font-size: 14.5px; margin: 0 0 4px; }

/* scheda opera */
.single-product .product_title { font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.single-product .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.7; }
.nm-box { margin: 18px 0 8px; padding: 26px 0 0; border-top: 1px solid var(--nm-line); }
.nm-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 0 0 14px; }
.nm-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: #647065; font-weight: 400; }
.nm-meta dd { margin: 2px 0 0; font-size: 15px; }
.nm-box .nm-actions { margin: 18px 0 8px; }
.nm-links { font-size: 13px; margin: 10px 0 0; }
.nm-links a { text-decoration: underline; text-underline-offset: 5px; }
.nm-index { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--nm-line); font-size: 13px; }
.nm-index span { width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: #647065; }
.nm-index a { text-decoration: underline; text-underline-offset: 5px; }
.nm-work { max-width: 880px; margin: 30px auto 0; }
.nm-work .nm-sec { padding: 48px 0; scroll-margin-top: 110px; }
.nm-content { font-size: 16.5px; line-height: 1.75; }
.nm-content blockquote { font: 21px/1.6 var(--nm-serif); margin: 30px 0; padding: 22px 26px; border-left: 2px solid #76876d; background: transparent; }
.nm-content img { max-width: 100%; height: auto; }
.nm-work table.woocommerce-product-attributes { display: table; width: 100%; border-collapse: collapse; font-size: 15px; }
.nm-work .woocommerce-product-attributes th, .nm-work .woocommerce-product-attributes td { border-bottom: 1px solid #c1c8ba; text-align: left; padding: 13px 10px; vertical-align: top; }
.nm-work .woocommerce-product-attributes th { width: 34%; font-weight: 600; }
.nm-work .woocommerce-product-attributes-item__value { text-align: left !important; }
.nm-work .woocommerce-product-attributes th:after, .nm-work .woocommerce-product-attributes td:after { display: none !important; }
.nm-work .woocommerce-product-attributes td, .nm-work .woocommerce-product-attributes td a { color: var(--nm-ink); text-align: left; }
.nm-request { background: var(--nm-paper); padding: 40px !important; border-top: 0 !important; margin-bottom: 40px; }
.nm-context { font-size: 14px; padding: 12px 14px; background: var(--nm-soft); }

/* moduli */
.nm-form .nm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.nm-form .nm-wide { grid-column: 1 / -1; }
.nm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.nm-form input[type=text], .nm-form input[type=email], .nm-form input[type=tel], .nm-form input[type=url], .nm-form select, .nm-form textarea { width: 100%; padding: 12px; border: 1px solid #aab2a3; background: #fbfcf8; border-radius: 0; color: var(--nm-ink); }
.nm-form textarea { min-height: 140px; }
.nm-form select { border: 1px solid #aab2a3 !important; height: auto; padding: 12px !important; }
.nm-form .wpcf7-form-control-wrap { display: block; }
.nm-form .wpcf7-acceptance, .nm-form .wpcf7-checkbox { display: block; margin-top: 16px; }
.nm-form .wpcf7-list-item { display: block; margin: 10px 0 0; }
.nm-form .wpcf7-list-item label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.nm-form .wpcf7-list-item input { margin-top: 3px; flex: none; }
.nm-form .wpcf7-list-item { margin: 10px 0 0; font-size: 13.5px; }
.nm-form .wpcf7-submit { background: var(--nm-green); color: #fff; border: 1px solid #3b453b; padding: 13px 26px; cursor: pointer; margin-top: 18px; border-radius: 0; text-transform: none; font-size: 14px; }
.nm-form .nm-hp { position: absolute !important; left: -9999px !important; }
.nm-form [hidden] { display: none !important; }
.nm-form .wpcf7-not-valid-tip { font-size: 13px; color: #9a2f1f; }
.nm-form .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 14px !important; font-size: 14px; }

@media (max-width: 1024px) {
	.nm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 850px) {
	.nm-hero { gap: 30px; }
	.nm-art { min-height: 360px; padding: 20px; }
	.nm-stockists, .nm-works { grid-template-columns: 1fr 1fr; }
	.nm-story { gap: 30px; }
	.nm-events { grid-template-columns: 1fr; }
	.nm-index-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.nm-hero { grid-template-columns: 1fr; padding: 24px 0 40px; }
	.nm-art { min-height: 280px; }
	.nm-art img { max-height: 320px; }
	.nm-sec { padding: 44px 0; }
	.nm-intro, .nm-story, .nm-bottom, .nm-two, .nm-form .nm-fields { grid-template-columns: 1fr; gap: 20px; }
	.nm-grid, .nm-works, .nm-stockists { grid-template-columns: 1fr; }
	.nm-coll img { height: 280px; }
	.nm-story img { height: 300px; }
	.nm-story-r > div { order: 2; }
	.nm-btn { width: 100%; text-align: center; }
	.nm-meta { grid-template-columns: 1fr 1fr; }
	.nm-request { padding: 24px 18px !important; }
	.nm-bottom > div, .nm-panel { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.nm-art img, .nm-coll img, .nm-workcard { transition: none; }
	.nm-art:hover img, .nm-coll:hover img, .nm-workcard:hover { transform: none; }
}
@media print {
	.nm-actions, .nm-index, .nm-request, .whb-header, .footer-container { display: none !important; }
}
