.dog-profile-container h2 {
    color: #0E0E0E;
    font-size: clamp(1.375rem, 1.2181rem + 0.7843vw, 1.875rem);
    line-height: 1.2;
    font-weight: 400;
}

.dog-profile-container h2 strong {
    color: #FE5C02;
}

.dogs-all-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    margin: 30px 0;
    list-style: none;
}

.dog-card {
    border: 1px solid #FE5C02;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    background-color: #F4F0E0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.dog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dog-card .dog-image a {
    display: flex;
    align-items: center;
    width: 100%;
}

.dog-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dog-card .dog-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.dog-card .dogname {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    color: #0E0E0E;
    line-height: 1.4;
    font-family: 'Freeman';
}

.logged-in.woocommerce-page .dogs-all-detail .dog-card .dog-content .button {
    margin-top: 0 !important;
    border-radius: 0;
}

.dog-card .button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    background-color: #0071a1;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dog-card .button:hover {
    background-color: #005177;
}

@media (max-width: 1024px) {
    .dogs-all-detail {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 560px) {
    .dogs-all-detail {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 380px) {
    .dogs-all-detail {
        grid-template-columns: repeat(1, 1fr);
    }
}



/* Single page design starts */
.dog-profile-details-container {
    max-width: 800px;
    margin: 100px auto;
    background: #F5F0DF;
    border-radius: 10px;
    padding: 30px 20px;
    width: 95%;
    -webkit-mask: linear-gradient(#777 0 0) center / calc(100% - 15px) calc(100% - 15px) no-repeat, radial-gradient(farthest-side, #777 94%, #0000) 0 0 / 21px 22px round;
    mask: linear-gradient(#777 0 0) center / calc(100% - 15px) calc(100% - 15px) no-repeat, radial-gradient(farthest-side, #777 94%, #0000) 0 0 / 22px 22px round;
}

.dog-profile-details-container .dog-profile-header {
    text-align: center;
}

.dog-profile-details-container .dog-profile-image {
    width: 150px;
    height: 150px;
    /* border-radius: 50%; */
    /* border: 3px solid #fd5c02; */
    /* overflow: hidden; */
    margin: 0 auto;
}

.dog-profile-details-container .dog-profile-image .dog-image-upload-section .dog-current-image {
    border-radius: 50%;
    border: 3px solid #fd5c02;
    overflow: hidden;
    width: 150px;
    height: 150px;
}

.dog-profile-details-container .dog-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    border-radius: initial;
}

.dog-profile-details-container .dog-profile-title {
    font-weight: 400;
    margin: 20px 0 20px 0;
    font-family: 'Freeman';
    color: #FE5C02;
    font-size: clamp(1.125rem, 0.9877rem + 0.6863vw, 1.5625rem);
    line-height: 1.2;
}

.dog-profile-details-container .dog-profile-sidebar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    border-top: 1px solid #FE5C02;
    padding-top: 20px;
}

.dog-profile-details-container .dog-profile-sidebar .button {
    display: inline-block;
    border: 2px solid #FE5C02;
    padding: 12px 25px;
    font-family: Freeman;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #FE5C02;
}

.dog-profile-details-container .dog-profile-sidebar .button:hover {
    background-color: #FE5C02;
    color: #F4F0E0;
}

.dog-profile-details-container .dog-profile-summary {
    text-align: left;
    margin: 15px;
}

.dog-profile-details-container .dog-single-profile-field {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.dog-profile-details-container .dog-single-profile-field-label,
.dog-profile-details-container .dog-single-profile-field-value {
    font-weight: 400;
    color: #1E1E1C;
    font-family: 'Freeman';
    font-size: clamp(1.125rem, 1.0466rem + 0.3922vw, 1.375rem);
    line-height: 1.2;
    width: 100%;
}

.dog-profile-details-container .dog-single-profile-field-value {
    color: #FE5C02;
}



.dog-profile-details-container .dog-profile-back-button {
    color: #FE5C02;
    text-decoration: none;
    font-family: 'Freeman';
    font-weight: 400;
    font-size: clamp(1.25rem, 1.1716rem + 0.3922vw, 1.5rem);
    display: inline-block;
}

.dog-profile-details-container .dog-profile-back-button:hover {
    color: #1E1E1C;
    text-decoration: underline;
}



/* responsive css start  */

@media screen and (max-width: 1024px) {
    .dogs-all-detail {
        gap: 20px 15px;
    }

    .dog-card {
        padding: 10px;
    }

    .dog-profile-details-container {
        margin: 50px auto;
    }
}

@media screen and (max-width: 991px) {
    .dogs-all-detail {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .dog-card {
        padding: 15px;
    }
}

@media screen and (max-width: 880px) {}

@media screen and (max-width: 767px) {
    .dog-profile-details-container {
        margin: 30px auto;
    }
}

@media screen and (max-width: 640px) {}

@media screen and (max-width: 575px) {
    .dog-profile-details-container {
        margin: 20px auto;
    }

    .dogs-all-detail {
        gap: 20px;
        grid-template-columns: repeat(1, 1fr);
    }

    .dog-profile-details-container .dog-profile-image {
        width: 130px;
        height: 130px;
    }

    .dog-profile-details-container .dog-single-profile-field {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }
    .dog-profile-details-container .dog-profile-image .dog-image-upload-section .dog-current-image {
        width: 130px;
        height: 130px;
    }
    
}

@media screen and (max-width: 480px) {
    .dog-card .dogname {
        margin-bottom: -20px;
    }

    .logged-in.woocommerce-page .dogs-all-detail .dog-card .dog-content .button {
        margin-top: 0 !important;
        border-radius: 0;
        padding: 10px 8px !important;
        font-size: 14px !important;
    }

    .dogs-all-detail .dog-card .dog-content .button {
        margin-top: 0 !important;
        border-radius: 0;
        padding: 10px 8px !important;
        font-size: 14px !important;
    }

    .dog-profile-details-container .dog-profile-sidebar {
        justify-content: space-between;
        gap: 10px;
    }

    .dog-profile-details-container .dog-profile-sidebar>div {
        width: 100%;
    }

    .dog-profile-details-container .dog-profile-sidebar .button {
        padding: 12px 10px;
        width: 100%;
    }
}

.dog-single-profile-field-value .active {
    color: green;
    font-weight: inherit;
}

.dog-single-profile-field-value .cancelled {
    color: red;
    font-weight: inherit;
}

.dog-profile-image {
    position: relative;
}

.edit-dog-profile-image,
.delete-dog-profile-image {
    position: absolute;
    bottom: 0;
    cursor: pointer;
}

.edit-dog-profile-image {
    right: 0;
    border-radius: 100%;
    border: 2px solid #fe5c02;
    background: #f5f0df;
    padding: 7px 6px 2px 7px;
}

.delete-dog-profile-image {
    left: 0;
    border-radius: 100%;
    border: 2px solid #fe5c02;
    background: #f5f0df;
    padding: 7px 6px 2px 7px;
}

.delete-dog-profile-image button {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.edit-dog-profile-image svg {
    cursor: pointer;
}

.edit-dog-profile-image:hover,
.delete-dog-profile-image:hover {
    background-color: #fe5c02;
}

.edit-dog-profile-image:hover label svg,
.delete-dog-profile-image:hover label svg {
    filter: invert(1);
}