/*
Theme Name: Is It Possible
Author: Is It Possible
Description: Tema ecommerce personalizzato per isitpossible.it.
Version: 1.0.0
Text Domain: isitpossible
*/

:root {
  --ink: #111a4d;
  --paper: #fffaf8;
  --blush: #efdde3;
  --red: #f20d18;
  --lime: #dfff39;
  --line: 2px solid var(--ink);
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 100; background: #fff; padding: 12px; }

.announcement {
  background: var(--ink);
  color: #fff;
  padding: 8px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,248,.94); border-bottom: var(--line); backdrop-filter: blur(10px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.brand span { font-size: 19px; line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.nav a:hover { color: var(--red); }
.account-link { display: inline-flex; align-items: center; gap: 7px; }
.account-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cart-link { border: var(--line); border-radius: 999px; padding: 10px 16px; background: #fff; }
.social-icons { display: flex; align-items: center; gap: 8px; }
.social-icons a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); transition: transform .15s ease, background .15s ease, color .15s ease; }
.social-icons a:hover { background: var(--red); color: #fff; transform: translateY(-2px) rotate(-4deg); }
.social-icons svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.social-icons svg circle, .social-icons svg rect { fill: none; }
.social-icons svg .social-fill { fill: currentColor; stroke: none; }
.footer-social { margin-top: 12px; }

.hero { overflow: hidden; border-bottom: var(--line); }
.hero-grid { min-height: 670px; display: grid; grid-template-columns: 1.22fr .78fr; align-items: center; gap: 70px; padding-block: 70px; }
.hero-summer { position: relative; isolation: isolate; background: #d9edf4; }
.hero-summer-photo { position: absolute; inset: 0; z-index: -2; background: url('assets/hero-estate-tshirts-v1.webp') center center / cover no-repeat; }
.hero-summer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,250,248,.98) 0%, rgba(255,250,248,.9) 27%, rgba(255,250,248,.28) 48%, rgba(255,250,248,0) 67%); pointer-events: none; }
.hero-summer .hero-grid { grid-template-columns: minmax(0, 47%) 1fr; min-height: 690px; }
.hero-summer .hero-content { position: relative; z-index: 1; }
.hero-summer .hero-copy { max-width: 520px; }
.hero-summer .actions .button.alt { background: rgba(255,255,255,.86); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 820px; margin: 20px 0 24px; font-size: clamp(62px, 8.2vw, 132px); line-height: .82; letter-spacing: -.085em; text-transform: uppercase; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-copy { max-width: 610px; font-size: clamp(19px, 2vw, 25px); line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button, .site-main input[type="submit"], .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px !important;
  border: var(--line) !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  cursor: pointer;
}
.button.alt { background: transparent !important; color: var(--ink) !important; }
.button:hover { transform: translateY(-2px); }
.hero-mark { position: relative; justify-self: center; }
.hero-mark::before { content: ''; position: absolute; inset: -12% -18%; z-index: -1; border-radius: 50%; background: var(--blush); transform: rotate(-8deg); }
.hero-mark img { width: min(430px, 38vw); border-radius: 50%; mix-blend-mode: multiply; }
.sticker { position: absolute; right: -18px; bottom: 6%; display: grid; place-items: center; width: 112px; height: 112px; border: var(--line); border-radius: 50%; background: var(--lime); font-size: 14px; font-weight: 900; text-align: center; text-transform: uppercase; transform: rotate(10deg); }
.summer-collage { position: relative; width: min(520px, 42vw); height: 540px; justify-self: center; }
.summer-collage::before { content: ''; position: absolute; inset: 5% -5% 2%; border: var(--line); border-radius: 48% 52% 44% 56%; background: var(--blush); transform: rotate(-5deg); }
.summer-shirt { position: absolute; display: block; overflow: hidden; border: var(--line); border-radius: 22px; background: #fff; box-shadow: 9px 10px 0 var(--ink); transition: transform .2s ease; }
.summer-shirt:hover { z-index: 6; transform: rotate(0) scale(1.04); }
.summer-shirt img { width: 100%; height: 100%; object-fit: contain; }
.summer-shirt-1 { z-index: 3; top: 2%; left: 3%; width: 58%; height: 58%; transform: rotate(-7deg); }
.summer-shirt-2 { z-index: 2; top: 13%; right: -2%; width: 53%; height: 55%; transform: rotate(8deg); }
.summer-shirt-3 { z-index: 4; right: 17%; bottom: 0; width: 55%; height: 52%; transform: rotate(2deg); }
.summer-badge { position: absolute; z-index: 7; right: -8%; bottom: 8%; display: grid; place-items: center; width: 116px; height: 116px; padding: 10px; border: var(--line); border-radius: 50%; background: var(--lime); font-size: 14px; font-weight: 900; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(10deg); }

.ticker { overflow: hidden; background: var(--red); color: #fff; border-bottom: var(--line); padding: 15px 0; white-space: nowrap; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ticker span { display: inline-block; padding-right: 38px; }
.section { padding-block: 90px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(42px, 6vw, 82px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.section-intro { max-width: 470px; margin-bottom: 0; font-size: 19px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 330px; padding: 30px; border: var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.card:nth-child(2) { background: var(--blush); }
.card:nth-child(3) { background: var(--lime); }
.card .num { font-size: 13px; font-weight: 900; }
.card h3 { margin: 60px 0 10px; font-size: 35px; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.statement { background: var(--ink); color: #fff; }
.statement-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.statement h2 { color: var(--lime); }
.statement p { font-size: 23px; }
.round-logo { width: min(460px, 100%); border-radius: 50%; justify-self: center; }
.empty-shop { padding: 50px; border: 2px dashed var(--ink); border-radius: var(--radius); text-align: center; background: #fff; }
.collection-showcase-alt { border-top: var(--line); background: var(--blush); }
.summer-shop { background: var(--lime); border-top: var(--line); border-bottom: var(--line); }
.summer-shop .campaign-card-image { background: var(--paper); }
.collection-products .woocommerce { width: 100%; }
.woocommerce .collection-products ul.products { grid-template-columns: repeat(4, 1fr); }
.collection-action { display: flex; justify-content: center; margin-top: 34px; }
.newsletter-section { padding: 90px 0; border-top: var(--line); background: var(--red); color: #fff; }
.newsletter-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.newsletter-section .eyebrow::before { background: var(--lime); }
.newsletter-section h2 { margin: 18px 0 0; font-size: clamp(48px, 6.5vw, 92px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.newsletter-box { padding: 30px; border: 2px solid #fff; border-radius: 26px; background: var(--ink); }
.newsletter-box > p { font-size: 20px; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input[type="email"] { min-height: 54px; border: 2px solid #fff; }
.newsletter-form button { background: var(--lime) !important; color: var(--ink) !important; border-color: var(--lime) !important; }
.newsletter-consent { grid-column: 1 / -1; display: flex; gap: 9px; align-items: flex-start; margin-top: 6px; font-size: 12px; line-height: 1.4; }
.newsletter-consent input { margin-top: 2px; }
.newsletter-consent a { text-decoration: underline; }
.newsletter-honeypot { position: absolute !important; left: -9999px !important; }
.newsletter-message, .newsletter-paused { margin: 14px 0 0; padding: 12px 15px; border-radius: 12px; background: rgba(255,255,255,.12); }

.site-main:not(.front) { width: min(calc(100% - 40px), var(--max)); min-height: 60vh; margin: 60px auto 100px; }
.entry-title, .woocommerce-products-header__title { font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.site-footer { border-top: var(--line); background: var(--blush); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-title { font-size: clamp(38px, 5vw, 70px); line-height: .9; letter-spacing: -.06em; font-weight: 900; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; align-content: start; }
.footer-links strong { margin-bottom: 7px; text-transform: uppercase; }
.copyright { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.3); font-size: 13px; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 18px; border: var(--line); border-radius: 22px; background: #fff; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 18px; border-radius: 14px; background: var(--paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.5em; padding: 0; font-size: 21px; line-height: 1.2; color: var(--ink); }
.woocommerce ul.products li.product .price { margin: 10px 0 16px; color: var(--red); font-size: 19px; font-weight: 900; }
.woocommerce ul.products li.product .button { width: 100%; margin-top: auto; }
.woocommerce span.onsale { background: var(--red); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--red); font-weight: 900; }
.woocommerce div.product div.images img { border-radius: 22px; background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(38px, 5vw, 70px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations { margin-top: 24px; }
.woocommerce div.product form.cart .variations th { padding: 12px 16px 12px 0; text-align: left; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs { padding-top: 40px; }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 28px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.shop-collections { clear: both; margin: 0 0 38px; padding: 22px; border: var(--line); border-radius: 20px; background: var(--blush); }
.shop-collections > strong { display: block; margin-bottom: 12px; text-transform: uppercase; }
.shop-collections > .shop-collections-subtitle { margin-top: 20px; }
.shop-collections > div { display: flex; flex-wrap: wrap; gap: 9px; }
.shop-collections a { padding: 8px 13px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; }
.shop-collections a:hover, .shop-collections a.is-current { background: var(--ink); color: #fff; }
.shop-collections a span { opacity: .6; }
.campaign-archive-head { max-width: 900px; margin-bottom: 42px; }
.campaign-archive-head h1 { margin: 18px 0; font-size: clamp(52px, 8vw, 108px); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.campaign-archive-head p { max-width: 720px; font-size: 21px; }
.opere-archive-hero { position: relative; isolation: isolate; overflow: hidden; width: 100vw; min-height: 680px; margin: -60px 0 58px calc(50% - 50vw); display: flex; align-items: center; border-bottom: var(--line); background: #171511; color: #fff; }
.opere-archive-photo { position: absolute; inset: 0; z-index: -2; background: url('assets/header-opere-v1.webp') center center / cover no-repeat; }
.opere-archive-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,15,24,.98) 0%, rgba(12,15,24,.88) 23%, rgba(12,15,24,.18) 47%, rgba(12,15,24,0) 68%); }
.opere-archive-content { flex: 0 0 auto; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.opere-archive-content h1 { margin: 18px 0; font-size: clamp(76px, 11vw, 168px); line-height: .78; letter-spacing: -.08em; text-transform: uppercase; }
.opere-archive-content p { max-width: 470px; margin-bottom: 30px; font-size: clamp(19px, 2vw, 25px); line-height: 1.3; }
.opere-archive-content .eyebrow::before { background: var(--red); }
.opere-products { scroll-margin-top: 105px; }
.progetto311-archive-hero { position: relative; isolation: isolate; overflow: hidden; width: 100vw; min-height: 680px; margin: -60px 0 58px calc(50% - 50vw); display: flex; align-items: center; border-bottom: var(--line); background: #080b08; color: #fff; }
.progetto311-archive-photo { position: absolute; inset: 0; z-index: -2; background: url('assets/banner-progetto311-v1.webp') center center / cover no-repeat; }
.progetto311-archive-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,6,.98) 0%, rgba(5,8,6,.92) 29%, rgba(5,8,6,.48) 49%, rgba(5,8,6,.05) 72%); }
.progetto311-archive-content { flex: 0 0 auto; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.progetto311-archive-content h1 { margin: 18px 0; color: #f1c313; font-size: clamp(68px, 9vw, 142px); line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
.progetto311-archive-content p { max-width: 510px; margin-bottom: 30px; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.25; }
.progetto311-archive-content .eyebrow::before { background: #f1c313; }
.progetto311-archive-content .progetto311-cta { background: #f1c313; color: #090c09; }
.progetto311-archive-content .button.alt { border-color: #fff; background: rgba(9,12,9,.55); color: #fff; }
.progetto311-products { scroll-margin-top: 105px; }
.storiche-archive-hero { position: relative; isolation: isolate; overflow: hidden; width: 100vw; min-height: 680px; margin: -60px 0 58px calc(50% - 50vw); display: flex; align-items: center; border-bottom: var(--line); background: #17120e; color: #fff; }
.storiche-archive-photo { position: absolute; inset: 0; z-index: -2; background: url('assets/banner-storiche-v1.webp') center center / cover no-repeat; }
.storiche-archive-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,9,8,.98) 0%, rgba(12,9,8,.9) 27%, rgba(12,9,8,.36) 50%, rgba(12,9,8,.03) 73%); }
.storiche-archive-content { flex: 0 0 auto; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.storiche-archive-content h1 { margin: 18px 0; font-size: clamp(68px, 10vw, 154px); line-height: .78; letter-spacing: -.08em; text-transform: uppercase; }
.storiche-archive-content p { max-width: 500px; margin-bottom: 30px; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.25; }
.storiche-archive-content .eyebrow::before { background: var(--red); }
.storiche-products { scroll-margin-top: 105px; }
.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; clear: both; }
.campaign-card { overflow: hidden; display: flex; flex-direction: column; border: var(--line); border-radius: 26px; background: #fff; }
.campaign-card-image { display: block; padding: 14px; background: var(--blush); border-bottom: var(--line); }
.campaign-card-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 16px; }
.campaign-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.campaign-card-kicker { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.campaign-card h2 { margin: 10px 0 20px; font-size: 28px; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.campaign-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; margin-bottom: 18px; }
.campaign-card-meta span { font-size: 14px; }
.campaign-card-meta strong { color: var(--red); }
.campaign-card .button { width: 100%; }
.campaign-back { display: inline-block; margin-bottom: 28px; font-weight: 900; text-transform: uppercase; }
.campaign-type-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: -12px 0 38px; }
.campaign-type-filter a { padding: 9px 14px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; }
.campaign-type-filter a:hover, .campaign-type-filter a.is-current { background: var(--ink); color: #fff; }
input, textarea, select { max-width: 100%; padding: 13px 14px; border: 1px solid #777; border-radius: 8px; background: #fff; font: inherit; }
.quantity { display: inline-flex; align-items: stretch; }
.quantity .minus, .quantity .plus { width: 38px; min-width: 38px; min-height: 42px; padding: 0; border: 1px solid #9a9a9a; border-radius: 0; background: #fff; color: var(--ink); font-size: 20px; font-weight: 800; cursor: pointer; }
.quantity .minus { border-radius: 8px 0 0 8px; }
.quantity .plus { border-radius: 0 8px 8px 0; }
.quantity .qty { width: 52px !important; min-height: 42px; padding: 6px !important; border-width: 1px 0; border-radius: 0; text-align: center; }
.search-form { display: flex; align-items: stretch; gap: 8px; }
.search-form .search-field { min-width: 0; }
.search-form button, .search-form .search-submit { min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }

@media (max-width: 860px) {
  .header-inner { min-height: 70px; }
  .brand span { display: none; }
  .nav a:not(.cart-link):not(.account-link) { display: none; }
  .nav a:first-child { display: inline; }
  .account-link { display: inline-flex; }
  .account-link span { display: none; }
  .header-social { display: none; }
  .nav { gap: 14px; }
  .hero-grid, .statement-inner { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 36px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-consent { grid-column: auto; }
  .hero-grid { min-height: auto; gap: 60px; padding-block: 55px; }
  .hero-summer { background: var(--paper); }
  .hero-summer-photo { position: absolute; inset: 0 0 auto; height: 360px; background-position: 61% center; }
  .hero-summer::after { height: 365px; background: linear-gradient(180deg, rgba(255,250,248,0) 52%, var(--paper) 100%); }
  .hero-summer .hero-grid { display: block; min-height: auto; padding-top: 335px; padding-bottom: 55px; }
  .hero-summer .hero-content { padding-top: 34px; }
  .opere-archive-hero { min-height: 690px; align-items: flex-end; }
  .opere-archive-photo { height: 430px; background-position: 67% center; }
  .opere-archive-hero::after { background: linear-gradient(180deg, rgba(12,15,24,.05) 34%, rgba(12,15,24,.96) 66%, #0c0f18 100%); }
  .opere-archive-content { padding-top: 410px; padding-bottom: 48px; }
  .opere-archive-content h1 { font-size: clamp(62px, 22vw, 96px); }
  .progetto311-archive-hero { min-height: 720px; align-items: flex-end; }
  .progetto311-archive-photo { height: 400px; background-position: 58% center; }
  .progetto311-archive-hero::after { background: linear-gradient(180deg, rgba(5,8,6,.08) 28%, rgba(5,8,6,.94) 59%, #050806 100%); }
  .progetto311-archive-content { padding-top: 370px; padding-bottom: 48px; }
  .progetto311-archive-content h1 { font-size: clamp(58px, 20vw, 88px); }
  .storiche-archive-hero { min-height: 700px; align-items: flex-end; }
  .storiche-archive-photo { height: 410px; background-position: 57% center; }
  .storiche-archive-hero::after { background: linear-gradient(180deg, rgba(12,9,8,.05) 29%, rgba(12,9,8,.92) 59%, #0c0908 100%); }
  .storiche-archive-content { padding-top: 385px; padding-bottom: 48px; }
  .storiche-archive-content h1 { font-size: clamp(58px, 19vw, 88px); }
  .hero-mark img { width: min(360px, 78vw); }
  .summer-collage { width: min(470px, 88vw); height: 470px; }
  .summer-badge { right: -1%; width: 94px; height: 94px; font-size: 12px; }
  .cards, .woocommerce ul.products { grid-template-columns: 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
  .woocommerce .collection-products ul.products { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-intro { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticker { width: 90px; height: 90px; right: -4px; }
}
