// Ported from the Shopify plugin's "learn more" block, trimmed to what the tips use here.

.tips {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tips-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.tips-heading {
    font-size: .875rem;
    font-weight: 650;
    color: #616161;
    margin: 0;
}

.tips-modal-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18.75rem;
}

.tips-main {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-width: 0;
    padding: 1.75rem 2rem 2rem;
}

.tips-intro {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.tips-eyebrow {
    font-size: .75rem;
    font-weight: 650;
    color: #2f6b12;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tips-headline {
    font-size: 1.625rem;
    line-height: 1.25;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.tips-lead {
    font-size: .9375rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
    max-width: 35rem;
}

.tips-section {
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.tips-section-heading {
    font-size: .9375rem;
    font-weight: 650;
    color: #1a1a1a;
    margin: 0;
}

.tips-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.tips-step {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    border-radius: .75rem;
    border: 1px solid #ebebeb;
}

.tips-step-number {
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    background: #303030;
    color: #ffffff;
    font-size: .8125rem;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-step-title {
    font-size: .875rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-step-text {
    font-size: .8125rem;
    line-height: 1.5;
    color: #616161;
}

.tips-label-sizes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.tips-label-size {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: .75rem;
    background: #f7f7f7;
}

.tips-label {
    flex: none;
    width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .625rem;
    color: #616161;
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: .25rem;
}

.tips-label-size-text {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.tips-label-size-title {
    font-size: .8125rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-label-size-description {
    font-size: .75rem;
    line-height: 1.5;
    color: #616161;
}

.tips-aside {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 1.75rem 1.5rem;
    background: #fafafa;
    border-left: 1px solid #ebebeb;
}

.tips-needs {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.125rem;
    border-radius: .75rem;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(26, 26, 26, .06), 0 0 0 1px rgba(26, 26, 26, .08);
}

.tips-aside-heading {
    font-size: .875rem;
    font-weight: 650;
    color: #1a1a1a;
    margin: 0;
}

.tips-needs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tips-need {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .8125rem;
    line-height: 1.4;
    color: #303030;
}

.tips-need-mark {
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    border: 1.5px solid #8a8a8a;
    box-sizing: border-box;
}

.tips-needs .tips-cta.components-button.has-text {
    margin-top: .375rem;
    justify-content: center;
}

.tips-cta-hint {
    font-size: .75rem;
    line-height: 1.4;
    color: #616161;
    text-align: center;
}

.tips-links {
    display: flex;
    flex-direction: column;
}

.tips-links-list {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        margin: 0;
        padding: .625rem 0;
        border-bottom: 1px solid #ebebeb;
        font-size: .8125rem;
    }

    li:last-child {
        border-bottom: 0;
    }
}

.tips-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 17.5rem;
    object-fit: cover;
    object-position: 60% 40%;
    border-radius: .875rem;
}

.tips-returns-journey {
    display: grid;
    grid-template-columns: minmax(0, 9.375rem) 1.5rem minmax(0, 9.375rem) 1.5rem minmax(0, 1fr);
    align-items: center;
    gap: .5rem;
    padding: 1.5rem 1.25rem;
    border-radius: .875rem;
    background: #f2f8ec;
}

.tips-returns-phone-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
}

.tips-returns-phone {
    width: 100%;
    max-width: 8.25rem;
    height: 14.375rem;
    padding: .5rem;
    box-sizing: border-box;
    border-radius: 1.375rem;
    background: #303030;
}

.tips-returns-screen {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .875rem .625rem;
    border-radius: .9375rem;
    background: #ffffff;
}

.tips-returns-screen-eyebrow {
    font-size: .5625rem;
    font-weight: 650;
    color: #616161;
    text-transform: uppercase;
}

.tips-returns-screen-title {
    font-size: .6875rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-returns-product {
    display: flex;
    align-items: center;
    gap: .375rem;
}

.tips-returns-thumb {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: .375rem;
    background: #e8e8e8;
}

.tips-returns-lines {
    display: flex;
    flex-direction: column;
    gap: .1875rem;
}

.tips-returns-line {
    width: 2.125rem;
    height: .25rem;
    border-radius: .125rem;
    background: #c4c4c4;
}

.tips-returns-line-dark {
    width: 3.125rem;
    background: #8a8a8a;
}

.tips-returns-screen-button {
    margin-top: auto;
    padding: .4375rem 0;
    border-radius: .5rem;
    background: #303030;
    color: #ffffff;
    font-size: .625rem;
    font-weight: 650;
    text-align: center;
}

.tips-returns-qr {
    align-self: center;
    width: 4.125rem;
    height: 4.125rem;
    background: #ffffff;
}

.tips-returns-code-label {
    align-self: center;
    font-size: .5625rem;
    color: #616161;
}

.tips-returns-code {
    align-self: center;
    padding: .25rem .5rem;
    border-radius: .375rem;
    background: #f2f8ec;
    color: #1a1a1a;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.tips-returns-caption {
    font-size: .75rem;
    font-weight: 650;
    color: #1a1a1a;
    text-align: center;
}

.tips-returns-drop-offs {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
}

.tips-returns-drop-offs .tips-returns-caption {
    text-align: left;
}

.tips-returns-drop-off-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.tips-returns-drop-off {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .75rem;
    border-radius: .625rem;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(26, 26, 26, .06);
}

.tips-returns-drop-off svg {
    flex: none;
}

.tips-returns-drop-off-text {
    display: flex;
    flex-direction: column;
    gap: .125rem;
}

.tips-returns-drop-off-title {
    font-size: .75rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-returns-drop-off-description {
    font-size: .6875rem;
    color: #616161;
}

.tips-returns-arrow {
    flex: none;
}

.tips-body-text {
    margin: 0;
    font-size: .875rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.tips-body-text-strong {
    color: #303030;
}

.tips-nvit-route {
    display: grid;
    grid-template-columns: 18.125rem minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: .875rem;
    background: #f2f8ec;
}

.tips-nvit-map {
    width: 100%;
    height: auto;
}

.tips-nvit-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tips-nvit-legend-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.tips-nvit-legend-marker {
    flex: none;
    width: .875rem;
    height: .875rem;
    margin-top: .125rem;
    box-sizing: border-box;
    border-radius: 50%;
    background: #303030;
    box-shadow: 0 0 0 3px #ffffff;
}

.tips-nvit-legend-marker-eu {
    border-radius: .1875rem;
    border: 2px solid #3d7ac7;
    background: #e3ecf6;
    box-shadow: none;
}

.tips-nvit-legend-marker-customer {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #7bc144;
}

.tips-nvit-legend-text {
    display: flex;
    flex-direction: column;
    gap: .125rem;
}

.tips-nvit-legend-title {
    font-size: .8125rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-nvit-legend-description {
    font-size: .75rem;
    line-height: 1.45;
    color: #616161;
}

.tips-nvit-explainer {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: 1rem 1.125rem;
    border-radius: .75rem;
    background: #f7f7f7;
}

.tips-nvit-explainer-mark {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #303030;
    color: #ffffff;
    font-size: .8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-nvit-explainer-text {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.tips-nvit-explainer-title {
    font-size: .875rem;
    font-weight: 650;
    color: #1a1a1a;
}

.tips-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .5rem;
}

.tips-quiet .tips-cards {
    grid-template-columns: repeat(auto-fit, minmax(max(160px, calc((100% - .5rem) / 2)), 1fr));
}

.tips-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: 0;
    padding: .875rem;
    border-radius: .625rem;
    background: rgba(0, 0, 0, .05);
}

.tips-quiet .tips-card {
    padding: .625rem .75rem;
    background: transparent;
    border: 1px solid #e0e0e0;
}

.tips-quiet .tips-card-icon {
    fill: #757575;
}

.tips-quiet .tips-card-title {
    font-weight: 500;
    color: #3c434a;
}

.tips-quiet .tips-card-action {
    align-self: flex-start;
    padding-top: .25rem;
}

.tips-card-icon {
    flex: none;
    fill: #1e1e1e;
}

.tips-card-text {
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.tips-card-title {
    font-size: .8125rem;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0;
}

.tips-card-summary {
    font-size: .8125rem;
    line-height: 1.4;
    color: #616161;
    margin: 0;
}

.tips-card-action {
    margin-top: auto;
    padding-top: .5rem;
    align-self: flex-end;
}

.tips-modal {
    .components-modal__content {
        padding: 0;
    }

    .components-modal__header {
        padding: 1.25rem 2rem;
        border-bottom: 1px solid #ebebeb;
    }
}

.tips-nvit-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    border-left: 4px solid #3858e9;
    border-radius: .25rem;
    background: #f0f6fc;
}

.tips-nvit-notice-title {
    font-size: .8125rem;
    font-weight: 600;
    color: #1e1e1e;
}

.tips-nvit-notice-action {
    font-size: .8125rem;
    font-weight: 500;
    color: #3858e9;
    text-decoration: underline;
}

.tips-benefits {
    list-style: disc;
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #303030;
}

@container (max-width: 40rem) {
    .tips-returns-journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tips-returns-arrow {
        display: none;
    }

    .tips-returns-drop-offs {
        grid-column: 1 / -1;
    }

}
@media (max-width: 760px) {
    .tips-modal-columns,
    .tips-steps,
    .tips-label-sizes,
    .tips-returns-journey,
    .tips-nvit-route {
        grid-template-columns: minmax(0, 1fr);
    }

    .tips-aside {
        border-left: 0;
        border-top: 1px solid #ebebeb;
    }

    .tips-returns-arrow {
        display: none;
    }

}
