:root {
    --white: #fff;
    --primary: #545AE8;
    --secondary: #5DEBD7;
    --third: #b8b8b8;
    --forth: #404272;
    --orange: #fc9c2e;
    --green: #27b561;

    --gray-1: #ebebeb;
    --gray-2: #fafafa;
    --gray-3: #f5f5f5;

    --colorAlert: #BF4D28;
    --transition1: all 0.3s cubic-bezier(0.21, 0.53, 0.37, 0.72);

}

@keyframes fixedAnim {
    0% {
        top: -150px;
    }

    100% {
        top: 0px;
    }
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

/* Phone number direction for Arabic language */
body.ar input[type="tel"],
body.ar input[type="email"] {
    direction: ltr !important;
    text-align: left !important;
}

/* Ensure phone numbers are always LTR regardless of page direction */
input[type="tel"] {
    direction: ltr;
    text-align: left;
}


.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

:focus {
    outline: 0px;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: rgb(17, 17, 17);
    transition: all 0.25s linear;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary.active,
.btn-primary:active,
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}



.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #000 !important;
}

.btn-primary-gradient.disabled,
.btn-primary-gradient:disabled,
.btn-primary-gradient.active,
.btn-primary-gradient:active,
.btn-primary-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: 0;
    position: relative;
    z-index: 0;
    color: #fff;
    overflow: hidden;
    font-weight: 500
}

.btn.btn-primary-gradient {
    color: #fff
}

.btn.btn-primary-gradient>span,
.btn.btn-primary-gradient>i {
    position: relative;
}

.btn-primary-gradient:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 1;
    background: linear-gradient(-50deg, var(--primary), var(--secondary));
    transition: opacity 0.2s ease-in-out;
}

.btn-primary-gradient:hover:before,
.btn-primary-gradient:focus:before {
    opacity: 0;
}

.outlined {
    border: 2px solid;
    padding: 12px;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s linear;
}

.outlined.blue {
    color: var(--primary);
    border-color: var(--primary);
}

.outlined.blue:hover {
    color: #fff;
    background: var(--secondary);
    border-color: var(--secondary);
}

main {
    /* overflow-x: hidden; */
}

he {
    max-width: 100%;
    height: auto;
}

.primary-color {
    color: var(--primary)
}

.text-success {
    color: #03cf1d !important;
}

.list-unstyled {
    padding: 0;
    margin: 0;
}

.list-unstyled li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.radius-full {
    border-radius: 800px;
}

.bg-gray-1 {
    background-color: var(--gray-1)
}

.bg-gray-2 {
    background-color: var(--gray-2)
}

.bg-gray-3 {
    background-color: var(--gray-3)
}

.blue {
    color: var(--primary);
}

.colorAlert {
    color: var(--colorAlert)
}

.offcanvas>img,
.offcanvas .footer-icon {
    display: none !important;
}

.navbar-toggler {
    padding: 2px 4px;
    font-size: 32px;
    border: 0;
    color: #fff
}

.nav-link {
    padding-inline: 0 !IMPORTANT;
    margin-inline: 6px;
}

:focus,
a:focus,
button:focus {
    outline: 0px !important;
    box-shadow: none !important;
}

.dropdown-toggle::after {
    border-width: 0px 0px 1px 1px;
    border-top-style: initial;
    border-top-color: initial;
    border-right-style: initial;
    border-right-color: initial;
    border-left-style: solid;
    border-left-color: rgb(106 106 106);
    border-bottom-style: solid;
    border-bottom-color: rgb(106 106 106);
    width: 7px;
    height: 7px;
    transform: rotate(-45deg);
}

/**********************/
.gray-bg {
    background-color: var(--gray-3);
}

/***********topbar language & currency dropdowns***********/

/*
 * #lang-mode-switcher: custom.js moves this box into the offcanvas drawer below 992px. The
 * old .lang-mode-switcher rules forced every <ul> inside it to display:flex, which kept both
 * dropdown menus permanently open, so the box no longer carries that class.
 */
.topbar-switchers {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: 30px;
}

.topbar-switchers ul,
.topbar-switchers ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-select__menu:not(.show) {
    display: none;
}

.topbar-select {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-select__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.topbar-select__toggle:hover,
.topbar-select__toggle:focus-visible,
.topbar-select.show .topbar-select__toggle {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    outline: none;
}

.topbar-select__toggle i {
    font-size: 12px;
}

.topbar-select__caret {
    font-size: 9px !important;
    opacity: .8;
    transition: transform .2s;
}

.topbar-select.show .topbar-select__caret {
    transform: rotate(180deg);
}

.topbar-select__menu {
    min-width: 170px;
    padding: 6px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-size: 13px;
}

.topbar-select__menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--dark, #333);
}

.topbar-select__menu .dropdown-item:hover,
.topbar-select__menu .dropdown-item:focus {
    background-color: rgba(89, 87, 224, 0.08);
    color: var(--primary);
}

.topbar-select__menu .dropdown-item.active {
    background-color: var(--primary);
    color: var(--white);
}

.topbar-select__check {
    font-size: 11px;
}

/* Inside the offcanvas drawer (custom.js moves the box there below 992px) */
.offcanvas-body .topbar-switchers {
    gap: 8px;
}

.offcanvas-body .topbar-select__toggle {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--white);
}

.offcanvas-body .topbar-select.show .topbar-select__toggle,
.offcanvas-body .topbar-select__toggle:hover {
    background: var(--primary);
    color: var(--white);
}

/***********addto any ***********/

a.a2a_i,
i.a2a_i {
    border: 0 !important;
}

.a2a_full {
    background: #e8e8e8 !important;
    border: 0;
    padding-bottom: 15px !important
}

.a2a_full_footer {
    display: none !important;
}

.a2a_menu a {
    color: #4a6382 !important;
}

.a2a_menu span.a2a_s_find svg {
    background-color: transparent !important;
}

/**********************/

.navs-containers {
    position: relative
}

.navs-containers.fixed {
    animation-timing-function: cubic-bezier(0.78, 0.09, 0.03, 1.01);
    animation-name: fixedAnim;
    animation-duration: 1s;
    z-index: 99;
    top: 0px;
    left: 0px;
    right: 0px;
    box-shadow: rgb(0 0 0 / 11%) 0px 5px 16px;
    position: fixed !important;
}

header.fixed {
    margin-top: 52px;
}

.over-slider {
    position: absolute;
    z-index: 10;
    bottom: -1px;
    left: 0;
    right: 0;
    pointer-events: none;
    width: 100%;
    height: auto;
}

.over-slider img,
.over-slider img.w-100 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

/* underlined */

.underlined {
    position: relative;
    padding-bottom: 6px;
}

.underlined::before {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px !important;
    bottom: 0px;
    left: 0px;
    background-color: rgb(34, 34, 34);
    transform-origin: right bottom;
    transition: transform 0.25s ease-out 0s;
    z-index: 1;
}

.underlined.white-line::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.navs-containers.fixed .underlined.white-line::before {
    /* background-color: var(--primary3); */
}

.underlined.blue-line::before {
    background-color: var(--primary3);
}

.active .underlined::before,
.underlined:hover::before,
.underlined.active::before {
    transform: scaleX(1);
    transform-origin: left bottom;
}

.navbar-toggler {
    COLOR: #666
}

/****** Topbar ******/

.topbar {
    background-color: var(--primary);
    color: var(--white);
    padding-block: 6px;
}

.topbar a {
    color: var(--white)
}

.topbar .row>div {
    display: flex;
}

.topbar .row>div:last-child {
    display: flex;
    justify-content: flex-end;
}

.topbar .row>div:last-child * {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
}

.topbar .row>div:last-child * i,
.topbar .row>div:last-child * img {
    margin-inline-end: 5px
}

.topbar .row>div:last-child .phone {
    margin-inline-end: 20px
}

/* navs-containers */
nav.navbar {
    padding-block: 0;
}

.navbar .container-fluid {
    padding-block: 0
}

.navs-containers {
    background: #fff;
    padding-block: 0;
}

.nav-item a {
    font-size: 14px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.navs-containers .navbar-nav>li>a {
    /* color: #fff; */
    font-weight: 500;
}

.navbar-nav .dropdown-menu {
    background: var(--primary);
}

.navbar-nav .dropdown-menu a {
    font-weight: 500;
    color: #fff;
    padding-block: 8px;
}

.navbar-nav .dropdown-menu>li:not(:last-child) a {
    border-bottom: 1px dotted #ffffff6b
}

.navbar-nav .dropdown-menu a:hover,
.navbar-nav .dropdown-menu a:focus {
    font-weight: 500;
    background: #ffffff1c !important;
}

.navbar-brand {
    height: 60px;
    margin-inline-end: 40px;
}

.navbar-brand img {
    height: 100%
}

.menu-rows {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.menu-rows>* {
    display: flex;
}

.menu-rows>*:last-child {
    justify-content: flex-end;
}

.menu-rows>*:last-child li:last-child a {
    margin-inline-end: 0;
}

.btn-link-style,
.btn-link-style2 {
    background: var(--secondary);
    padding: 6px 9px !important;
    border-radius: 6px;
    box-shadow: 0px 3px 5px #00000014;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-link-style2 {
    background: var(--primary);
    color: #fff;
}

.btn-link-style:hover,
.btn-link-style2:hover,
.btn-link-style:focus,
.btn-link-style2:focus {
    background: var(--third) !important;
    color: #fff
}

.navbar--2 i {
    font-size: 134%;
    margin-inline-end: 5px
}

.navbar--2 a {
    display: flex;
    align-items: center;
}

.navbar--2 {
    display: flex;
    align-items: center;
}

.user-dropdown {
    display: flex;
    align-items: center;
    margin-inline-end: 24px;
}

.user-dropdown.dropdown-toggle::after {
    transform: translate(0px, -2px) rotate(-45deg);
}

.user-dropdown .user-img {
    width: 38px;
    height: 38px;
    border-radius: 200px;
    display: inline-flex;
    overflow: hidden;
    margin-inline-end: 4px;
}

.user-dropdown .user-img img {
    object-fit: cover;
    object-position: 50%;
    height: 100%;
    width: 100%;
    margin: 0;
}


/* social-icons */

.social-icons a {
    display: flex;
    font-size: 124%;
    background: #ffffff17;
    min-width: 30px;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 5px;
}

.topbar .social-icons a:hover {
    background: #fff;
    color: var(--primary)
}

.social-icons a:not(:last-child) {
    margin-inline-end: 12px;
}


/* breadcrumb */

.breadcrumb-container {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
}

.breadcrumb {
    margin-bottom: 0px;
    padding: 12px 8px;
}

.breadcrumb ul {
    display: flex;
    margin: 0px;
    padding: 0px;
}

.breadcrumb ul li {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    position: relative;
    font-weight: 500;
    font-size: 106%;
}

.breadcrumb ul li:not(:last-child)::before,
.breadcrumb ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-color: rgb(119 119 119);
    transform: rotate(45deg);
    inset: 0px;
    margin-inline: auto -16px;
    margin-block: 9px auto;
}

.breadcrumb ul li::before {
    border-top: 1px solid;
    border-right: 1px solid;
}

.breadcrumb ul li:not(:last-child) {
    margin-inline-end: 28px;
}

.breadcrumb ul li a {
    color: #787878;
    font-size: 92%;
}

.breadcrumb ul li a:hover {
    color: rgb(0, 0, 0);
}

.breadcrumb ul li a.active {
    color: var(--primary);
}

/*footer*/

.footer {
    background-color: var(--forth);
    color: #fff;
    padding-top: 0;
}

.footer h5 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 500;
}

.footer ul li {
    margin-block: 8px;
}

.footer a {
    color: #fff;
}

.footer-desc {
    text-align: justify
}

.footer .underlined::before {
    background-color: #fff;
}

.logo-footer {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.logo-footer img {
    height: 70px;
    filter: brightness(5);
    display: inline-flex;
    margin-right: 100px;
}

/* RTL Support for Logo */
[dir="rtl"] .logo-footer img {
    margin-right: 100px;
    margin-left: 10px;
}

.cr {
    padding-block: 12px;
    border-top: 1px solid #fff3;
    margin-top: 24px;
    font-size: 85%;
}

.cr a {
    color: #fff;
}

/* page title*/

.page-title {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding-block: 12px;
    position: relative;
    color: #fff;
    z-index: 1;
}

.page-title:before {
    /* content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute !important;
    background-position: 25% 50% !important;
    background-size: 35% !important;
    opacity: .5 !important;
    z-index: 1 !important;
    background-repeat: no-repeat */
}

/* footer-icon */

.footer-icon {
    display: flex;
    margin-block-start: 15px;
    align-items: center;
}

.social-title {
    font-size: 115%;
    color: var(--secondary);
    margin-inline-end: 15px;
    font-weight: 600
}

.footer-icon a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    color: #fff;
    background: #ffffff1c;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.2s linear;
}

.footer-icon a:hover {
    color: var(--primary);
    background: #fff;
}

.footer-icon a:not(:last-child) {
    margin-inline-end: 10px;
}


/* newsletters */

.email-field {
    position: relative;
    margin-block-start: 9px;
}

.email-field button {
    position: absolute;
    margin-inline: auto 0;
    inset: 0;
    width: 90px;
    border: 0;
}

.email-field button {
    /* background: var(--secondary); */
    font-weight: 500;
    height: 42px;
    width: 44px;
    border-radius: 10px;
    font-size: 22px;
    margin-top: -2px;
}

.email-field button i {
    transform: translate(-3px, -2px) rotate(25deg);
    transition: all 0.3s cubic-bezier(0.83, 0.03, 0.13, 0.95);
}

.email-field button:hover i {
    transform: translate(-3px, -2px) rotate(-1deg);
}

.email-field button:hover,
.email-field button:active,
.email-field button:focus-within,
.email-field button:focus {
    /* background: var(--primary) !important; */
}

.email-field input {
    /* padding-inline-end: 100px; */
    border-radius: 8px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    width: calc(100% - 50px);
    color: #666;
    background: var(--gray-1);
}

.newsletters .select2-container--default .select2-selection--single {
    background-color: #eaeaea;
}

.envelope {
    width: 40px;
    display: inline-flex;
    margin-inline: 0 10px;
}

/* Team */
.teamSwiper .swiper-wrapper {
    /* display: flex; */
}

.teamSwiper .swiper-wrapper>* {
    height: auto;
}

.header {
    display: flex;
    font-size: 80%;
    align-items: center;
    justify-content: space-between;
    color: #fff9;
}

.header img {
    width: 30px;
    opacity: 0.25;
}

.per-team.verified .header img {
    width: 30px;
    opacity: 0.95;
}

.team-img {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 58%;
    height: 220px;
    border-radius: 800px;
    margin-inline: auto;

}

.team-img img {
    position: relative;
    object-fit: cover;
    border-radius: 800px;
    width: 100%;
    height: 220px;
}

.per-team .team-img:before {
    content: "";
    background: var(--secondary);
    position: absolute;
    margin-inline: 12px 0px;
    border-radius: 800px;
    top: 25px;
    bottom: -7px;
    left: 0;
    right: 0;
    width: calc(100% - 12px);
    transition: all 0.3s linear;
}

.per-team:hover .team-img:before {
    background: var(--primary)
}

.name-position {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-name {
    font-weight: 700;
    text-align: center;
    font-size: 110%;
    margin-top: 8px;
}

.team-position {
    /* font-size: 85%; */
    margin-top: 5px;
}

.team-rate {
    margin-top: 8px;
    color: #ffc137;
    text-shadow: 0px 0px #0000009e;
}

.team-rate i {
    margin-inline: 2px
}

.per-team {
    /* background: var(--primary); */
    position: relative;
    padding-bottom: 15px;
    padding-top: 10px;
    border-radius: 16px;
    /* box-shadow: 0 0 8px #0000004a; */
    /* margin-inline: 5px; */
    margin-block: 10px 10px;
    overflow: hidden;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.per-team.verified {
    background: var(--secondary);
}

.per-team.verified {
    background: var(--secondary);
}

.per-team:before {
    /* content: "";
    background: var(--gray-3);
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    transition: all 0.5s cubic-bezier(0.42, 0, 0.11, 0.98); */
}

.per-team:hover:before {
    height: 75%;
    background: #fff;
}

.per-team>* {
    position: relative;
    z-index: 1;
    text-align: center;
}

.team-logo img {
    width: 35px;
    margin-top: 8px;
    filter: contrast(0.6);
}

.name-position {
    margin-block: 10px 2px
}

.per-team .desc {
    text-align: center;
    font-size: 86%;
    margin-block: 10px
}


.per-team .just-n {
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 0;
}

.per-team .just-n img {
    width: 24px;
    height: 24px;
    transition: all 0.5s cubic-bezier(0.42, 0, 0.11, 0.98);
}

.per-team:hover .just-n img {
    transform: rotate(360deg)
}

.similarSwiper,
.blogSwiper,
.similarBlogs,
.teamSwiper {
    padding-bottom: 40px
}

.similarSwiper .swiper-pagination,
.blogSwiper .swiper-pagination,
.similarBlogs .swiper-pagination,
.teamSwiper .swiper-pagination {
    display: flex;
    justify-content: center;
}

.similarSwiper .swiper-pagination span,
.blogSwiper .swiper-pagination span,
.similarBlogs .swiper-pagination span,
.teamSwiper .swiper-pagination span {
    width: 10px;
    border-radius: 40px;
    height: 10px;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary)
}

/* sidebar-block */

.cus-filter-label {}

.sidebar-filter-con {
    background: rgb(255 255 255);
    border-radius: 8px;
    box-shadow: 0 0 10px #00000021;
}

.sidebar-filter-con {
    margin-bottom: 20px;
}

.col-filter {
    margin-bottom: 0px;
    padding: 16px 14px 22px;
}

.col-filter .card {
    border: 0px;
    padding: 0px;
    background: transparent;
    /* font-size: 88%; */
    margin-top: 10px;
    color: #666;
}

.cus-filter-label {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: rgb(102, 102, 102);
    margin-bottom: 10px;
    font-size: 100%;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f1f1;
}

.cus-filter-label svg {
    transform: rotate(270deg);
    height: 14px;
    transition: all 0.2s linear 0s;
    margin-top: -4px;
}

.cus-filter-label.collapsed svg {
    transform: rotate(90deg);
}

.cus-filter-label svg path {
    stroke: rgb(102, 102, 102);
}

.col-cutom-3 hr {
    border-color: rgb(179, 179, 179);
}

.linked-filters li * {
    font-size: 110%;
    color: var(--primary);
    padding-block: 5px;
    display: flex;
}


.linked-filters a.active {
    font-weight: 500;
}

.sidebar-filter-con .form-check {
    position: relative;
}

.sidebar-filter-con .form-check.with-val>*:last-child {
    margin-inline: auto 2px;
}

.sidebar-filter-con .form-check.with-val>*:last-child img {
    width: 20px;
    filter: grayscale(1);
    opacity: 0.8;
}

.sidebar-filter-con .form-check::before {
    content: '';
    position: absolute;
    width: calc(100% - 30px);
    height: 1px;
    border-bottom: 1px dotted #d7d7d7;
    bottom: -4px;
    right: 0;
    left: 0;
    margin-inline: auto 4px;
}


/*rg-label */

.rg-label {
    margin-inline-start: 4px;
    margin-block-end: 6px;
    font-weight: 600
}

/* plus - minus */

.mmp {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    border-bottom: 1px dotted #d7d7d7;
    padding-block: 5px 8px;
}

.mmp .number {
    display: flex;
    justify-content: center;
}

.minus,
.plus {
    width: 23px;
    height: 23px;
    color: var(--primary);
    border: 1px solid var(--primary);
    display: inline-flex;
    text-align: center;
    border-radius: 500px;
    justify-content: center;
    font-size: 25px;
    line-height: 18px;
    font-weight: 500;
    cursor: pointer
}

.mmp input {
    height: 24px;
    width: 30px;
    border: 0px !important;
    border-radius: 4px;
    padding: 0 !important;
    display: inline-flex;
    text-align: center;
    font-size: 110% !important;
    font-weight: 600;
    color: #666;
}

.mmp-label {
    display: flex;
    align-items: center;
}

.mmp .mmp-label img {
    width: 20px;
    filter: grayscale(1);
    opacity: 0.8;
    margin-inline-end: 5px;
}

/****************/
/* input */
input[type=text],
input[type=number],
input[type=tel],
input[type=email],
input[type=password] {
    font-size: 100%;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    min-height: 38px;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=pass]:focus {
    border: 1px solid var(--primary);
}

/* checkboxes */

.form-check {
    display: flex;
    align-items: center;
    font-size: 85%;
    font-weight: 500;
    margin-bottom: 12px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-inline-end: 6px;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


/********custom-scrollable***********/

.custom-scrollable {
    max-height: 160px;
}

.mCSB_dragger {
    background-color: transparent !important;
}

.mCSB_inside>.mCSB_container {
    margin-right: 0px;
    margin-inline-end: 10px;
}

.mCSB_scrollTools {
    width: 4px;
}

.mCSB_scrollTools .mCSB_draggerRail {
    background-color: transparent !important
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    background-color: rgba(0, 0, 0, 1) !important;
}


/* modal */
.modal-header h1 {
    color: var(--primary3);
    font-weight: 600 !IMPORTANT;
}

.btn-close {
    transition: all 0.15s linear;
}

.btn-close:hover {
    transform: rotate(90deg)
}

.modal-header {
    border-color: var(--primary1);
    background: #f5f5f5;
}

.custom-modal-footer {
    padding: 8px 18px 20px;
    display: flex;
    justify-content: space-between
}

.custom-modal-footer {
    padding: 8px 18px 20px;
}

.custom-modal-footer>* {
    width: calc(50% - 10px);
}

.modal .file-drop-area {
    width: 100% !important
}

.modal-style-2 .modal-content {
    background: #e6e6e6;
    border: 0;
    border-top: 10px solid var(--primary);

}

.modal-style-2 .modal-header {
    border: 0;
    background: transparent;
    padding-bottom: 0;
}

.modal-style-2.full-image-background .modal-body {
    padding-top: 0;
    height: calc(100vh - 150px);
}

.dialog-icon {
    text-align: center;
    position: absolute;
    background: var(--primary);
    top: -80px;
    left: 0;
    right: 0;
    border-radius: 500px;
    width: 90px;
    height: 90px;
    margin-inline: 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-icon i {
    font-size: 70px;
    color: #fff;
}

.dialog-icon i.fa-solid {
    font-size: 50px;
}

.style2-body {
    margin-top: 28px;
    margin-bottom: 20px;
    font-size: 112%;
    padding-inline: 18px;
}

.modal-style-2 .custom-modal-footer {
    padding: 8px 18px 10px;
}

.custom-modal-footer.text-center {
    display: flex;
    justify-content: center;
}

.full-image-background .modal-content {
    background: url(../imgs/abstruct-bg.jpg);
}

.full-image-background .modal-content .btn-close {
    filter: invert(1);
    opacity: 1;
}

.full-image-background .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-image-background .modal-content {
    color: #fff
}

.join-title {
    font-size: 300%;
    font-weight: 600;
    margin-bottom: 30px;
}

.full-image-background .custom-modal-footer button {
    width: 240px;
    padding-block: 10px;
    font-size: 104%;
}

/* pagination */

.pagination-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.375rem;
    gap: 0.25rem;
}

.page-item {
    position: relative;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #666;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-width: 2.5rem;
    text-align: center;
}

.page-link:hover {
    z-index: 2;
    color: var(--primary);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(84, 90, 232, 0.25);
}

.page-item.active .page-link,
.active>.page-link,
.page-link.active {
    z-index: 3;
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Pagination arrows styling */
.page-item .page-link[aria-label="Previous"],
.page-item .page-link[aria-label="Next"],
.page-item .page-link[aria-label="السابق"],
.page-item .page-link[aria-label="اللاحق"] {
    font-weight: bold;
    font-size: 1rem;
}

/* FontAwesome icons in pagination */
.pagination .page-link i {
    font-size: 0.875rem;
    color: inherit;
    font-weight: 900;
}

.pagination .page-item.disabled .page-link i {
    color: #6c757d;
}

.pagination .page-item.active .page-link i {
    color: #fff;
}

.pagination .page-link:hover i {
    color: var(--primary);
}

/* Ensure pagination arrows are visible */
.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-link i.fas {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* RTL support for pagination */
body.ar .pagination {
    direction: rtl;
}

body.ar .page-item:first-child .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body.ar .page-item:last-child .page-link {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
        min-width: 2rem;
    }
}

/* Additional pagination fixes */
.pagination-container .pagination {
    margin-bottom: 0;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-item:first-child {
    margin-left: 0;
}

.pagination .page-item:last-child {
    margin-right: 0;
}

/* Fix for pagination arrows not showing */
.pagination .page-link span {
    display: inline-block;
}

.pagination .page-link i.fas.fa-chevron-left:before {
    content: "\f053";
}

.pagination .page-link i.fas.fa-chevron-right:before {
    content: "\f054";
}

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Debug pagination - remove after testing */
.pagination-container {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
}

.pagination[data-pagination="custom"] {
    border: 2px solid #007bff;
    background-color: #e7f3ff;
}

/* Ensure FontAwesome icons are loaded */
.pagination .page-link i.fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}


/* back-to-top */

.back-to-top {
    position: fixed;
    z-index: 9999;
    width: 46px;
    height: 46px;
    top: auto;
    bottom: -50px;
    left: 0;
    display: flex !IMPORTANT;
    right: 0;
    background: linear-gradient(-90deg, var(--primary), var(--secondary));
    margin-inline: auto 20px;
    border-radius: 500px;
    color: #fff;
    font-size: 130%;
    box-shadow: 0px 6px 8px #0000003b;
    /* border: 3px solid #ededed; */
    cursor: pointer;
    transition: all 0.275s cubic-bezier(0.42, 0, 0.28, 1.02);
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.back-to-top.show {
    bottom: 20px;
    opacity: 1
}

.back-to-top:hover {
    background: var(--secondary)
}


/*********************/

@media only screen and (min-width: 992px) {
    .navbar .container-fluid {
        padding-block: 0;
        padding-inline: 0;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        margin-top: 12px;
    }

    .navbar-expand-lg .navbar-nav .user-dropdown+.dropdown-menu {
        margin-top: 3px;
    }

    .navbar--1 .nav-link {
        margin-inline: 0;
        margin-inline: 14px !important;
        /* padding-block: 22px; */
    }

    .nav-item.active .nav-link {}
}

@media only screen and (max-width: 991px) {
    .display-responsive {
        display: flex !important;
    }

    .display-screen {
        display: none !important;
    }

    ul.logged-in .display-responsive {
        order: -10;
        margin: 0 !important;
        padding: 0 !important;
    }

    ul.logged-in .display-responsive .user-dropdown {
        justify-content: flex-start !important;
        background: #ebecf6;
        border-radius: 10px;
        margin-bottom: 15px;
        margin-top: -10px;
        border-inline: 4px solid var(--primary) !important;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 108%;
    }

    ul.logged-in .display-responsive .user-img {
        width: 60px;
        height: 60px;
        margin-top: 0;
    }

    ul.logged-in .display-responsive>*>span:last-child {
        width: calc(100% - 80px) !important;
        /* height: 80px; */
        display: flex;
        align-items: center;
        padding-inline-start: 10px;
    }

    .logged-in>li:nth-child(4),
    .logged-in>li:nth-child(3) {
        width: max-content !important;
        flex-grow: 1;
    }

    .logged-in>li:nth-child(4) a *,
    .logged-in>li:nth-child(3) a * {
        margin-inline: auto
    }

    .logout-responsive a {
        color: #cb5151
    }

    .topbar {
        display: none;
    }

    .offcanvas {
        background: var(--gray-3);
    }

    .offcanvas-header img {
        width: 70px;
    }

    .offcanvas .navbar-nav>li {
        margin-block: 4px;
    }

    .offcanvas ul.navbar-nav>li a {
        padding-inline: 6px !IMPORTANT;
        display: flex;
        border-bottom: 1px dotted #dddddd;
        border-inline-start: 4px solid #e1e1e1;
        justify-content: space-between;
    }

    .offcanvas .btn-link-style {
        justify-content: center !important
    }

    .offcanvas .navbar-nav>li.active a {
        border-inline-start: 4px solid var(--primary)
    }

    .offcanvas a:not(.btn-link-style) {
        /* color: #404040 ! Important; */
    }

    .offcanvas a.underlined::before {
        display: none;
    }

    .offcanvas>img,
    .offcanvas .footer-icon {
        display: flex !important;
    }

    .offcanvas>img {
        position: absolute;
        z-index: -1;
        width: 220px;
        height: 220px;
        inset: 0 !important;
        margin-inline: auto -80px;
        margin-block: auto -50px;
        opacity: 0.2
    }

    .offcanvas .footer-icon {
        justify-content: center !important;
        margin-block: auto 40px;
    }

    .offcanvas .footer-icon a {
        color: var(--primary) !important;
        background: #e0e0e0
    }

    .offcanvas .footer-icon a:hover,
    .offcanvas .footer-icon a:active,
    .offcanvas .footer-icon a:focus {
        background: var(--primary) !important;
        color: #fff !important
    }

    .btn-link-style {
        margin-top: 0;
        border-inline-start: none !important;
    }

    /***********offcanvas animation**********/

    .offcanvas .offcanvas-body {
        opacity: 0;
        transform: translate(10px, 0px);
        transition: all 0.6s cubic-bezier(0.29, 0.49, 0.25, 0.97) 0.3s;
    }

    .offcanvas.show .offcanvas-body {
        opacity: 1;
        transform: translate(0px, 0px);
        transition-delay: 0.5s;
        overflow: visible;
    }

    .offcanvas .offcanvas-header img {
        transform: translate(10px, 0px) scale(1);
        opacity: 0;
        transition: all 0.6s cubic-bezier(0.29, 0.49, 0.25, 0.97) 0.3s;
    }

    .offcanvas.show .offcanvas-header img {
        transform: translate(0px, 0px) scale(1);
        opacity: 1;
        width: 50px;
        opacity: 0.8;
    }

    .offcanvas>img {
        transform: translate(35px, 50px);
        opacity: 0;
        transition: all 1s cubic-bezier(0.29, 0.49, 0.25, 0.97);
    }

    .offcanvas.show>img {
        transform: translate(0px, 0px);
        opacity: 0.175;
        transition-delay: 1s;
    }

    .offcanvas-body {
        display: flex;
        flex-direction: column;
        height: 100%
    }

    .menu-rows>* {
        width: 100%;
        margin-bottom: 35px;
    }

    .navbar--2 {
        order: -1;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 25px;
    }

    .navbar--2>*:first-child,
    .navbar--2>*:nth-child(3) {
        width: 50%;
        margin-inline: 0 !important;
    }

    .navbar--2>*:nth-child(2) {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar--2>*:nth-child(2) * {
        width: 100%;
        text-align: center;
        margin-inline: 0;
        margin-top: 5px;
    }

    .navbar--2>*:first-child a {
        background: #dcdcdc;
        border-radius: 5px;
        margin-inline: 0 !important;
        justify-content: center !important;
        display: flex;
    }

    .navbar--2 a {
        border-inline: 0 !important
    }

    .footer-icon {
        /* margin-block: auto 0 !important; */
    }

    .offcanvas-header {
        position: relative;
        z-index: 0;
        background: transparent;
    }

    .offcanvas-body {
        position: relative;
        z-index: 999999999999999;
    }

    .offcanvas-body .topbar-switchers {
        margin-inline: auto 60px !important;
        left: 0;
        right: 0;
        position: absolute;
        display: flex;
        min-width: 0;
        width: max-content;
        top: -60px;
    }

    .offcanvas-body .topbar-switchers .dropdown-item {
        border: 0 !important;
    }

    .navbar-nav .dropdown-menu {
        margin-inline: 6px;
    }

    .navbar-nav ul.dropdown-menu li a {
        border-inline: 0 !important;
        padding-inline-start: 20px !important;
        display: flex !important;
    }


    .cr {
        margin-top: 14px;
    }

    /********************/
    .filters {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .filters ul {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

}

@media only screen and (min-width: 767px) and (max-width: 991px) {}

@media only screen and (max-width: 767px) {

    .footer {
        padding-top: 22px;
    }

    #footer .row>* {
        margin-block: 6px;
    }

    .cr {
        margin-top: 10px;
        font-size: 85%;
    }


}

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

header {
    position: relative;
}

.banner-container {
    height: 100vh;
    width: 100%;
    color: #fff;
    position: relative;
    z-index: 1;
    direction: rtl !important;
    overflow: hidden;
}

/* Force RTL for all banner elements since images contain Arabic text */
.banner-container,
.banner-container .main-slider,
.banner-container .swiper-wrapper,
.banner-container .swiper-slide,
.banner-container .main-slider-per {
    direction: rtl !important;
}



/* Prevent any RTL transformations on banner images but allow Swiper transforms */
.banner-container .main-slider-per {
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

/* Allow Swiper to handle its own transforms for proper functionality */
.banner-container .main-slider,
.banner-container .swiper-wrapper,
.banner-container .swiper-slide {
    /* Remove transform overrides to allow Swiper to function properly */
}

.main-slider-per {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    width: 100% !important;
    /* Background images scaled to 75% (25% smaller) while maintaining aspect ratio */
}

@media only screen and (max-width: 767px){
    body footer input{
        width: 100% !important
    }
}





.banner-container>*,
.banner-container>*>*,
.banner-container>*>*>*:not(.swiper-pagination),
.banner-container>*>*>*:not(.swiper-pagination)>*:not(.swiper-pagination) {
    height: 100%;
    width: 100%;
}

.main-slider .swiper-pagination {
    bottom: 80px;
    display: flex;
    justify-content: center;
    z-index: 20;
    height: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: all 0.3s ease;
}

.main-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.2);
}

.main-slider .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(0.8);
}

.main-slider .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(1.2);
}

.main-slider .swiper-pagination span {
    background: #ffffff;
    opacity: 0.6;
    width: 14px;
    height: 14px;
}

.main-slider .swiper-pagination span.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.main-slider-per {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: 50%;
    padding-bottom: 50px;
}

.navs-containers.fixed+.banner-container {
    margin-top: 60px
}

.banner-title {
    font-size: 240%;
    font-weight: 600;
    margin-bottom: 10px;
}

.banner-desc {
    font-size: 128%;
}

.banner-link {
    margin-top: 20px
}

.padd-bottom-1 {
    padding-block-end: 20px
}

.padd-top-1 {
    padding-block-start: 20px
}

.padd-bottom-2 {
    padding-block-end: 40px
}

.padd-top-2 {
    padding-block-start: 40px
}

/*over-3*/

.over-3 {
    transform: scale(-1, -1);
}

.over-3 img,
.over-3 img.w-100 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* over-2 styling */
.over-2 img,
.over-2 img.w-100 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* over-footer styling */
.over-footer img,
.over-footer img.w-100 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/*section-1*/

.section-team,
.section-1 {
    position: relative;
    z-index: 0;
}

.section-team:before,
.section-1:before {
    content: "";
    background: url(../imgs/pic-f.jpg);
    background-size: cover;
    position: absolute;
    inset: 0;
    filter: contrast(2);
    opacity: 0.175;
    z-index: -1;
}

.section-team:before {
    background-image: url(../imgs/pic-d.jpg);
    filter: grayscale(1);
}

/*per-service */

.per-service {
    height: 300px;
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 10px;
}

.per-service img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    /*
     * The category icons are uploaded as WebP without an alpha channel, so each one carries a
     * white square around its circle, visible wherever the banner behind it is not white.
     * Multiply blending makes white contribute nothing to the pixels beneath it while the blue
     * artwork stays as drawn, so the square disappears on any light backdrop without touching
     * the files. An icon re-uploaded with real transparency renders identically.
     */
    mix-blend-mode: multiply;
}

.per-service span {
    background: #545ae8b8;
    position: absolute;
    z-index: 2;
    color: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 8px;
    font-weight: 500;
    font-size: 130%;
    transition: all 0.35s cubic-bezier(0.42, 0, 0, 0.97);
}

.per-service:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1d1e2d;
    z-index: 0;
    opacity: 0;
    display: flex;
    transition: all 0.2s linear;
}

.per-service:hover:before {
    opacity: 0.75;
}


.per-service:hover span {
    background: #545ae8e8;
    padding-bottom: 30px;
}

.per-service .add-order {
    position: absolute;
    inset: 0;
    height: 100%;
    transform: translate(0%, -25px);
    z-index: 9;
    background: transparent;
    opacity: 0;
    padding-bottom: 0 !important;
}

.per-service:hover .add-order {
    position: absolute;
    background: transparent;
    opacity: 1;
    transform: translate(0%, -10px);
    padding-bottom: 0 !important;


}


.swiper-button-prev,
.swiper-button-next {
    background-color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 500px;
    border: 1px solid var(--primary);
    transition: all 0.2s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--secondary)
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.swiper-button-next {
    margin-inline: auto -8px;
}

.swiper-button-prev {
    margin-inline: -8px auto;
}

.section-more {
    margin-block: 40px
}

.section-more a {
    min-width: 120px;
}

/*section-title*/

.section-title {
    font-size: 185%;
    font-weight: 600;
    margin-bottom: 16px;
}

.not-center.section-title {
    margin-bottom: 24px
}

.title-line {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 24px;
    display: flex;
    position: relative;
    margin-inline: auto;
    margin-top: 6px;
}

.title-line:before,
.title-line:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(-50deg, var(--secondary), var(--primary));
    top: 4px;
    border-radius: 100px;
    left: 0;
    right: 0;
    margin-inline: 15px auto;
}

.title-line:before {
    margin-inline: auto 15px;
    transform: scale(-1)
}

.not-center .title-line {
    margin-inline: 86px auto;
}

.section-sub-title {
    font-size: 110%;
    margin-bottom: 12px;
    margin-bottom: 20px;
}

.section-title>span:nth-child(2) {
    color: var(--primary)
}


/* get your app */

.get-app {
    background-color: var(--mocca);
    /* padding-block: 8px; */
    /* border-top: 2px solid #d3d3d3; */
}

.get-app .row {
    align-items: center;
}

.get-app .row>*:first-child {
    font-size: 160%;
    font-weight: 600;
    color: #333;
}

.appdownload .flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.appdownload .flex a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-btn {
    width: 45%;
    max-width: 160px;
    color: rgb(255, 255, 255);
    margin: 0px;
    text-align: left;
    border-radius: 5px;
    text-decoration: none;
    font-family: "Lucida Grande", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    padding-block: 6px;
    margin-block: 10px;
}

.app-btn:not(:last-child) {
    margin-inline-end: 20px;
}

.app-btn.blu {
    background-color: rgb(16, 16, 16);
    transition: all 0.15s linear 0s;
}

.app-btn.blu:hover {
    background-color: rgb(108, 108, 108);
    transform: translate(0px, -3px);
    color: #fff
}

.app-btn i {
    width: 20%;
    text-align: center;
    font-size: 32px;
    margin-right: 7px;
}

.app-btn p {
    margin-bottom: 0px;
}

.app-btn .big-txt {
    font-size: 17px;
    text-transform: capitalize;
}

.mobile-image img {
    width: 80%;
    margin-inline: auto;
    display: flex;
}

/* like */
.like-btn {
    border: 0;
    background: transparent;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    line-height: 36px;
    border-radius: 500px;
    background: #ffffffd1;
    padding-top: 2px;
}

.like-btn i {
    font-size: 20px
}

.like-btn .filled {
    display: none;
}

.like-btn.liked .filled {
    display: flex;
}

.like-btn.liked .lined {
    display: none;
}

.like-btn i {
    color: #777
}

.like-btn.liked i {
    color: var(--primary)
}

/* share */

.share a {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    border-radius: 500px;
    background: #ffffffd1
}

.share a img {
    filter: grayscale(1);
    width: 17px;
    margin-top: -1px;
}

/* products */

.product-row-items>* {
    margin-bottom: 20px
}

.product {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
    height: 100%;
}

.product .img-con {
    display: flex;
    height: 200px;
    overflow: hidden
}

.product .img-con img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50%;
    transition: all 0.5s cubic-bezier(0.76, 0.12, 0.22, 0.98)
}

.product:hover .img-con img {
    transform: scale(1.1)
}

.new {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    margin-inline: 8px auto;
    top: 12px;
    z-index: 1;
}

.new>img {
    width: 36px;
}

.new>span {
    position: absolute;
    color: #fff;
    font-size: 76%;
    font-weight: 600;
}

.product-tools {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    width: 40px;
    left: 0;
    right: 0;
    margin-inline: auto 8px;
    align-items: center;
    top: 14px;
    z-index: 1;
}

.crud-iconic {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.crud-iconic:first-child {
    background: #FFC107;
    color: #111
}

.crud-iconic:last-child {
    background: #d42929;
    color: #fff
}

.crud-iconic:hover {
    background: #222;
    color: #fff
}

.company {
    padding: 6px 10px;
    background: linear-gradient(-50deg, var(--secondary), var(--primary));
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.company img {
    width: 32px;
    height: 32px;
    border-radius: 400px;
    margin-inline-end: 10px;
}

.price-row {
    display: flex;
    padding: 8px 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
}

.price-row>.left>* {
    background: #e6e6e6;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600
}

.price-row>.left>*.sale {
    background: #71d1a5;
    color: #fff
}

.price-row>.left>*.rent {
    background: #dfaf35;
    color: #fff
}

.price-row .right {
    display: flex;
    flex-direction: column;
}

.new-price {
    font-size: 140%;
    font-weight: 600;
}

.old-price {
    font-size: 95%;
    font-weight: 500;
    color: #e52e2e;
    text-decoration: line-through;
}

.product-title {
    font-weight: 600;
    font-size: 110%;
    color: var(--primary);
}

.product-title,
.product .cat {
    padding: 14px 10px;
}

.product-title,
.product .cat {
    border-bottom: 1px solid #00000012;
    display: flex;
    align-items: center;
}

.product .cat i {
    margin-inline-end: 6px
}

.change-layout-container .row-property-item .product {
    display: flex;
    flex-direction: row;
}

.change-layout-container .row-property-item .product .img-con {
    height: unset;
    width: 240px;
}

.change-layout-container .row-property-item .product>div:last-child {
    width: calc(100% - 240px);
}

.change-layout-container .row-property-item .product .company {
    background: none;
    color: #111;
    margin-top: 10px
}

.change-layout-container .row-property-item .product .product-tools {
    left: 192px;
    right: auto;
}

.change-layout-container .row-property-item .product .price-row {
    padding-inline-end: 16px
}

@media only screen and (max-width: 991px) {
    .change-layout-container .row-property-item .product .img-con {
        width: 200px;
    }

    .change-layout-container .row-property-item .product>div:last-child {
        width: calc(100% - 200px);
    }

    .change-layout-container .row-property-item .product .product-tools {
        left: 152px;
        right: auto;
    }

}


/* Select 2 */

.select2.select2-container {
    width: 100% !important
}

.select2.select2-container .select2-selection {
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    height: 38px;
    outline: none;
    transition: all .15s ease-in-out
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #333;
    line-height: 36px;
    padding-right: 33px;
    font-size: 13px;
    font-weight: 600;
    color: #666
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    background: #f8f8f8;
    border-left: 1px solid #f1f1f1;
    border-radius: 0 8px 8px 0;
    height: 36px;
    width: 33px
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    border-radius: 0 3px 0 0
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple,
.select2.select2-container.select2-container--focus .select2-selection {
    border: 1px solid #34495e
}

.select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 34px
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: 32px
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 4px 4px 0 0;
    padding: 0 6px 0 22px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    position: relative
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #e74c3c;
    font-weight: 700;
    font-size: 16px
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px
}

.select2-container .select2-dropdown .select2-search {
    padding: 0
}

.select2-container .select2-dropdown .select2-search input {
    outline: none;
    border: 1px solid #0000002e;
    border-bottom: none;
    padding: 4px 6px
}

.select2-container .select2-dropdown .select2-results {
    padding: 0
}

.select2-container .select2-dropdown .select2-results ul {
    background: #fff
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary) !important
}

/**/


/* Change view */


.change-view {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px #00000021;
    padding: 15px;
    margin-bottom: 24px
}

.change-view>span:not(:last-child) {
    -webkit-margin-end: 16px;
    -moz-margin-end: 16px;
    margin-inline-end: 16px
}

.change-view>span {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 3px;
    color: #999;
    cursor: pointer;
    font-size: 160%;
    opacity: .7;
    padding: 3px 5px;
    border: 1px solid #c9c9c9;
}

.change-view>span.active {
    opacity: 1;
    color: var(--primary);
    border-color: var(--secondary);
}

/**********Product Details***********/


.gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-main {
    width: calc(100% - 90px);
    height: 440px;
    position: relative;
}

.gallery-main a {
    display: flex;
}

.gallery-main a img {
    position: absolute;
    inset: 0 !important;
    width: 100%;
}

.gallery-main img {
    height: 100%;
    object-fit: cover;
    object-position: 50% center !important;
    border-radius: 10px;
}

.gallery-main .swiper-button-prev,
.gallery-main .swiper-button-next {
    background-color: transparent;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 500px;
    border: 0;
    transition: all 0.2s;
}

.gallery-main .swiper-button-prev:after,
.gallery-main .swiper-button-next:after {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.gallery-title {
    position: absolute;
    top: 2px;
    right: 15px;
    font-family: Epilogue, sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
    text-shadow: rgba(0, 0, 0, 0.18) 0px 0px 10px;
    color: rgb(255, 255, 255);
}

.swiper-slide-active .gallery-title {
    animation: 0.3s ease-in 0s 1 normal both running slide-in;
}

.gallery-thumbs {
    order: -1;
    width: 80px;
    height: 300px;
}

.gallery-thumbs .swiper-slide img {
    transition: all 0.3s ease 0s;
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: 50% center;
    border-radius: 8px;
}

.gallery-thumbs .swiper-slide-active {
    opacity: 0.9;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}



.product-details {
    position: relative
}

.pd-row .pd-title {
    font-size: 160%;
    font-weight: 700;
    margin-bottom: 10px;
    padding-inline-end: 46px;
}

.pd-row .pd-company {
    padding-block: 6px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.pd-row .pd-company img {
    width: 32px;
    height: 32px;
    border-radius: 400px;
    margin-inline-end: 10px;
}

.pd-row .price-row {
    padding: 8px 0px;
    position: relative;
}

.pd-row .new {
    margin-inline: auto 0;
    left: 0;
    right: 0;
}

.product-details .product-tools {
    flex-direction: row;
    position: relative;
    inset: unset;
    margin-top: 10px;
    width: unset;
}

.product-details .product-tools .share a {
    margin-bottom: 0
}

.pd-row .rating {
    margin-bottom: 10px
}

.pd-row .rating i {
    color: var(--primary)
}

.pd-row .new-price {
    font-size: 200%
}

.pd-row .old-price {
    font-size: 120%
}

.product-details .cat {
    margin-top: 12px;
    border-top: 1px solid #e9e9e9;
    padding-top: 12px;
}

.product-details-desc {
    margin-top: 4px;
}

.product-details .cat i {
    color: var(--primary);
    margin-inline-end: 4px
}

.tools-cont {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

.tools-cont>*:first-child {
    margin-inline: 0 auto;
    width: 50%;
}

.fa-cart-shopping {
    margin-inline-end: 5px;
}

/*tabs-style-2*/

.tabs-style-2 .nav {
    background-color: #f4f4f4;
    border-radius: 6px;
    margin-bottom: -10px !important;
}

.tabs-style-2 .nav li {
    margin-inline-end: 15px !important;
}

.tabs-style-2 .nav li:last-child {
    margin-inline-end: 0 !important;
}

.tabs-style-2 .nav li button {
    padding-inline: 15px !important;
    margin-inline: 0;
    min-width: 120px;
    font-weight: 500;
    color: #222;
    padding-block: 12px;
}

/* Steps */

.steps {
    margin-top: -12px;
    margin-bottom: 20px;
}

.steps ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.steps ul li:nth-child(2) {
    margin-inline: 20px
}

.steps ul:before {
    content: "";
    height: 8px;
    width: 158px;
    position: absolute;
    background: var(--primary);
    border-radius: 100px;
    top: 16px;
    z-index: -1
}

.steps ul a {
    cursor: context-menu;
}

.steps ul a.active {
    cursor: pointer;
}

.steps ul a span {
    /* font-weight: 500; */
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 500px;
    font-size: 22px;
    /* font-family: fantasy; */
    font-weight: 700;
    color: #ffffffb8;
}

.steps ul a.active span {
    color: var(--secondary);
}

/********bolded-colored*******/

.bolded-colored .form-label {
    font-weight: 600;
}

.bolded-colored .select2.select2-container .select2-selection .select2-selection__rendered {
    font-weight: normal;
}

/***************/

/***** providder-main-info ****/

.providder-main-info {
    display: flex;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    padding-inline-start: 45px;
}

.providder-main-info:before {
    content: "";
    position: absolute;
    height: 360%;
    width: 110px;
    z-index: 99;
    display: flex;
    inset: 0;



    width: 0;
    height: 0;
    border-top: 150px solid var(--secondary);
    border-right: 60px solid transparent;
}

.pmi-img {
    display: inline-flex;
    width: 120px;
    height: 120px;
    border-radius: 500px;
    border: 5px solid #fff;
    overflow: hidden;
    box-shadow: 0 0 8px #0000001f;
    margin-inline-end: 18px;
    align-items: center;
}

.pmi-img img {
    object-fit: cover;
    object-position: 50%;
    width: 100%;
    height: 100%;
}

.pmi-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 142px);
}

.pmi-content .name {
    font-weight: 600;
    font-size: 20px;
    color: #444;
    margin-bottom: 5px;
}

.pmi-content .rating {
    color: var(--primary);
    margin-bottom: 5px;
}

.pmi-number-of-services {
    margin-bottom: 20px;
    color: #535353;
}

/* gallery */

.gallery-section {
    padding-block: 40px
}

.column-images {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
    align-content: space-between;
}

.right-img {
    width: calc(50% - 14px);
    display: -ms-inline-flexbox;
    display: inline-flex;
    /* margin-bottom: 12px; */
}

.right-img.qr-code,
.right-img a {
    height: 138px
}

.right-img:nth-child(2n) {
    -webkit-margin-start: 12px;
    -moz-margin-start: 12px;
    margin-inline-start: 12px
}

.right-img:nth-child(odd) {
    -webkit-margin-end: 12px;
    -moz-margin-end: 12px;
    margin-inline-end: 12px
}

.right-img:last-child,
.right-img:nth-last-child(2) {
    margin-bottom: 0
}

.right-img:nth-child(4) {
    position: relative;
}

.right-img:nth-child(4) span {
    position: absolute;
    inset: 0;
    bottom: 0;
    width: 70px;
    height: 45px;
    font-weight: 600;
    z-index: 2;
    margin-block: auto 0;
    margin-inline: auto 0;
    font-size: 32px;
    color: #FFF;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    text-shadow: 0 -1px 7px #000, 0 0 7px #000;
}

.main-img a {
    height: 300px;
}

.main-img a img,
.right-img a img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50%;
    object-position: 50%;
    height: 100%;
    width: 100%;
    transition: all .3s linear
}

.main-img a,
.right-img a {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #000
}

.main-img {
    height: auto
}

.right-img.qr-code {
    background-color: var(--blue);
    border-radius: 12px;
    overflow: hidden;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center
}

.right-img.qr-code img {
    -o-object-fit: contain;
    object-fit: contain;
    height: calc(100% - 30px);
    width: 100%
}

.main-img a:hover img,
.right-img a:hover img {
    opacity: .5
}

.main-img a i,
.right-img a i {
    position: absolute;
    color: #fff;
    font-size: 200%;
    width: 40px;
    height: 40px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    bottom: 10px;
    margin-inline: -40px auto;
    opacity: 0;
    transition: all .3s cubic-bezier(.42, 0, .06, 1)
}

.main-img a:hover i,
.right-img a:hover i {
    opacity: 1;
    margin-inline: 12px auto
}


/* review card */
.reviews .card {
    background: #fcfcfc;
    border: 0
}

.review-card {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background-color: #b7c1ca;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin-inline-end: 15px;
    margin-top: 10px;
}

.review-content {
    /* flex: 1; */
    width: calc(100% - 65px);
}

.rivewer-name {
    font-weight: 600;
    font-size: 110%;
}

.review-content .rating {
    font-size: 85%;
    margin-block: 5px;
}

.review-content i {
    color: var(--primary)
}

/* modal video */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* readmore */
.text-container {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.text-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    max-height: 3.6em;
    transition: max-height 1s ease, white-space 1s ease;
}

.text-content.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-height: 1000px;
}

.read-more-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-top: 0;
    display: block;
    box-sizing: border-box;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    background-color: transparent;
    color: var(--secondary);
}

/*service-provider-map-container*/
.service-provider-map-container iframe {
    height: 260px;
    width: 100%;
}

/* Drag and Drop */
/* 
#drop-area {
    border: 2px dashed #007bff;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
}

#drop-area.highlight {
    background-color: #e9ecef;
}

#fileList p {
    margin: 0;
} */


/* Price tables */

.price-tables-row {
    margin-top: 10px;
}

.price-tables-row>* {
    margin-bottom: 30px;
}

.price-card {
    background: #fafafa;
    padding: 30px 25px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-card:before {
    position: absolute;
    content: "";
    top: 0;
    right: -35px;
    width: 58px;
    height: 58px;
    background: var(--secondary);
    opacity: 0.7;
    border-radius: 8px;
    transform: rotate(45deg);
}

.price-card:after {
    position: absolute;
    content: "";
    top: 30px;
    right: -35px;
    width: 58px;
    height: 58px;
    background: var(--primary);
    opacity: 0.8;
    border-radius: 8px;
    transform: rotate(45deg);
}

.price-card h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary)
}

.price-card .btn {
    font-size: 95%;
    border-radius: 100px;
    padding: 0 25px;
    border: 0;
    width: 110px;
    margin-inline: auto 0;
}

.price-card .btn.btn-primary {
    border: 0 !important;
    margin-block: auto 0;
}

.price-card .btn:hover {
    color: #000 !important;
    background: var(--secondary) !important;
}

div:nth-child(even)>.price-card:not(.bought-price-card) {
    background: #fff;
    border: 1px solid #ebebeb;

}

.price-card.bought-price-card {
    background: #fff !important
}

.price-card:hover .btn {
    background: var(--primary);
    border-color: var(--primary);
}

p.price span {
    display: inline-block;
    padding: 35px 15px 25px;
    padding-right: 0;
    font-size: 50px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

p.price span:before {
    position: absolute;
    font-size: 16px;
    top: 25px;
    font-weight: 500;
    left: 0;
}

.pricing-offers {
    padding: 0 0 10px;
}

.bought-price-card .pricing-offers {
    margin-top: 10px;
    padding: 0;
    margin-bottom: 2px;
}

.bought-price-card>*:last-child {
    display: flex;
    justify-content: flex-end;
    color: var(--primary);
    align-items: center;
}

.pricing-offers li {
    padding: 0 0 16px;
    line-height: 18px;
    list-style-type: none;
}

.bought-price-card .pricing-offers li {
    padding: 5px 0;
}

.bought-price-card .pricing-offers strong {
    color: #686868;
    font-weight: 500 !important
}

.bought-price-card i {
    display: inline-flex;
    margin-inline-end: 5px;
    color: #515151;

}

.btn.btn-mid {
    line-height: 40px;
    padding: 0 20px;
}

.btm-border {
    border-bottom: 1px solid #cacaca
}

/* collecting-points */

.collecting-points {
    background: #f9f9f9;
    padding: 30px 24px;
    border-radius: 8px;
}

.collecting-points+hr {
    border-color: #cccccc !important;
    margin-bottom: 25px;
}

.collecting-desc {
    font-size: 115%
}

.collecting-desc a {
    font-weight: 600;
    display: inline-flex;
    position: relative;
    color: var(--primary);
}

.collecting-desc a:before {
    transform: scaleX(0) !IMPORTANT;
    transform-origin: right bottom !IMPORTANT;
    background: var(--secondary)
}

.collecting-desc a:hover:before {
    transform: scaleX(1) !IMPORTANT;
    transform-origin: left bottom !IMPORTANT;
}

/* progressbar */

.progress-bar {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

@media only screen and (max-width: 991px) {
    .menu-rows {
        display: flex;
        flex-direction: column;
    }

    .over-footer {
        margin-bottom: -1px;
    }

    .column-images {
        margin-top: 20px
    }

    .column-images>* {
        margin-bottom: 25px
    }

    .gallery-section>*>*>*>*:not(:first-child) .main-img {
        margin-top: 25px
    }


}

@media only screen and (max-width: 767px) {
    .logo-footer {
        margin-top: -14px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .logo-footer img {
        height: 50px;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .providder-main-info {
        flex-direction: column;
    }

    .providder-main-info>.pmi-content {
        width: 100%;
    }

    /* These rules were meant for phones: a closing brace here ended the media query early, so
       they applied on every screen and the stray one below swallowed the 575px block. */
    .nav-pills {
        width: 100%;
        overflow-x: visible;
        overflow-y: hidden;
        display: flex;
        flex-wrap: nowrap;
    }

    .nav-pills>li>* {
        width: max-content
    }

    .per-order>*>* {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
    }

    .order-number {
        margin-inline: auto 0
    }
}

@media only screen and (max-width: 575px) {
    .main-slider .swiper-pagination {
        bottom: 40px;
    }

    .banner-container {
        height: calc(85vh - 150px);
    }

    .over-slider {
        bottom: -2px;
    }

    .over-slider img,
    .over-slider img.w-100 {
        width: 100% !important;
        height: auto !important;
        min-height: 20px;
    }

    .banner-title {
        font-size: 200%;
    }

    .pmi-img {
        margin-inline-end: 0px;
        margin-inline: auto;
    }

    .team-img {
        width: 200px;
    }

    .main-slider-per {
        background-position: 100% center
    }

    .gallery-thumbs {
        display: none;
    }

    .gallery-main {
        width: calc(100%);
        height: 440px;
    }

}
/* =========================================================================
   Storefront, as the mobile app draws it: search + chips, section rails,
   the product card, the product page's information box and reviews.
   ========================================================================= */

.store-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.store-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e6e8f0;
    border-radius: 999px;
    padding: 6px 16px;
    box-shadow: 0 4px 14px rgba(32, 37, 52, 0.06);
    margin: 0;
}

.store-search i {
    color: #9aa0b5;
}

.store-search .form-control {
    border: 0;
    box-shadow: none;
    padding: 6px 0;
    background: transparent;
}

.store-search .form-control:focus {
    box-shadow: none;
}

.store-filter-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.store-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    margin-bottom: 14px;
    scrollbar-width: none;
}

.store-chips::-webkit-scrollbar {
    display: none;
}

.store-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e6e8f0;
    color: #3a3f55;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}

.store-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.store-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---- section rails ---- */

.product-rail {
    margin-bottom: 26px;
}

.product-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-rail__title {
    display: inline-block;
    margin: 0;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-rail__more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.product-rail__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
}

.product-rail__item {
    flex: 0 0 250px;
    scroll-snap-align: start;
}

@media only screen and (max-width: 767px) {
    .product-rail__item {
        flex-basis: 66vw;
    }
}

/* ---- the card ---- */

.store-card.product {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(32, 37, 52, 0.08);
    border: 1px solid #eef0f6;
}

.store-card .img-con {
    height: 190px;
    background: #f4f5f9;
}

.store-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 12px 14px;
    flex: 1 1 auto;
}

.store-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2437;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.store-card__title:hover {
    color: var(--primary);
}

.store-card__provider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5169;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.store-card__provider img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e6e8f0;
}

.store-card__verified {
    color: #1d9bf0;
    font-size: 0.85rem;
}

.store-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 0.8rem;
    color: #6c7288;
}

.store-card__sep {
    color: #c4c8d8;
}

.store-card__badge {
    font-weight: 700;
}

.store-card__badge.sale,
.store-card__badge.is-new {
    color: var(--green);
}

.store-card__badge.rent {
    color: var(--orange);
}

.store-card__badge.is-used {
    color: #6c7288;
}

.store-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.store-card__price-label {
    font-size: 0.8rem;
    color: #6c7288;
}

.store-card .new-price {
    font-size: 1.05rem;
    color: var(--primary);
}

.store-card .old-price {
    font-size: 0.85rem;
}

.store-card__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #e6e8f0;
    font-size: 0.8rem;
    color: #6c7288;
}

.store-card__views i {
    margin-inline-end: 4px;
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f5b301;
    font-size: 0.85rem;
}

.rating-stars .fa-regular {
    color: #d5d8e3;
}

.rating-stars .rating-value {
    color: #6c7288;
    margin-inline-start: 4px;
    font-weight: 600;
}

.store-empty {
    padding: 40px 0;
    color: #6c7288;
}

/* ---- product page ---- */

.pd-page .gallery-container {
    border-radius: 14px;
    overflow: hidden;
}

.pd-gallery__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background: #f4f5f9;
    border-radius: 14px;
}

.pd-gallery__empty img {
    max-width: 200px;
    opacity: .6;
}

.pd-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(32, 37, 52, 0.08);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: #6c7288;
}

.pd-condition {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.pd-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1f2437;
    margin: 0;
}

.pd-provider {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3a3f55;
    font-weight: 700;
    text-decoration: none;
}

.pd-provider img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e6e8f0;
}

.pd-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.pd-call:hover {
    color: #fff;
    background: var(--forth);
}

.pd-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-tools .share a {
    margin-bottom: 0;
    background: #f4f5f9;
}

.pd-tools .like-btn {
    background: #f4f5f9;
}

.pd-description .pd-label,
.pd-info__label {
    font-weight: 700;
}

.pd-description p {
    margin: 4px 0 0;
    color: #4b5169;
    line-height: 1.7;
    white-space: pre-line;
}

.pd-description.is-clamped:not(.is-expanded) p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-read-more {
    border: 0;
    background: none;
    padding: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.pd-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3fc9b5, #5DEBD7);
    color: #fff;
    font-size: 0.92rem;
}

.pd-info__row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pd-info__row--full {
    grid-column: 1 / -1;
}

.pd-info__row .sale,
.pd-info__row .rent {
    font-weight: 700;
}

.pd-info__price .old-price {
    color: #ffe3e3;
    margin-inline-start: 6px;
}

@media only screen and (max-width: 575px) {
    .pd-info {
        grid-template-columns: 1fr;
    }
}

.pd-reviews {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(32, 37, 52, 0.08);
    padding: 18px;
}

.pd-review {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f6;
}

.pd-review:last-child {
    border-bottom: 0;
}

.pd-review__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid #e6e8f0;
}

.pd-review__body {
    flex: 1 1 auto;
}

.pd-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-review__name {
    font-weight: 700;
    color: #1f2437;
}

.pd-review__comment {
    margin: 6px 0 4px;
    color: #4b5169;
}

.pd-review__date {
    font-size: 0.78rem;
    color: #9aa0b5;
}

/*
 * The search on the categories page. The box itself is the shop's .store-search, so both searches
 * on the site look the same; only the result list below it is new.
 */
.category-search-submit {
    flex: 0 0 auto;
    border-radius: 999px;
    padding-inline: 22px;
}

.category-search-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    color: #697083;
    font-size: 14px;
}

.category-search-summary a {
    color: var(--primary);
}

.category-search-results {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-search-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e6e8f0;
    border-inline-start: 3px solid var(--primary);
    border-radius: 12px;
}

.category-search-result__body {
    min-width: 0;
}

.category-search-result__name {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #202534;
}

.category-search-result__path {
    margin: 0 0 6px;
    font-size: 13px;
    color: #697083;
}

.category-search-result__providers {
    margin: 0;
    font-size: 13px;
    color: var(--green);
}

.category-search-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-search-empty {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #d5d8e3;
    border-radius: 12px;
}

.category-search-empty i {
    font-size: 28px;
    color: #9aa0b5;
}

.category-search-empty h2 {
    margin: 12px 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.category-search-empty p {
    margin: 0 auto 16px;
    max-width: 460px;
    color: #697083;
}

@media (max-width: 575.98px) {
    .category-search-result__actions,
    .category-search-result__actions .btn {
        width: 100%;
    }
}

/*
 * The categories page grid. Scoped to this page because the home carousel sizes its own
 * .per-service cards. The icon is contained rather than cropped so the whole circle stays visible
 * at the smaller size, and the bottom padding keeps it clear of the name bar.
 */
.category-grid .per-service {
    height: 220px;
    background: #fff;
    border: 1px solid #e6e8f0;
}

.category-grid .per-service img {
    object-fit: contain;
    padding: 14px 14px 58px;
}

.category-grid .per-service span {
    font-size: 110%;
    padding: 12px 8px;
}

@media (max-width: 575.98px) {
    .category-grid .per-service {
        height: 170px;
    }

    .category-grid .per-service img {
        padding: 10px 10px 48px;
    }

    .category-grid .per-service span {
        font-size: 95%;
        padding: 10px 6px;
    }
}

/*
 * The "add location" form: an address search above the map, whose results fly the map to the
 * place, and a pin the customer drags onto their building.
 */
.location-form .form-label {
    font-weight: 500;
}

.location-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-search .form-control {
    flex: 1 1 240px;
}

.location-search .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.location-search-status {
    min-height: 20px;
    margin-top: 6px;
    font-size: 14px;
    color: #9a6816;
}

.location-search-results {
    margin: 4px 0 12px;
    padding: 0;
    list-style: none;
    border: 1px solid #e6e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.location-search-results li + li {
    border-top: 1px solid #eef0f5;
}

.location-search-results button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    text-align: start;
    font-size: 14px;
    color: #202534;
}

.location-search-results button:hover,
.location-search-results button:focus-visible {
    background: #eef0ff;
    outline: none;
}

.location-map {
    height: 340px;
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.location-picked {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--green);
}

/*
 * The shared map picker (website.partials.map-picker): delivery addresses and service-order
 * locations, on their pages and in their dialogs. The hint says what to do; the state line
 * always says whether a point is set.
 */
.map-picker__hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #eef0ff;
    color: #202534;
    font-size: 14px;
}

.map-picker__hint i {
    margin-top: 3px;
    color: var(--primary);
}

.map-picker__canvas {
    border: 1px solid #e3e6ec;
}

.map-picker__state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-top: 8px;
    font-size: 14px;
    color: #9a6816;
}

.map-picker__state--set {
    color: #167452;
}

.map-picker__state-text i {
    margin-inline-end: 4px;
}

.map-picker__clear {
    padding: 0;
    color: #b43b4d;
    font-size: 14px;
}

.map-picker__clear:hover,
.map-picker__clear:focus-visible {
    color: #8f2d3d;
}

@media (max-width: 575.98px) {
    .location-search .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .location-map {
        height: 280px;
    }
}

/* ---------------------------------------------------------------------------
 * Order card and order details window (available orders, provider home)
 * ------------------------------------------------------------------------- */
.order-card .card { height: 100%; }
.order-card__head { display: flex; align-items: center; gap: 0.75rem; }
.order-card__avatar {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gray-3);
}
.order-card__avatar--lg { width: 64px !important; height: 64px !important; flex-basis: 64px; }
.order-card__who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.order-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-card__category { color: #6c6f86; font-size: 0.85rem; }
.order-card__size {
    flex: 0 0 auto;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(84, 90, 232, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}
.order-card__description {
    display: -webkit-box;
    margin: 0.75rem 0 0;
    overflow: hidden;
    color: var(--forth);
    font-weight: 600;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
}
.order-card__facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; color: #6c6f86; font-size: 0.85rem; }
.order-card__address { flex-basis: 100%; overflow-wrap: anywhere; }
.order-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; margin-top: 0.85rem; }

@media (max-width: 767.98px) {
    /* The old mobile rule turned every card row into a column; the card lays itself out. */
    .per-order.order-card > * > * { display: flex; flex-direction: row; align-items: center !important; }
    .per-order.order-card > * > .order-card__description,
    .per-order.order-card > * > hr { display: block; }
    .per-order.order-card > * > .order-card__description { display: -webkit-box; }
    .per-order.order-card > * > .order-card__facts { flex-wrap: wrap; }
}

.order-details__label { margin-bottom: 0.35rem; color: var(--third); font-size: 0.85rem; font-weight: 600; }
.order-details__description { margin: 0; color: var(--forth); font-size: 1.15rem; font-weight: 700; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.order-details__facts { display: grid; gap: 0.6rem; margin: 0; }
.order-details__facts > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--gray-3); }
.order-details__facts dt { color: #6c6f86; font-size: 0.88rem; font-weight: 500; }
.order-details__facts dd { margin: 0; color: var(--forth); font-size: 0.92rem; font-weight: 600; text-align: end; }

/* Store filter: a long category list scrolls inside its panel instead of stretching the sidebar. */
.store-filter-list { max-height: 260px; overflow-y: auto; }


/* ---------------------------------------------------------------------------
 * Provider workspace (the website home page of a service provider account)
 * ------------------------------------------------------------------------- */
.provider-workspace { padding-block: 2rem 3rem; }

.ws-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 22px;
    background: linear-gradient(120deg, var(--primary) 0%, #6b70f0 55%, var(--secondary) 140%);
    box-shadow: 0 14px 34px rgba(84, 90, 232, 0.28);
    color: #fff;
}
.ws-hero__identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.ws-hero__avatar {
    width: 76px; height: 76px; flex: 0 0 76px;
    border: 3px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}
.ws-hero__hello { margin: 0; opacity: 0.85; font-size: 0.95rem; }
.ws-hero__name { margin: 0.1rem 0 0.45rem; color: #fff; font-size: 1.6rem; font-weight: 800; line-height: 1.25; }
.ws-hero__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ws-hero__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.ws-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem; font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.ws-chip--success { background: #e7f8ef; color: #1b8a4e; }
.ws-chip--warning { background: #fff4e5; color: #b8650d; }
.ws-chip--danger { background: #fdecec; color: #c0392b; }
.ws-chip--light { background: rgba(255, 255, 255, 0.2); color: #fff; }

.ws-action {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ws-action:hover, .ws-action:focus-visible { background: rgba(255, 255, 255, 0.16); color: #fff; transform: translateY(-1px); }
.ws-action--solid { background: #fff; color: var(--primary); border-color: #fff; }
.ws-action--solid:hover, .ws-action--solid:focus-visible { background: #f3f4ff; color: var(--primary); }

.ws-card {
    padding: 1.25rem;
    border: 1px solid #eceef6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(64, 66, 114, 0.07);
}
.ws-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.ws-card__label { color: #8a8da6; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.15rem; }
.ws-card__value { color: var(--forth); font-size: 1.15rem; font-weight: 800; }
.ws-card__note { color: #6c6f86; font-size: 0.9rem; margin-bottom: 0.5rem; }
.ws-reason { padding: 0.6rem 0.8rem; border-radius: 10px; background: #fdf1f1; color: #8f2d2d; font-size: 0.88rem; }

.ws-icon {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; flex: 0 0 46px;
    border-radius: 14px;
    font-size: 1.15rem;
    background: #eef0ff; color: var(--primary);
}
.ws-icon--primary { background: #eef0ff; color: var(--primary); }
.ws-icon--success, .ws-icon--green { background: #e7f8ef; color: #1b8a4e; }
.ws-icon--warning, .ws-icon--orange { background: #fff4e5; color: #d27a12; }
.ws-icon--danger { background: #fdecec; color: #c0392b; }
.ws-icon--teal { background: #e3faf6; color: #13a08c; }
.ws-icon--purple { background: #f3ecff; color: #7b4bd6; }

.ws-days {
    display: flex; flex-direction: column; align-items: center;
    min-width: 64px;
    padding: 0.35rem 0.6rem;
    border-radius: 12px;
    background: #eef0ff; color: var(--primary);
    line-height: 1.1;
}
.ws-days strong { font-size: 1.35rem; font-weight: 800; }
.ws-days small { font-size: 0.72rem; }
.ws-days--warning { background: #fff4e5; color: #d27a12; }

.ws-progress { height: 8px; margin: 0.25rem 0 0.6rem; overflow: hidden; border-radius: 999px; background: #eceef6; }
.ws-progress__bar { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.ws-progress__bar--warning { background: linear-gradient(90deg, #f0a23a, #fc9c2e); }

.ws-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.85rem; }
.ws-stat {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid #eceef6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(64, 66, 114, 0.05);
    color: var(--forth);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ws-stat:hover, .ws-stat:focus-visible { box-shadow: 0 10px 26px rgba(84, 90, 232, 0.14); color: var(--forth); transform: translateY(-2px); }
.ws-stat__text { display: flex; flex-direction: column; min-width: 0; }
.ws-stat__value { font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.ws-stat__label { color: #6c6f86; font-size: 0.82rem; }

.ws-empty { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem 0 0.5rem; color: #b5b8cc; font-size: 2.2rem; }

.ws-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #f1f2f8; color: var(--forth); text-decoration: none; }
.ws-row:last-child { border-bottom: 0; }
.ws-row__image { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; object-fit: cover; }
.ws-row__title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ws-row__meta { color: #6c6f86; font-size: 0.85rem; white-space: nowrap; }
.ws-rejected { padding: 0.55rem 0; border-bottom: 1px solid #f1f2f8; }
.ws-rejected:last-child { border-bottom: 0; }

@media (max-width: 767.98px) {
    .ws-hero { padding: 1.25rem; border-radius: 18px; }
    .ws-hero__name { font-size: 1.3rem; }
    .ws-hero__actions { width: 100%; }
    .ws-action { flex: 1 1 calc(50% - 0.5rem); justify-content: center; }
    .ws-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .ws-action, .ws-stat { transition: none; }
    .ws-action:hover, .ws-stat:hover { transform: none; }
}


/* ---------------------------------------------------------------------------
 * Buying products: the product page's quantity and "add to cart", the cart, checkout,
 * delivery addresses and product orders (customer and store side). One set of pieces
 * shared by every one of those pages.
 * ------------------------------------------------------------------------- */
.pd-buy { flex: 1 1 100%; display: flex; flex-direction: column; gap: 0.5rem; }
.pd-buy__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.pd-buy__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    flex: 1 1 auto; min-height: 44px; padding: 0.55rem 1.4rem;
    border: 0; border-radius: 999px;
    background: var(--forth); color: #fff; font-weight: 700;
    transition: background 0.2s ease;
}
.pd-buy__submit:hover, .pd-buy__submit:focus-visible { background: var(--primary); color: #fff; }
.pd-buy__submit:disabled { opacity: 0.7; }
.pd-buy__note { margin: 0; color: #6c6f86; font-size: 0.88rem; }
.pd-buy__note a { font-weight: 600; margin-inline-start: 0.25rem; }
.pd-buy__hint {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding: 0.65rem 0.85rem; border-radius: 12px;
    background: #eef0ff; color: var(--forth); font-size: 0.9rem;
}
.pd-buy__hint--warning { background: #fff4e5; color: #8a4b08; }

.qty-stepper {
    display: inline-flex; align-items: center;
    margin: 0; padding: 3px;
    border: 1px solid #e3e6ec; border-radius: 999px;
    background: #fff;
}
.qty-stepper__btn {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px; flex: 0 0 36px;
    border: 0; border-radius: 50%;
    background: #f4f5f9; color: var(--forth);
}
.qty-stepper__btn:hover:not(:disabled), .qty-stepper__btn:focus-visible { background: #eef0ff; color: var(--primary); }
.qty-stepper__btn:disabled { opacity: 0.4; }
.qty-stepper__input, .qty-stepper__value {
    width: 52px; border: 0; background: transparent;
    color: var(--forth); font-weight: 700; text-align: center;
    -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper__input:focus { outline: none; }

.cart-added { border: 0; border-radius: 18px; }
.cart-added .modal-body { padding: 2rem 1.5rem; }
.cart-added__icon {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px; margin-bottom: 1rem;
    border-radius: 50%; background: #e7f8ef; color: #1b8a4e; font-size: 1.6rem;
}
.cart-added__title { margin-bottom: 1.25rem; color: var(--forth); font-size: 1.1rem; font-weight: 700; }
.cart-added__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.cart-added__actions > * { flex: 1 1 180px; }

.cart-link i { font-size: 1.5rem; color: #333; }

.shop-cart { padding-block: 1.5rem 3rem; }
.shop-group {
    margin-bottom: 1.25rem; padding: 1rem 1.25rem;
    border: 1px solid #eceef6; border-radius: 18px;
    background: #fff; box-shadow: 0 6px 22px rgba(64, 66, 114, 0.07);
}
.shop-group__head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid #f1f2f8; }
.shop-group__avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: cover; border: 1px solid #e6e8f0; }
.shop-group__name { flex: 1 1 auto; min-width: 0; color: var(--forth); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.shop-group__count { color: #6c6f86; font-size: 0.85rem; white-space: nowrap; }
.shop-group__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding-top: 0.9rem; border-top: 1px solid #f1f2f8;
}
.shop-group__total { color: var(--forth); font-size: 1rem; }
.shop-group__total strong { font-size: 1.15rem; font-weight: 800; }

.shop-line { display: flex; align-items: center; gap: 0.85rem; padding-block: 0.85rem; border-bottom: 1px solid #f1f2f8; }
.shop-line:last-of-type { border-bottom: 0; }
.shop-line--problem { background: linear-gradient(90deg, rgba(252, 156, 46, 0.06), transparent); }
.shop-line__image img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #f4f5f9; }
.shop-line__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.shop-line__name { color: var(--forth); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.shop-line__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; color: var(--primary); font-weight: 700; }
.shop-line__problem { margin: 0; color: #b8650d; font-size: 0.85rem; }
.shop-line__actions { display: flex; align-items: center; gap: 0.5rem; }
.shop-line__remove {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    border: 0; border-radius: 50%; background: #fdecec; color: #c0392b;
}
.shop-line__remove:hover, .shop-line__remove:focus-visible { background: #c0392b; color: #fff; }

.shop-note { color: #6c6f86; font-size: 0.85rem; }
.shop-empty { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2.5rem 1rem; color: #6c6f86; text-align: center; }
.shop-empty > i { font-size: 2.6rem; color: #b5b8cc; }
.shop-empty p { margin: 0; }

.checkout { padding-block: 1.5rem 3rem; }
.checkout-legend { float: none; width: auto; margin-bottom: 0.75rem; color: var(--forth); font-size: 1rem; font-weight: 700; }
.checkout-line { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.6rem; border-bottom: 1px solid #f1f2f8; }
.checkout-line:last-child { border-bottom: 0; }
.checkout-line__image { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; object-fit: cover; background: #f4f5f9; }
.checkout-line__name { flex: 1 1 auto; min-width: 0; color: var(--forth); font-weight: 600; overflow-wrap: anywhere; }
.checkout-line__price { color: var(--forth); font-weight: 700; white-space: nowrap; }
.checkout-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.6rem; }
.checkout-choice {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e3e6ec; border-radius: 12px;
    cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.checkout-choice:hover { border-color: #c9cdf6; }
.checkout-choice:has(input:checked) { border-color: var(--primary); background: #f5f6ff; box-shadow: inset 3px 0 0 var(--primary); }
.checkout-choice input { margin-top: 0.25rem; accent-color: var(--primary); }
.checkout-choice > span { display: flex; flex-direction: column; min-width: 0; }
.checkout-choice small { color: #6c6f86; }
.checkout-choice--address { margin-bottom: 0.5rem; }
.checkout-choice__meta { margin-inline-start: auto; color: var(--forth); font-weight: 700; white-space: nowrap; }
.checkout-summary { position: sticky; top: 100px; }
.checkout-summary__total dt, .checkout-summary__total dd { color: var(--forth); font-size: 1.05rem; font-weight: 800; }

.address-card {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-bottom: 0.75rem; padding: 0.9rem 1rem;
    border: 1px solid #eceef6; border-radius: 14px; background: #fff;
}
.address-card--default { border-color: #c9cdf6; box-shadow: inset 3px 0 0 var(--primary); }
.address-card__body { min-width: 0; }
.address-card__name { color: var(--forth); font-weight: 700; }
.address-card__name i { color: var(--primary); margin-inline-end: 0.3rem; }
.address-card__lines { color: #6c6f86; font-size: 0.88rem; overflow-wrap: anywhere; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.address-card__no-point {
    display: inline-flex; align-items: center; gap: 0.3rem; margin-inline-start: 0.4rem;
    padding: 0.1rem 0.5rem; border-radius: 999px; background: #fff4e0; color: #9a6816;
    font-size: 0.78rem; font-weight: 600;
}
.checkout-choice--unavailable { cursor: default; background: #fafafa; }
.checkout-choice--unavailable:hover { border-color: #eceef6; }
.checkout-choice__problem { color: #9a6816 !important; }

.po-back { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--forth); font-weight: 600; text-decoration: none; }
.po-head { border-inline-start: 4px solid #d6d9e6; }
.po-head--warning { border-inline-start-color: #f0a23a; }
.po-head--info { border-inline-start-color: #3aa5d8; }
.po-head--success { border-inline-start-color: #1b8a4e; }
.po-head--danger { border-inline-start-color: #c0392b; }
.po-head__main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.po-head__date { color: #6c6f86; font-size: 0.85rem; }
.po-head__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.po-note { margin-top: 0.6rem; padding: 0.6rem 0.8rem; border-radius: 10px; background: #f5f6fa; color: var(--forth); font-size: 0.9rem; overflow-wrap: anywhere; }

.po-card {
    display: flex; align-items: center; gap: 0.85rem;
    margin-bottom: 0.75rem; padding: 0.85rem 1rem;
    border: 1px solid #eceef6; border-inline-start: 4px solid #d6d9e6; border-radius: 14px;
    background: #fff; color: var(--forth); text-decoration: none;
    transition: box-shadow 0.2s ease;
}
.po-card:hover, .po-card:focus-visible { box-shadow: 0 8px 22px rgba(84, 90, 232, 0.12); color: var(--forth); }
.po-card--warning { border-inline-start-color: #f0a23a; }
.po-card--info { border-inline-start-color: #3aa5d8; }
.po-card--success { border-inline-start-color: #1b8a4e; }
.po-card--danger { border-inline-start-color: #c0392b; }
.po-card__avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; object-fit: cover; }
.po-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.po-card__title { font-weight: 700; overflow-wrap: anywhere; }
.po-card__meta, .po-card__items { color: #6c6f86; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.po-card__total { font-weight: 800; white-space: nowrap; }

.po-timeline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0.9rem 1rem; list-style: none; border-radius: 14px; background: #fff; border: 1px solid #eceef6; }
.po-timeline__step { display: flex; align-items: center; gap: 0.45rem; color: #9a9db2; font-size: 0.88rem; }
.po-timeline__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.po-timeline__step.is-done { color: #1b8a4e; }
.po-timeline__step.is-done .po-timeline__dot { background: currentColor; }
.po-timeline__step.is-current .po-timeline__label { font-weight: 700; }
.po-timeline__step.is-stopped { color: #c0392b; }

.po-pay {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-bottom: 1rem; padding: 0.9rem 1.1rem;
    border-radius: 14px; background: #eef0ff; color: var(--forth);
}
.po-pay > div { display: flex; flex-direction: column; }
.po-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.85rem; margin-top: 1rem; }
.po-actions__form { margin: 0; padding: 0.9rem 1rem; border: 1px solid #eceef6; border-radius: 14px; background: #fff; }
.po-review__hint { color: #6c6f86; font-size: 0.9rem; margin-bottom: 0.75rem; }
.po-review__summary { margin-bottom: 0.4rem; font-size: 1.1rem; }
.po-review__given { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.po-review__form { display: flex; flex-direction: column; }
.po-review__category { margin: 0 0 0.75rem; padding: 0; border: 0; }
.po-review__category-label { display: flex; align-items: center; gap: 0.45rem; float: none; width: auto; margin-bottom: 0.3rem; color: var(--forth); font-size: 0.95rem; font-weight: 600; }
.po-review__icon { width: 22px; height: 22px; object-fit: contain; }
.po-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.2rem; }
.po-stars__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.po-stars__star { cursor: pointer; color: #d5d8e3; font-size: 1.6rem; line-height: 1; transition: color 0.15s ease; }
.po-stars__input:checked ~ .po-stars__star,
.po-stars__star:hover,
.po-stars__star:hover ~ .po-stars__star { color: #f5b301; }
.po-stars__input:focus-visible + .po-stars__star { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 767.98px) {
    .shop-line { flex-wrap: wrap; }
    .shop-line__actions { width: 100%; justify-content: space-between; }
    .shop-group__foot > a, .shop-group__foot > button { width: 100%; }
    .checkout-summary { position: static; }
    .po-card { flex-wrap: wrap; }
    .po-card__side { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .po-card__total { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .pd-buy__submit, .checkout-choice, .po-card { transition: none; }
}

/* A store notification in the account's notifications list (WebsiteNotificationInbox). */
.noti-store-badge {
    display: inline-flex; align-items: center; gap: 0.3rem; align-self: flex-start;
    padding: 0.1rem 0.55rem; border-radius: 999px;
    background: #eef0ff; color: var(--primary); font-size: 0.75rem; font-weight: 700;
}

/*
 * Choice cards: a set of radio options shown as large, selectable cards (the order form's
 * "when", "how to reach you" and "where" questions). The radio stays a real, focusable input;
 * the card is its label, so a click anywhere on it, Tab and the arrow keys all work.
 */
.order-form-group {
    margin: 0;
    min-width: 0;
}

/* Floated across the full width, as Bootstrap does, so the title sits inside the box rather than on its border. */
.order-form-group > legend {
    float: inline-start;
    width: 100%;
    margin-block-end: 12px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.order-form-group > legend + * {
    clear: both;
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.choice-card {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.choice-card__input {
    position: absolute;
    inset-inline-start: 16px;
    inset-block-start: 18px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon title"
        "icon hint";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    height: 100%;
    padding: 16px 18px;
    border: 2px solid var(--gray-1);
    border-radius: 14px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.choice-card__icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gray-3);
    color: var(--forth);
    font-size: 18px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.choice-card__title {
    grid-area: title;
    font-weight: 600;
    color: var(--forth);
}

/* A card with no hint centres its title beside the icon instead of leaving a blank second line. */
.choice-card__title:last-child {
    grid-row: 1 / span 2;
}

.choice-card__hint {
    grid-area: hint;
    font-size: 13px;
    color: #6c757d;
}

.choice-card:hover .choice-card__body {
    border-color: rgba(84, 90, 232, 0.45);
}

.choice-card__input:checked + .choice-card__body {
    border-color: var(--primary);
    background: rgba(84, 90, 232, 0.05);
    box-shadow: 0 6px 18px rgba(84, 90, 232, 0.12);
}

.choice-card__input:checked + .choice-card__body .choice-card__icon {
    background: var(--primary);
    color: var(--white);
}

.choice-card__input:checked + .choice-card__body::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    inset-inline-end: 14px;
    inset-block-start: 12px;
    font-size: 12px;
    color: var(--primary);
}

.choice-card__input:focus-visible + .choice-card__body {
    outline: 3px solid rgba(84, 90, 232, 0.4);
    outline-offset: 2px;
}

.choice-card__input:disabled + .choice-card__body {
    cursor: not-allowed;
    opacity: 0.6;
}

.location-search-status:empty {
    min-height: 0;
    margin-top: 0;
}

.order-form-reveal {
    max-width: 360px;
}

.order-location-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.order-location-picker .cp_wrapper {
    min-width: 200px;
}

@media (prefers-reduced-motion: reduce) {
    .choice-card__body,
    .choice-card__icon {
        transition: none;
    }
}
