/* ==========================================================================
   AD-SPOT — ondutyreturns
   Delikatne komunikaty + linki do wygodnezwroty.pl/onduty.
   Style nieinwazyjne, dziedziczą po theme charme.
   ========================================================================== */

/* --- Info pod opisem produktu personalizowanego ---------------------------- */
.ondutyreturns-product-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 0;
    padding: 10px 14px;
    background: #f7f7f7;
    border-left: 3px solid #c9a96e;
    border-radius: 2px;
    font-size: 13px;
    line-height: 1.45;
    color: #4a4a4a;
}

.ondutyreturns-product-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    background: #c9a96e;
    color: #fff;
    border-radius: 50%;
    font-style: italic;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    font-family: Georgia, serif;
}

.ondutyreturns-product-notice__text {
    flex: 1 1 auto;
}

.ondutyreturns-product-notice__link {
    margin-left: 6px;
    text-decoration: underline;
    color: inherit;
}

.ondutyreturns-product-notice__link:hover,
.ondutyreturns-product-notice__link:focus {
    color: #c9a96e;
    text-decoration: none;
}

/* --- Info w koszyku / one-page-checkout ----------------------------------- */
.ondutyreturns-cart-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
    padding: 8px 12px;
    background: #fdf8ef;
    border: 1px solid #ecdcb8;
    border-radius: 2px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b5a30;
}

.ondutyreturns-cart-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 1px;
    background: #c9a96e;
    color: #fff;
    border-radius: 50%;
    font-style: italic;
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    font-family: Georgia, serif;
}

.ondutyreturns-cart-notice__text {
    flex: 1 1 auto;
}

/* --- Kafelek "Zwroty" w Moje konto --------------------------------------- */
.ondutyreturns-account-tile {
    text-decoration: none !important;
}

.ondutyreturns-account-tile .link-item {
    display: block;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    color: #232323;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
    transition: border-color .15s ease, color .15s ease;
}

.ondutyreturns-account-tile:hover .link-item,
.ondutyreturns-account-tile:focus .link-item {
    border-color: #c9a96e;
    color: #c9a96e;
}

.ondutyreturns-account-tile__icon {
    display: block;
    margin: 0 auto 6px;
    font-size: 26px;
    color: #c9a96e;
}

/* --- Przycisk "Zwróć produkt" na stronie zamówienia ---------------------- */
.ondutyreturns-order-detail {
    margin: 18px 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
}

.ondutyreturns-order-detail__heading {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #232323;
}

.ondutyreturns-order-detail__text {
    margin: 0 0 14px;
    font-size: 13px;
    color: #555;
}

.ondutyreturns-order-detail__btn {
    background: #c9a96e;
    border-color: #c9a96e;
    color: #fff;
}

.ondutyreturns-order-detail__btn:hover,
.ondutyreturns-order-detail__btn:focus {
    background: #b3925a;
    border-color: #b3925a;
    color: #fff;
}

/* --- Link "Zwroty" w stopce ---------------------------------------------- */
.ondutyreturns-footer {
    margin: 0;
    padding: 6px 0;
}

.ondutyreturns-footer__link {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}

.ondutyreturns-footer__link:hover,
.ondutyreturns-footer__link:focus {
    color: #c9a96e;
    text-decoration: underline;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 575px) {
    .ondutyreturns-product-notice,
    .ondutyreturns-cart-notice {
        font-size: 12px;
        padding: 8px 10px;
    }

    .ondutyreturns-order-detail {
        padding: 14px 16px;
    }
}
