/*
Theme Name:   medicate-child
Theme URI:    https://healthmedsmg.com
Description:  Child theme of medicate with language switcher support
Author:       HealthMedSMG
Template:     medicate
Version:      1.0.0
Text Domain:  medicate-child
*/


/* ============================================
   LANGUAGE SWITCHER STYLES
   ============================================ */

.language-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 12px;
}

.lang-btn {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    background: #007cba;
    border-color: #007cba;
    color: #fff;
}

.lang-flag {
    font-size: 15px;
    line-height: 1;
}

.lang-text {
    font-family: inherit;
}

/* RTL adjustments */
html[dir="rtl"] .language-switcher {
    flex-direction: row-reverse;
    margin-left: 0;
    margin-right: 12px;
}

html[dir="rtl"] .lang-btn {
    flex-direction: row-reverse;
}

/* Language-specific font stacks */
html[lang="ar"] body {
    font-family: 'Segoe UI', 'Arabic Typesetting', 'Simplified Arabic', Arial, sans-serif;
}

body.lang-ar :is(h1, h2, h3, h4, h5, h6, p,a,ul) {
  direction: rtl;
  unicode-bidi: isolate;

}
body.lang-ar .pt-header-contact a,body.lang-ar .footerCTA .elementor-icon-list-items .elementor-icon-list-item:first-child .elementor-icon-list-text {
  direction: ltr !important;
}
body.lang-ar .phone-number{
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}
.elementor-image-box-img img {
	width:100% !important;
}
@media (max-width:1365px) {
	body.lang-ar header#pt-header .pt-bottom-header .navbar .navbar-nav li:last-child 		{
		margin-right:15px;
	  }
}

