:root {
    --main: #000000;
    --white: #ffffff;
    --primary: #db1215;
    --red_1: #db1215;
    --backdrop: rgba(0, 0, 0, 0.5);
    --main-rgba-1: rgba(0, 0, 0, 0.16);
    --main-rgba-2: rgba(0, 0, 0, 0.15);
    --text: #545454;
    --text-2: #909090;
    --text-3: #868686;
    --line: #c1c1c1;
    --line-2: #c1c1c1;
    --bg-1: #fcfbf9;
    --bg-2: #f6f6f6;
    --bg-3: #fcffb2;
    --bg-4: #c9f4aa;
    --bg-5: #ff7b54;
    --bg-6: #8054ff;
    --bg-7: #f1f0ed;
    --bg-8: #f0edf1;
    --bg-9: #edeef1;
    --bg-10: #fcfbf9;
    --bg-11: #f2f2f2;
    --bg-load: #d9d9d9;
    --bg-scrollbar-track: #f1f1f1;
    --bg-scrollbar-thumb: #c1c1c1;
}

strong {
    font-weight: bold !important;
}

.form-label {
    color: black;
}

.form-control,
.form-check-input {
    border: 1px solid lightgray;
}

.my-account-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 0;
}

.my-account-nav .my-account-nav-item {
    display: flex;
    width: 100%;
    border: 1px solid var(--line);
    padding: 15px 30px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    position: relative;
}

.my-account-nav .my-account-nav-item::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: auto;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #db1215;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.my-account-nav .my-account-nav-item:hover,
.my-account-nav .my-account-nav-item.active {
    background-color: var(--bg-11);
    color: #db1215;
}

.account-order .wrap-account-order {
    overflow-x: auto;
}

.account-order .wrap-account-order::-webkit-scrollbar {
    height: 3px;
}

.account-order .wrap-account-order::-webkit-scrollbar-thumb {
    background: var(--bg-11);
    border-radius: 999px;
}

.account-order table {
    width: 100%;
    min-width: 700px;
}

.account-order table thead,
.account-order table td,
.account-order table th {
    padding: 15px 20px;
}

.account-order table thead tr {
    border: 1px solid var(--line);
    background-color: var(--bg-11);
}

.account-order table tbody {
    border: 1px solid var(--line);
    border-top: 0;
}

.account-order table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--line);
}

/* ====== MAIN CONTAINER ====== */
.shorts-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 20px;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Transparent overlay for depth */
.shorts-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(0, 0, 0, 0.25);*/
    backdrop-filter: blur(4px);
    border-radius: 20px;
    z-index: 1;
}

/* Columns setup */
.shorts-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Default YouTube Shorts size */
.short-item iframe {
    width: 250px;
    /* YouTube default width for Shorts */
    height: 450px;
    /* YouTube default height for Shorts */
    border: none;
    border-radius: 15px;
    box-shadow:
        0 0 12px 2px rgba(91, 136, 171, 0.6),
        /* #5b88ab – cool blue base */ 0 0 20px 4px rgba(165, 208, 172, 0.5),
        /* #a5d0ac – mint soft glow */ 0 0 28px 8px rgba(133, 185, 228, 0.4);
    /* #85b9e4 – bright edge */
    transition: all 0.3s ease-in-out;
    background: #000;
}

/* Hover glow */
.short-item iframe:hover {
    transform: scale(1.05);
}

/* For double shorts columns */
.shorts-column.double {
    justify-content: space-between;
}

.swiper-hero,
.swiper-hero .swiper-slide {
    height: 80vh !important;
}

.blog.single .blog-description iframe {
    max-width: 100% !important;
}

.blog.single .blog-description table {
    max-width: 100%;
    overflow: auto;
    position: relative;
    display: block;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.blog.single .blog-description table th,
.blog.single .blog-description table td {
  border: 1px solid #dee2e6;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.blog.single .blog-description table thead th,
.blog.single .blog-description table thead td {
  border-bottom-width: 2px;
}

.custom-padding {
    padding: 1rem;
}

.book_appointment_step {
    display: none;
}

.book_appointment_step.active {
    display: block;
}

.overlap-grid {
    display: flex;
    gap: 1rem;
}

[dir="rtl"] .overlap-grid {
    flex-direction: row-reverse;
}

[dir="rtl"] .overlap-grid {
    direction: rtl;
}

[dir="rtl"] .overlap-grid .item:first-child {
    left: auto;
    right: 0;
}

[dir="rtl"] .overlap-grid .item:last-child {
    right: auto;
    left: 0;
}

.force-ltr {
    direction: ltr;
    text-align: left;
}

.force-ltr * {
    direction: ltr;
}

.force-ltr {
    direction: ltr;
}

[dir="rtl"] .force-ltr {
    text-align: initial;
}

.force-ltr .swiper {
    direction: ltr !important;
}

.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.text-truncate-2 {
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
    /* 2 lines */
    overflow: hidden;
}

.invalid {
    margin-top: 0.5rem !important;
    font-weight: 400 !important;
    color: #f64e60 !important;
}

.newsletter_form .invalid {
    margin-top: 0 !important;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: #f64e60 !important;
    padding-right: calc(1.5em + 1.3rem);
    background-image: url(../../../images/invalid.svg);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.325rem) center;
    background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

.iti--allow-dropdown {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.swal-title {
    font-weight: inherit !important;
    font-size: 22px !important;
}

.swal-button {
    font-weight: 500 !important;
}

.grecaptcha-logo,
.grecaptcha-badge {
    visibility: hidden !important;
}

.offcanvas.offcanvas-start {
    width: 100% !important;
}

.myzomme {
    display: block;
    background: #29a71a;
    cursor: pointer;
    box-shadow: 0 0 0 rgb(41 167 26);
    animation: pulse 2s infinite;
}

.floating_buttons {
    padding: 1rem 1rem 0.25rem 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    position: fixed;
    bottom: 0.5rem;
    right: 0;
    background-color: transparent;
    z-index: 9999;
}

.slider-shell {
    transform-origin: top center;
    will-change: transform;
    transition: transform 120ms linear;
}

.moments {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.moments-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 54px);
    color: #0c3a4d;
    margin-bottom: 40px;
}

.moments-slider-wrap {
    position: relative;
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 40px 0 60px;
}

.moments-swiper {
    overflow: visible; /* important so rotated slides are visible */
}

.moment-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: clamp(260px, 32vw, 420px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transform: translateZ(0);
}

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

.moment-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.1) 55%,
        rgba(0, 0, 0, 0)
    );
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.moment-card .date {
    position: absolute;
    top: 18px;
    left: 18px;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.95;
}

.moment-card .date .year {
    font-size: 58px;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
}

.moment-card .date .month {
    font-size: 16px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.moment-card .text {
    font-size: 18px;
    max-width: 85%;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Optional: make side slides look a bit faded */
.moments .swiper-slide {
    transition: opacity 200ms ease;
}
.moments .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.65;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1400px) {
    .shorts-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .shorts-showcase {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .short-item {
        padding: 1rem 0;
    }

    .short-item iframe {
        width: 280px;
        height: 498px;
        box-shadow: none;
    }

    .custom-padding {
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .shorts-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .short-item iframe {
        width: 260px;
        height: 460px;
    }
}

@media (min-width: 992px) {
    .navbar-nav > .nav-item > .nav-link {
        position: relative;
    }

    .navbar-nav > .nav-item + .nav-item > .nav-link:before {
        content: "";
        display: block;
        position: absolute;
        width: 3px;
        height: 3px;
        top: 50%;
        left: -2px;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .hide_on_mobile {
        display: none !important;
    }

    .mb-sm-3 {
        margin-bottom: 1rem;
    }

    .w-25 {
        width: 100% !important;
    }

    .floating_buttons {
        left: 0;
        background-color: transparent;
        z-index: 200;
    }

    .floating_buttons .book_an_appointment_btn {
        width: 100% !important;
    }

    .footer_social_icons {
        margin-bottom: 1.5rem !important;
    }
}

@media (min-width: 769px) {
    .hide_on_desktop {
        display: none !important;
    }
}
