﻿.ds-fabric-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
}

.ds-fabric-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.ds-fabric-drawer__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(58, 54, 49, 0.42) !important;
    opacity: 0;
    box-shadow: none;
    cursor: pointer;
    transition: opacity 220ms ease;
}

.ds-fabric-drawer.is-open .ds-fabric-drawer__overlay {
    opacity: 1;
}

.ds-fabric-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    width: min(560px, 100%);
    height: 100%;
    background: #fff;
    color: #3a3631;
    box-shadow: -34px 0 90px rgba(31, 28, 24, 0.18);
    transform: translateX(100%);
    transition: transform 280ms ease;
    outline: none;
}

.ds-fabric-drawer.is-open .ds-fabric-drawer__panel {
    transform: translateX(0);
}

.ds-fabric-drawer__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: start;
    padding: 30px 38px 22px;
    border-bottom: 0;
}

.ds-fabric-drawer__eyebrow {
    margin: 0 0 8px;
    color: #5f584f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ds-fabric-drawer__title {
    margin: 0;
    color: #111;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 700;
}

.ds-fabric-drawer__close {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(58, 54, 49, 0.16);
    border-radius: 999px;
    background: transparent !important;
    color: #3a3631 !important;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
}

.ds-fabric-drawer__body {
    overflow: auto;
    padding: 30px 38px 42px;
}

.ds-fabric-drawer__media {
    width: 132px;
    height: 132px;
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #f0eae1;
}

.ds-fabric-drawer__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-fabric-drawer__description {
    margin: 0 0 30px;
    color: #3f3a35;
    font-size: 15px;
    line-height: 1.55;
}

.ds-fabric-drawer__features-block,
.ds-fabric-drawer__specs-block,
.ds-fabric-drawer__colors-block {
    margin: 0 0 30px;
}

.ds-fabric-drawer__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-fabric-drawer__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-fabric-drawer__specs {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-fabric-drawer__spec {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    color: #3f3a35;
}

.ds-fabric-drawer__spec-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #111;
}

.ds-fabric-drawer__spec-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 0.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ds-fabric-drawer__spec-content {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ds-fabric-drawer__spec-content strong {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ds-fabric-drawer__spec-content span {
    color: #3f3a35;
    font-size: 14px;
    line-height: 1.4;
}

.ds-fabric-drawer__feature {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(58, 54, 49, 0.12);
    border-radius: 999px;
    background: #f0eae1;
    color: #111;
    font-size: 13px;
    gap: 7px;
}

.ds-fabric-drawer__feature::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #3a3631;
}

.ds-fabric-drawer__feature.has-icon::before {
    display: none;
}

.ds-fabric-drawer__feature img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ds-fabric-drawer__section-title {
    margin: 0 0 12px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.ds-fabric-drawer__color {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    line-height: 0;
}

.ds-fabric-drawer__color-sample {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 999px;
    background: #d8d1c4 center / cover no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ds-fabric-drawer__colors-note {
    margin: 10px 0 0;
    color: #5d5750;
    font-size: 13px;
    line-height: 1.4;
}

.ds-fabric-drawer__cta {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid rgba(58, 54, 49, 0.10);
    background: transparent;
}

.ds-fabric-advisor {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    margin: 0 0 12px;
}

.ds-fabric-advisor img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
}

.ds-fabric-advisor strong {
    display: block;
    margin: 0 0 2px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.ds-fabric-advisor p {
    margin: 0;
    color: #3f3a35;
    font-size: 15px;
    line-height: 1.42;
}

.ds-fabric-drawer__cta a {
    display: inline-flex;
    min-height: auto;
    margin-left: 55px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: none;
}

.ds-fabric-drawer__pdf {
    display: inline-flex;
    margin-top: 14px;
    color: #111;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.ds-fabric-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .ds-fabric-drawer__panel {
        width: 100%;
    }

    .ds-fabric-drawer__header,
    .ds-fabric-drawer__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ds-fabric-drawer__title {
        font-size: 30px;
    }

    .ds-fabric-drawer__cta a {
        margin-left: 0;
    }
}

.ds-fabric-drawer__header,
.ds-fabric-drawer__close,
.ds-fabric-drawer__feature {
    border: 0;
}

.ds-fabric-drawer__section-title {
    color: #111;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ds-fabric-drawer__section-title {
    color: #111;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ds-fabric-drawer__feature {
    background: #f6f3e7;
    padding: 0 11px;
}

.ds-fabric-drawer__feature::before {
    display: none;
}
