/* PLP luxury — ispirato a Prada category page */

body.urbs-plp-page {
    background: #fff;
}

body.urbs-plp-page .site-main,
body.urbs-plp-page #content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}

body.urbs-plp-page .page-header,
body.urbs-plp-page .entry-header {
    display: none;
}

body.urbs-plp-page .site-header {
    padding: 0 !important;
    margin: 0 !important;
}

.urbs-plp {
    font-family: 'Afacad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000;
    background: #fff;
    padding-bottom: 80px;
    margin-top: 0;
}

.urbs-plp__intro {
    padding: 16px 24px 12px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.urbs-plp__breadcrumb {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

.urbs-plp__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* Collezioni in evidenza */
.urbs-plp__collections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    max-width: 1440px;
    margin: 8px auto 2px;
    padding: 0 24px;
}

.urbs-plp__collection-card {
    position: relative;
    display: block;
    border: 0;
    padding: 0;
    background: #f4f4f4;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.urbs-plp__collection-media {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.urbs-plp__collection-card:hover .urbs-plp__collection-media,
.urbs-plp__collection-card:focus-visible .urbs-plp__collection-media {
    transform: scale(1.03);
}

.urbs-plp__collection-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* Toolbar sticky */
.urbs-plp__toolbar {
    position: sticky;
    top: var(--urbs-header-offset, var(--urbs-menu-height, 60px));
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    backdrop-filter: blur(8px);
}

.urbs-plp__count {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
}

.urbs-plp__tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.urbs-plp__tool-btn {
    border: 0;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.urbs-plp__sort select {
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
    padding: 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23000' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 16px;
}

/* Chips filtro rapido */
.urbs-plp__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 24px;
    scrollbar-width: none;
}

.urbs-plp__chips::-webkit-scrollbar {
    display: none;
}

.urbs-plp__chip {
    flex: 0 0 auto;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.urbs-plp__chip.is-active,
.urbs-plp__chip:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Griglia prodotti */
.urbs-plp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.urbs-plp__card {
    background: #f6f6f6;
}

.urbs-plp__card.is-hidden {
    display: none;
}

.urbs-plp__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.urbs-plp__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.35s ease;
}

.urbs-plp__promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

.urbs-plp__card-price--sale del {
    color: #888;
    margin-right: 6px;
}

.urbs-plp__card-price--sale ins {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.urbs-plp__card-body {
    padding: 16px 14px 20px;
    background: #fff;
    min-height: 88px;
}

.urbs-plp__card-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.urbs-plp__card-price {
    margin: 0;
    font-size: 13px;
    color: #111;
}

/* Mostra altro */
.urbs-plp__more-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 24px 0;
}

.urbs-plp__more {
    border: 1px solid #000;
    background: #000;
    color: #fff;
    padding: 14px 48px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.urbs-plp__more:hover {
    background: #fff;
    color: #000;
}

.urbs-plp__more[hidden] {
    display: none;
}

.urbs-plp__empty {
    text-align: center;
    padding: 64px 24px;
    color: #666;
}

.urbs-plp__empty[hidden] {
    display: none;
}

/* Editorial + SEO */
.urbs-plp__editorial,
.urbs-plp__seo {
    max-width: 720px;
    margin: 64px auto 0;
    padding: 0 24px;
    text-align: center;
}

.urbs-plp__editorial h2,
.urbs-plp__seo h2 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.urbs-plp__editorial p,
.urbs-plp__seo p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.urbs-plp__editorial-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.urbs-plp__seo {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #eee;
}

/* Pannello filtri mobile */
.urbs-plp__filters-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000003;
}

.urbs-plp__filters-backdrop[hidden] {
    display: none;
}

.urbs-plp__filters-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 380px);
    height: 100dvh;
    background: #fff;
    z-index: 10000004;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.urbs-plp__filters-panel.is-open {
    transform: translateX(0);
}

.urbs-plp__filters-panel[hidden] {
    display: flex;
}

.urbs-plp__filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.urbs-plp__filters-head h2 {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.urbs-plp__filters-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.urbs-plp__filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.urbs-plp__filter-group {
    border: 0;
    margin: 0;
    padding: 0;
}

.urbs-plp__filter-group legend {
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.urbs-plp__filter-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
}

.urbs-plp__filters-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #eee;
}

.urbs-plp__filters-reset,
.urbs-plp__filters-apply {
    border: 1px solid #000;
    background: #fff;
    padding: 12px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.urbs-plp__filters-apply {
    background: #000;
    color: #fff;
}

@media (max-width: 1024px) {
    .urbs-plp__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .urbs-plp__collections {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .urbs-plp__intro {
        padding: 10px 16px 8px;
    }

    .urbs-plp__collections {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 8px;
    }

    .urbs-plp__collection-card {
        aspect-ratio: 16 / 9;
    }

    .urbs-plp__toolbar {
        padding: 12px 16px;
    }

    .urbs-plp__chips {
        padding: 12px 16px;
    }

    .urbs-plp__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5px;
        padding: 0;
    }

    .urbs-plp__card-body {
        padding: 8px 8px 10px;
        min-height: 0;
    }

    .urbs-plp__card-title {
        margin-bottom: 4px;
    }

    .urbs-plp__card-title,
    .urbs-plp__card-price {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    .urbs-plp__filters-panel {
        position: static;
        width: auto;
        height: auto;
        transform: none;
        display: none !important;
    }

    .urbs-plp__filters-backdrop {
        display: none !important;
    }
}

/* Landing T-shirt — hero editoriale + card raggruppate */
.urbs-tshirt-story {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 24px 0;
}

.urbs-tshirt-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #ececec;
}

.urbs-tshirt-story__copy {
    max-width: 620px;
}

.urbs-tshirt-story__promo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #f7f7f7;
    border: 1px solid #ececec;
}

.urbs-tshirt-story__promo-badge {
    flex-shrink: 0;
    padding: 6px 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
}

.urbs-tshirt-story__promo-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.urbs-tshirt-story__title {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.urbs-tshirt-story__lead {
    margin: 0 0 14px;
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.55;
    color: #111;
}

.urbs-tshirt-story__body {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #555;
}

.urbs-tshirt-story__visual {
    position: relative;
    min-height: 420px;
}

.urbs-tshirt-story__figure {
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.urbs-tshirt-story__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.urbs-tshirt-story__figure--main {
    aspect-ratio: 4 / 5;
    max-width: 78%;
    margin-left: auto;
}

.urbs-tshirt-story__figure--accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 3 / 4;
    border: 6px solid #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.urbs-tshirt-story__pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 36px 0 28px;
}

.urbs-tshirt-story__pillar-title {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #111;
}

.urbs-tshirt-story__pillar p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.urbs-plp--tshirt-landing .urbs-plp__lead {
    margin: 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.urbs-plp--tshirt-landing .urbs-plp__promo-note {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

.urbs-plp--tshirt-landing .urbs-plp__promo-note strong {
    color: #d32f2f;
    font-family: monospace;
    letter-spacing: 0.04em;
}

.urbs-plp__card--grouped {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.urbs-plp__card--grouped .urbs-plp__card-link {
    height: auto;
}

.urbs-plp__card--grouped .urbs-plp__card-body {
    min-height: auto;
    padding: 14px 14px 18px;
    background: #fff;
}

.urbs-plp__card-collection {
    margin: 0 0 4px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
}

.urbs-plp__card--grouped .urbs-plp__card-title {
    margin-bottom: 8px;
}

.urbs-plp__card--grouped .urbs-plp__card-title a,
.urbs-plp__card--grouped .urbs-plp__card-title a:visited,
.urbs-plp__card--grouped .urbs-plp__card-title a:hover {
    color: #111 !important;
    text-decoration: none !important;
}

.urbs-plp__card-color-note {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

.urbs-plp__color-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
}

.urbs-plp__color-dot {
    appearance: none;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.urbs-plp__color-dot--bianca,
.urbs-plp__color-dot--default {
    background: #fff;
}

.urbs-plp__color-dot--nera {
    background: #111;
    border-color: #111;
}

.urbs-plp__color-dot--blu {
    background: #1e3a8a;
    border-color: #1e3a8a;
}

.urbs-plp__color-dot--verde {
    background: #166534;
    border-color: #166534;
}

.urbs-plp__color-dot--rosa {
    background: #db2777;
    border-color: #db2777;
}

.urbs-plp__color-dot--arancione {
    background: #ea580c;
    border-color: #ea580c;
}

.urbs-plp__color-dot--gialla {
    background: #ca8a04;
    border-color: #ca8a04;
}

.urbs-plp__color-dot--azzurra {
    background: #0284c7;
    border-color: #0284c7;
}

.urbs-plp__color-dot.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111;
}

.urbs-plp__color-dot:not(.is-static):hover {
    transform: scale(1.08);
}

.urbs-plp__color-dot.is-static {
    cursor: default;
}

.urbs-plp__card-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.urbs-plp__card-cta:hover {
    opacity: 0.7;
}

/* Landing T-shirt — mobile */
@media (max-width: 768px) {
    .urbs-plp--tshirt-landing {
        padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    }

    .urbs-tshirt-story {
        padding: 10px 16px 0;
    }

    .urbs-tshirt-story__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 22px;
    }

    .urbs-tshirt-story__visual {
        order: -1;
        min-height: 0;
        margin: 0 -16px;
    }

    .urbs-tshirt-story__figure--main {
        max-width: 100%;
        margin: 0;
        aspect-ratio: 5 / 6;
    }

    .urbs-tshirt-story__figure--accent {
        display: none;
    }

    .urbs-tshirt-story__promo {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
        padding: 10px 12px;
    }

    .urbs-tshirt-story__promo-text {
        font-size: 12px;
        line-height: 1.45;
    }

    .urbs-tshirt-story__title {
        margin-bottom: 12px;
        font-size: clamp(30px, 8.5vw, 40px);
    }

    .urbs-tshirt-story__lead {
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 1.5;
    }

    .urbs-tshirt-story__body {
        font-size: 14px;
        line-height: 1.65;
    }

    .urbs-tshirt-story__pillars {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 0 16px;
        border-top: 1px solid #ececec;
    }

    .urbs-tshirt-story__pillar p {
        font-size: 13px;
    }

    .urbs-plp--tshirt-landing .urbs-plp__chips {
        position: sticky;
        top: var(--urbs-header-offset, var(--urbs-menu-height, 56px));
        z-index: 18;
        margin: 0;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #ececec;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .urbs-plp--tshirt-landing .urbs-plp__chip {
        min-height: 40px;
        padding: 10px 14px;
        font-size: 11px;
        scroll-snap-align: start;
        -webkit-tap-highlight-color: transparent;
    }

    .urbs-plp--tshirt-landing .urbs-plp__toolbar {
        position: static;
        top: auto;
        z-index: auto;
        padding: 6px 16px 10px;
        background: transparent;
        border: 0;
        backdrop-filter: none;
    }

    .urbs-plp--tshirt-landing .urbs-plp__count {
        font-size: 11px;
        color: #666;
    }

    .urbs-plp--tshirt-landing .urbs-plp__grid {
        gap: 0;
        padding: 0;
        background: transparent;
    }

    .urbs-plp--tshirt-landing .urbs-plp__card--grouped {
        background: #fff;
    }

    .urbs-plp--tshirt-landing .urbs-plp__card--grouped .urbs-plp__media {
        background-color: #f0f0f0;
        border-bottom: 0.5px solid #000;
    }

    .urbs-plp--tshirt-landing .urbs-plp__card--grouped:nth-child(odd) .urbs-plp__media {
        border-right: 0.5px solid #000;
    }

    .urbs-plp__card--grouped .urbs-plp__card-body {
        padding: 10px 10px 12px;
    }

    .urbs-plp__card--grouped .urbs-plp__card-title {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 1.3;
    }

    .urbs-plp__card--grouped .urbs-plp__card-price {
        font-size: 12px;
    }

    .urbs-plp__card-collection {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .urbs-plp__color-dots {
        gap: 10px;
        margin-bottom: 8px;
    }

    .urbs-plp__color-dot {
        width: 26px;
        height: 26px;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .urbs-plp__color-dot::before {
        content: '';
        position: absolute;
        inset: -10px;
    }

    .urbs-plp__card-cta {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        margin-top: 6px;
        padding: 4px 0;
        font-size: 10px;
        -webkit-tap-highlight-color: transparent;
    }

    .urbs-plp--tshirt-landing .urbs-plp__promo-badge {
        top: 8px;
        left: 8px;
        padding: 3px 7px;
        font-size: 10px;
    }
}

@media (max-width: 390px) {
    .urbs-tshirt-story__promo {
        flex-direction: column;
        gap: 8px;
    }

    .urbs-plp--tshirt-landing .urbs-plp__chip {
        padding: 9px 12px;
        font-size: 10px;
    }

    .urbs-plp__card--grouped .urbs-plp__card-title {
        font-size: 11px;
    }
}
