/* ==========================================================================
   E-Waste page  (/e-waste.html)
   --------------------------------------------------------------------------
   A compliance page, so the published wording is untouched and the job here is
   making it readable: the recycler statement, the do's and don'ts, and 24
   collection points as searchable cards rather than a six-column table that
   cannot work on a phone. Shell from inner-pages.css and category-page.css.
   ========================================================================== */

.sd-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Recycler statement
   -------------------------------------------------------------------------- */

.sd-recycler {
    padding: 32px 34px;
    border: 1px solid var(--sd-line);
    border-left: 4px solid #2E9E5B;
    border-radius: 0 16px 16px 0;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 38, 73, .07);
}

.sd-recycler__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.sd-recycler__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(46, 158, 91, .12);
    color: #2E9E5B;
    font-size: 21px;
}

.sd-recycler__label {
    margin: 0 0 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-recycler__name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-recycler p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--sd-muted);
}

.sd-recycler__nums {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--sd-line);
}

.sd-recycler__nums a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 22px;
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    background: var(--sd-tint);
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.sd-recycler__nums a:hover {
    border-color: var(--sd-orange);
    background: #FFF6F2;
}

.sd-recycler__nums span {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-recycler__nums strong {
    font-size: 19px;
    font-weight: 800;
    color: var(--sd-blue);
}

.sd-recycler__nums a:hover strong {
    color: var(--sd-orange-ink);
}

/* --------------------------------------------------------------------------
   Do's and Don'ts
   -------------------------------------------------------------------------- */

.sd-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sd-rules__col {
    padding: 28px 26px;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 38, 73, .06);
}

.sd-rules__col h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--sd-line);
    font-size: 20px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-rules__col--do h3 i    { color: #2E9E5B; }
.sd-rules__col--dont h3 i  { color: #D0553C; }

.sd-rules__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-rules__col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--sd-navy);
}

.sd-rules__col li + li {
    border-top: 1px dashed var(--sd-line);
}

.sd-rules__col li i {
    flex: 0 0 18px;
    margin-top: 5px;
    font-size: 12px;
}

.sd-rules__col--do li i {
    color: #2E9E5B;
}

.sd-rules__col--dont li i {
    color: #D0553C;
}

/* --------------------------------------------------------------------------
   Collection points
   -------------------------------------------------------------------------- */

.sd-points__bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sd-points__search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 360px;
}

.sd-points__search > i {
    position: absolute;
    left: 18px;
    font-size: 15px;
    color: var(--sd-muted);
    pointer-events: none;
}

.sd-points__search input {
    width: 100%;
    padding: 15px 46px;
    border: 1px solid var(--sd-line);
    border-radius: 50px;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    color: var(--sd-navy);
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sd-points__search input::placeholder {
    color: #9AA8BE;
}

.sd-points__search input:focus {
    outline: none;
    border-color: var(--sd-blue);
    box-shadow: 0 0 0 3px rgba(18, 74, 154, .12);
}

.sd-points__search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.sd-points__clear {
    position: absolute;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-navy);
    font-size: 12px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sd-points__clear:hover {
    background: var(--sd-orange);
    color: #fff;
}

.sd-points__count {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sd-muted);
}

.sd-points__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.sd-point {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 38, 73, .05);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.sd-point[hidden] {
    display: none;
}

.sd-point:hover {
    border-color: rgba(232, 106, 56, .4);
    box-shadow: 0 12px 28px rgba(16, 38, 73, .1);
}

.sd-point__head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sd-line);
}

.sd-point__sr {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-blue);
    font-size: 13px;
    font-weight: 800;
}

.sd-point__place {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sd-point__city {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sd-navy);
}

.sd-point__state {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-point__address,
.sd-point__person {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sd-muted);
}

.sd-point__address i,
.sd-point__person i {
    flex: 0 0 15px;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--sd-orange);
}

.sd-point__person {
    color: var(--sd-navy);
    font-weight: 600;
}

.sd-point__call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 20px;
    border: 1px solid var(--sd-blue);
    border-radius: 50px;
    color: var(--sd-blue);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.sd-point__call i {
    font-size: 12px;
}

.sd-point__call:hover {
    background: var(--sd-blue);
    color: #fff;
}

.sd-points__empty {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 4px 0 0;
    padding: 18px 20px;
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 10px 10px 0;
    background: var(--sd-tint);
    font-size: 15px;
    line-height: 1.65;
    color: var(--sd-muted);
}

.sd-points__empty[hidden] {
    display: none;
}

.sd-points__empty i {
    margin-top: 3px;
    color: var(--sd-orange);
}

.sd-points__empty a {
    color: var(--sd-blue);
    font-weight: 700;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .sd-recycler {
        padding: 24px 20px;
        border-radius: 0 12px 12px 0;
    }

    .sd-recycler__name {
        font-size: 19px;
    }

    .sd-recycler__nums a {
        flex: 1 1 100%;
    }

    .sd-rules {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .sd-rules__col {
        padding: 22px 18px;
    }

    .sd-points__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sd-points__search {
        flex: 1 1 100%;
    }

    .sd-point__call {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sd-point,
    .sd-point__call,
    .sd-recycler__nums a,
    .sd-points__clear {
        transition: none !important;
    }
}
