/*
Theme Name: کلینیک روانشناسی
Theme URI: https://example.com
Author: Reza Ebrahimi
Author URI: https://example.com
Description: قالب اختصاصی وردپرس برای کلینیک روانشناسی با پشتیبانی از ووکامرس
Version: 1.0.0
Text Domain: clinic-psychology
Requires at least: 6.0
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl, psychology, clinic, woocommerce
*/


/* =========================================================
   ROOT
========================================================= */

:root {

    --clinic-primary: #185097;
    --clinic-primary-dark: #123d73;
    --clinic-primary-light: #2865b0;

    --clinic-accent: #c9a86a;
    --clinic-accent-light: #ead9b8;

    --clinic-text: #252b34;
    --clinic-muted: #727b87;

    --clinic-border: #e4eaf2;

    --clinic-bg: #ffffff;
    --clinic-bg-soft: #f5f8fc;
    --clinic-bg-blue: #edf4fb;

    --clinic-white: #ffffff;

    --clinic-container: 1180px;

    --clinic-radius-sm: 10px;
    --clinic-radius-md: 16px;
    --clinic-radius-lg: 24px;

    --clinic-shadow-sm: 0 8px 25px rgba(24, 80, 151, .06);
    --clinic-shadow-md: 0 18px 45px rgba(24, 80, 151, .11);

    --clinic-transition: all .3s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

html,
body,
button,
input,
select,
textarea {
    font-family: 'Yekan', sans-serif;
}

body {
    margin: 0;
    font-family: 'Yekan', sans-serif;
    color: var(--clinic-text);
    background: #fff;
    direction: rtl;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    transition: var(--clinic-transition);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(var(--clinic-container), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #185097;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 5px 20px rgba(24, 80, 151, .14);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.site-branding {
    flex: 0 0 auto;
    min-width: 0;
}

.site-branding a {
    text-decoration: none;
}

.clinic-custom-logo {
    display: flex;
    align-items: center;
}

.clinic-custom-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.clinic-custom-logo .custom-logo,
.clinic-custom-logo img,
.site-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 62px;
    object-fit: contain;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.default-logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    font-size: 19px;
}

.logo-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-text {
    display: block;
    color: #fff;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
    white-space: nowrap;
}

.logo-content small {
    display: block;
    margin-top: 1px;
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    line-height: 1.5;
    white-space: nowrap;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.primary-menu > li {
    position: relative;
    margin: 0;
}

.primary-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 0;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.primary-menu > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--clinic-accent);
    transition: width .3s ease;
}

.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
    color: #fff;
}

.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after {
    width: 23px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% - 3px);
    right: 0;
    width: 220px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--clinic-border);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(25, 40, 60, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    position: relative;
}

.primary-menu .sub-menu a {
    display: flex;
    align-items: center;
    padding: 11px 13px;
    color: var(--clinic-text);
    text-decoration: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a {
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
}

.primary-menu .sub-menu .sub-menu {
    top: -8px;
    right: calc(100% + 5px);
}


/* =========================================================
   HEADER TOOLS
========================================================= */

.header-tools {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1100;
}


/* =========================================================
   APPOINTMENT
========================================================= */

.header-action {
    flex: 0 0 auto;
}

.appointment-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 11px;
    background: var(--clinic-accent);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.appointment-btn i {
    font-size: 12px;
}

.appointment-btn:hover {
    background: #fff;
    color: var(--clinic-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .14);
}


/* =========================================================
   HEADER ACCOUNT
========================================================= */

.header-account {
    position: relative;
    flex: 0 0 auto;
    z-index: 1100;
}

.header-account-toggle {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    cursor: pointer;
    transition:
        color .25s ease,
        transform .25s ease;
}

.header-account-toggle:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.header-account-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .10);
    color: #ffffff;
    font-size: 16px;
    transition:
        background .25s ease,
        color .25s ease;
}

.header-account-toggle:hover .header-account-icon,
.header-account.is-open .header-account-icon {
    background: var(--clinic-accent);
    color: #ffffff;
}

.header-account-label {
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.header-account-arrow {
    font-size: 9px;
    transition: transform .25s ease;
}

.header-account.is-open .header-account-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   ACCOUNT DROPDOWN
========================================================= */

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 285px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top left;
    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease;
}

.header-account.is-open .header-account-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-account-dropdown-inner {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--clinic-border);
    border-radius: 17px;
    box-shadow: 0 22px 55px rgba(18, 61, 115, .18);
    direction: rtl;
}

.header-account-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 17px;
    border-bottom: 1px solid var(--clinic-border);
    background: #ffffff;
}

.header-account-avatar {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
    font-size: 16px;
}

.header-account-heading-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.header-account-heading-content strong {
    color: var(--clinic-text);
    font-size: 12px;
    line-height: 1.8;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.header-account-heading-content span {
    color: var(--clinic-muted);
    font-size: 9px;
    line-height: 1.8;
}

.header-account-links {
    padding: 7px;
}

.header-account-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    padding: 0 11px;
    border-radius: 9px;
    color: var(--clinic-text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.header-account-links a i {
    width: 18px;
    text-align: center;
    color: var(--clinic-primary);
    font-size: 12px;
}

.header-account-links a:hover {
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
}

.header-account-links a.account-logout {
    margin-top: 5px;
    border-top: 1px solid var(--clinic-border);
    border-radius: 0 0 9px 9px;
    color: #c04b4b;
}

.header-account-links a.account-logout i {
    color: #c04b4b;
}

.header-account-links a.account-logout:hover {
    background: #fff4f4;
    color: #b13f3f;
}


/* =========================================================
   HEADER CART
========================================================= */

.header-cart {
    position: relative;
    flex: 0 0 auto;
    z-index: 1100;
}


/* =========================================================
   CART TOGGLE
========================================================= */

.header-cart-toggle {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    cursor: pointer;
    transition:
        color .25s ease,
        transform .25s ease;
}

.header-cart-toggle:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.header-cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .10);
    color: #ffffff;
    font-size: 16px;
    transition:
        background .25s ease,
        color .25s ease;
}

.header-cart-toggle:hover .header-cart-icon,
.header-cart.is-open .header-cart-icon {
    background: var(--clinic-accent);
    color: #ffffff;
}

.header-cart-label {
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.header-cart-arrow {
    font-size: 9px;
    transition: transform .25s ease;
}

.header-cart.is-open .header-cart-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   CART COUNT
========================================================= */

.header-cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--clinic-primary);
    border: 2px solid var(--clinic-primary);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}


/* =========================================================
   CART DROPDOWN
========================================================= */

.header-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 365px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top left;
    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease;
}

.header-cart.is-open .header-cart-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-cart-dropdown-inner {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--clinic-border);
    border-radius: 17px;
    box-shadow: 0 22px 55px rgba(18, 61, 115, .18);
    direction: rtl;
}


/* =========================================================
   CART HEADING
========================================================= */

.header-cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--clinic-border);
    background: #ffffff;
}

.header-cart-heading strong {
    color: var(--clinic-text);
    font-size: 14px;
    font-weight: 800;
}

.header-cart-items-count {
    color: var(--clinic-muted);
    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   CART PRODUCTS
========================================================= */

.header-cart-products {
    max-height: 315px;
    overflow-y: auto;
    padding: 6px 0;
}

.header-cart-products::-webkit-scrollbar {
    width: 5px;
}

.header-cart-products::-webkit-scrollbar-thumb {
    background: #dce4ee;
    border-radius: 10px;
}


/* =========================================================
   CART PRODUCT
========================================================= */

.header-cart-product {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f6;
}

.header-cart-product:last-child {
    border-bottom: 0;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.header-cart-product-image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    border-radius: 11px;
    background: var(--clinic-bg-blue);
}

.header-cart-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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


/* =========================================================
   PRODUCT INFO
========================================================= */

.header-cart-product-info {
    min-width: 0;
    flex: 1 1 auto;
    padding-left: 5px;
}

.header-cart-product-name {
    margin-bottom: 6px;
}

.header-cart-product-name a,
.header-cart-product-name {
    color: var(--clinic-text);
    text-decoration: none;
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}

.header-cart-product-name a:hover {
    color: var(--clinic-primary);
}

.header-cart-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.header-cart-product-quantity {
    color: var(--clinic-muted);
    font-size: 10px;
}

.header-cart-product-quantity strong {
    color: var(--clinic-primary);
    font-weight: 800;
}

.header-cart-product-price {
    color: var(--clinic-primary);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   CART TOTAL
========================================================= */

.header-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 18px;
    border-top: 1px solid var(--clinic-border);
    background: #f8fafd;
}

.header-cart-total span {
    color: var(--clinic-muted);
    font-size: 11px;
    font-weight: 600;
}

.header-cart-total strong {
    color: var(--clinic-primary);
    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   CART ACTIONS
========================================================= */

.header-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 13px 16px 16px;
    background: #f8fafd;
}

.header-cart-actions a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.header-cart-view {
    background: #ffffff;
    border: 1px solid var(--clinic-border);
    color: var(--clinic-primary);
}

.header-cart-view:hover {
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
    transform: translateY(-1px);
}

.header-cart-checkout {
    background: var(--clinic-primary);
    color: #ffffff;
}

.header-cart-checkout:hover {
    background: var(--clinic-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   EMPTY CART
========================================================= */

.header-cart-empty {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 25px;
    text-align: center;
}

.header-cart-empty-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    border-radius: 14px;
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
    font-size: 19px;
}

.header-cart-empty strong {
    color: var(--clinic-text);
    font-size: 12px;
}

.header-cart-empty > span:last-child {
    color: var(--clinic-muted);
    font-size: 10px;
}


/* =========================================================
   MOBILE HEADER ACTIONS
========================================================= */

.mobile-header-actions {
    display: none;
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 11px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 5px;
    background: #fff;
    transition:
        transform .25s ease,
        opacity .25s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--clinic-border);
    box-shadow: 0 18px 35px rgba(20, 35, 55, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-navigation-inner {
    width: min(var(--clinic-container), calc(100% - 40px));
    margin: 0 auto;
    padding: 14px 0 20px;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 0;
    border-bottom: 1px solid #edf0f4;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    color: var(--clinic-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item > a {
    color: var(--clinic-primary);
}


/* =========================================================
   MOBILE HEADER ACTION
========================================================= */

.mobile-header-action {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px 0;
    color: var(--clinic-text);
    text-decoration: none;
}

.mobile-header-action:hover {
    color: var(--clinic-primary);
}

.mobile-header-action-icon {
    position: relative;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
}

.mobile-header-action > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mobile-header-action strong {
    font-size: 12px;
    line-height: 1.7;
}

.mobile-header-action small {
    color: var(--clinic-muted);
    font-size: 10px;
    line-height: 1.7;
}

.mobile-cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--clinic-primary);
    color: #fff;
    font-size: 8px;
    line-height: 1;
}

.mobile-appointment-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    background: var(--clinic-primary);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.mobile-appointment-btn:hover {
    background: var(--clinic-primary-dark);
    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;
    background: #185097;
    color: #fff;
}


/* =========================================================
   FOOTER TOP BAR
========================================================= */

.footer-top-bar {
    width: 100%;
    background: #185097;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.footer-top-bar-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-top-bar-right,
.footer-top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-top-bar-right {
    min-width: 0;
}

.footer-top-message,
.footer-top-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}

.footer-top-message i,
.footer-top-contact i {
    color: var(--clinic-accent-light);
    font-size: 12px;
}

.footer-top-contact:hover {
    color: #fff;
}

.footer-top-bar-left {
    flex-shrink: 0;
}

.footer-top-bar-left a {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
}

.footer-top-bar-left a:hover {
    background: var(--clinic-accent);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    padding: 65px 0 45px;
    background: #185097;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo > a {
    display: inline-flex;
    align-items: center;
}

.footer-logo img,
.footer-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 60px;
}

.footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.footer-default-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-default-logo > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border-radius: 11px;
    color: #fff;
    font-size: 17px;
}

.footer-default-logo strong {
    color: #fff;
    font-size: 19px;
}


/* =========================================================
   FOOTER ABOUT
========================================================= */

.footer-about p {
    max-width: 340px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {
    display: flex;
    gap: 9px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--clinic-accent);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER TITLES
========================================================= */

.footer-column h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    border-radius: 5px;
    background: var(--clinic-accent);
}


/* =========================================================
   FOOTER MENU
========================================================= */

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 11px;
}

.footer-menu a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    font-size: 13px;
}

.footer-menu a:hover {
    color: #fff;
    padding-right: 4px;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.9;
}

.footer-contact a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.contact-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: var(--clinic-accent);
    border-radius: 7px;
    font-size: 12px;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    background: #123d73;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.footer-credit i {
    margin: 0 3px;
    color: var(--clinic-accent);
}


/* =========================================================
   HOMEPAGE
========================================================= */

.clinic-homepage {
    width: 100%;
    overflow: hidden;
}

.clinic-home-container {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
}

.clinic-home-section {
    width: 100%;
    padding: 90px 0;
}


/* =========================================================
   HOME HERO
========================================================= */

.clinic-home-hero {
    width: 100%;
    padding: 28px 20px 0;
}

.clinic-home-slider {
    position: relative;
    width: 100%;
    height: 590px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--clinic-primary);
    box-shadow: var(--clinic-shadow-md);
}

.clinic-home-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.clinic-home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .8s ease,
        visibility .8s ease;
}

.clinic-home-slide.active {
    opacity: 1;
    visibility: visible;
}

.clinic-home-slide-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.clinic-home-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(15, 50, 95, .94) 0%,
            rgba(24, 80, 151, .78) 45%,
            rgba(24, 80, 151, .20) 100%
        );
}

.clinic-home-slide-content {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    padding: 40px;
    color: #fff;
    text-align: right;
}

.clinic-home-slide-content h1,
.clinic-home-slide-content h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 50px;
    line-height: 1.4;
    font-weight: 800;
}

.clinic-home-slide-content p {
    max-width: 600px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 2.1;
}

.clinic-home-slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clinic-home-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.clinic-home-btn-primary {
    background: var(--clinic-accent);
    color: #fff;
}

.clinic-home-btn-primary:hover {
    background: #fff;
    color: var(--clinic-primary);
}

.clinic-home-btn-light {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.clinic-home-btn-light:hover {
    background: #fff;
    color: var(--clinic-primary);
}


/* =========================================================
   QUICK SERVICES
========================================================= */

.clinic-home-quick-services {
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.clinic-home-quick-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--clinic-border);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(24, 80, 151, .10);
    overflow: hidden;
}

.clinic-home-quick-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 23px 20px;
    color: var(--clinic-text);
    text-decoration: none;
    border-left: 1px solid var(--clinic-border);
}

.clinic-home-quick-card:last-child {
    border-left: 0;
}

.clinic-home-quick-card:hover {
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
}

.clinic-home-quick-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--clinic-bg-blue);
    color: var(--clinic-primary);
    font-size: 17px;
}

.clinic-home-quick-card:hover .clinic-home-quick-icon {
    background: var(--clinic-primary);
    color: #fff;
}


/* =========================================================
   BLOG
========================================================= */

.clinic-home-blog {
    width: 100%;
    padding: 90px 0;
    background: var(--clinic-bg-soft);
}

.clinic-home-blog .clinic-home-container {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
}

.clinic-home-blog-heading {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 38px;
    text-align: right;
}

.clinic-home-blog-heading h2 {
    margin: 0;
    color: var(--clinic-text);
    font-size: 38px;
    line-height: 1.4;
    font-weight: 800;
}

.clinic-home-blog-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.clinic-home-post-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--clinic-border);
    border-radius: 22px;
    box-shadow: var(--clinic-shadow-sm);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.clinic-home-post-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(24, 80, 151, .13);
}

.clinic-home-post-image {
    position: relative;
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--clinic-bg-blue);
}

.clinic-home-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.clinic-home-post-card:hover .clinic-home-post-image img {
    transform: scale(1.06);
}

.clinic-home-post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(24, 80, 151, .28);
    font-size: 46px;
}

.clinic-home-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 25px 26px;
}

.clinic-home-post-content h3 {
    margin: 0 0 11px;
}

.clinic-home-post-content h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--clinic-text);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.clinic-home-post-content h3 a:hover {
    color: var(--clinic-primary);
}

.clinic-home-post-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 20px;
    color: var(--clinic-muted);
    font-size: 12px;
    line-height: 2;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.clinic-home-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--clinic-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.clinic-home-cta {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 70px 0;
    background: #185097;
    color: #fff;
}

.clinic-home-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.clinic-home-cta-content h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 32px;
    line-height: 1.5;
}

.clinic-home-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 2;
}

.clinic-home-cta-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        gap: 18px;
    }

    .primary-menu {
        gap: 18px;
    }

    .primary-menu > li > a {
        font-size: 12px;
    }

    .appointment-btn {
        padding: 0 15px;
    }

    .header-account-label,
    .header-cart-label {
        display: none;
    }

    .header-account-dropdown {
        width: 285px;
    }

    .header-cart-dropdown {
        width: 345px;
    }

    .clinic-home-slider {
        height: 550px;
    }

    .clinic-home-slide-content h1,
    .clinic-home-slide-content h2 {
        font-size: 43px;
    }

    .clinic-home-blog-grid {
        gap: 20px;
    }

}


/* =========================================================
   RESPONSIVE 992
========================================================= */

@media (max-width: 992px) {

    .main-navigation,
    .header-action {
        display: none;
    }

    .header-inner {
        min-height: 76px;
        justify-content: space-between;
    }

    .header-tools {
        margin-right: auto;
        margin-left: 8px;
        gap: 5px;
    }

    .header-account,
    .header-cart {
        margin-right: 0;
        margin-left: 0;
    }

    .header-account-toggle,
    .header-cart-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .header-account-dropdown {
        position: fixed;
        top: 76px;
        left: 14px;
        right: auto;
        width: 285px;
        max-width: calc(100vw - 28px);
        margin: 0;
        transform-origin: top left;
    }

    .header-cart-dropdown {
        position: fixed;
        top: 76px;
        left: 14px;
        right: auto;
        width: 365px;
        max-width: calc(100vw - 28px);
        margin: 0;
        transform-origin: top left;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-navigation {
        display: block;
    }

    .mobile-header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--clinic-border);
    }

    .clinic-home-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clinic-home-quick-card:nth-child(2) {
        border-left: 0;
    }

    .clinic-home-quick-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--clinic-border);
    }

    .clinic-home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clinic-home-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

}


/* =========================================================
   RESPONSIVE 767
========================================================= */

@media (max-width: 767px) {

    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        min-height: 70px;
        gap: 10px;
    }

    .header-tools {
        gap: 4px;
        margin-left: 5px;
    }

    .clinic-custom-logo .custom-logo,
    .clinic-custom-logo img,
    .site-logo img {
        max-width: 155px;
        max-height: 50px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
        font-size: 17px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-content small {
        font-size: 8px;
    }

    .mobile-navigation-inner {
        width: calc(100% - 28px);
    }


    /* Header */

    .header-account-dropdown {
        top: 70px;
        left: 12px;
        width: calc(100vw - 24px);
        max-width: 300px;
    }

    .header-cart-dropdown {
        top: 70px;
        left: 12px;
        width: calc(100vw - 24px);
        max-width: none;
    }


    /* Footer Top */

    .footer-top-bar-inner {
        min-height: 55px;
        justify-content: center;
    }

    .footer-top-bar-right {
        gap: 12px;
    }

    .footer-top-message {
        display: none;
    }

    .footer-top-contact {
        font-size: 10px;
    }

    .footer-top-bar-left {
        display: none;
    }


    /* Hero */

    .clinic-home-hero {
        padding: 15px 12px 0;
    }

    .clinic-home-slider {
        height: 520px;
        border-radius: 20px;
    }

    .clinic-home-slide-content {
        width: 100%;
        padding: 30px 25px;
        text-align: center;
    }

    .clinic-home-slide-content h1,
    .clinic-home-slide-content h2 {
        font-size: 31px;
    }

    .clinic-home-slide-content p {
        font-size: 12px;
    }

    .clinic-home-slide-actions {
        justify-content: center;
    }


    /* Quick Services */

    .clinic-home-quick-services {
        margin-top: -25px;
        padding: 0 12px;
    }

    .clinic-home-quick-grid {
        grid-template-columns: 1fr;
        border-radius: 17px;
    }

    .clinic-home-quick-card {
        border-left: 0;
        border-bottom: 1px solid var(--clinic-border);
    }

    .clinic-home-quick-card:last-child {
        border-bottom: 0;
    }


    /* Blog */

    .clinic-home-blog {
        padding: 65px 0;
    }

    .clinic-home-blog .clinic-home-container {
        width: calc(100% - 28px);
    }

    .clinic-home-blog-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .clinic-home-blog-heading h2 {
        font-size: 29px;
    }

    .clinic-home-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .clinic-home-post-image {
        height: 210px;
    }


    /* CTA */

    .clinic-home-cta {
        padding: 55px 0;
    }

    .clinic-home-cta-content h2 {
        font-size: 26px;
    }

    .clinic-home-cta-actions {
        flex-direction: column;
        gap: 18px;
    }


    /* Footer */

    .footer-main {
        padding: 45px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        text-align: center;
    }

}


/* =========================================================
   RESPONSIVE 420
========================================================= */

@media (max-width: 420px) {

    .clinic-custom-logo .custom-logo,
    .clinic-custom-logo img,
    .site-logo img {
        max-width: 135px;
        max-height: 46px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-content small {
        display: none;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .header-account-dropdown {
        top: 66px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
    }

    .header-cart-dropdown {
        top: 66px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
    }

    .header-cart-products {
        max-height: 280px;
    }

    .header-cart-product {
        padding: 11px 13px;
    }

    .header-cart-product-image {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .header-cart-actions {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .mobile-header-actions {
        grid-template-columns: 1fr;
    }

    .clinic-home-slider {
        height: 480px;
    }

    .clinic-home-slide-content {
        padding: 25px 20px;
    }

    .clinic-home-slide-content h1,
    .clinic-home-slide-content h2 {
        font-size: 27px;
    }

    .clinic-home-slide-content p {
        font-size: 11px;
    }

    .clinic-home-blog-heading h2 {
        font-size: 26px;
    }

    .clinic-home-post-image {
        height: 190px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--clinic-accent);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

}


/* =========================================================
   CLINIC FOOTER
   Responsive Fix
========================================================= */

.site-footer {
    width: 100%;
    background: #185097;
    color: #ffffff;
    overflow: hidden;
    direction: rtl;
}


/* =========================================================
   FOOTER TOP BAR
========================================================= */

.footer-top-bar {
    width: 100%;
    background: #185097;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-top-bar-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-top-bar-right {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-top-message,
.footer-top-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
}

.footer-top-message i,
.footer-top-contact i {
    flex: 0 0 auto;
    font-size: 14px;
}

.footer-top-contact {
    transition: opacity 0.2s ease;
}

.footer-top-contact:hover {
    color: #ffffff;
    opacity: 0.78;
}

.footer-top-message span,
.footer-top-contact span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-top-bar-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.footer-top-bar-left a {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.footer-top-bar-left a:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    width: 100%;
    padding: 58px 0 52px;
}

.footer-main > .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.footer-grid {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 0.9fr)
        minmax(0, 0.9fr)
        minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.footer-about {
    min-width: 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    display: inline-flex;
    max-width: 100%;
}

.footer-logo-image img {
    display: block;
    max-width: 190px;
    width: auto;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.footer-default-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 23px;
}

.footer-default-logo strong {
    min-width: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.clinic-footer-custom-logo {
    max-width: 100%;
}

.clinic-footer-custom-logo .custom-logo-link {
    display: inline-flex;
    max-width: 100%;
}

.clinic-footer-custom-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.footer-description {
    max-width: 360px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 2.15;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER MENU
========================================================= */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu li + li {
    margin-top: 10px;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-menu a::before {
    content: "\f104";
    margin-left: 8px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
    opacity: 0.65;
}

.footer-menu a:hover {
    color: #ffffff;
    transform: translateX(-3px);
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 2;
}

.footer-contact li + li {
    margin-top: 16px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.contact-text {
    min-width: 0;
    flex: 1 1 auto;
    color: rgba(255, 255, 255, 0.82);
    overflow-wrap: anywhere;
    word-break: break-word;
}

a.contact-text {
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-text:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 100%;
    background: #123d73;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.8;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.footer-credit i {
    color: #ffffff;
}


/* =========================================================
   TABLET
   992px
========================================================= */

@media (max-width: 991px) {

    .footer-top-bar-inner {
        width: min(100% - 32px, 760px);
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
    }

    .footer-top-bar-right {
        justify-content: center;
        gap: 8px 18px;
    }

    .footer-top-bar-left {
        justify-content: center;
    }

    .footer-main {
        padding: 48px 0 44px;
    }

    .footer-main > .container {
        width: min(100% - 32px, 760px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 34px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-description {
        max-width: 600px;
    }

    .footer-bottom-inner {
        width: min(100% - 32px, 760px);
    }

}


/* =========================================================
   MOBILE
   767px
========================================================= */

@media (max-width: 767px) {

    .footer-top-bar-inner {
        width: calc(100% - 28px);
        padding: 15px 0;
        gap: 14px;
    }

    .footer-top-bar-right {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .footer-top-message,
    .footer-top-contact {
        justify-content: center;
        text-align: center;
        font-size: 13px;
        line-height: 1.8;
    }

    .footer-top-message {
        width: 100%;
    }

    .footer-top-contact {
        max-width: 100%;
    }

    .footer-top-bar-left {
        width: 100%;
        justify-content: center;
    }

    .footer-top-bar-left a {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }


    .footer-main {
        padding: 42px 0 38px;
    }

    .footer-main > .container {
        width: calc(100% - 28px);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .footer-about {
        grid-column: auto;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 17px;
    }

    .footer-logo-image,
    .clinic-footer-custom-logo .custom-logo-link {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
        margin: 0 auto 20px;
        font-size: 13px;
        line-height: 2.1;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column:not(.footer-about) {
        text-align: center;
    }

    .footer-column h3 {
        margin-bottom: 17px;
        font-size: 17px;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu a {
        justify-content: center;
        font-size: 13px;
    }

    .footer-contact {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
    }

    .footer-contact li {
        justify-content: flex-start;
        text-align: right;
    }

    .footer-bottom-inner {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 17px 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 7px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.9;
    }

    .footer-credit {
        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
   480px
========================================================= */

@media (max-width: 480px) {

    .footer-top-bar-inner,
    .footer-main > .container,
    .footer-bottom-inner {
        width: calc(100% - 24px);
    }

    .footer-top-message,
    .footer-top-contact {
        font-size: 12px;
    }

    .footer-top-bar-left {
        gap: 7px;
    }

    .footer-top-bar-left a {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 13px;
    }

    .footer-main {
        padding: 36px 0 32px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-default-logo {
        gap: 9px;
    }

    .footer-logo-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .footer-default-logo strong {
        font-size: 18px;
    }

    .footer-description {
        font-size: 12.5px;
        line-height: 2;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-menu a {
        font-size: 12.5px;
    }

    .footer-contact {
        max-width: 100%;
    }

    .footer-contact li {
        gap: 9px;
        font-size: 12.5px;
        line-height: 1.9;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 8px;
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11.5px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
   360px
========================================================= */

@media (max-width: 360px) {

    .footer-top-bar-inner,
    .footer-main > .container,
    .footer-bottom-inner {
        width: calc(100% - 20px);
    }

    .footer-top-message,
    .footer-top-contact {
        font-size: 11.5px;
    }

    .footer-description {
        font-size: 12px;
    }

    .footer-contact li {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

}


/* =========================================================
   WOOCOMMERCE - HIDE THEME PAGE HEADER
========================================================= */

.woocommerce-cart .clinic-page-header,
.woocommerce-checkout .clinic-page-header,
.woocommerce-account .clinic-page-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   HEADER AJAX LOADING
========================================================= */

.header-cart.is-loading {
    pointer-events: none;
}

.header-cart.is-loading .header-cart-icon {
    opacity: .65;
}

.header-cart.is-loading .header-cart-icon i {
    animation: clinicCartLoading .7s linear infinite;
}

@keyframes clinicCartLoading {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   AJAX CART EMPTY / TRANSITION
========================================================= */

.header-cart-products {
    transition: opacity .2s ease;
}

.header-cart.is-loading .header-cart-products {
    opacity: .55;
}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
========================================================= */

.header-cart-dropdown,
.header-account-dropdown {
    max-width: calc(100vw - 20px);
}

.header-cart-product-name a {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   MOBILE BODY
========================================================= */

body.mobile-menu-open {
    overflow: hidden;
}


/* =========================================================
   FINAL MOBILE OVERRIDES
========================================================= */

@media (max-width: 992px) {

    .header-tools {
        flex-shrink: 0;
    }

    .header-account-dropdown,
    .header-cart-dropdown {
        z-index: 99999;
    }

}

@media (max-width: 767px) {

    .header-tools {
        margin-right: auto;
        margin-left: 5px;
    }

    .header-account-toggle,
    .header-cart-toggle {
        width: 42px;
        height: 42px;
    }

    .header-account-icon,
    .header-cart-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

}

@media (max-width: 420px) {

    .header-tools {
        gap: 2px;
    }

    .header-account-toggle,
    .header-cart-toggle {
        width: 40px;
        height: 40px;
    }

    .header-account-icon,
    .header-cart-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

}