/* ==========================================================
   ERDT Mietpark Frontend 1.0.0
   Design: ERDT Mietservice GmbH / #FFD600 / #171717
   ========================================================== */

.erdt-catalog,
.erdt-single-product,
.erdt-modal {
    --erdt-yellow: #FFD600;
    --erdt-yellow-dark: #E6C000;
    --erdt-black: #171717;
    --erdt-text: #5B5B56;
    --erdt-muted: #85857E;
    --erdt-light: #F4F4F1;
    --erdt-light-2: #FAFAF8;
    --erdt-border: #DEDED8;
    --erdt-width: 1350px;
    font-family: Inter, Arial, Helvetica, sans-serif !important;
    color: var(--erdt-black);
}

.erdt-catalog *,
.erdt-catalog *::before,
.erdt-catalog *::after,
.erdt-single-product *,
.erdt-single-product *::before,
.erdt-single-product *::after,
.erdt-modal *,
.erdt-modal *::before,
.erdt-modal *::after {
    box-sizing: border-box;
    font-family: Inter, Arial, Helvetica, sans-serif !important;
}

.erdt-catalog h1,
.erdt-catalog h2,
.erdt-catalog h3,
.erdt-single-product h1,
.erdt-single-product h2,
.erdt-single-product h3,
.erdt-modal h1,
.erdt-modal h2,
.erdt-modal h3 {
    font-family: Inter, Arial, Helvetica, sans-serif !important;
    color: var(--erdt-black);
}

/* ==========================================================
   SHARED EYEBROW / BUTTONS
   ========================================================== */

.erdt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #8A7300;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase;
}

.erdt-eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    flex: 0 0 auto;
    background: var(--erdt-yellow);
}

.erdt-button {
    min-height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.erdt-button--primary {
    border: 1px solid var(--erdt-yellow) !important;
    background: var(--erdt-yellow) !important;
    color: var(--erdt-black) !important;
}

.erdt-button--primary:hover {
    border-color: var(--erdt-black) !important;
    background: var(--erdt-black) !important;
    color: var(--erdt-yellow) !important;
    transform: translateY(-1px);
}

.erdt-button--outline {
    border: 1px solid #CFCFC9 !important;
    background: #FFFFFF !important;
    color: var(--erdt-black) !important;
}

.erdt-button--outline:hover {
    border-color: var(--erdt-black) !important;
    background: var(--erdt-black) !important;
    color: #FFFFFF !important;
}

.erdt-button--dark {
    border: 1px solid var(--erdt-black) !important;
    background: var(--erdt-black) !important;
    color: #FFFFFF !important;
}

.erdt-button--dark:hover {
    background: #FFFFFF !important;
    color: var(--erdt-black) !important;
}

.erdt-button--wide {
    width: 100%;
    min-height: 52px;
}

/* ==========================================================
   CATALOG
   ========================================================== */

.erdt-catalog {
    width: min(calc(100% - 48px), var(--erdt-width));
    max-width: none !important;
    margin: 0 auto;
    padding: 72px 0 78px;
}

.erdt-catalog__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: clamp(36px, 7vw, 105px);
    align-items: end;
    margin-bottom: 38px;
}

.erdt-catalog__head h2 {
    margin: 11px 0 0 !important;
    font-size: clamp(38px, 4vw, 54px) !important;
    line-height: 1.02 !important;
    font-weight: 780 !important;
    letter-spacing: -.045em !important;
}

.erdt-catalog__head p {
    margin: 0 !important;
    color: var(--erdt-text) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    font-weight: 450 !important;
    letter-spacing: 0 !important;
}

.erdt-catalog__layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

/* Sidebar */
.erdt-catalog__sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    overflow: hidden;
    background: var(--erdt-light);
    border: 1px solid var(--erdt-border);
    border-top: 5px solid var(--erdt-yellow);
}

.erdt-catalog__sidebar-title {
    padding: 17px 17px 12px;
    color: var(--erdt-black);
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase;
}

.erdt-category-filter {
    width: 100%;
    min-height: 46px;
    padding: 0 13px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0 !important;
    border-top: 1px solid var(--erdt-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #343431 !important;
    text-align: left;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, padding .18s ease;
}

.erdt-category-filter span {
    min-width: 0;
}

.erdt-category-filter strong {
    min-width: 27px;
    height: 24px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #D9D9D3;
    border-radius: 3px;
    background: #FFFFFF;
    color: var(--erdt-black);
    font-size: 10px !important;
    font-weight: 750 !important;
}

.erdt-category-filter:hover {
    padding-left: 20px;
    background: #ECECE8 !important;
}

.erdt-category-filter.is-active {
    padding-left: 20px;
    background: var(--erdt-black) !important;
    color: #FFFFFF !important;
}

.erdt-category-filter.is-active strong {
    border-color: var(--erdt-yellow);
    background: var(--erdt-yellow);
    color: var(--erdt-black);
}

/* Toolbar */
.erdt-catalog__toolbar {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.erdt-catalog__search {
    position: relative;
    flex: 1;
    margin: 0 !important;
}

.erdt-catalog__search i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--erdt-black);
    font-size: 14px;
    pointer-events: none;
}

.erdt-catalog__search input {
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 17px 0 45px !important;
    border: 1px solid var(--erdt-border) !important;
    border-radius: 4px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
    color: var(--erdt-black) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

.erdt-catalog__search input:focus {
    border-color: var(--erdt-yellow) !important;
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .16) !important;
}

.erdt-catalog__result-count {
    min-width: 78px;
    color: var(--erdt-muted);
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.erdt-catalog__result-count strong {
    margin-right: 5px;
    color: var(--erdt-black);
    font-size: 16px !important;
    font-weight: 800 !important;
}

.erdt-catalog__mobile-select-wrap {
    display: none;
}

/* Product cards */
.erdt-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.erdt-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--erdt-border);
    border-top: 4px solid var(--erdt-yellow);
    background: #FFFFFF;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.erdt-product-card:hover {
    transform: translateY(-4px);
    border-color: #D5C466;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.erdt-product-card[hidden] {
    display: none !important;
}

.erdt-product-card__image {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F2F2EF;
    border-bottom: 1px solid #ECECE7;
}

.erdt-product-card__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform .28s ease;
}

.erdt-product-card:hover .erdt-product-card__image img {
    transform: scale(1.03);
}

.erdt-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A2A29B;
    font-size: 38px;
}

.erdt-product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.erdt-product-card__terms {
    min-height: 17px;
    color: #8B7500;
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase;
}

.erdt-product-card__terms a {
    color: inherit !important;
    text-decoration: none !important;
}

.erdt-product-card h3 {
    margin: 7px 0 16px !important;
    font-size: 18px !important;
    line-height: 1.28 !important;
    font-weight: 750 !important;
    letter-spacing: -.018em !important;
}

.erdt-product-card h3 a {
    color: var(--erdt-black) !important;
    text-decoration: none !important;
}

.erdt-product-card__prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: auto 0 14px;
}

.erdt-product-card__prices.has-one-price {
    grid-template-columns: 1fr;
}

.erdt-product-card__prices > div {
    padding: 10px 11px 11px;
    background: var(--erdt-light);
    border-left: 3px solid var(--erdt-yellow);
}

.erdt-product-card__prices span {
    display: block;
    color: var(--erdt-muted);
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase;
}

.erdt-product-card__prices strong {
    display: block;
    margin-top: 6px;
    color: var(--erdt-black);
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.erdt-product-card__price-note {
    margin: auto 0 14px;
    padding: 12px;
    background: var(--erdt-light);
    border-left: 3px solid var(--erdt-yellow);
    color: var(--erdt-black);
    font-size: 12px !important;
    font-weight: 750 !important;
}

.erdt-product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.erdt-catalog__no-results,
.erdt-catalog__empty {
    padding: 28px;
    border: 1px dashed #CFCFC8;
    background: var(--erdt-light);
    color: var(--erdt-text);
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* ==========================================================
   SINGLE PRODUCT
   LEFT: IMAGES / RIGHT: ALL INFORMATION
   ========================================================== */

.erdt-single-product {
    width: min(calc(100% - 48px), var(--erdt-width));
    max-width: none !important;
    margin: 0 auto;
    padding: 46px 0 76px;
}

.erdt-single-product__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--erdt-text) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    transition: color .2s ease, transform .2s ease;
}

.erdt-single-product__back:hover {
    color: var(--erdt-black) !important;
    transform: translateX(-2px);
}

.erdt-single-product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: start;
}

/* Media */
.erdt-single-product__media {
    min-width: 0;
}

.erdt-single-product__main-image {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F2F2EF;
    border: 1px solid var(--erdt-border);
    border-top: 6px solid var(--erdt-yellow);
}

.erdt-single-product__main-image > a {
    width: 100%;
    height: 100%;
    min-height: 514px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.erdt-single-product__main-image img {
    width: 100% !important;
    height: 514px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px !important;
    object-fit: contain !important;
    object-position: center !important;
}

.erdt-single-product__image-placeholder {
    min-height: 514px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #96968F;
    font-size: 13px !important;
}

.erdt-single-product__image-placeholder i {
    font-size: 44px;
}

.erdt-single-product__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.erdt-single-product__thumb {
    position: relative;
    height: 94px;
    padding: 5px !important;
    overflow: hidden;
    border: 1px solid var(--erdt-border) !important;
    border-radius: 0 !important;
    background: #F4F4F1 !important;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.erdt-single-product__thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: contain !important;
}

.erdt-single-product__thumb:hover,
.erdt-single-product__thumb.is-active {
    border-color: var(--erdt-yellow) !important;
    box-shadow: inset 0 0 0 2px var(--erdt-yellow);
}

/* Info */
.erdt-single-product__info {
    min-width: 0;
}

.erdt-single-product__category-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--erdt-border);
}

.erdt-single-product__category-text {
    color: var(--erdt-muted);
    font-size: 10px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .045em !important;
    text-align: right;
    text-transform: uppercase;
}

.erdt-single-product__info h1 {
    margin: 24px 0 20px !important;
    color: var(--erdt-black) !important;
    font-size: clamp(35px, 3.5vw, 50px) !important;
    line-height: 1.06 !important;
    font-weight: 780 !important;
    letter-spacing: -.045em !important;
}

.erdt-single-product__content {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--erdt-text) !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
    font-weight: 450 !important;
}

.erdt-single-product__content > *:first-child {
    margin-top: 0 !important;
}

.erdt-single-product__content > *:last-child {
    margin-bottom: 0 !important;
}

.erdt-single-product__content p {
    margin: 0 0 13px !important;
    color: var(--erdt-text) !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

.erdt-single-product__content h2,
.erdt-single-product__content h3,
.erdt-single-product__content h4 {
    margin: 24px 0 10px !important;
    color: var(--erdt-black) !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    letter-spacing: -.015em !important;
}

.erdt-single-product__content ul,
.erdt-single-product__content ol {
    margin: 12px 0 16px !important;
    padding-left: 21px !important;
}

.erdt-single-product__content li {
    margin: 5px 0 !important;
    color: var(--erdt-text) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.erdt-single-product__content table {
    width: 100% !important;
    margin: 18px 0 !important;
    border-collapse: collapse !important;
    border: 1px solid var(--erdt-border) !important;
    background: #FFFFFF !important;
    font-size: 12px !important;
}

.erdt-single-product__content td,
.erdt-single-product__content th {
    padding: 10px 11px !important;
    border: 1px solid var(--erdt-border) !important;
    vertical-align: top !important;
    text-align: left !important;
}

.erdt-single-product__content tr:nth-child(even) td {
    background: var(--erdt-light-2) !important;
}

/* Offer / prices */
.erdt-single-product__offer {
    margin-top: 28px;
    padding: 22px;
    background: var(--erdt-light);
    border: 1px solid var(--erdt-border);
    border-top: 6px solid var(--erdt-yellow);
}

.erdt-single-product__offer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.erdt-single-product__offer-head > span {
    color: var(--erdt-black);
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase;
}

.erdt-single-product__offer-head small {
    color: var(--erdt-muted);
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.erdt-single-product__prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 0 0 12px;
}

.erdt-single-product__prices.has-one-price {
    grid-template-columns: 1fr;
}

.erdt-single-product__prices > div {
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid var(--erdt-border);
    border-left: 4px solid var(--erdt-yellow);
}

.erdt-single-product__prices span {
    display: block;
    color: var(--erdt-muted);
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
}

.erdt-single-product__prices strong {
    display: block;
    margin-top: 7px;
    color: var(--erdt-black);
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.erdt-single-product__price-on-request {
    margin-bottom: 12px;
    padding: 16px;
    background: #FFFFFF;
    border-left: 4px solid var(--erdt-yellow);
    color: var(--erdt-black);
    font-size: 15px !important;
    font-weight: 800 !important;
}

.erdt-single-product__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

/* ==========================================================
   INQUIRY MODAL
   ========================================================== */

.erdt-modal[hidden] {
    display: none !important;
}

.erdt-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.erdt-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(3px);
}

.erdt-modal__dialog {
    position: relative;
    width: min(690px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 32px;
    background: #FFFFFF;
    border-top: 7px solid var(--erdt-yellow);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.erdt-modal__dialog h3 {
    margin: 12px 0 8px !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 780 !important;
    letter-spacing: -.035em !important;
}

.erdt-modal__product {
    margin: 0 0 20px !important;
    color: var(--erdt-text) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.erdt-modal__close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 2px !important;
    background: var(--erdt-black) !important;
    color: var(--erdt-yellow) !important;
    cursor: pointer;
}

.erdt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.erdt-form-grid label {
    margin: 0 !important;
}

.erdt-form-grid label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--erdt-black);
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.erdt-form-grid input:not([type="checkbox"]),
.erdt-form-grid textarea {
    width: 100% !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    border: 1px solid #D5D5D0 !important;
    border-radius: 3px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #FAFAF8 !important;
    color: var(--erdt-black) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.erdt-form-grid input:not([type="checkbox"]) {
    height: 45px !important;
}

.erdt-form-grid input:focus,
.erdt-form-grid textarea:focus {
    border-color: var(--erdt-yellow) !important;
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .14) !important;
}

.erdt-form-grid__full {
    grid-column: 1 / -1;
}

.erdt-consent {
    padding: 11px 12px;
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    background: var(--erdt-light);
    border: 1px solid var(--erdt-border);
}

.erdt-consent input {
    width: 17px !important;
    height: 17px !important;
    margin: 1px 0 0 !important;
    flex: 0 0 auto;
    accent-color: var(--erdt-yellow);
}

.erdt-consent span {
    margin: 0 !important;
    color: var(--erdt-text) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

.erdt-honeypot {
    position: absolute !important;
    left: -10000px !important;
}

.erdt-form-status {
    margin-top: 12px;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.erdt-form-status.is-success {
    color: #137333;
}

.erdt-form-status.is-error {
    color: #B3261E;
}

.erdt-modal-open {
    overflow: hidden;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1120px) {
    .erdt-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erdt-catalog__layout {
        grid-template-columns: 225px minmax(0, 1fr);
    }

    .erdt-single-product__layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
        gap: 34px;
    }

    .erdt-single-product__main-image,
    .erdt-single-product__main-image > a,
    .erdt-single-product__image-placeholder {
        min-height: 450px;
    }

    .erdt-single-product__main-image img {
        height: 444px !important;
    }
}

@media (max-width: 900px) {
    .erdt-single-product__layout {
        grid-template-columns: 1fr;
    }

    .erdt-single-product__info {
        max-width: none;
    }

    .erdt-single-product__main-image,
    .erdt-single-product__main-image > a,
    .erdt-single-product__image-placeholder {
        min-height: 500px;
    }

    .erdt-single-product__main-image img {
        height: 494px !important;
    }
}

@media (max-width: 767px) {
    .erdt-catalog,
    .erdt-single-product {
        width: calc(100% - 32px);
    }

    .erdt-catalog {
        padding: 50px 0 56px;
    }

    .erdt-catalog__head {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 26px;
    }

    .erdt-catalog__head h2 {
        font-size: clamp(34px, 10vw, 45px) !important;
    }

    .erdt-catalog__head p {
        font-size: 14px !important;
    }

    .erdt-catalog__layout {
        grid-template-columns: 1fr;
    }

    .erdt-catalog__sidebar {
        display: none;
    }

    .erdt-catalog__toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .erdt-catalog__mobile-select-wrap {
        display: block;
        grid-column: 1 / -1;
    }

    .erdt-catalog__mobile-select-wrap label {
        display: block;
        margin-bottom: 6px;
        color: var(--erdt-black);
        font-size: 10px !important;
        font-weight: 800 !important;
        letter-spacing: .06em !important;
        text-transform: uppercase;
    }

    .erdt-catalog__mobile-select-wrap select {
        width: 100% !important;
        height: 48px !important;
        padding: 0 12px !important;
        border: 1px solid var(--erdt-border) !important;
        border-radius: 3px !important;
        background: #FFFFFF !important;
        color: var(--erdt-black) !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .erdt-product-grid {
        grid-template-columns: 1fr;
    }

    .erdt-product-card__image {
        height: 250px;
    }

    .erdt-product-card__actions {
        grid-template-columns: 1fr 1fr;
    }

    .erdt-single-product {
        padding: 28px 0 54px;
    }

    .erdt-single-product__back {
        margin-bottom: 18px;
    }

    .erdt-single-product__layout {
        gap: 25px;
    }

    .erdt-single-product__main-image,
    .erdt-single-product__main-image > a,
    .erdt-single-product__image-placeholder {
        min-height: 330px;
    }

    .erdt-single-product__main-image img {
        height: 324px !important;
        padding: 18px !important;
    }

    .erdt-single-product__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .erdt-single-product__thumb {
        height: 76px;
    }

    .erdt-single-product__category-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .erdt-single-product__category-text {
        text-align: left;
    }

    .erdt-single-product__info h1 {
        margin-top: 18px !important;
        font-size: clamp(32px, 10vw, 43px) !important;
    }

    .erdt-single-product__offer {
        padding: 17px;
    }

    .erdt-single-product__actions {
        grid-template-columns: 1fr;
    }

    .erdt-modal {
        padding: 12px;
    }

    .erdt-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 26px 17px 20px;
    }

    .erdt-form-grid {
        grid-template-columns: 1fr;
    }

    .erdt-form-grid__full {
        grid-column: auto;
    }
}

@media (max-width: 430px) {
    .erdt-product-card__actions {
        grid-template-columns: 1fr;
    }

    .erdt-single-product__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .erdt-single-product__prices {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .erdt-product-card,
    .erdt-product-card__image img,
    .erdt-button,
    .erdt-category-filter,
    .erdt-single-product__thumb {
        transition: none !important;
    }
}

/* ==========================================================
   V1.0.1 – SELF-CONTAINED ICONS + DEFAULT PRODUCT IMAGE
   ========================================================== */
.erdt-catalog .erdt-icon,
.erdt-single-product .erdt-icon,
.erdt-modal .erdt-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.125em;
    overflow: visible;
}

.erdt-catalog__search .erdt-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--erdt-black);
    pointer-events: none;
}

.erdt-single-product__back .erdt-icon {
    width: 15px;
    height: 15px;
}

.erdt-button .erdt-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.erdt-modal__close .erdt-icon {
    width: 20px;
    height: 20px;
    margin: 0;
}

.erdt-product-card__fallback-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #FFD600;
}

.erdt-single-product__image-placeholder {
    width: 100%;
    min-height: 514px;
    padding: 0 !important;
    overflow: hidden;
    background: #FFD600;
}

.erdt-single-product__image-placeholder img {
    width: 100% !important;
    height: 514px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 1050px) {
    .erdt-single-product__image-placeholder,
    .erdt-single-product__image-placeholder img {
        min-height: 430px;
        height: 430px !important;
    }
}

@media (max-width: 767px) {
    .erdt-single-product__image-placeholder,
    .erdt-single-product__image-placeholder img {
        min-height: 340px;
        height: 340px !important;
    }
}



/* ==========================================================
   V1.0.2 – HOMEPAGE LIVE SEARCH
   ========================================================== */

.erdt-home-search {
    position: relative;
    z-index: 50;

    width: 100%;
    max-width: 900px;

    font-family:
        Inter,
        Arial,
        sans-serif;
}


/* SEARCH FIELD */

.erdt-home-search__field {
    position: relative;

    width: 100%;
}


.erdt-home-search__field > .erdt-icon {
    position: absolute;

    top: 50%;
    left: 22px;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

    color: #171717;

    pointer-events: none;

    z-index: 2;
}


.erdt-home-search__field input {
    width: 100% !important;
    height: 72px !important;

    margin: 0 !important;

    padding:
        0 155px
        0 59px !important;

    border:
        1px solid #D8D8D2 !important;

    border-radius:
        8px !important;

    outline:
        none !important;

    background:
        #FFFFFF !important;

    color:
        #171717 !important;

    box-shadow:
        0 14px 40px
        rgba(0, 0, 0, .08) !important;

    font-family:
        Inter,
        Arial,
        sans-serif !important;

    font-size:
        17px !important;

    line-height:
        1 !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.erdt-home-search__field input::placeholder {
    color:
        #8A8A84;

    opacity:
        1;
}


.erdt-home-search__field input:focus {
    border-color:
        #FFD600 !important;

    box-shadow:
        0 0 0 4px
        rgba(255, 214, 0, .18),
        0 14px 40px
        rgba(0, 0, 0, .08) !important;
}


/* LABEL RIGHT */

.erdt-home-search__hint {
    position: absolute;

    top: 50%;
    right: 18px;

    transform:
        translateY(-50%);

    padding:
        9px 12px;

    background:
        #FFD600;

    color:
        #171717;

    border-radius:
        4px;

    font-size:
        11px;

    font-weight:
        750;

    letter-spacing:
        .04em;

    text-transform:
        uppercase;

    pointer-events:
        none;
}


/* DROPDOWN */

.erdt-home-search__dropdown {
    position: absolute;

    top:
        calc(100% + 10px);

    left: 0;
    right: 0;

    overflow:
        hidden auto;

    max-height:
        470px;

    background:
        #FFFFFF;

    border:
        1px solid #DEDED8;

    border-radius:
        8px;

    box-shadow:
        0 22px 55px
        rgba(0, 0, 0, .14);

    z-index:
        9999;
}


.erdt-home-search__dropdown[hidden] {
    display:
        none !important;
}


/* RESULT */

.erdt-home-search__item {
    display:
        grid;

    grid-template-columns:
        58px
        minmax(0, 1fr)
        32px;

    gap:
        14px;

    align-items:
        center;

    width:
        100%;

    padding:
        11px 16px;

    color:
        #171717 !important;

    background:
        #FFFFFF;

    border-bottom:
        1px solid #EEEEEA;

    text-decoration:
        none !important;

    transition:
        background .15s ease;
}


.erdt-home-search__item:last-child {
    border-bottom:
        0;
}


.erdt-home-search__item[hidden] {
    display:
        none !important;
}


.erdt-home-search__item:hover,
.erdt-home-search__item.is-active {
    background:
        #FFF9D7;
}


/* THUMB */

.erdt-home-search__thumb {
    width:
        58px;

    height:
        58px;

    display:
        block;

    overflow:
        hidden;

    background:
        #F4F4F1;

    border:
        1px solid #ECECE6;

    border-radius:
        5px;
}


.erdt-home-search__thumb img {
    width:
        100% !important;

    height:
        100% !important;

    max-width:
        none !important;

    margin:
        0 !important;

    padding:
        0 !important;

    object-fit:
        contain !important;

    object-position:
        center !important;
}


/* TEXT */

.erdt-home-search__item-content {
    min-width:
        0;
}


.erdt-home-search__item-content strong {
    display:
        block;

    overflow:
        hidden;

    margin:
        0 0 5px;

    color:
        #171717;

    font-size:
        14px;

    line-height:
        1.3;

    font-weight:
        750;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


.erdt-home-search__item-content small {
    display:
        block;

    overflow:
        hidden;

    color:
        #777771;

    font-size:
        11px;

    line-height:
        1.3;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


/* ARROW */

.erdt-home-search__arrow {
    width:
        28px;

    height:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        #FFD600;

    color:
        #171717;

    border-radius:
        4px;

    font-size:
        17px;

    transition:
        transform .15s ease;
}


.erdt-home-search__item:hover
.erdt-home-search__arrow,
.erdt-home-search__item.is-active
.erdt-home-search__arrow {
    transform:
        translateX(2px);
}


/* NO RESULTS */

.erdt-home-search__empty {
    padding:
        22px;

    text-align:
        center;

    background:
        #FAFAF8;
}


.erdt-home-search__empty[hidden] {
    display:
        none !important;
}


.erdt-home-search__empty strong {
    display:
        block;

    margin:
        0 0 5px;

    color:
        #171717;

    font-size:
        14px;
}


.erdt-home-search__empty span {
    display:
        block;

    color:
        #777771;

    font-size:
        12px;
}


/* MOBILE */

@media (max-width: 767px) {

    .erdt-home-search__field input {
        height:
            62px !important;

        padding:
            0 52px
            0 52px !important;

        font-size:
            15px !important;
    }


    .erdt-home-search__field > .erdt-icon {
        left:
            18px;

        width:
            18px;

        height:
            18px;
    }


    .erdt-home-search__hint {
        display:
            none;
    }


    .erdt-home-search__dropdown {
        top:
            calc(100% + 7px);

        max-height:
            390px;
    }


    .erdt-home-search__item {
        grid-template-columns:
            50px
            minmax(0, 1fr)
            28px;

        gap:
            11px;

        padding:
            10px 12px;
    }


    .erdt-home-search__thumb {
        width:
            50px;

        height:
            50px;
    }


    .erdt-home-search__item-content strong {
        font-size:
            13px;
    }


    .erdt-home-search__item-content small {
        font-size:
            10px;
    }

}

