/*
 * WooCommerce styles for the Nurse in KSA theme.
 *
 * Handles WC markup the Tailwind template overrides can't reach inline:
 * the JS-driven gallery opacity transition, active tab state, star ratings,
 * WC notices, and the review form inputs. Scoped to single product pages.
 */

/* ── Shared site chrome on WooCommerce pages ───────────────────── */
body.woocommerce .nurse-site-header,
body.woocommerce-page .nurse-site-header {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

body.woocommerce img.nurse-site-logo,
body.woocommerce-page img.nurse-site-logo {
    height: 3rem !important;
    width: auto !important;
    max-width: none;
}

@media (min-width: 768px) {
    body.woocommerce img.nurse-site-logo,
    body.woocommerce-page img.nurse-site-logo {
        height: 3.5rem !important;
    }
}

body.woocommerce .nurse-site-footer,
body.woocommerce-page .nurse-site-footer {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

body.woocommerce img.nurse-footer-logo,
body.woocommerce-page img.nurse-footer-logo {
    height: 4rem !important;
    width: auto !important;
    max-width: none;
}

/* ── Checkout page ─────────────────────────────────────────────── */
body.woocommerce-checkout {
    background: #fff;
}

.nurse-checkout-page {
    color: #111827;
}

.nurse-checkout-hero {
    border-bottom: 1px solid #e5e7eb;
    background:
        linear-gradient(90deg, rgb(240 253 250 / 0.92), rgb(255 255 255 / 0.98) 45%, rgb(236 253 245 / 0.7));
}

.nurse-checkout-hero__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.35rem, 3.2vw, 2.7rem) 0 clamp(1.35rem, 3vw, 2.35rem);
}

.nurse-checkout-hero h1 {
    margin: 0;
    color: #0f172a;
    font-family: "Italiana", "Lora", Georgia, serif;
    font-size: clamp(2.65rem, 5.1vw, 4.7rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.94;
}

.nurse-checkout-hero p {
    max-width: 41rem;
    margin: 0.7rem 0 0;
    color: #475569;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
}

.nurse-checkout-hero__cart {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #99f6e4;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f766e;
    padding: 0 1rem;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nurse-checkout-hero__cart:hover,
.nurse-checkout-hero__cart:focus-visible {
    border-color: #0f766e;
    color: #115e59;
    box-shadow: 0 12px 28px -22px rgb(15 118 110 / 0.8);
}

.nurse-checkout-wrap {
    padding-top: clamp(1.6rem, 3.4vw, 3rem);
}

.nurse-checkout-wrap > .wp-block-woocommerce-checkout,
.nurse-checkout-wrap .wc-block-checkout {
    max-width: 73rem;
    margin-right: auto;
    margin-left: auto;
}

.nurse-checkout-wrap .wc-block-components-sidebar-layout {
    column-gap: clamp(2rem, 5vw, 4rem);
}

.nurse-checkout-wrap .wc-block-components-main {
    padding-right: 0 !important;
}

.nurse-checkout-wrap .wc-block-components-sidebar {
    top: 6.25rem;
    align-self: start;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nurse-checkout-wrap .wc-block-components-sidebar .wc-block-components-sidebar__content {
    border: 1px solid #dbe4e6;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 22px 65px -46px rgb(15 23 42 / 0.45);
}

.nurse-checkout-wrap .wc-block-components-sidebar .wc-block-components-panel,
.nurse-checkout-wrap .wc-block-components-sidebar .wc-block-components-totals-wrapper {
    border-color: #e2e8f0;
}

.nurse-checkout-wrap .wc-block-components-sidebar h2,
.nurse-checkout-wrap .wc-block-components-title.wc-block-components-title {
    color: #111827;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

.nurse-checkout-wrap .wc-block-components-checkout-step {
    margin: 0 0 1.85rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.85rem;
}

.nurse-checkout-wrap .wc-block-components-checkout-step:last-child {
    border-bottom: 0;
}

.nurse-checkout-wrap .wc-block-components-checkout-step__heading {
    margin-bottom: 1rem;
}

.nurse-checkout-wrap .wc-block-components-checkout-step__title,
.nurse-checkout-wrap .wc-block-checkout__terms .wc-block-components-checkbox__label {
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0;
}

.nurse-checkout-wrap .wc-block-components-checkout-step__description,
.nurse-checkout-wrap .wc-block-components-checkout-step__content,
.nurse-checkout-wrap .wc-block-components-text-input label,
.nurse-checkout-wrap .wc-block-components-checkbox__label,
.nurse-checkout-wrap .wc-block-components-radio-control__label,
.nurse-checkout-wrap .wc-block-components-totals-item__label,
.nurse-checkout-wrap .wc-block-components-product-name,
.nurse-checkout-wrap .wc-block-components-product-metadata,
.nurse-checkout-wrap .wc-block-components-address-card,
.nurse-checkout-wrap .wc-block-components-validation-error {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.nurse-checkout-wrap .wc-block-components-text-input input[type="email"],
.nurse-checkout-wrap .wc-block-components-text-input input[type="tel"],
.nurse-checkout-wrap .wc-block-components-text-input input[type="text"],
.nurse-checkout-wrap .wc-block-components-text-input input[type="number"],
.nurse-checkout-wrap .wc-block-components-textarea,
.nurse-checkout-wrap .wc-blocks-components-select .wc-blocks-components-select__select {
    min-height: 3.25rem;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0.38rem !important;
    background-color: #fff !important;
    color: #111827 !important;
    font-size: 0.96rem !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.nurse-checkout-wrap .wc-block-components-address-form {
    row-gap: 0.85rem !important;
    column-gap: 0.85rem !important;
}

.nurse-checkout-wrap .wc-block-components-text-input input:focus,
.nurse-checkout-wrap .wc-block-components-textarea:focus,
.nurse-checkout-wrap .wc-blocks-components-select .wc-blocks-components-select__select:focus {
    border-color: #0f766e !important;
    box-shadow: 0 0 0 3px rgb(20 184 166 / 0.16) !important;
    outline: none !important;
}

.nurse-checkout-wrap .wc-block-components-text-input label,
.nurse-checkout-wrap .wc-blocks-components-select .wc-blocks-components-select__label {
    color: #475569 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
}

.nurse-checkout-wrap .wc-block-components-address-form__address_2-toggle {
    color: #0f766e;
    font-weight: 800;
}

.nurse-checkout-wrap .wc-block-components-express-payment {
    margin-bottom: 1.55rem;
    border: 1px solid #dbe4e6;
    border-radius: 0.5rem;
    padding: 1rem;
}

.nurse-checkout-wrap .wc-block-components-express-payment__title {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
}

.nurse-checkout-wrap .wc-block-components-checkout-return-to-cart-button {
    color: #0f766e;
    font-weight: 800;
}

.nurse-checkout-wrap .wc-block-components-order-summary,
.nurse-checkout-wrap .wc-block-components-totals-wrapper,
.nurse-checkout-wrap .wc-block-components-panel,
.nurse-checkout-wrap .wc-block-components-totals-coupon,
.nurse-checkout-wrap .wc-block-components-radio-control,
.nurse-checkout-wrap .wc-block-checkout__payment-method {
    color: #111827;
}

.nurse-checkout-wrap .wc-block-components-order-summary .wc-block-components-order-summary-item {
    align-items: start;
    gap: 0.95rem;
    padding: 1rem 0;
}

.nurse-checkout-wrap .wc-block-components-order-summary-item__image {
    width: 4.2rem;
    min-width: 4.2rem;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.nurse-checkout-wrap .wc-block-components-order-summary-item__description {
    padding-top: 0.12rem;
}

.nurse-checkout-wrap .wc-block-components-product-name {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.35;
}

.nurse-checkout-wrap .wc-block-components-product-metadata,
.nurse-checkout-wrap .wc-block-components-order-summary-item__quantity {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.nurse-checkout-wrap .wc-block-components-totals-item {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.nurse-checkout-wrap .wc-block-components-totals-footer-item {
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 900;
}

.nurse-checkout-wrap .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #0f766e;
    font-size: 1.25rem;
}

.nurse-checkout-wrap .wc-block-components-panel__button,
.nurse-checkout-wrap .wc-block-components-totals-coupon-link {
    color: #0f766e !important;
    font-weight: 800 !important;
}

.nurse-checkout-wrap .wc-block-components-radio-control {
    border: 1px solid #dbe4e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.nurse-checkout-wrap .wc-block-components-radio-control__option {
    border-color: #e2e8f0;
    background: #fff;
}

.nurse-checkout-wrap .wc-block-components-radio-control__option-checked {
    background: #f0fdfa;
}

.nurse-checkout-wrap .wc-block-components-radio-control__input:checked::before {
    background: #0f766e;
}

.nurse-checkout-wrap .wc-block-components-button,
.nurse-checkout-wrap .wc-block-components-button:not(.is-link) {
    min-height: 3.25rem;
    border-radius: 0.38rem !important;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.nurse-checkout-wrap .wc-block-components-checkout-place-order-button {
    background: #0f766e !important;
    color: #fff !important;
    box-shadow: 0 16px 34px -22px rgb(15 118 110 / 0.9);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nurse-checkout-wrap .wc-block-components-checkout-place-order-button:hover,
.nurse-checkout-wrap .wc-block-components-checkout-place-order-button:focus-visible {
    background: #115e59 !important;
    box-shadow: 0 18px 38px -24px rgb(15 118 110 / 1);
    transform: translateY(-1px);
}

.nurse-checkout-wrap .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: #0f766e;
    border-color: #0f766e;
}

.nurse-checkout-wrap .wc-block-components-checkout-place-order-button::after {
    content: "";
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-checkout-wrap .wc-block-components-checkout-place-order-button__text {
    display: inline-flex;
    align-items: center;
}

.nurse-checkout-wrap .wc-block-components-checkout-place-order-button__text::after {
    content: "";
}

.nurse-checkout-assurance {
    display: grid;
    max-width: 73rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: clamp(1.75rem, 4vw, 3rem) auto 0;
    border-top: 1px solid #e5e7eb;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
}

.nurse-checkout-assurance span {
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
}

.nurse-checkout-assurance span::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    background-color: #0f766e;
}

.nurse-checkout-assurance span:nth-child(1)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-checkout-assurance span:nth-child(2)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v12H4V6Z M4 7l8 6 8-6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v12H4V6Z M4 7l8 6 8-6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-checkout-assurance span:nth-child(3)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v12m0 0 4-4m-4 4-4-4M5 17v2h14v-2' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v12m0 0 4-4m-4 4-4-4M5 17v2h14v-2' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-checkout-assurance span + span {
    border-left: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .nurse-checkout-wrap .wc-block-components-sidebar-layout .wc-block-components-main {
        width: calc(100% - 24rem - clamp(2rem, 5vw, 4rem));
    }

    .nurse-checkout-wrap .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 24rem;
    }
}

@media (max-width: 781px) {
    .nurse-checkout-hero__inner {
        display: grid;
        align-items: start;
    }

    .nurse-checkout-hero__cart {
        width: fit-content;
    }

    .nurse-checkout-wrap .wc-block-components-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .nurse-checkout-assurance {
        grid-template-columns: 1fr;
    }

    .nurse-checkout-assurance span + span {
        border-top: 1px solid #e5e7eb;
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .nurse-checkout-hero h1 {
        font-size: clamp(2.55rem, 14vw, 3.8rem);
    }

    .nurse-checkout-wrap .wc-block-components-address-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ── Cart page ─────────────────────────────────────────────────── */
body.woocommerce-cart {
    background: #fff;
}

.nurse-cart-page {
    color: #111827;
}

.nurse-cart-hero {
    border-bottom: 1px solid #ccfbf1;
    background:
        linear-gradient(90deg, rgb(240 253 250 / 0.96), rgb(255 255 255 / 0.98) 48%, rgb(236 253 245 / 0.78));
}

.nurse-cart-hero__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.1rem, 2.2vw, 1.8rem);
}

.nurse-cart-hero h1 {
    margin: 0;
    color: #0f172a;
    font-family: "Italiana", "Lora", Georgia, serif;
    font-size: clamp(2.8rem, 5.6vw, 5.25rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.94;
}

.nurse-cart-hero p {
    max-width: 39rem;
    margin: 0.65rem 0 0;
    color: #475569;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.65;
}

.nurse-cart-hero__assurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    max-width: 27rem;
}

.nurse-cart-hero__assurance span {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #99f6e4;
    border-radius: 0.5rem;
    background: #fff;
    color: #115e59;
    padding: 0 0.78rem;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.nurse-cart-hero__assurance span::before {
    content: "";
    width: 0.88rem;
    height: 0.88rem;
    flex: 0 0 0.88rem;
    background-color: #0f766e;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m20 6-11 11-5-5' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m20 6-11 11-5-5' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-cart-wrap {
    padding-top: clamp(0.75rem, 1.55vw, 1.35rem);
}

.nurse-cart-wrap > .wp-block-woocommerce-cart,
.nurse-cart-wrap .wc-block-cart {
    max-width: 74rem;
    margin-right: auto;
    margin-left: auto;
}

.nurse-cart-wrap .wc-block-components-sidebar-layout {
    align-items: flex-start;
    column-gap: clamp(2rem, 5vw, 4.15rem);
}

.nurse-cart-wrap .wc-block-components-main {
    padding-right: 0 !important;
}

.nurse-cart-wrap .wc-block-components-sidebar {
    top: 6.25rem;
    align-self: flex-start;
    border: 1px solid #dbe4e6;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 24px 70px -52px rgb(15 23 42 / 0.55);
}

.nurse-cart-wrap .wc-block-cart__totals-title {
    padding: 1.2rem 1.25rem 0.35rem;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nurse-cart-wrap .wc-block-components-totals-wrapper,
.nurse-cart-wrap .wc-block-components-panel {
    border-color: #e2e8f0;
}

.nurse-cart-wrap .wc-block-cart__sidebar .wc-block-components-panel,
.nurse-cart-wrap .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.nurse-cart-wrap .wc-block-components-panel__button,
.nurse-cart-wrap .wc-block-components-totals-coupon-link {
    color: #0f766e !important;
    font-size: 0.9rem;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.nurse-cart-wrap .wc-block-components-totals-item {
    color: #111827;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.nurse-cart-wrap .wc-block-components-totals-footer-item {
    align-items: center;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 900;
}

.nurse-cart-wrap .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #0f766e;
    font-size: 1.35rem;
    font-weight: 900;
}

.nurse-cart-wrap .wc-block-cart__payment-options {
    padding: 1.2rem 1.25rem 0;
}

.nurse-cart-wrap .wc-block-components-express-payment {
    margin: 0;
}

.nurse-cart-wrap .wc-block-components-express-payment-continue-rule {
    margin: 1.15rem 0 1.05rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.nurse-cart-wrap .wc-block-cart__submit {
    margin-top: 0 !important;
    padding: 0 1.25rem 1.25rem;
}

.nurse-cart-wrap .wc-block-cart__submit-container {
    margin: 0;
}

.nurse-cart-wrap .wc-block-cart__submit-button,
.nurse-cart-wrap .wc-block-cart__submit-button:not(.is-link) {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0 !important;
    border-radius: 0.42rem !important;
    background: #0f766e !important;
    color: #fff !important;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 16px 34px -22px rgb(15 118 110 / 0.9);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nurse-cart-wrap .wc-block-cart__submit-button:hover,
.nurse-cart-wrap .wc-block-cart__submit-button:focus-visible {
    background: #115e59 !important;
    color: #fff !important;
    box-shadow: 0 18px 38px -24px rgb(15 118 110 / 1);
    transform: translateY(-1px);
}

.nurse-cart-wrap .wc-block-cart__submit-button::after {
    content: "";
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nurse-cart-wrap .wc-block-cart-items {
    border-collapse: separate;
    border-spacing: 0;
}

.nurse-cart-wrap .wc-block-cart-items__header th {
    border-bottom: 1px solid #dbe4e6;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nurse-cart-wrap .wc-block-cart-items__header-total {
    text-align: right;
}

.nurse-cart-wrap .wc-block-cart-items__row {
    border-bottom: 1px solid #e5e7eb;
}

.nurse-cart-wrap .wc-block-cart-item__image {
    width: 6.25rem;
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

.nurse-cart-wrap .wc-block-cart-item__image img {
    width: 4.9rem;
    height: 4.9rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.nurse-cart-wrap .wc-block-cart-item__product,
.nurse-cart-wrap .wc-block-cart-item__total {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

.nurse-cart-wrap .wc-block-cart-item__wrap {
    display: grid;
    gap: 0.35rem;
    max-width: 28rem;
}

.nurse-cart-wrap .wc-block-components-product-name {
    color: #0f172a !important;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.3;
    text-decoration-color: #99f6e4;
    text-underline-offset: 0.18em;
}

.nurse-cart-wrap .wc-block-components-product-name:hover,
.nurse-cart-wrap .wc-block-components-product-name:focus-visible {
    color: #0f766e !important;
}

.nurse-cart-wrap .wc-block-components-product-price {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 800;
}

.nurse-cart-wrap .wc-block-components-product-metadata {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.nurse-cart-wrap .wc-block-cart-item__quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.2rem;
}

.nurse-cart-wrap .wc-block-components-quantity-selector {
    height: 2.15rem;
    min-width: 6.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.38rem;
    overflow: hidden;
}

.nurse-cart-wrap .wc-block-components-quantity-selector__button {
    width: 2rem;
    min-width: 2rem;
    color: #0f766e;
    font-size: 1rem;
    font-weight: 900;
}

.nurse-cart-wrap .wc-block-components-quantity-selector__input {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
}

.nurse-cart-wrap .wc-block-cart-item__remove-link {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.38rem;
    color: #64748b !important;
    padding: 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none !important;
}

.nurse-cart-wrap .wc-block-cart-item__remove-link:hover,
.nurse-cart-wrap .wc-block-cart-item__remove-link:focus-visible {
    border-color: #fee2e2;
    background: #fff1f2;
    color: #be123c !important;
}

.nurse-cart-wrap .wc-block-cart-item__total {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    text-align: right;
}

.nurse-cart-wrap .wc-block-cart__empty-cart__title {
    margin: 0;
    color: #0f172a;
    font-family: "Italiana", "Lora", Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0;
}

.nurse-cart-wrap .wc-block-cart__empty-cart__title + * {
    color: #475569;
}

.nurse-cart-wrap .wc-block-grid__product-add-to-cart .wp-block-button__link,
.nurse-cart-wrap .wc-block-cart__empty-cart__button,
.nurse-cart-wrap .wc-block-components-button:not(.is-link) {
    border-radius: 0.42rem !important;
}

@media (min-width: 1024px) {
    .nurse-cart-wrap .wc-block-components-sidebar-layout .wc-block-components-main {
        width: calc(100% - 23.5rem - clamp(2rem, 5vw, 4.15rem));
    }

    .nurse-cart-wrap .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 23.5rem;
    }
}

@media (max-width: 781px) {
    .nurse-cart-hero__inner {
        display: grid;
        align-items: start;
    }

    .nurse-cart-hero__assurance {
        justify-content: flex-start;
    }

    .nurse-cart-wrap .wc-block-components-sidebar {
        position: static;
        margin-top: 1.5rem;
    }

    .nurse-cart-wrap .wc-block-cart-item__image {
        width: 5rem;
    }

    .nurse-cart-wrap .wc-block-cart-item__image img {
        width: 4.25rem;
        height: 4.25rem;
    }
}

@media (max-width: 520px) {
    .nurse-cart-hero h1 {
        font-size: clamp(2.55rem, 14vw, 3.75rem);
    }

    .nurse-cart-hero__assurance span {
        min-height: 2.2rem;
        padding-right: 0.65rem;
        padding-left: 0.65rem;
        font-size: 0.78rem;
    }

    .nurse-cart-wrap .wc-block-cart-item__wrap {
        max-width: none;
    }
}

/* ── Gallery ───────────────────────────────────────────────────── */
.nurse-product-hero {
    align-items: stretch;
}

.nurse-product-gallery-card,
.nurse-product-gallery {
    display: flex;
    min-width: 0;
}

.nurse-product-gallery-card {
    min-height: 100%;
}

.nurse-product-gallery {
    width: 100%;
}

.nurse-product-gallery .woocommerce-product-gallery {
    position: relative;
    float: none !important;
    display: flex;
    width: 100% !important;
    max-width: none;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0 !important;
}

.nurse-product-gallery .woocommerce-product-gallery__wrapper {
    position: relative;
    display: block;
    width: 100%;
    flex: 1 1 auto;
    aspect-ratio: 4 / 3;
    min-height: clamp(20rem, 32vw, 30rem);
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e5e7eb; /* gray-200 */
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    background: #f9fafb; /* gray-50 */
}

.nurse-product-gallery .flex-viewport,
.nurse-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image,
.nurse-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image--placeholder,
.nurse-product-gallery .woocommerce-product-gallery__image,
.nurse-product-gallery .woocommerce-product-gallery__image a {
    height: 100%;
}

.nurse-product-gallery .woocommerce-product-gallery__image,
.nurse-product-gallery .woocommerce-product-gallery__image--placeholder {
    overflow: hidden;
}

.nurse-product-gallery .woocommerce-product-gallery__image img,
.nurse-product-gallery .woocommerce-product-gallery__image--placeholder img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: 32% center;
    filter: saturate(1.05) contrast(1.04);
}

@media (max-width: 767px) {
    .nurse-product-gallery .woocommerce-product-gallery__wrapper {
        aspect-ratio: 3 / 4;
        min-height: 0;
    }
}

/* Thumbnail row */
.nurse-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.nurse-product-gallery .flex-control-thumbs li {
    list-style: none;
    width: calc(25% - 0.375rem);
}

.nurse-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 150ms ease, opacity 150ms ease;
    opacity: 0.7;
}

.nurse-product-gallery .flex-control-thumbs img:hover,
.nurse-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #059669; /* primary-600 */
    opacity: 1;
}

/* Zoom cursor + lightbox link */
.nurse-product-gallery .woocommerce-product-gallery__image a {
    cursor: zoom-in;
    display: block;
}

/* ── Sale flash badge ──────────────────────────────────────────── */
.nurse-product .onsale {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #047857; /* primary-700 */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgb(4 120 87 / 0.3);
}

/* ── Star rating ───────────────────────────────────────────────── */
.nurse-rating .star-rating,
.nurse-star-rating {
    color: #059669; /* primary-600 */
}

.nurse-rating .star-rating::before,
.nurse-rating .star-rating span::before {
    color: #d1fae5; /* primary-100 — empty stars */
}

.nurse-rating .star-rating span::before,
.nurse-star-rating {
    color: #059669; /* primary-600 — filled stars */
}

/* ── Product tabs and buyer feedback ───────────────────────────── */
.nurse-single-product .nurse-tabs {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 7rem;
    border: 1px solid #e5e7eb !important;
    border-radius: 1.5rem !important;
    background: #fff !important;
    padding: 1.25rem !important;
    box-shadow: 0 18px 45px -34px rgb(15 23 42 / 0.28) !important;
}

.nurse-single-product .nurse-tabs::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #0f766e;
}

.nurse-single-product .nurse-tabs__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.25rem 1.25rem;
}

.nurse-single-product .nurse-tabs__eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.42rem 0.8rem;
    text-transform: uppercase;
}

.nurse-single-product .nurse-tabs__header h2 {
    margin: 0.85rem 0 0;
    color: #0f172a;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.nurse-single-product .nurse-tabs__header p {
    max-width: 46rem;
    margin: 0.65rem 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav,
.nurse-single-product .nurse-tabs ul.tabs.nurse-tabs__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0.6rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 9999px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav::before,
.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav::after,
.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li::before,
.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li::after {
    display: none !important;
    content: none !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li,
.nurse-single-product .nurse-tabs__nav li {
    position: static !important;
    z-index: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9999px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li a.nurse-tab-link,
.nurse-single-product .nurse-tabs__nav .nurse-tab-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.75rem !important;
    border: 1px solid transparent !important;
    border-radius: 9999px !important;
    background: transparent !important;
    color: #334155 !important;
    padding: 0.72rem 1.15rem !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li:not(.active) a.nurse-tab-link:hover {
    border-color: #d1d5db !important;
    background: #f9fafb !important;
    color: #0f766e !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li.active a.nurse-tab-link,
.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li.is-active a.nurse-tab-link,
.nurse-single-product .nurse-tabs__nav li.active > a.nurse-tab-link,
.nurse-single-product .nurse-tabs__nav li.is-active > a.nurse-tab-link,
.nurse-single-product .nurse-tabs__nav .nurse-tab-link.active {
    border-color: #0f766e !important;
    background: #0f766e !important;
    color: #fff !important;
    box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li.active a.nurse-tab-link:hover,
.woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li.is-active a.nurse-tab-link:hover,
.nurse-single-product .nurse-tabs__nav li.active > a.nurse-tab-link:hover,
.nurse-single-product .nurse-tabs__nav li.is-active > a.nurse-tab-link:hover {
    background: #115e59 !important;
    color: #fff !important;
}

.nurse-single-product .nurse-tabs__nav .nurse-tab-link:focus-visible {
    outline: 3px solid rgb(20 184 166 / 0.3) !important;
    outline-offset: 3px !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs .nurse-tabs__panel,
.nurse-single-product .nurse-tabs__panel {
    display: none;
    margin: 1rem 0 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 1.25rem !important;
    background: #fff !important;
    padding: clamp(1.25rem, 3vw, 2.25rem) !important;
    box-shadow: 0 14px 34px -30px rgb(15 23 42 / 0.35) !important;
}

.woocommerce div.product .woocommerce-tabs.nurse-tabs .nurse-tabs__panel.active,
.woocommerce div.product .woocommerce-tabs.nurse-tabs .nurse-tabs__panel.is-active,
.nurse-single-product .nurse-tabs__panel.active,
.nurse-single-product .nurse-tabs__panel.is-active {
    display: block !important;
}

.nurse-single-product .nurse-tabs__panel--description {
    position: relative;
}

.nurse-single-product .nurse-tabs__panel--description::before {
    content: "";
    display: block;
    width: 3.25rem;
    height: 0.25rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    background: #d1d5db;
}

.nurse-single-product .nurse-tabs__panel--description :where(h2, h3, h4) {
    margin-top: 0 !important;
    margin-bottom: 0.8rem !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}

.nurse-single-product .nurse-tabs__panel--description :where(p, li) {
    max-width: 70ch;
    color: #475569 !important;
    font-size: 1rem;
    line-height: 1.8 !important;
}

.nurse-single-product .nurse-tabs__panel--description :where(ul, ol) {
    display: grid;
    gap: 0.7rem;
    margin: 1.1rem 0 0;
    padding-left: 1.2rem;
}

.nurse-single-product .nurse-tabs__panel--description :where(strong, b) {
    color: #0f766e;
}

.nurse-single-product .nurse-reviews {
    color: #0f172a;
}

.nurse-single-product .nurse-reviews__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: 0 0 1.4rem;
    border-bottom: 1px solid #e5e7eb;
}

.nurse-single-product .nurse-reviews__eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.42rem 0.8rem;
    text-transform: uppercase;
}

.nurse-single-product .nurse-reviews__title {
    margin: 0.85rem 0 0 !important;
    color: #0f172a !important;
    font-size: clamp(1.35rem, 2.1vw, 1.9rem) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
}

.nurse-single-product .nurse-reviews__lead {
    max-width: 42rem;
    margin: 0.65rem 0 0;
    color: #475569;
    line-height: 1.7;
}

.nurse-single-product .nurse-reviews__score {
    display: grid;
    gap: 0.32rem;
    justify-items: start;
    width: fit-content;
    min-width: 11rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem 1.1rem;
    box-shadow: none;
}

.nurse-single-product .nurse-reviews__score-value {
    color: #0f766e;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.nurse-single-product .nurse-reviews__score-stars .star-rating {
    float: none !important;
    margin: 0 !important;
    color: #0d9488 !important;
}

.nurse-single-product .nurse-reviews__score-count {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
}

.nurse-single-product .nurse-reviews__feedback {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.nurse-single-product .nurse-reviews__list {
    display: grid !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nurse-single-product .nurse-review-card {
    margin: 0 !important;
    list-style: none !important;
}

.nurse-single-product .nurse-review-card__inner {
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-start !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    background: #fff !important;
    padding: clamp(1rem, 2.4vw, 1.5rem) !important;
    box-shadow: 0 18px 40px -34px rgb(15 23 42 / 0.5) !important;
}

.nurse-single-product .nurse-review-card .avatar {
    width: 3rem !important;
    height: 3rem !important;
    flex: 0 0 3rem !important;
    border: 3px solid #e5e7eb !important;
    border-radius: 9999px !important;
    background: #f9fafb !important;
}

.nurse-single-product .nurse-review-card__content {
    min-width: 0;
    flex: 1;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
}

.woocommerce .nurse-single-product #reviews #comments ol.commentlist li img.avatar,
.nurse-single-product .nurse-review-card .avatar {
    float: none !important;
    position: static !important;
}

.nurse-single-product .nurse-review-card__content .star-rating {
    float: none !important;
    margin: 0 0 0.4rem !important;
    color: #0d9488 !important;
}

.nurse-single-product .nurse-review-card__content .meta {
    margin: 0 0 0.65rem !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
}

.nurse-single-product .nurse-review-card__content .woocommerce-review__author {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.nurse-single-product .nurse-review-card__content .description p {
    margin: 0 !important;
    color: #334155 !important;
    line-height: 1.75 !important;
}

.nurse-single-product .nurse-reviews__empty {
    border: 1px dashed #d1d5db;
    border-radius: 1rem;
    background: #f9fafb;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.nurse-single-product .nurse-reviews__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #fff;
    color: #0d9488;
    box-shadow: 0 10px 24px -18px rgb(13 148 136 / 0.9);
}

.nurse-single-product .nurse-reviews__empty h3 {
    margin: 1rem 0 0.35rem;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 800;
}

.nurse-single-product .nurse-reviews__empty p {
    margin: 0;
    color: #475569;
}

.nurse-single-product .nurse-reviews__pagination {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .nurse-single-product .nurse-tabs {
        padding: 1.75rem !important;
    }

    .nurse-single-product .nurse-tabs__header {
        padding-bottom: 1.5rem;
    }

    .nurse-single-product .nurse-reviews__intro {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 640px) {
    .woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav,
    .nurse-single-product .nurse-tabs ul.tabs.nurse-tabs__nav {
        border-radius: 1rem !important;
    }

    .woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li {
        flex: 1 1 100% !important;
    }

    .woocommerce div.product .woocommerce-tabs.nurse-tabs ul.tabs.nurse-tabs__nav li a.nurse-tab-link {
        width: 100% !important;
    }

    .nurse-single-product .nurse-review-card__inner {
        gap: 0.85rem !important;
    }

    .nurse-single-product .nurse-review-card .avatar {
        width: 2.5rem !important;
        height: 2.5rem !important;
        flex-basis: 2.5rem !important;
    }

    .nurse-single-product .nurse-reviews__score,
    .nurse-single-product .nurse-reviews__empty {
        width: 100%;
    }
}

/* ── WC notices ────────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    list-style: none;
}

.woocommerce-message,
.woocommerce-info {
    background: #ecfdf5; /* primary-50 */
    color: #064e3b; /* primary-900 */
    border: 1px solid #a7f3d0; /* primary-200 */
}

.woocommerce-message a,
.woocommerce-info a {
    color: #047857;
    font-weight: 700;
}

.woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Hide WC "added to cart" link — the toast handles confirmation */
.nurse-single-buy .added_to_cart,
.nurse-product-summary .added_to_cart {
    display: none;
}

/* ── Course/resource single product layout ─────────────────────── */
.nurse-product-course-shell {
    position: relative;
}

.nurse-product-hero {
    isolation: isolate;
}

.nurse-product-gallery-card {
    min-width: 0;
}

.nurse-product-gallery-card .woocommerce-product-gallery__wrapper {
    border-color: #ccfbf1; /* teal-100 */
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 52%, #ecfdf5 100%);
    box-shadow: 0 24px 60px -30px rgb(15 118 110 / 0.45);
}

.nurse-product-summary .nurse-price {
    color: #0f766e;
}

.nurse-learning-outcomes {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.75);
}

.nurse-learning-outcomes--hero ul,
.nurse-learning-outcomes--section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.nurse-resource-details {
    position: relative;
    overflow: hidden;
}

.nurse-resource-details::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0d9488, #10b981, #ea580c);
}

@media (max-width: 767px) {
    .nurse-product-hero {
        border-radius: 1.5rem;
    }

    .nurse-product-gallery-card,
    .nurse-product-summary,
    .nurse-resource-details {
        border-radius: 1.25rem;
    }
}
