@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@500;600;800&display=swap");
/* dima’studio — Homepage catalogo v4 / solo anteprima locale.
 * Layout: sidebar categorie + griglia 3 colonne desktop, 2 colonne mobile.
 * Le copertine originali sono l'unica immagine delle card. Nessun fondino. */
:root{--ink:#252525;--muted:#676767;--line:#e5e5e5;--brand:#39825d;--max:1200px;color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;line-height:1.45}
a{color:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
button,input{font:inherit}
[hidden]{display:none!important}
.wrap{width:min(calc(100% - 72px),var(--max));margin:auto}
.skip{position:absolute;left:-999px;top:0}
.skip:focus{left:12px;top:12px;padding:12px;background:#fff;z-index:20}
.preview-flag{color:#565656;font-size:11px;padding:8px 16px;text-align:center;border-bottom:1px solid var(--line);letter-spacing:.06em}
.header{border-bottom:1px solid var(--line)}
.header-row{min-height:110px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.logo{display:block}.logo img{width:243px;max-width:100%;height:auto;display:block}
.lang{display:flex;gap:12px;align-items:center;white-space:nowrap;font-size:13px}
.lang a{text-decoration:none;color:#888}.lang a[aria-current=page]{color:var(--ink);font-weight:700}.lang .sep{color:#c5c5c5}
.catalog{padding:37px 0 85px}
.catalog-shell{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:39px;align-items:start}
.sidebar{border-right:1px solid var(--line);padding-right:24px;min-width:0;align-self:stretch}
.category-nav{position:sticky;top:18px}
.category-label{text-transform:uppercase;letter-spacing:.095em;font-size:11px;font-weight:700;color:#666;margin:3px 0 18px}
.all-products,.subcategory-list button{appearance:none;border:0;text-align:left;cursor:pointer;width:100%;background:transparent;color:#3d3d3d;display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.all-products{font-size:14px;padding:10px 0 15px;border-bottom:1px solid var(--line)}
.all-products.active{font-weight:700;color:var(--brand)}
.category-group{border-bottom:1px solid var(--line)}
.category-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;line-height:1.3;padding:16px 0;user-select:none}
.category-group summary::-webkit-details-marker{display:none}
.category-group summary::marker{content:""}
.category-group[open] summary{font-weight:700}
.category-group summary:hover,.subcategory-list button:hover,.all-products:hover{color:var(--brand)}
.summary-right{display:inline-flex;align-items:center;gap:13px;flex-shrink:0}
.nav-count{font-size:11px;font-weight:400;color:#8d8d8d;white-space:nowrap}
.chevron{width:7px;height:7px;display:inline-block;border-bottom:1px solid #777;border-right:1px solid #777;transform:rotate(45deg);transition:transform .15s}
.category-group[open] .chevron{transform:rotate(225deg)}
.subcategory-list{padding:0 0 15px 11px;border-left:1px solid var(--line);margin-left:1px}
.subcategory-list button{padding:8px 4px 8px 12px;font-size:12.5px;line-height:1.35}
.subcategory-list button[aria-pressed="true"]{color:var(--brand);font-weight:700}
.sub-empty{font-size:12px;color:#888;display:block;padding:6px 12px}
.catalog-content{min-width:0}
.catalog-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 16px}
.catalog h1{font-size:28px;letter-spacing:-.035em;font-weight:600;line-height:1.2;margin:0}
.count{font-size:13px;color:var(--muted);white-space:nowrap}
.bar{display:flex;justify-content:flex-end;border-bottom:1px solid var(--line);padding:0 0 16px;margin:0 0 34px}
.search{position:relative;display:block;width:205px;max-width:100%}
.search input{display:block;width:100%;border:0;border-bottom:1px solid #c6c6c6;border-radius:0;background:transparent;height:34px;padding:0 25px 0 0;color:var(--ink);font-size:13px;outline:none}
.search input:focus{border-color:var(--brand)}
.search::after{content:'⌕';pointer-events:none;position:absolute;right:1px;top:-3px;color:#777;font-size:26px;font-family:serif}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:54px 27px}
.product{min-width:0}
.image-link{text-decoration:none;display:flex;justify-content:center;align-items:center;height:240px;margin-bottom:15px}
.cover-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transition:transform .18s}
.image-link:hover .cover-image{transform:translateY(-3px)}
.cover-image[hidden]{display:none}
.image-link.unavailable{border:1px dashed #d7d7d7;color:#888;font-size:12px;text-align:center;line-height:1.5;padding:20px}
.image-link.unavailable::after{content:attr(data-no-cover);max-width:140px}
.product h2{font-size:17px;line-height:1.25;font-weight:600;letter-spacing:-.02em;margin:0 0 7px}
.product h2 a{text-decoration:none}.product h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.excerpt{font-size:13px;line-height:1.5;color:#666;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.product-meta{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price{font-size:19px;letter-spacing:-.01em;font-weight:700;color:var(--ink)}.price.no-price{font-size:13px;font-weight:500}
.format{font-size:10px;color:#787878;letter-spacing:.06em;text-transform:uppercase}
.badge{display:inline-block;color:#fff;background:#ba3329;padding:3px 6px;font-weight:600;font-size:11px}
.old-price{text-decoration:line-through;color:#888;font-size:12px}
.empty{padding:30px 0;color:var(--muted);font-size:14px}
.site-note{margin:50px 0 0;font-size:12px;color:#777}
.footer{border-top:1px solid var(--line);padding:27px 0 40px}
.footer-in{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.footer p{color:#737373;font-size:12px;margin:0}.footer nav{display:flex;gap:20px}.footer a{font-size:12px;color:#555}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:1020px){.catalog-shell{grid-template-columns:195px minmax(0,1fr);column-gap:27px}.sidebar{padding-right:17px}.grid{column-gap:20px}.image-link{height:215px}.product h2{font-size:16px}}
@media(max-width:760px){.wrap{width:min(calc(100% - 32px),var(--max))}.header-row{min-height:88px}.logo img{width:190px}.catalog{padding:24px 0 58px}.catalog-shell{grid-template-columns:minmax(0,1fr);row-gap:26px}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 15px}.category-nav{position:static}.category-label{margin:0 0 8px}.all-products{padding:8px 0 12px}.category-group summary{padding:12px 0}.subcategory-list{padding-bottom:10px}.catalog h1{font-size:23px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:39px 20px}.image-link{height:215px}}
@media(max-width:460px){.catalog-head{align-items:center;gap:10px}.catalog h1{font-size:21px}.count{font-size:11px}.bar{margin-bottom:25px}.search{width:100%}.grid{column-gap:14px;row-gap:36px}.image-link{height:182px;margin-bottom:11px}.product h2{font-size:15px}.excerpt{font-size:12px;min-height:0}.price{font-size:17px}.price.no-price{font-size:12px}.format{font-size:9px}}
@media(max-width:360px){.logo img{width:167px}.image-link{height:162px}.grid{column-gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cover-image,.chevron{transition:none}}

/* ===== dima’studio v4 — typography refinement 2026-10-21 ===== */
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.5;
  color:#202020;
}

.catalog-shell{
  grid-template-columns:245px minmax(0,1fr);
  column-gap:36px;
}

.sidebar{
  padding-right:28px;
}

.category-label{
  font-size:13px;
  letter-spacing:.08em;
  color:#555;
  margin:4px 0 20px;
}

.all-products{
  font-size:18px;
  line-height:1.35;
  padding:12px 0 18px;
}

.category-group summary{
  font-size:18px;
  line-height:1.35;
  padding:17px 0;
  font-weight:500;
}

.category-group[open] summary{
  font-weight:700;
}

.summary-right{
  gap:11px;
}

.nav-count{
  font-size:13px;
  color:#8a8a8a;
}

.subcategory-list{
  padding:4px 0 16px 14px;
}

.subcategory-list button{
  font-size:15px;
  line-height:1.45;
  padding:8px 4px 8px 12px;
}

.sub-empty{
  font-size:14px;
  padding:6px 12px 8px;
}

.catalog h1{
  font-size:34px;
  font-weight:600;
  letter-spacing:-.035em;
}

.count{
  font-size:15px;
}

.search{
  width:240px;
}

.search input{
  font-size:14px;
  height:38px;
}

.grid{
  gap:58px 28px;
}

.image-link{
  height:250px;
  margin-bottom:18px;
}

.cover-image{
  border: 1px solid rgba(0, 0, 0, .12) !important;
  border-radius: 2px !important;
}

.product h2{
  font-size:18px;
  line-height:1.24;
  font-weight:600;
  margin:0 0 9px;
}

.excerpt{
  font-size:14px;
  line-height:1.52;
  color:#626262;
  margin:0 0 14px;
  min-height:43px;
}

.price{
  font-size:22px;
  font-weight:700;
}

.price.no-price{
  font-size:14px;
}

.format{
  font-size:11px;
}

.badge{
  font-size:12px;
  padding:4px 7px;
}

.old-price{
  font-size:13px;
}

@media (max-width:1020px){
  .catalog-shell{
    grid-template-columns:220px minmax(0,1fr);
    column-gap:28px;
  }

  .all-products,
  .category-group summary{
    font-size:16px;
  }

  .subcategory-list button{
    font-size:14px;
  }

  .catalog h1{
    font-size:30px;
  }

  .image-link{
    height:230px;
  }
}

@media (max-width:760px){
  .catalog-shell{
    grid-template-columns:minmax(0,1fr);
    row-gap:24px;
  }

  .sidebar{
    padding-right:0;
    padding-bottom:16px;
  }

  .category-label{
    font-size:12px;
  }

  .all-products,
  .category-group summary{
    font-size:17px;
  }

  .subcategory-list button{
    font-size:15px;
  }

  .catalog h1{
    font-size:28px;
  }

  .grid{
    gap:42px 20px;
  }

  .image-link{
    height:220px;
  }
}

@media (max-width:460px){
  .catalog h1{
    font-size:25px;
  }

  .all-products,
  .category-group summary{
    font-size:16px;
  }

  .subcategory-list button{
    font-size:14px;
  }

  .image-link{
    height:188px;
    margin-bottom:13px;
  }

  .product h2{
    font-size:16px;
  }

  .excerpt{
    font-size:13px;
    min-height:0;
  }

  .price{
    font-size:19px;
  }
}
/* ===== end refinement ===== */


/* DIMASTUDIO_V4_LEFT_ALIGNMENT */
.image-link {
    justify-content: flex-start;
}

.cover-image {
    margin-left: 0;
    margin-right: auto;
}

.product {
    text-align: left;
}
/* END DIMASTUDIO_V4_LEFT_ALIGNMENT */


/* DIMASTUDIO_V4_MERRIWEATHER_MATCH */

/* Titoli dei prodotti */
.product h2 {
    font-family: "Merriweather", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    color: #464852;
}

/* Prezzo attuale */
.price:not(.no-price) {
    font-family: "Merriweather", Georgia, serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    color: #e53935;
}

/* Prezzo precedente */
.old-price {
    font-family: "Merriweather", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
    color: #777777;
}

/* Adattamento tablet */
@media (max-width: 760px) {
    .product h2 {
        font-size: 19px;
    }

    .price:not(.no-price) {
        font-size: 25px;
    }

    .old-price {
        font-size: 15px;
    }
}

/* Adattamento smartphone */
@media (max-width: 460px) {
    .product h2 {
        font-size: 17px;
    }

    .price:not(.no-price) {
        font-size: 22px;
    }

    .old-price {
        font-size: 14px;
    }
}

/* END DIMASTUDIO_V4_MERRIWEATHER_MATCH */


/* DIMASTUDIO_V4_EXCERPT_PLUS_2PX */
.excerpt {
    font-size: 16px;
}

@media (max-width: 460px) {
    .excerpt {
        font-size: 15px;
    }
}
/* END DIMASTUDIO_V4_EXCERPT_PLUS_2PX */


/* DIMASTUDIO_V4_RALEWAY */

:root {
    --font-copy: "Raleway", Arial, sans-serif;
}

/* Sommari prodotti */
.excerpt {
    font-family: var(--font-copy);
    font-weight: 400;
}

/* Menu laterale e sottocategorie */
.sidebar {
    font-family: var(--font-copy);
}

/* Predisposizione per future schede prodotto:
   utilizzare var(--font-copy) per i testi.
   Merriweather resta per titoli e prezzi. */

/* END DIMASTUDIO_V4_RALEWAY */


/* DIMASTUDIO_V4_BODY_TEXT_14_21 */

/* Testi generali */
body {
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    line-height: 21px;
}

/* Sommari prodotti: desktop e mobile */
.product .excerpt {
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    line-height: 21px;
}

/* END DIMASTUDIO_V4_BODY_TEXT_14_21 */


/* DIMASTUDIO_V4_COVERS_190PX */

.image-link {
    height: 295px;
    align-items: flex-start;
    justify-content: flex-start;
}

.cover-image {
    width: 190px;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 760px) {
    .image-link {
        height: 245px;
    }
}

@media (max-width: 460px) {
    .image-link {
        height: 215px;
    }
}

/* END DIMASTUDIO_V4_COVERS_190PX */


/* DIMASTUDIO_V4_TITLES_MINUS_4PX */

.product h2 {
    font-size: 18px;
}

@media (max-width: 760px) {
    .product h2 {
        font-size: 15px;
    }
}

@media (max-width: 460px) {
    .product h2 {
        font-size: 13px;
    }
}

/* END DIMASTUDIO_V4_TITLES_MINUS_4PX */



/* DIMASTUDIO_V4_PROMO_LAYOUT */

.promo-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:2px 0 8px;
}

.promo-row .badge{
  display:inline-block;
  color:#fff;
  background:#e43d30;
  padding:4px 9px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  border-radius:2px;
}

.discount{
  color:#e43d30;
  font-family:"Raleway", Arial, sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1;
}

.product-meta{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.old-price{
  text-decoration:line-through;
  color:#777;
  font-family:"Merriweather", Georgia, serif;
  font-size:18px;
  font-weight:600;
  line-height:1.05;
}

.format{
  display:none !important;
}

@media (max-width:760px){
  .promo-row .badge{font-size:11px;padding:4px 8px}
  .discount{font-size:13px}
  .old-price{font-size:16px}
}

@media (max-width:460px){
  .promo-row{gap:8px;margin:2px 0 7px}
  .promo-row .badge{font-size:10px;padding:4px 7px}
  .discount{font-size:12px}
  .old-price{font-size:14px}
}

/* END DIMASTUDIO_V4_PROMO_LAYOUT */


/* DIMASTUDIO_V4_CATALOG_TITLE_MERRIWEATHER */
.catalog h1 {
    font-family: "Merriweather", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}
/* END DIMASTUDIO_V4_CATALOG_TITLE_MERRIWEATHER */


/* DIMASTUDIO_V4_CATALOG_TITLE_MINUS_6PX */

.catalog h1 {
    font-size: 28px;
}

@media (max-width: 1020px) {
    .catalog h1 { font-size: 24px; }
}

@media (max-width: 760px) {
    .catalog h1 { font-size: 22px; }
}

@media (max-width: 460px) {
    .catalog h1 { font-size: 19px; }
}

/* END DIMASTUDIO_V4_CATALOG_TITLE_MINUS_6PX */


/* DIMASTUDIO_V4_SIDEBAR_MERRIWEATHER */

.sidebar,
.sidebar .category-label,
.sidebar .all-products,
.sidebar .category-group summary,
.sidebar .subcategory-list button,
.sidebar .sub-empty,
.sidebar .nav-count {
    font-family: "Merriweather", Georgia, serif;
}

/* END DIMASTUDIO_V4_SIDEBAR_MERRIWEATHER */


/* DIMASTUDIO_SQUARE_PRODUCT_IMAGES_V2 */

/* Immagini quadrate: App & File e Strumenti creativi */

.product[data-category="apps"] .image-link,
.product[data-category="tools"] .image-link {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    padding: 0;
    overflow: hidden;
}

.product[data-category="apps"] .cover-image,
.product[data-category="tools"] .cover-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, .12) !important;
    border-radius: 2px !important;
}

/* END DIMASTUDIO_SQUARE_PRODUCT_IMAGES_V2 */



/* DIMASTUDIO_PRICE_NOTES_V1 */
.price-extra{
  margin-top:6px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
}
.price-extra .format-note,
.price-extra .paper-note{
  font-family:"Merriweather",Georgia,serif;
  font-size:11px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:.02em;
  color:#777;
}
@media(max-width:760px){
  .price-extra .format-note,
  .price-extra .paper-note{
    font-size:10px;
  }
}
/* END DIMASTUDIO_PRICE_NOTES_V1 */
