:root{--ink:#17243b;--muted:#687387;--coral:#f45d52;--coral-dark:#dd463e;--cream:#fff8f4;--line:#e6e9ee;--soft:#f5f7fa;--white:#fff;--radius:18px;--shadow:0 18px 50px rgba(23,36,59,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.topbar{padding:10px 5%;text-align:center;background:var(--ink);color:#fff;font-size:13px;letter-spacing:.02em}header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100% - 1440px)/2));border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px}.brand>span{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:var(--coral);color:#fff;font-weight:800}.brand strong{font-size:22px}.brand em{font-style:normal;font-weight:400}.brand.inverse{color:#fff}header nav{display:flex;align-items:center;gap:34px;font-weight:650}header nav>a:hover{color:var(--coral)}.cart,.button,button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:0;border-radius:13px;background:var(--coral);color:#fff;padding:13px 20px;font:inherit;font-weight:750;cursor:pointer}.cart b{display:grid;place-items:center;min-width:25px;height:25px;background:#fff;color:var(--coral);border-radius:50%}button:hover,.button:hover,.cart:hover{background:var(--coral-dark);color:#fff}.secondary{background:var(--ink)}main{min-height:65vh}.hero{max-width:1440px;margin:auto;padding:80px 5%;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;background:radial-gradient(circle at 80% 30%,#fff1ed 0,transparent 38%)}.hero h1{font-size:clamp(46px,5.5vw,82px);line-height:.98;letter-spacing:-.055em;margin:25px 0}.hero>div>p:not(.eyebrow){max-width:650px;color:var(--muted);font-size:21px}.hero>img{border-radius:28px;box-shadow:var(--shadow);background:#eaf0f7}.eyebrow{display:inline-flex;margin:0;color:var(--coral-dark);font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hero-search,.catalog-head form{display:flex;max-width:620px;margin:30px 0}.hero-search input,.catalog-head input{min-width:0;flex:1;border:1px solid var(--line);border-radius:15px 0 0 15px;padding:17px;font:inherit;box-shadow:0 8px 30px rgba(23,36,59,.06)}.hero-search button,.catalog-head button{border-radius:0 15px 15px 0}.trust{display:flex;gap:24px;flex-wrap:wrap;color:var(--ink);font-size:14px;font-weight:700}.trust span:before{content:"✓";color:var(--coral);margin-right:7px}.section{max-width:1440px;margin:auto;padding:80px 5%}.section.soft{max-width:none;padding-left:max(5%,calc((100% - 1440px)/2));padding-right:max(5%,calc((100% - 1440px)/2));background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section h2,.catalog-head h1,.checkout h1,.legal h1{font-size:clamp(34px,4vw,58px);line-height:1.05;letter-spacing:-.04em;margin:10px 0}.section-head>a{font-weight:750;color:var(--coral-dark)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-grid a{display:flex;min-height:135px;flex-direction:column;justify-content:end;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(135deg,#fff,#f7f8fb);transition:.2s}.category-grid a:hover{transform:translateY(-3px);border-color:#f9b1aa;box-shadow:var(--shadow)}.category-grid strong{font-size:19px}.category-grid small,.product-card small{color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{min-width:0}.product-image{aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:var(--radius);background:#fff;border:1px solid var(--line);color:var(--muted)}.product-image img{width:100%;height:100%;object-fit:contain;transition:.25s}.product-card:hover img{transform:scale(1.04)}.product-card h3{margin:5px 0;font-size:17px;line-height:1.3}.product-card p{margin:6px 0}.product-card p strong{font-size:20px}.steps{text-align:center}.steps>div{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px;text-align:left}.steps article{padding:28px;background:var(--cream);border-radius:var(--radius)}.steps article>b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--coral);color:#fff}.steps h3{margin:18px 0 5px}.steps p{margin:0;color:var(--muted)}footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding:65px max(5%,calc((100% - 1440px)/2));background:var(--ink);color:#cdd4df}footer>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}footer strong{color:#fff}footer a:hover{color:#fff}.catalog-head{padding:60px max(5%,calc((100% - 1440px)/2));background:var(--cream)}.catalog-head h1{max-width:900px}.catalog-layout{max-width:1440px;margin:auto;padding:55px 5% 90px;display:grid;grid-template-columns:240px 1fr;gap:45px}.catalog-layout aside{display:flex;flex-direction:column;gap:4px}.catalog-layout aside>strong{margin-bottom:12px}.catalog-layout aside a{display:flex;justify-content:space-between;padding:8px 0;color:var(--muted)}.catalog-layout aside a:hover{color:var(--coral-dark)}.pagination{display:flex;justify-content:center;gap:7px;margin-top:45px}.pagination a{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:10px}.pagination a.active{background:var(--ink);color:#fff}.breadcrumbs{max-width:1300px;margin:28px auto;padding:0 5%;display:flex;gap:10px;color:var(--muted);font-size:14px}.product-detail{max-width:1300px;margin:auto;padding:20px 5% 70px;display:grid;grid-template-columns:1.05fr .95fr;gap:70px}.main-photo{aspect-ratio:1;display:grid;place-items:center;border-radius:28px;background:var(--soft);overflow:hidden}.main-photo img{width:100%;height:100%;object-fit:contain}.product-info h1{font-size:clamp(38px,4vw,60px);line-height:1.02;letter-spacing:-.04em;margin:10px 0 20px}.lead{color:var(--muted);font-size:18px}.from{display:flex;align-items:baseline;gap:8px;margin:25px 0}.from strong{font-size:32px}.from small{display:block;color:var(--muted)}.price-table{display:grid;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:20px 0}.price-table>strong{padding:13px;background:var(--soft)}.price-table span{display:flex;justify-content:space-between;padding:10px 13px;border-top:1px solid var(--line)}.buy-box{display:grid;gap:15px;margin-top:25px;padding:24px;border-radius:18px;background:var(--ink);color:#fff}.buy-box label,.checkout-form label{display:grid;gap:6px;font-weight:700}.buy-box input,.buy-box select,.checkout-form input,.checkout-form textarea{width:100%;padding:13px;border:1px solid #d9dde5;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.buy-box p{font-size:13px;text-align:center;margin:0;color:#cdd4df}.product-copy{max-width:900px;margin:auto;padding:0 5% 90px}.product-copy h2{font-size:34px}.product-copy p{color:var(--muted)}.checkout,.legal,.empty{max-width:1100px;margin:auto;padding:65px 5% 100px}.cart-list article{display:grid;grid-template-columns:96px 1fr 100px 120px;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.cart-list img{object-fit:contain;border-radius:12px;background:var(--soft)}.cart-list article>div{display:grid}.cart-list article span{color:var(--muted)}.cart-list input{width:90px;padding:10px;border:1px solid var(--line);border-radius:9px}.cart-actions{display:flex;justify-content:space-between;align-items:start;margin-top:25px}.cart-actions>div{display:grid;grid-template-columns:1fr auto;gap:14px 35px;min-width:330px}.cart-actions .button{grid-column:1/-1}.checkout-form{display:grid;grid-template-columns:1.5fr .8fr;gap:50px}.checkout-form>div{display:grid;gap:14px}.checkout-form .columns{display:grid;grid-template-columns:1fr 2fr;gap:12px}.checkout-form aside{align-self:start;padding:25px;border-radius:18px;background:var(--soft);position:sticky;top:115px}.checkout-form aside p{display:flex;justify-content:space-between;gap:20px}.checkout-form aside .total{font-size:20px}.checkout-form aside button{width:100%}.checkout-form aside small{display:block;margin-top:14px;color:var(--muted)}.alert{padding:14px;border-radius:10px;background:#fff0ee;color:#9c2e28}.empty{text-align:center}.empty .button{margin-top:15px}.success{padding-top:100px;padding-bottom:140px}.legal{max-width:850px}.legal p{font-size:18px;color:var(--muted)}@media(max-width:980px){header{height:auto;padding:16px 5%;position:relative}header nav{gap:14px}header nav>a:not(.cart){display:none}.hero,.product-detail,.checkout-form{grid-template-columns:1fr}.hero{padding-top:45px}.hero>img{order:-1}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.steps>div{grid-template-columns:repeat(2,1fr)}.catalog-layout{grid-template-columns:1fr}.catalog-layout aside{display:none}.checkout-form aside{position:static}footer{grid-template-columns:1fr 1fr}.product-detail{gap:35px}}@media(max-width:600px){.topbar{font-size:11px}.brand strong{font-size:18px}.brand>span{width:45px;height:45px}.cart{padding:10px 13px}.hero h1{font-size:45px}.hero{padding-left:20px;padding-right:20px}.hero>div>p:not(.eyebrow){font-size:18px}.section{padding:60px 20px}.category-grid,.product-grid,.steps>div{grid-template-columns:1fr 1fr;gap:12px}.category-grid a{min-height:110px;padding:16px}.product-card h3{font-size:15px}.catalog-head,.catalog-layout,.checkout,.legal{padding-left:20px;padding-right:20px}.cart-list article{grid-template-columns:72px 1fr 80px}.cart-list article>b{grid-column:2/4}.cart-actions{display:grid;gap:25px}.cart-actions>div{min-width:0}.checkout-form .columns{grid-template-columns:1fr}.checkout-form{gap:25px}.product-detail{padding-left:20px;padding-right:20px}.product-info h1{font-size:38px}footer{grid-template-columns:1fr;padding:50px 20px}}@media(max-width:390px){.category-grid,.product-grid,.steps>div{grid-template-columns:1fr}}


/* VARIANT SELECTOR */
.variant-selector {
    margin: 1.25rem 0;
    overflow: hidden;
    border: 1px solid #dfe4ec;
    border-radius: 16px;
    background: #fff;
}

.variant-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #f6f8fb;
    border-bottom: 1px solid #e5e9f0;
}

.variant-heading strong,
.variant-heading span {
    display: block;
}

.variant-heading span {
    color: #687386;
    font-size: .88rem;
    text-align: right;
}

.variant-list {
    max-height: 390px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.variant-row {
    display: grid;
    grid-template-columns: 48px minmax(110px, 1fr) auto 82px;
    align-items: center;
    gap: .8rem;
    margin: 0;
    padding: .75rem 1rem;
    border-bottom: 1px solid #edf0f4;
    cursor: default;
}

.variant-row:last-child {
    border-bottom: 0;
}

.variant-row:hover {
    background: #fafbfc;
}

.variant-row img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 1px solid #edf0f4;
    border-radius: 9px;
    background: #fff;
}

.variant-name {
    min-width: 0;
}

.variant-name strong,
.variant-name small {
    display: block;
}

.variant-name small,
.variant-stock {
    color: #687386;
    font-size: .8rem;
}

.variant-row input {
    width: 82px;
    min-height: 44px;
    padding: .55rem;
    text-align: center;
    border: 1px solid #cfd6e1;
    border-radius: 9px;
    font: inherit;
}

.variant-row input:focus {
    border-color: #f15c52;
    outline: 3px solid rgba(241, 92, 82, .15);
}

.variant-total {
    display: flex;
    justify-content: space-between;
    padding: .9rem 1.1rem;
    border-top: 1px solid #e5e9f0;
    background: #f6f8fb;
}

.variant-total strong {
    color: #f15c52;
}

.variant-selector.variant-error {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .12);
}

.variant-selector.variant-error .variant-total::after {
    content: "Selecciona almenys una unitat";
    display: block;
    margin-left: .75rem;
    color: #b42318;
    font-size: .82rem;
}

@media (max-width: 620px) {
    .variant-heading {
        display: block;
    }

    .variant-heading span {
        margin-top: .25rem;
        text-align: left;
    }

    .variant-row {
        grid-template-columns: 42px minmax(90px, 1fr) 72px;
        gap: .6rem;
        padding: .7rem;
    }

    .variant-row img {
        width: 42px;
        height: 42px;
    }

    .variant-stock {
        display: none;
    }

    .variant-row input {
        width: 72px;
    }
}
/* VARIANT VISUAL FIX */
.product-info .buy-box {
    padding: 1.25rem;
    color: #17243b;
    background: #ffffff;
    border: 1px solid #dfe4ec;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(23, 36, 59, .08);
}

.product-info .buy-box > label {
    color: #17243b;
    font-weight: 700;
}

.product-info .buy-box select {
    color: #17243b;
    background-color: #ffffff;
    border: 1px solid #cfd6e1;
}

.product-info .buy-box > p {
    color: #687386;
}

.variant-selector {
    color: #17243b;
    margin-top: 0;
    border-color: #dfe4ec;
    box-shadow: none;
}

.variant-heading {
    color: #17243b;
    background: #f7f8fb;
}

.variant-heading strong {
    color: #17243b;
    font-size: 1rem;
}

.variant-heading span {
    color: #687386;
}

.variant-row {
    grid-template-columns: minmax(130px, 1fr) auto 82px;
    color: #17243b;
    background: #ffffff;
}

.variant-row > img {
    display: none;
}

.variant-name strong {
    color: #17243b;
}

.variant-total {
    color: #17243b;
    background: #f7f8fb;
}

.product-info .buy-box > button {
    min-height: 52px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(241, 92, 82, .18);
}

@media (max-width: 620px) {
    .product-info .buy-box {
        padding: .85rem;
        border-radius: 14px;
    }

    .variant-row {
        grid-template-columns: minmax(100px, 1fr) 72px;
    }
}
/* COLOR THUMBNAILS */
.color-thumbnails {
    display: flex;
    gap: .65rem;
    margin-top: .9rem;
    padding: .25rem .1rem .65rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.color-thumbnail {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 3px;
    overflow: hidden;
    color: #17243b;
    background: #ffffff;
    border: 2px solid #dfe4ec;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.color-thumbnail:hover {
    border-color: #9aa6b7;
    transform: translateY(-1px);
}

.color-thumbnail.is-active {
    border-color: #f15c52;
    box-shadow: 0 0 0 3px rgba(241, 92, 82, .16);
}

.color-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.color-thumbnail span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-weight: 800;
    background: #f4f6f9;
    border-radius: 8px;
}

.main-photo img {
    transition: opacity .16s ease;
}

@media (max-width: 620px) {
    .color-thumbnail {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}
/* COMPACT PRODUCT PAGE */
.product-detail {
    grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr);
    gap: 2rem;
    align-items: start;
    padding-top: 1.25rem;
}

.gallery {
    position: sticky;
    top: 1rem;
}

.main-photo {
    min-height: 0;
    max-height: 510px;
    aspect-ratio: 1 / 1;
    padding: 1rem;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.color-thumbnails {
    gap: .45rem;
    margin-top: .55rem;
    padding-bottom: .4rem;
}

.color-thumbnail {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
    border-radius: 9px;
}

.product-info > small {
    font-size: .78rem;
}

.product-info h1 {
    margin: .2rem 0 .55rem;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.02;
}

.product-info .lead {
    margin: 0 0 .65rem;
    font-size: .98rem;
    line-height: 1.45;
}

.stock-status {
    margin: .5rem 0;
    font-size: .9rem;
}

.product-info .from {
    margin: .75rem 0;
    padding: .7rem 0;
}

.product-info .from strong {
    font-size: 1.8rem;
}

.price-table {
    margin: .7rem 0;
}

.price-table > strong,
.price-table > span {
    padding: .55rem .75rem;
}

.product-info .buy-box {
    margin-top: .8rem;
    padding: .85rem;
    border-radius: 14px;
}

.variant-selector {
    margin-bottom: .75rem;
    border-radius: 12px;
}

.variant-heading {
    padding: .65rem .75rem;
}

.variant-heading strong {
    font-size: .92rem;
}

.variant-heading span {
    font-size: .78rem;
}

.variant-list {
    max-height: 245px;
}

.variant-row {
    min-height: 46px;
    padding: .4rem .7rem;
}

.variant-name strong {
    font-size: .86rem;
}

.variant-name small,
.variant-stock {
    font-size: .74rem;
}

.variant-row input {
    width: 70px;
    min-height: 36px;
    padding: .35rem;
    border-radius: 7px;
}

.variant-total {
    padding: .65rem .75rem;
    font-size: .88rem;
}

.product-info .buy-box > label {
    margin-top: .55rem;
    font-size: .88rem;
}

.product-info .buy-box select {
    min-height: 42px;
    padding: .55rem .7rem;
}

.product-info .buy-box > button {
    min-height: 46px;
    margin-top: .65rem;
}

.product-info .buy-box > p {
    margin: .55rem 0 0;
    font-size: .76rem;
}

.product-copy {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
}

.product-copy h2 {
    font-size: 1.65rem;
}

@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

    .gallery {
        position: static;
    }

    .main-photo {
        max-height: 500px;
    }
}

@media (max-width: 620px) {
    .product-detail {
        gap: 1rem;
        padding-top: .5rem;
    }

    .main-photo {
        max-height: 390px;
        padding: .5rem;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .variant-list {
        max-height: 230px;
    }
}
/* GROUPED COLOR SIZES */
.variant-color-panel {
    display: none;
    padding: .7rem;
}

.variant-color-panel.is-active {
    display: block;
}

.variant-color-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
}

.variant-color-title img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
}

.variant-color-title small,
.variant-color-title strong {
    display: block;
}

.variant-color-title small {
    margin-bottom: .1rem;
    color: #7a8494;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.variant-color-title strong {
    color: #17243b;
    font-size: .95rem;
}

.variant-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: .45rem;
}

.variant-size {
    display: grid;
    grid-template-columns: 1fr 62px;
    align-items: center;
    gap: .15rem .45rem;
    margin: 0;
    padding: .5rem;
    color: #17243b;
    background: #f8f9fb;
    border: 1px solid #e1e5eb;
    border-radius: 9px;
}

.variant-size > span {
    font-size: .86rem;
    font-weight: 800;
}

.variant-size > small {
    grid-column: 1;
    color: #7a8494;
    font-size: .68rem;
    white-space: nowrap;
}

.variant-size input {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 62px;
    min-height: 38px;
    padding: .3rem;
    color: #17243b;
    text-align: center;
    background: #ffffff;
    border: 1px solid #cfd6e1;
    border-radius: 7px;
    font: inherit;
}

.variant-size input:focus {
    border-color: #f15c52;
    outline: 3px solid rgba(241, 92, 82, .14);
}

@media (max-width: 620px) {
    .variant-size-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .variant-size {
        grid-template-columns: 1fr 56px;
    }

    .variant-size input {
        width: 56px;
    }
}
/* CLEAR COLOR AND SIZE LAYOUT */
.color-thumbnails {
    gap: .55rem;
    align-items: stretch;
}

.color-thumbnail {
    display: flex;
    flex: 0 0 78px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 78px;
    height: 88px;
    padding: 4px;
}

.color-thumbnail img,
.color-thumbnail span {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}

.color-thumbnail small {
    display: block;
    width: 100%;
    margin-top: 3px;
    overflow: hidden;
    color: #465166;
    font-size: .61rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-thumbnail.is-active small {
    color: #d94841;
}

.variant-color-panel {
    padding: .8rem;
}

.variant-color-title {
    margin-bottom: .75rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid #e5e9ef;
}

.variant-color-title strong {
    font-size: 1rem;
}

.variant-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.variant-size {
    grid-template-columns: 42px minmax(0, 1fr) 64px;
    grid-template-rows: 1fr;
    min-height: 48px;
    gap: .5rem;
    padding: .45rem .55rem;
}

.variant-size > span {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: .9rem;
}

.variant-size > small {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: .72rem;
}

.variant-size input {
    grid-column: 3;
    grid-row: 1;
    width: 64px;
    min-height: 38px;
}

@media (max-width: 620px) {
    .color-thumbnail {
        flex-basis: 70px;
        width: 70px;
        height: 82px;
    }

    .color-thumbnail img,
    .color-thumbnail span {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .variant-size-grid {
        grid-template-columns: 1fr;
    }
}
/* COLORS INSIDE SELECTOR */
.variant-selector .color-thumbnails {
    margin: 0;
    padding: .7rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e9ef;
}

.variant-selector .color-thumbnail {
    flex-basis: 72px;
    width: 72px;
    height: 84px;
}

.variant-selector .color-thumbnail img,
.variant-selector .color-thumbnail span {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
}

@media (max-width: 620px) {
    .variant-selector .color-thumbnails {
        padding: .6rem;
    }

    .variant-selector .color-thumbnail {
        flex-basis: 66px;
        width: 66px;
        height: 80px;
    }
}
/* READABLE COLOR LABELS */
.variant-selector .color-thumbnail {
    flex-basis: 82px;
    width: 82px;
    height: 98px;
    padding: 5px 4px 6px;
    overflow: hidden;
}

.variant-selector .color-thumbnail img,
.variant-selector .color-thumbnail span {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
}

.variant-selector .color-thumbnail small {
    display: -webkit-box;
    width: 100%;
    min-height: 25px;
    margin-top: 4px;
    overflow: hidden;
    color: #39465a;
    font-size: .67rem;
    font-weight: 800;
    line-height: 1.12;
    white-space: normal;
    text-align: center;
    text-overflow: initial;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.variant-selector .color-thumbnail.is-active small {
    color: #c93f38;
}

@media (max-width: 620px) {
    .variant-selector .color-thumbnail {
        flex-basis: 76px;
        width: 76px;
        height: 94px;
    }

    .variant-selector .color-thumbnail img,
    .variant-selector .color-thumbnail span {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }
}
/* TWO LINE COLOR LABELS */
.variant-selector .color-thumbnail {
    box-sizing: border-box;
    height: 108px;
}

.variant-selector .color-thumbnail img,
.variant-selector .color-thumbnail span {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
}

.variant-selector .color-thumbnail small {
    flex: 0 0 27px;
    min-height: 27px;
    overflow-wrap: anywhere;
}

@media (max-width: 620px) {
    .variant-selector .color-thumbnail {
        height: 104px;
    }
}
/* COMPACT CATALOG */
header {
    min-height: 72px;
    height: 72px;
}

header .brand span {
    width: 46px;
    height: 46px;
}

.catalog-head {
    min-height: 0;
    padding: 2rem 5%;
}

.catalog-head .eyebrow {
    margin: 0 0 .35rem;
    font-size: .72rem;
}

.catalog-head h1 {
    max-width: 950px;
    margin: .25rem 0;
    font-size: clamp(2rem, 3.4vw, 2.65rem);
    line-height: 1.06;
}

.catalog-head > p:not(.eyebrow) {
    margin: .45rem 0 1rem;
    font-size: .9rem;
}

.catalog-head form {
    max-width: 620px;
}

.catalog-head input,
.catalog-head button {
    min-height: 46px;
}

.catalog-layout {
    gap: 2rem;
    padding: 2rem 5% 4rem;
}

.catalog-layout aside {
    font-size: .88rem;
}

.catalog-layout aside a {
    padding: .45rem 0;
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.product-card {
    min-width: 0;
}

.product-image {
    aspect-ratio: 1 / 1;
}

.product-card small {
    font-size: .68rem;
}

.product-card h3 {
    margin: .25rem 0;
    font-size: .94rem;
    line-height: 1.18;
}

.product-card p {
    margin: .25rem 0 0;
    font-size: .82rem;
}

.product-card p strong {
    font-size: 1rem;
}

@media (max-width: 800px) {
    header {
        height: 64px;
        min-height: 64px;
    }

    .catalog-head {
        padding: 1.5rem 1rem;
    }

    .catalog-layout {
        padding: 1.25rem 1rem 3rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
    }
}
/* INLINE CATALOG SEARCH */
.catalog-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    grid-template-areas:
        "eyebrow search"
        "title search"
        "count search";
    column-gap: 2rem;
    align-items: center;
    min-height: 0;
    padding: 1.15rem 5%;
}

.catalog-head .eyebrow {
    grid-area: eyebrow;
    align-self: end;
    margin: 0;
}

.catalog-head h1 {
    grid-area: title;
    margin: .12rem 0;
    font-size: clamp(1.7rem, 2.7vw, 2.2rem);
    line-height: 1.05;
}

.catalog-head > p:not(.eyebrow) {
    grid-area: count;
    align-self: start;
    margin: .1rem 0 0;
    font-size: .82rem;
}

.catalog-head form {
    display: grid;
    grid-area: search;
    grid-template-columns: 1fr auto;
    width: 100%;
    max-width: none;
    margin: 0;
}

.catalog-head input,
.catalog-head button {
    min-height: 42px;
    height: 42px;
}

.catalog-head input {
    padding: .55rem .8rem;
    font-size: .9rem;
}

.catalog-head button {
    padding: .55rem 1.1rem;
    font-size: .86rem;
}

@media (max-width: 760px) {
    .catalog-head {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "count"
            "search";
        gap: .25rem;
        padding: 1rem;
    }

    .catalog-head form {
        margin-top: .65rem;
    }
}
/* CONTACT PAGE */
.contact-page {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
    gap: 3rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 5% 5rem;
}

.contact-intro h1 {
    max-width: 560px;
    margin: .35rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.contact-intro > p:not(.eyebrow) {
    color: #667085;
    line-height: 1.6;
}

.contact-direct {
    margin-top: 2rem;
    padding: 1rem;
    background: #f6f8fb;
    border-radius: 12px;
}

.contact-direct small,
.contact-direct a {
    display: block;
}

.contact-direct small {
    margin-bottom: .3rem;
    color: #667085;
}

.contact-direct a {
    color: #17243b;
    font-weight: 800;
}

.contact-card {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(23, 36, 59, .08);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: .35rem;
    color: #17243b;
    font-size: .88rem;
    font-weight: 750;
}

.contact-form label small {
    color: #7a8494;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .75rem .85rem;
    color: #17243b;
    background: #ffffff;
    border: 1px solid #ccd4df;
    border-radius: 9px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f15c52;
    outline: 3px solid rgba(241, 92, 82, .14);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .privacy-check {
    display: flex;
    grid-template-columns: none;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 500;
    line-height: 1.45;
}

.privacy-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: .1rem;
}

.privacy-check a {
    color: #d94841;
    text-decoration: underline;
}

.privacy-summary,
.contact-note {
    margin: 0;
    color: #7a8494;
    font-size: .74rem;
    line-height: 1.45;
}

.contact-form button {
    min-height: 48px;
    color: #ffffff;
    background: #f15c52;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.contact-success {
    margin-bottom: 1rem;
    padding: 1rem;
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 10px;
}

.contact-success p {
    margin: .25rem 0 0;
}

.contact-website {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .contact-page {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem 3rem;
    }

    .contact-card {
        padding: 1rem;
    }
}
/* PRODUCTS MEGA MENU */
header {
    position: relative;
    z-index: 50;
}

.products-menu {
    position: static;
}

.products-menu summary {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .6rem 0;
    color: #17243b;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.products-menu summary::-webkit-details-marker {
    display: none;
}

.products-menu summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.products-menu[open] summary::after {
    margin-top: 4px;
    transform: rotate(225deg);
}

.products-menu[open] summary {
    color: #e14e45;
}

.products-mega {
    position: absolute;
    top: calc(100% - 1px);
    right: 4%;
    left: 4%;
    z-index: 100;
    padding: 1.25rem 1.5rem .9rem;
    background: #ffffff;
    border: 1px solid #e0e5ec;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 55px rgba(23, 36, 59, .16);
}

.products-mega-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: .45rem;
}

.products-mega-grid > a {
    display: flex;
    min-width: 0;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .65rem .45rem;
    color: #344054;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.products-mega-grid > a:hover {
    color: #d94841;
    background: #fff7f6;
    border-color: #ffd3cf;
}

.products-mega-grid svg {
    width: 34px;
    height: 34px;
    color: #617087;
}

.products-mega-grid a:hover svg {
    color: #e14e45;
}

.products-mega-grid span {
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.15;
}

.products-mega-footer {
    display: flex;
    justify-content: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #edf0f4;
}

.products-mega-footer a {
    padding: .55rem 1rem;
    color: #ffffff;
    background: #17243b;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .products-mega-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .products-mega {
        right: 0;
        left: 0;
        max-height: calc(100vh - 64px);
        padding: .8rem;
        overflow-y: auto;
        border-radius: 0 0 12px 12px;
    }

    .products-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-mega-grid > a {
        min-height: 82px;
    }
}
/* PRODUCT CARD COLORS */
.card-colors {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 18px;
    margin: .35rem 0 .2rem;
}

.card-color {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--swatch);
    border: 1px solid rgba(23, 36, 59, .2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.card-colors > small {
    margin-left: 2px;
    color: #667085;
    font-size: .68rem;
    font-weight: 750;
}