:root {
    --accentmed-orange: #f4511e;
    --accentmed-orange-dark: #d83b0b;
    --accentmed-ink: #172033;
    --accentmed-muted: #667085;
    --accentmed-line: #e7e9ee;
    --accentmed-soft: #f7f8fa;
    --accentmed-green: #159455;
}

.wc-tabs-wrapper .accentmed-user-manual {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 760px;
    padding: 20px 22px;
    border: 1px solid var(--accentmed-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
    box-sizing: border-box;
}

.accentmed-user-manual__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #ff6b1a, #ef3f00);
    box-shadow: 0 8px 18px rgba(239, 63, 0, 0.2);
}

.accentmed-user-manual__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.accentmed-user-manual__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.accentmed-user-manual__content strong {
    color: var(--accentmed-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.accentmed-user-manual__content > span {
    margin-top: 3px;
    color: var(--accentmed-muted);
    font-size: 13px;
    line-height: 1.45;
}

.accentmed-user-manual__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    color: #fff !important;
    background: var(--accentmed-orange);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .18s ease, transform .18s ease;
}

.accentmed-user-manual__button:hover,
.accentmed-user-manual__button:focus {
    color: #fff !important;
    background: var(--accentmed-orange-dark);
    transform: translateY(-1px);
}

.accentmed-saving-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    clear: both;
    width: min(100%, 520px);
    min-height: 76px;
    margin: 9px 0 14px;
    padding: 12px 14px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(234, 88, 12, 0.16);
    border-radius: 15px;
    color: #19202b;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 126, 52, 0.13), transparent 42%),
        linear-gradient(135deg, #fffaf6 0%, #ffffff 62%, #fff7f1 100%);
    box-shadow: 0 10px 28px rgba(126, 49, 13, 0.09);
    font-family: inherit;
    isolation: isolate;
}

.accentmed-saving-badge::after {
    position: absolute;
    top: -38px;
    right: -32px;
    z-index: -1;
    width: 110px;
    height: 110px;
    border: 18px solid rgba(255, 81, 0, 0.045);
    border-radius: 50%;
    content: '';
}

.accentmed-saving-badge__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(145deg, #ff6b1a, #ef3f00);
    box-shadow: 0 8px 18px rgba(239, 63, 0, 0.24);
}

.accentmed-saving-badge__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.accentmed-saving-badge__icon circle {
    fill: currentColor;
    stroke: none;
}

.accentmed-saving-badge__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.accentmed-saving-badge__content > small {
    margin-bottom: 3px;
    color: #9a3412;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.accentmed-saving-badge__content > strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    color: #171b22;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.accentmed-saving-badge__amount {
    color: #ed4608;
    font-size: 21px;
    font-weight: 900;
    white-space: nowrap;
}

.accentmed-saving-badge__note {
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.accentmed-stock {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    clear: both;
    margin: 10px 0 14px;
    color: var(--accentmed-ink);
    font-family: inherit;
}

.accentmed-stock__dot {
    position: relative;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 3px;
    border: 3px solid #d9f5e6;
    border-radius: 50%;
    background: var(--accentmed-green);
    box-sizing: content-box;
}

.accentmed-stock > span:last-child {
    display: flex;
    flex-direction: column;
}

.accentmed-stock strong {
    color: var(--accentmed-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.accentmed-stock small {
    margin-top: 2px;
    color: var(--accentmed-muted);
    font-size: 13px;
    line-height: 1.35;
}

.accentmed-stock--limited .accentmed-stock__dot {
    border-color: #fff0c2;
    background: #e89b00;
}

.accentmed-stock--out .accentmed-stock__dot {
    border-color: #f1f2f4;
    background: #98a2b3;
}

.accentmed-stock--backorder .accentmed-stock__dot {
    border-color: #dcecff;
    background: #2878d0;
}

.accentmed-customer-care {
    display: flex;
    flex-direction: column;
    gap: 12px;
    clear: both;
    width: 100%;
    margin: 16px 0 8px;
    box-sizing: border-box;
    color: var(--accentmed-ink);
    font-family: inherit;
}

.accentmed-benefits-card {
    overflow: hidden;
    border: 1px solid var(--accentmed-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .06);
}

.accentmed-delivery-promise {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--accentmed-line);
    background: #fff8f5;
}

.accentmed-delivery-promise__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #fff;
    background: var(--accentmed-orange);
    font-weight: 800;
}

.accentmed-delivery-promise__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.accentmed-delivery-promise > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.accentmed-delivery-promise small {
    margin-bottom: 2px;
    color: var(--accentmed-orange-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.accentmed-delivery-promise strong {
    color: var(--accentmed-ink);
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 850;
    line-height: 1.25;
}

.accentmed-delivery-promise > span:last-child > span {
    margin-top: 3px;
    color: var(--accentmed-muted);
    font-size: 13px;
    line-height: 1.4;
}

.accentmed-delivery-promise .accentmed-product-free-shipping {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin-top: 8px;
    color: #0f6f3e;
    box-sizing: border-box;
}

.accentmed-delivery-promise .accentmed-product-free-shipping[hidden] {
    display: none;
}

.accentmed-product-free-shipping__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--accentmed-green);
    background: #dcf4e7;
    font-size: 14px;
    font-weight: 900;
}

.accentmed-delivery-promise .accentmed-product-free-shipping > strong {
    color: #0f6f3e;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.accentmed-delivery-promise--unavailable {
    background: #f8f9fb;
}

.accentmed-delivery-promise--unavailable .accentmed-delivery-promise__icon {
    background: #98a2b3;
}

.accentmed-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px 8px;
}

.accentmed-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 10px;
}

.accentmed-benefit__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--accentmed-green);
    background: #ecf8f1;
    font-size: 17px;
    font-weight: 850;
}

.accentmed-benefit > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.accentmed-benefit strong {
    color: var(--accentmed-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.accentmed-benefit small {
    margin-top: 2px;
    color: var(--accentmed-muted);
    font-size: 12px;
    line-height: 1.3;
}

.accentmed-benefit--link {
    border-radius: 9px;
    color: var(--accentmed-ink) !important;
    text-decoration: none !important;
    transition: background-color .18s ease;
}

.accentmed-benefit--link:hover,
.accentmed-benefit--link:focus {
    background: #f2faf6;
}

.accentmed-benefit--link small {
    color: var(--accentmed-muted);
}

.accentmed-reviews-summary {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto 28px;
    align-items: center;
    gap: 16px;
    margin: 0 18px;
    padding: 14px 0;
    border-top: 1px solid var(--accentmed-line);
    color: var(--accentmed-ink) !important;
    text-decoration: none !important;
}

.accentmed-reviews-summary__intro,
.accentmed-reviews-summary__rating {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.accentmed-reviews-summary__icon {
    flex: 0 0 auto;
    color: #f59e0b;
    font-size: 24px;
}

.accentmed-reviews-summary__intro > span:last-child,
.accentmed-reviews-summary__details {
    display: flex;
    flex-direction: column;
}

.accentmed-reviews-summary__intro strong {
    color: var(--accentmed-ink);
    font-size: 15px;
    font-weight: 800;
}

.accentmed-reviews-summary__intro small,
.accentmed-reviews-summary__details {
    color: var(--accentmed-muted);
    font-size: 12px;
}

.accentmed-reviews-summary__score {
    display: flex;
    align-items: baseline;
    color: var(--accentmed-ink);
    font-size: 28px;
    font-weight: 900;
}

.accentmed-reviews-summary__score small {
    margin-left: 2px;
    color: var(--accentmed-muted);
    font-size: 11px;
}

.accentmed-review-stars {
    display: block;
    width: 84px;
    height: 16px;
    flex: 0 0 auto;
}

.accentmed-review-stars__active {
    stop-color: #f59e0b;
}

.accentmed-review-stars__inactive {
    stop-color: #d9dde4;
}

.accentmed-reviews-summary__arrow {
    color: var(--accentmed-orange);
    font-size: 24px;
    transition: transform .18s ease;
}

.accentmed-reviews-summary:hover .accentmed-reviews-summary__arrow,
.accentmed-reviews-summary:focus .accentmed-reviews-summary__arrow {
    transform: translateX(3px);
}

.accentmed-help-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--accentmed-line);
    border-radius: 14px;
    background: var(--accentmed-soft);
}

.accentmed-help-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--accentmed-orange);
    background: #fff;
    font-size: 22px;
}

.accentmed-help-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.accentmed-section-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--accentmed-orange-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.accentmed-help-card__title {
    display: block;
    color: var(--accentmed-ink);
    font-size: 17px;
    font-weight: 850;
}

.accentmed-help-card__content > p {
    margin: 3px 0 10px;
    color: var(--accentmed-muted);
    font-size: 13px;
    line-height: 1.4;
}

.accentmed-help-card__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.accentmed-phone-button,
.accentmed-schedule {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 12px;
    border-radius: 8px;
    box-sizing: border-box;
}

.accentmed-phone-button {
    color: #fff !important;
    background: var(--accentmed-orange);
    text-decoration: none !important;
}

.accentmed-phone-button:hover,
.accentmed-phone-button:focus {
    color: #fff !important;
    background: var(--accentmed-orange-dark);
}

.accentmed-phone-button span,
.accentmed-schedule span {
    display: flex;
    flex-direction: column;
}

.accentmed-phone-button small,
.accentmed-schedule small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.accentmed-phone-button strong,
.accentmed-schedule strong {
    font-size: 14px;
    font-weight: 850;
}

.accentmed-schedule {
    border: 1px solid var(--accentmed-line);
    color: var(--accentmed-ink);
    background: #fff;
}

@media (max-width: 767px) {
    .wc-tabs-wrapper .accentmed-user-manual {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .accentmed-user-manual__icon {
        width: 42px;
        height: 42px;
    }

    .accentmed-user-manual__content {
        flex: 1 1 calc(100% - 54px);
    }

    .accentmed-user-manual__button {
        width: 100%;
    }

    .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description table,
    .woocommerce div.product .woocommerce-tabs #tab-description table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .accentmed-product-free-shipping__icon {
        width: 25px;
        height: 25px;
    }

    .accentmed-delivery-promise .accentmed-product-free-shipping > strong {
        font-size: 14px;
    }

    .accentmed-saving-badge {
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        min-height: 0;
        padding: 12px;
        border-radius: 13px;
    }

    .accentmed-saving-badge__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .accentmed-saving-badge__content > strong {
        font-size: 16px;
    }

    .accentmed-saving-badge__amount {
        font-size: 19px;
    }

    .accentmed-saving-badge__note {
        max-width: 240px;
        font-size: 11px;
    }

    .accentmed-delivery-promise {
        align-items: flex-start;
        padding: 15px;
    }

    .accentmed-delivery-promise strong {
        font-size: 18px;
    }

    .accentmed-delivery-promise__icon {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .accentmed-benefits-grid {
        grid-template-columns: 1fr;
        padding: 5px 14px;
    }

    .accentmed-benefit {
        padding: 9px 0;
        border-bottom: 1px solid var(--accentmed-line);
    }

    .accentmed-benefit strong {
        font-size: 14px;
    }

    .accentmed-benefit small {
        font-size: 12px;
    }

    .accentmed-benefit:last-child {
        border-bottom: 0;
    }

    .accentmed-reviews-summary {
        grid-template-columns: 1fr auto;
        gap: 10px;
        margin: 0 14px;
    }

    .accentmed-reviews-summary__rating {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .accentmed-reviews-summary__arrow {
        grid-column: 2;
        grid-row: 1;
    }

    .accentmed-help-card {
        align-items: flex-start;
        padding: 14px;
    }

    .accentmed-help-card__actions,
    .accentmed-phone-button,
    .accentmed-schedule {
        width: 100%;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        clear: both;
        width: 100%;
        margin: 0 0 10px;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools > div.quantity {
        flex: 1 1 80%;
        width: auto;
        max-width: none;
        margin: 0;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools > div.quantity .qty-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        box-sizing: border-box;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools .mf-wishlist-button {
        flex: 0 0 calc(20% - 9px);
        display: flex;
        align-items: flex-start;
        align-self: flex-start;
        min-width: 58px;
        margin: 15px 0 0 !important;
        padding: 0 !important;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools .wcboost-wishlist-button,
    .woocommerce div.product form.cart .accentmed-purchase-tools .wcboost-wishlist-button.added {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 52px;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--accentmed-line);
        border-radius: 8px;
        color: var(--accentmed-orange);
        background: #fff;
        box-sizing: border-box;
        line-height: 1 !important;
        position: static;
        transform: none;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools .wcboost-wishlist-button__icon,
    .woocommerce div.product form.cart .accentmed-purchase-tools .wcboost-wishlist-button__icon svg {
        width: 27px;
        height: 27px;
        margin: 0;
        font-size: 27px;
    }

    .woocommerce div.product form.cart .accentmed-purchase-tools .wcboost-wishlist-button__text {
        display: none;
    }

    .woocommerce div.product form.cart .actions-button.accentmed-actions-empty {
        display: none;
    }
}
