:root {
    --pavwell-blue: #1976d2;
    --pavwell-blue-dark: #1259a0;
    --pavwell-blue-soft: #e9f3ff;
}

.text-primary {
    color: var(--pavwell-blue) !important;
}

.bg-primary,
.btn-primary {
    background-color: var(--pavwell-blue) !important;
    border-color: var(--pavwell-blue) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--pavwell-blue-dark) !important;
    border-color: var(--pavwell-blue-dark) !important;
}

.btn-outline-primary {
    border-color: var(--pavwell-blue) !important;
    color: var(--pavwell-blue) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--pavwell-blue) !important;
    border-color: var(--pavwell-blue) !important;
    color: #fff !important;
}

a {
    color: var(--pavwell-blue);
}

a:hover {
    color: var(--pavwell-blue-dark);
}

.pavwell-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.pavwell-logo-link img {
    width: 150px;
    max-height: 44px;
    object-fit: contain;
}

.pavwell-brand-copy small {
    display: block;
    color: #6c757d;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pavwell-brand-copy strong {
    color: #1c1c1c;
    font-size: 1.1rem;
    font-weight: 700;
}

.nav-shop-lottie-link {
    align-items: center !important;
    display: inline-flex !important;
    justify-content: center;
    min-height: 40px;
    min-width: 82px;
    padding: 6px 8px !important;
    position: relative;
}

.nav-shop-switch {
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: relative;
    width: 76px;
}

.nav-shop-lottie-link .sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.nav-shop-lottie {
    display: block;
    height: 38px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: visible;
    width: 38px;
    animation: navShopLottieCycle 4.8s steps(1, end) infinite;
}

.nav-shop-label {
    color: #15325b;
    font-size: 13px;
    font-weight: 400;
    left: 50%;
    letter-spacing: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    white-space: nowrap;
    animation: navShopTextCycle 4.8s steps(1, end) infinite;
}

.nav-shop-animation-link {
    align-items: center !important;
    display: inline-flex !important;
    justify-content: center;
    min-width: 64px;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.nav-shop-animation {
    display: block;
    height: 46px;
    pointer-events: none;
    width: 46px;
}

@keyframes navShopLottieCycle {
    0%, 49% {
        opacity: 1;
        visibility: visible;
    }

    50%, 100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes navShopTextCycle {
    0%, 49% {
        opacity: 0;
        visibility: hidden;
    }

    50%, 100% {
        opacity: 1;
        visibility: visible;
    }
}

.legacy-shop-sticky-shell {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(17, 54, 92, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.legacy-shop-header-top {
    max-height: 240px;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height 0.3s ease, opacity 0.22s ease, transform 0.3s ease;
    will-change: max-height, opacity, transform;
}

.legacy-shop-sticky-shell.is-compact .legacy-shop-header-top {
    max-height: 0;
    opacity: 0;
    transform: translateY(-18px);
}

.legacy-shop-toolbar {
    background: #fff;
}

.legacy-shop-nav-wrap {
    background: #fff;
    margin-bottom: 0 !important;
}

.legacy-shop-tabs {
    gap: 0.9rem;
}

.legacy-shop-nav-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.6rem;
    margin-left: auto;
    order: 2;
}

.legacy-shop-action-btn {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.legacy-shop-action-btn .legacy-cart-badge {
    margin-left: 0.05rem;
    min-width: 1.18rem;
    min-height: 1.18rem;
    padding: 0.14rem 0.28rem;
}

.legacy-shop-action-label {
    color: #3d464d;
    font-size: 0.88rem;
    font-weight: 600;
}

.legacy-shop-action-btn--subtotal span[data-cart-subtotal] {
    color: #3d464d;
    font-size: 0.88rem;
    font-weight: 600;
}

.legacy-cart-badge {
    align-items: center;
    background: var(--pavwell-blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 1.35rem;
    min-height: 1.35rem;
    padding: 0.2rem 0.38rem;
}

.legacy-anchor-target {
    scroll-margin-top: 210px;
}

.legacy-sidebar-nav .nav-link {
    align-items: flex-start;
    border-bottom: 1px solid #f1f1f1;
    color: #3d464d;
    display: flex;
    gap: 0.85rem;
    font-weight: 500;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.legacy-sidebar-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.legacy-sidebar-meta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.legacy-sidebar-nav .nav-link:last-child {
    border-bottom: 0;
}

.legacy-sidebar-nav .nav-link:hover {
    color: var(--pavwell-blue);
    text-decoration: none;
}

.legacy-loading-panel {
    background: #fff;
    border: 1px dashed #cfe0f2;
    border-radius: 0.4rem;
    color: #6c757d;
    padding: 1rem 1.1rem;
    text-align: center;
}

.legacy-sidebar-note,
.legacy-summary-copy,
.legacy-cart-copy {
    color: #6c757d;
    font-size: 0.92rem;
}

.legacy-mini-item {
    border-bottom: 1px solid #f1f1f1;
    color: #3d464d;
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.legacy-mini-item:last-child {
    border-bottom: 0;
}

.legacy-mini-item:hover {
    color: var(--pavwell-blue);
    text-decoration: none;
}

.legacy-mini-item-name {
    font-weight: 600;
    padding-right: 1rem;
}

.legacy-mini-item-meta {
    white-space: nowrap;
}

.legacy-domain-result {
    background: #fff;
    border: 1px solid #edf1ff;
    border-radius: 0.4rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.legacy-domain-result h3 {
    color: #3d464d;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.legacy-domain-result.is-available {
    border-color: rgba(40, 167, 69, 0.32);
}

.legacy-domain-result.is-unavailable {
    border-color: rgba(220, 53, 69, 0.32);
}

.legacy-domain-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.legacy-domain-link {
    color: var(--pavwell-blue);
    font-weight: 600;
}

.legacy-domain-action {
    min-width: 150px;
}

.legacy-empty-panel {
    background: #fff;
    border: 1px solid #edf1ff;
    border-radius: 0.4rem;
    padding: 2rem;
    text-align: center;
}

.legacy-cart-product {
    align-items: center;
    display: flex;
    gap: 1rem;
    text-align: left;
}

.legacy-cart-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 83, 184, 0.14), rgba(14, 83, 184, 0.04));
    border: 1px solid rgba(14, 83, 184, 0.14);
    border-radius: 0.75rem;
    color: var(--pavwell-blue);
    display: inline-flex;
    flex: 0 0 62px;
    font-size: 1.35rem;
    height: 62px;
    justify-content: center;
    width: 62px;
}

.legacy-cart-name {
    color: #3d464d;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.legacy-cart-section-link {
    color: var(--pavwell-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.legacy-cart-qty-controls {
    max-width: 120px;
}

.legacy-domain-qty {
    background: #edf1ff;
    border-radius: 999px;
    color: #3d464d;
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
}

.legacy-checkout-line h6 {
    color: #3d464d;
    font-weight: 600;
}

.legacy-product-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legacy-product-card:hover {
    box-shadow: 0 18px 34px rgba(17, 54, 92, 0.12);
    transform: translateY(-4px);
}

.legacy-section-description {
    color: #6c757d;
    font-size: 0.92rem;
    max-width: 640px;
    margin-top: 0.35rem;
    overflow-wrap: normal;
    word-break: normal;
}

.legacy-product-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--pavwell-blue-soft), #f7fbff);
    border-bottom: 1px solid #d6e8fb;
    color: var(--pavwell-blue);
    display: flex;
    font-size: 54px;
    justify-content: center;
    min-height: 170px;
}

.legacy-product-icon i {
    filter: drop-shadow(0 10px 18px rgba(25, 118, 210, 0.18));
}

.legacy-product-icon--domain {
    background: linear-gradient(135deg, #f2f8ff, #dceeff);
}

.legacy-product-icon--hosting {
    background: linear-gradient(135deg, #e9f3ff, #d9ecff);
}

.legacy-product-icon--build {
    background: linear-gradient(135deg, #eef6ff, #ddeeff);
}

.legacy-product-icon--creative {
    background: linear-gradient(135deg, #eef7ff, #dceeff);
}

.legacy-product-icon--growth {
    background: linear-gradient(135deg, #eff7ff, #ddf0ff);
}

.legacy-product-icon--business {
    background: linear-gradient(135deg, #ecf5ff, #d6eaff);
}

.legacy-product-copy {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.55;
    min-height: 3.05rem;
    overflow-wrap: normal;
    padding: 0 1.25rem;
    word-break: normal;
}

.legacy-product-title {
    color: #3d464d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    min-height: 2.9rem;
    overflow-wrap: normal;
    padding: 0 1rem;
    white-space: normal;
    word-break: normal;
}

.legacy-product-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    justify-content: center;
    padding: 0 1rem;
}

.legacy-product-price-meta {
    color: #6c757d;
    font-size: 0.84rem;
    font-weight: 600;
    margin-left: 0.65rem;
    text-transform: uppercase;
}

.legacy-product-feature-list {
    color: #4d5660;
    font-size: 0.88rem;
    line-height: 1.45;
    list-style: none;
    margin: 1rem 1.25rem 0;
    min-height: 5rem;
    padding: 0;
    text-align: left;
}

.legacy-product-feature-list li {
    margin-bottom: 0.45rem;
    overflow-wrap: normal;
    padding-left: 1rem;
    position: relative;
    word-break: normal;
}

.legacy-product-feature-list li::before {
    color: var(--pavwell-blue);
    content: "•";
    left: 0;
    position: absolute;
}

.legacy-product-feature-list li:last-child {
    margin-bottom: 0;
}

.legacy-product-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.legacy-product-actions a {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 132px;
    text-align: center;
    white-space: nowrap;
}

.legacy-product-actions--single a {
    flex-basis: 100%;
}

.legacy-section-head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    justify-content: space-between;
}

.legacy-section-head > div {
    flex: 1 1 320px;
    min-width: 0;
}

.legacy-section-head > a {
    flex: 0 0 auto;
    padding-top: 0.2rem;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .legacy-product-copy,
    .legacy-product-feature-list {
        min-height: 0;
    }

    .legacy-product-title {
        min-height: 0;
    }
}

.legacy-toast {
    align-items: center;
    background: #3d464d;
    border-radius: 999px;
    bottom: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    gap: 12px;
    opacity: 0;
    padding: 0.95rem 1.2rem;
    position: fixed;
    right: 24px;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1080;
}

.legacy-toast a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.legacy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .pavwell-logo-link img {
        width: 128px;
        max-height: 38px;
    }

    .legacy-shop-sticky-shell {
        position: sticky;
        top: 0;
    }

    .legacy-cart-product {
        align-items: flex-start;
    }

    .legacy-anchor-target {
        scroll-margin-top: 180px;
    }

    .legacy-shop-header-top {
        max-height: 280px;
    }

    .legacy-shop-tabs {
        flex-wrap: wrap;
    }

    .legacy-shop-nav-actions {
        gap: 0.45rem;
        margin-left: 0;
        order: 1;
    }
}

@media (max-width: 767.98px) {
    .nav-shop-lottie-link {
        min-height: 42px;
        min-width: 84px;
        padding: 6px 10px !important;
    }

    .nav-shop-switch {
        height: 36px;
        width: 74px;
    }

    .nav-shop-lottie {
        height: 38px;
        width: 38px;
    }

    .nav-shop-label {
        font-size: 13px;
    }

    .legacy-shop-header-top {
        max-height: 340px;
    }

    .legacy-shop-tabs {
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .legacy-shop-tabs > .pavwell-logo-link {
        flex: 0 0 auto;
        margin-right: 0.2rem;
        min-width: 0;
        padding-bottom: 0.6rem !important;
        padding-top: 0.6rem !important;
    }

    .legacy-shop-tabs > .pavwell-logo-link img {
        max-height: 28px;
        width: 102px;
    }

    .legacy-shop-nav-actions {
        flex: 1 1 auto;
        gap: 0.32rem;
        justify-content: flex-end;
        min-width: 0;
        order: 1;
    }

    .legacy-shop-action-btn {
        min-height: 34px;
        padding: 0.34rem 0.46rem;
    }

    .legacy-shop-action-btn--subtotal {
        max-width: 106px;
        overflow: hidden;
    }

    .legacy-shop-action-btn--subtotal span[data-cart-subtotal] {
        font-size: 0.8rem;
        max-width: 58px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .legacy-shop-tabs .navbar-toggler {
        flex: 0 0 auto;
        margin-left: 0.15rem;
        padding: 0.22rem 0.34rem;
        order: 2;
    }

    .legacy-shop-tabs .navbar-collapse {
        flex-basis: 100%;
        order: 3;
    }
}

@media (max-width: 575.98px) {
    .legacy-anchor-target {
        scroll-margin-top: 110px;
    }

    .legacy-domain-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .legacy-toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .legacy-product-actions a {
        flex-basis: 100%;
    }

    .legacy-section-head > a {
        white-space: normal;
    }

    .legacy-shop-action-btn {
        padding: 0.3rem 0.42rem;
    }

    .legacy-shop-action-label {
        display: none;
    }

    .legacy-shop-tabs > .pavwell-logo-link img {
        max-height: 26px;
        width: 92px;
    }

    .legacy-shop-action-btn--subtotal {
        max-width: 94px;
    }

    .legacy-shop-action-btn--subtotal span[data-cart-subtotal] {
        font-size: 0.76rem;
        max-width: 50px;
    }

    .legacy-shop-tabs .navbar-toggler {
        padding: 0.18rem 0.28rem;
    }
}
