/* Italian luxury streetwear identity: monochrome black, white & sleek modern architectural styling. */
body[data-category] .collection-intro { margin-bottom: 36px; }
body[data-category] .collection-intro h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #111;
}
body[data-category] .collection-description {
  max-width: 900px;
  margin: 14px 0;
  line-height: 1.8;
  color: #52525b;
}
body[data-category] .collection-related nav > div {
  border: 1px solid #ddd;
  background: #f8f8fa;
  padding: 20px;
}
body[data-category] .collection-related h3 a {
  display: inline-block;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body[data-category] .collection-related nav p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #52525b;
}
:root {
  --it-paper: #ffffff;
  --it-dark: #000000;
  --it-ink: #0a0a0a;
  --it-line: #e5e5e7;
  --it-muted: #666666;
}
body {
  background: var(--it-paper) !important;
  color: var(--it-ink);
}
body > header {
  border-bottom: 1px solid var(--it-line);
}
main > h1:first-child:has(+ .it-hero),
main:not(.it-page):not(.it-commerce):not(.category-layout) > h1:first-child {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.13em;
  color: #333333 !important;
  padding: 15px 24px !important;
}

/* Hero section */
.it-hero {
  position: relative;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1512px;
  margin: 0 auto 32px;
  background: #0a0a0a;
  color: #ffffff;
  min-height: 570px;
  border-radius: 0 0 16px 16px;
}
.it-hero-copy {
  padding: clamp(28px, 5vw, 74px);
}
.it-hero h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 88px);
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-transform: none;
  color: #ffffff;
}
.it-hero h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #f0f0f0;
  letter-spacing: -0.05em;
}
.it-hero-copy > p:not(.it-eyebrow) {
  color: #d4d4d8;
  font-size: 16px;
  max-width: 390px;
}
.it-hero .it-eyebrow {
  color: #ffffff;
  letter-spacing: 0.15em;
}
.it-hero .it-button {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000 !important;
  border-radius: 4px;
  font-weight: 700;
}
.it-hero .it-button:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}
.it-hero .it-button-light {
  background: transparent;
  color: #ffffff !important;
  border-color: #52525b;
  border-radius: 4px;
}
.it-hero .it-button-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
.it-hero-media {
  gap: 16px;
  padding: 55px 32px 55px 0;
  align-items: center;
}
.it-hero-media a {
  padding: 16px;
  background: #18181b;
  border-radius: 12px;
  color: #ffffff;
  border: 1px solid #27272a;
}
.it-hero-media a:first-child {
  transform: translateY(-28px);
}
.it-hero-media a:last-child {
  transform: translateY(32px);
}
.it-hero-media img {
  aspect-ratio: 3/4;
  mix-blend-mode: normal;
  background: #f8f8fa;
  border-radius: 6px;
}
.it-hero-media span {
  font-weight: 700;
  font-size: 10px;
  line-height: 1.7;
  padding: 8px 2px;
  color: #a1a1aa;
}

.it-edit-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--it-line);
}
.it-edit-note p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 580px;
  color: #52525b;
}
.it-edit-note strong {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #000000;
}

[data-home-products] > article,
#category-grid > article {
  border: 1px solid #e5e5e7 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}
[data-home-products] > article:hover,
#category-grid > article:hover {
  border-color: #000000 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}
[data-home-products] > article > div:first-child,
#category-grid > article > div:first-child {
  background: #f8f8fa !important;
  border-radius: 5px 5px 0 0 !important;
}
[data-home-products] article h2,
#category-grid article h2 {
  font-family: 'Hanken Grotesk', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
[data-home-products] article img,
#category-grid article img {
  mix-blend-mode: multiply;
}

main section[id] > div > div > h2,
.collection-header h1,
.it-commerce h1,
.it-page h1 {
  font-family: 'Space Grotesk', sans-serif !important;
  text-transform: none !important;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.collection-header {
  padding: 32px;
  border-radius: 12px;
  background: #f4f4f6;
  margin-bottom: 24px;
}
.collection-header > h1 {
  margin-top: 18px;
}
.collection-categories a {
  border-radius: 20px;
  background: #f0f0f2;
  color: #111111;
  transition: all 0.15s ease;
}
.collection-categories a[aria-current=page],
.collection-categories a:hover {
  background: #000000;
  color: #ffffff;
}

.it-button {
  background: #000000;
  border-color: #000000;
  color: #ffffff !important;
  border-radius: 4px;
}
.it-button:hover {
  background: #27272a;
  border-color: #27272a;
}
.it-button-light {
  background: transparent;
  color: #000000 !important;
  border-color: #000000;
}
.it-button-light:hover {
  background: #000000;
  color: #ffffff !important;
}

.it-product-image {
  background: #f8f8fa;
  border-radius: 12px;
}
.it-notice {
  background: #f4f4f6;
  border-radius: 8px;
}
.it-price {
  color: #000000;
  font-weight: 700;
}

/* ===================================================
   FOOTER: PURE BLACK BACKGROUND & 100% WHITE TEXT
   =================================================== */
.it-footer {
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  margin-top: 48px;
  padding: 64px max(24px, 5vw) 28px !important;
}
.it-footer h2 {
  font-family: 'Space Grotesk', Anton, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  font-size: 28px;
}
.it-footer h3 {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff !important;
  text-transform: uppercase;
}
.it-footer p,
.it-footer strong,
.it-footer span {
  font-size: 13px;
  line-height: 1.8;
  color: #ffffff !important;
  margin: 14px 0;
}
.it-footer a,
.it-footer nav > a {
  font-size: 13px;
  color: #ffffff !important;
  display: block;
  margin: 10px 0;
  text-decoration: none;
  transition: opacity 0.15s ease, text-decoration 0.15s ease;
}
.it-footer a:hover,
.it-footer nav > a:hover {
  color: #e4e4e7 !important;
  text-decoration: underline !important;
}
.it-footer-bottom {
  max-width: 1480px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #27272a !important;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #ffffff !important;
}
.it-footer-bottom span,
.it-footer-bottom nav > a {
  color: #ffffff !important;
  font-size: 12px;
  margin: 0;
}
.it-footer-bottom nav > a:hover {
  text-decoration: underline !important;
}

/* Legal and support layouts */
.it-legal {
  max-width: 1260px;
}
.policy-heading {
  max-width: 860px;
  padding: 24px 0 32px;
}
.it-legal-date {
  font-size: 12px !important;
  letter-spacing: 0.02em;
}
.it-legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  border-top: 1px solid var(--it-line);
  padding-top: 32px;
}
.it-legal-toc {
  align-self: start;
  position: sticky;
  top: calc(var(--store-header-height, 150px) + 24px);
  padding: 24px;
  background: #f4f4f6;
  border-radius: 10px;
}
.it-legal-toc strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: #000000;
}
.it-legal-toc a {
  display: block;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.5;
  margin: 15px 0;
  color: #18181b;
}
.it-legal-toc a:hover {
  text-decoration: underline !important;
}
.it-legal-content {
  min-width: 0;
}
.it-legal-content > section {
  padding: 0 0 24px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--it-line);
  scroll-margin-top: calc(var(--store-header-height, 150px) + 24px);
}
.it-legal-content h2 {
  margin: 0 0 14px;
  font-size: 23px;
  letter-spacing: -0.025em;
  color: #0a0a0a;
}
.it-legal-content p {
  font-size: 15px;
  line-height: 1.85;
  color: #3f3f46;
}
.it-legal-draft {
  padding: 20px;
  border-left: 3px solid #000000;
  background: #f4f4f6;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.it-legal-draft > strong {
  font-size: 13px;
  color: #000000;
}
.it-legal-draft p {
  font-size: 13px;
  margin-bottom: 0;
}
.it-withdrawal {
  padding: 24px;
  background: #f4f4f6;
  line-height: 1.9;
  font-size: 14px;
  border-radius: 8px;
}
.it-legal-table {
  overflow-x: auto;
}
.it-legal-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.7;
}
.it-legal-table caption {
  text-align: left;
  padding-bottom: 16px;
  font-weight: 600;
}
.it-legal-table th,
.it-legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid var(--it-line);
}
.it-legal-table th {
  background: #f4f4f6;
  color: #000000;
}
.it-legal-table td:first-child {
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

@media (min-width: 1600px) {
  .it-hero {
    border-radius: 16px;
  }
}
@media (max-width: 900px) {
  .it-hero {
    min-height: 480px;
  }
  .it-hero-media {
    gap: 10px;
    padding-right: 20px;
  }
  .it-legal-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .it-hero {
    grid-template-columns: 1fr;
    margin: 0 12px 20px;
    border-radius: 12px;
    min-height: 0;
  }
  .it-hero-copy {
    padding: 30px 24px 18px;
  }
  .it-hero h2 {
    font-size: 44px;
  }
  .it-hero-media {
    padding: 20px 24px 40px;
  }
  .it-hero-media a {
    padding: 10px;
    border-radius: 8px;
  }
  .it-hero-media a:first-child {
    transform: translateY(0);
  }
  .it-hero-media a:last-child {
    transform: translateY(12px);
  }
  .it-hero-media img {
    aspect-ratio: 1;
  }
  .it-edit-note {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  .it-legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .it-legal-toc {
    position: static;
  }
  .collection-header {
    padding: 22px 18px;
  }
  .it-legal-content h2 {
    font-size: 22px;
  }
  .it-hero-actions .it-button {
    font-size: 10px;
    padding: 13px 16px;
  }
  .it-footer {
    padding: 44px 20px 24px !important;
  }
  .it-footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Keep flexible content inside its grid track on tablets and narrow phones. */
.home-source-content h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
  margin: 40px 0 20px;
}
.home-source-content > h2:first-child { margin-top: 0; }
.home-source-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.home-source-content p { line-height: 1.8; color: #505050; margin: 14px 0; }
.home-category-link { display: inline-block; padding: 8px 0; color: #111; text-decoration: underline; text-underline-offset: 4px; }
#faqs summary h3 { display: inline; font: inherit; }
.it-product-grid > *, .it-checkout-grid > *, .it-footer-grid > *,
.it-hero > *, .it-hero-media > * { min-width: 0; }
.it-product-copy h1, .it-summary-item h3 { overflow-wrap: anywhere; }
.it-thumbs { max-width: 100%; }
[data-wishlist], .it-quantity button { min-width: 44px; min-height: 44px; }
[data-wishlist][aria-pressed="true"] { background: #111; color: #fff; }
.gallery-thumb[aria-pressed="true"] { border: 2px solid #111; }
.it-footer :focus-visible, .it-hero :focus-visible,
#site-footer :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
html { scroll-padding-top: calc(var(--store-header-height, 150px) + 20px); }
@media (max-width: 900px) {
  .it-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .it-checkout-grid > aside { order: -1; }
}
@media (max-width: 640px) {
  .it-form input:not([type=checkbox]), .it-form select, .it-form textarea,
  .collection-toolbar input, .collection-toolbar select,
  #mobile-header-search { font-size: 16px; }
  .it-hero h2 { font-size: clamp(34px, 10vw, 44px); }
  .it-hero-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-hero-media span { overflow-wrap: anywhere; }
}
