/* =========================================
   Brand Design Tokens (synced with React app)
   ========================================= */
:root {
  --color-primary:         #004e7d;
  --color-primary-light:   #006699;
  --color-primary-lighter: #e6f0f5;
  --color-accent:          #dcaf8a;
  --color-text:            #707070;
  --color-bg:              #f8fafc;
  --font-main:             'Hacen', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Accent color helpers */
.text-accent    { color: #dcaf8a !important; }
.bg-accent      { background-color: #dcaf8a !important; }
.border-accent  { border-color: #dcaf8a !important; }
.bg-primary-lighter { background-color: #e6f0f5 !important; }
@font-face {
    font-family: 'Hacen';
    src: url('../font/Hacen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Fallback: lighter variant */
@font-face {
    font-family: 'Hacen';
    src: url('../font/hacen-beirut-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
html{
    scroll-behavior: smooth;
}
a{
    text-decoration: none !important;
    transition: 0.4s;
    text-transform: capitalize;
}
body{
    text-align: start;
    background-color: #f8fafc;
    font-family: 'Hacen', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
img{
    width: 100%;
    height: auto;
}
ul{
    padding: 0;
}
ul::after{
    display: none !important;
}
.row{
    align-items: center;
    margin: 0;
}
h1,h2,h3,h4,h5 {
    color: #004e7d;
}
a,p,h6{
    color: #707070;
}
/* Apply Hacen font globally but NOT on pseudo-elements (preserves FontAwesome icons) */
*,
button,
input,
textarea,
select {
    font-family: 'Hacen', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Restore FontAwesome font for pseudo-elements used by icon fonts */
.fa::before, .fa::after,
.fas::before, .fas::after,
.far::before, .far::after,
.fal::before, .fal::after,
.fab::before, .fab::after,
.fa-solid::before, .fa-solid::after,
.fa-regular::before, .fa-regular::after,
.fa-brands::before, .fa-brands::after,
[class^="fa-"]::before, [class^="fa-"]::after,
[class*=" fa-"]::before, [class*=" fa-"]::after {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome' !important;
}
div#wrapper {
    overflow: hidden;
}
.btn.focus, .btn:focus{
    box-shadow: none;
    outline: none;
}
/* button and links  */
button.btn {
    outline: none;
    background-color: #004e7d !important;
    color: white !important;
    text-transform: capitalize;
    border: none !important;
    transition: background-color 0.3s ease;
}
button.btn:hover, button.btn:focus {
    background-color: #006699 !important;
    animation: pulse 1s;
    box-shadow: 0 0 0 2em transparent;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 175, 138, 0.5); }
}
/* button and links  */
.custom-btn a{
    display: inline-block;
    background-color: #004e7d;
    border-radius: 5px;
    color: white !important;
    padding: 8px 40px;
    transition: background-color 0.3s ease;
}
.custom-btn a:hover {
    background-color: #006699;
}
.title-content .sub-title h6{
    position: relative;
    display: inline-block;
}
.title-content .sub-title h6::after {
    content: "";
    width: 90%;
    background-color: #707070;
    height: 2px;
    position: absolute;
    bottom: -10px;
    right: 0;
}
[dir="ltr"] .title-content .sub-title h6::after{
    left: 0;
}
/* ═══════════════════════════════════════════
   HEADER — Professional Design
   ═══════════════════════════════════════════ */

/* ── Desktop Header ── */
header#desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 78, 125, 0.10);
}

/* Push all page content below the fixed header */
body:not(.path-frontpage) #wrapper,
body:not(.path-frontpage) #page {
    padding-top: 87px;
}
header#desktop-header .container {
    padding: 0 15px;
}

/* Single row — all blocks in one flex bar */
header#desktop-header .region-desktop-header {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    height: 87px;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

/* Logo */
header#desktop-header a.navbar-brand {
    margin: 0;
    flex-shrink: 0;
}
header#desktop-header a.navbar-brand img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Main navigation — takes remaining space, centered */
header#desktop-header nav#block-mainnavigation {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}
header#desktop-header nav#block-mainnavigation > ul,
header#desktop-header nav#block-mainnavigation ul.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
header#desktop-header nav#block-mainnavigation ul li {
    position: relative;
}
header#desktop-header nav#block-mainnavigation ul li a {
    font-size: 15px;
    font-weight: 600;
    color: #333 !important;
    padding: 8px 14px;
    display: block;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
    text-transform: none !important;
}
header#desktop-header nav#block-mainnavigation ul li a:hover,
header#desktop-header nav#block-mainnavigation ul li a.is-active {
    color: #004e7d !important;
    background: #e6f0f5;
}

/* Dropdown */
header#desktop-header nav#block-mainnavigation ul.dropdown-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 4px);
    min-width: 180px;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 78, 125, 0.15);
    padding: 6px 0;
    z-index: 1001;
    flex-direction: column;
}
header#desktop-header nav#block-mainnavigation ul.dropdown-menu.show {
    display: flex !important;
}
header#desktop-header nav#block-mainnavigation ul.dropdown-menu li a {
    padding: 10px 18px;
    border-radius: 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f4f8;
}
[dir="rtl"] header#desktop-header nav#block-mainnavigation ul.dropdown-menu li a{
        direction: rtl;
    float: right;
}
header#desktop-header nav#block-mainnavigation ul.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Appointment button */
header#desktop-header div#block-appointmentbutton {
    flex-shrink: 0;
}
header#desktop-header div#block-appointmentbutton p {
    margin: 0;
}
header#desktop-header div#block-appointmentbutton button.btn-appointment {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #004e7d, #006699);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 14px rgba(0,78,125,0.22);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
header#desktop-header div#block-appointmentbutton button.btn-appointment:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Language switcher */
header#desktop-header #block-languageswitcher {
    flex-shrink: 0;
}
header#desktop-header #block-languageswitcher .content {
    display: flex;
}
header#desktop-header #block-languageswitcher nav.links {
    display: flex;
    gap: 4px;
}
header#desktop-header #block-languageswitcher nav.links span a {
    font-size: 12px;
    font-weight: 700;
    color: #707070 !important;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1.5px solid #e0e0e0;
    transition: all 0.2s ease;
    display: block;
}
header#desktop-header #block-languageswitcher nav.links span.is-active a,
header#desktop-header #block-languageswitcher nav.links span a.is-active {
    background: #004e7d;
    color: #fff !important;
    border-color: #004e7d;
}
[dir='rtl'] nav.links.nav.links-inline span.ar.nav-link a.language-link {
    display: none;
}
[dir='ltr'] nav.links.nav.links-inline span.en.nav-link a.language-link {
    display: none;
}

/* Cart */
header#desktop-header #block-cart {
    flex-shrink: 0;
}
header#desktop-header #block-cart .cart-block--link__expand {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #004e7d !important;
    font-size: 20px;
}
header#desktop-header #block-cart .cart-block--summary__count {
    font-size: 12px;
    font-weight: 700;
    color: #004e7d;
}
span.cart-block--summary__icon img {
    display: none;
}

header .row {
    justify-content: space-between;
    align-items: center;
}
header a:hover {
    color: #dcaf8a;
}

/* ══════════════════════════════════════════
   MOBILE HEADER — Professional Design
   ══════════════════════════════════════════ */

header#mobile-header {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 78, 125, 0.12);
}

/* ── Top info bar ── */
header#mobile-header .top-header {
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%);
    padding: 7px 0;
}
header#mobile-header .top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
header#mobile-header .top-header nav#block-menuresponsive ul {
    display: flex;
    flex-direction: row;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}
header#mobile-header .top-header nav#block-menuresponsive ul li {
    color: white;
}
header#mobile-header .top-header nav#block-menuresponsive ul li a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}
header#mobile-header .top-header nav#block-menuresponsive ul li a:hover {
    background: rgba(255,255,255,0.15);
    color: #dcaf8a !important;
}
header#mobile-header a {
    color: white !important;
}

/* ── Bottom bar: logo + hamburger ── */
header#mobile-header .bottom-header {
    background: #fff;
    padding: 0;
}
header#mobile-header .bottom-header .container {
    padding: 0 15px;
}
header#mobile-header .bottom-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 79px;
    margin: 0;
    flex-wrap: nowrap;
}

/* Logo in bottom bar */
header#mobile-header .bottom-header .navbar-brand img,
header#mobile-header .bottom-header a.navbar-brand img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

/* ── Hamburger button ── */
/* Hamburger → X animation */
header#mobile-header .icon-header {
    display: none;
    width: 40px;
    height: 40px;
    background: #e6f0f5;
    border-radius: 10px;
    font-size: 18px;
    color: #004e7d;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}
header#mobile-header .icon-header i {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    line-height: 1;
}
header#mobile-header .icon-header:hover {
    background: #004e7d;
    color: #fff;
}
/* Open state: blue bg + rotate to X */
header#mobile-header .icon-header.is-open {
    background: #004e7d;
    color: #fff;
}
header#mobile-header .icon-header.is-open i::before {
    content: "\f00d"; /* fa-times */
}
header#mobile-header .icon-header.is-open i {
    transform: rotate(90deg);
}
header#mobile-header .icon-header:not(.is-open) i {
    transform: rotate(0deg);
}

/* ── Slide-in drawer ── */
header#mobile-header .bottom-header ul.dropdown-menu.show {
    background-color: rgba(0,0,0,0.15);
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 82%;
    max-width: 290px;
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                left  0.32s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    z-index: 1050;
    box-shadow: 4px 0 32px rgba(0, 78, 125, 0.18);
    display: flex;
    flex-direction: column;
}
[dir='rtl'] header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main {
    right: -100%;
}
[dir='ltr'] header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main {
    left: -100%;
}

/* Drawer header strip with logo */
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main::before {
    display: none;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main .drawer-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%);
    flex-shrink: 0;
    border-bottom: 3px solid #dcaf8a;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main .drawer-header a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main .drawer-header img {
    height: 48px;
    width: auto;
    object-fit: contain;

}

/* Drawer nav list */
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Top-level nav items */
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: #222 !important;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
    position: relative;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #dcaf8a;
    border-radius: 3px;
    margin-inline-end: 12px;
    transition: opacity 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    opacity: 0;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a:hover,
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a.is-active {
    background: #f5f9fc;
    color: #004e7d !important;
    padding-inline-start: 28px;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a:hover::before,
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li > a.is-active::before {
    opacity: 1;
}

/* Dropdown sub-items */
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu {
    display: none;
    position: static !important;
    float: none !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    will-change: unset !important;
    background: #f0f6fb;
    border-radius: 0;
    padding: 0;
    margin: 0;
    border: none;
    border-inline-start: 3px solid #dcaf8a;
    box-shadow: none !important;
    width: 100%;
    /* slide-down animation */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu.show {
    display: block !important;
    max-height: 400px;
    opacity: 1;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid #e2edf5;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li:last-child {
    border-bottom: none;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px 12px 28px;
    color: #444 !important;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dcaf8a;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li a:hover {
    color: #004e7d !important;
    background: #e6f0f5;
    padding-inline-start: 34px;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main ul.dropdown-menu li a:hover::before {
    transform: scale(1.4);
    background: #004e7d;
}

/* Parent item with dropdown — show chevron arrow */
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li.dropdown > a.dropdown-toggle {
    justify-content: space-between;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li.dropdown > a.dropdown-toggle::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
    font-size: 11px;
    color: #004e7d;
    transition: transform 0.3s ease;
    margin-inline-start: auto;
    flex-shrink: 0;
    /* reset Bootstrap border-caret */
    border: none !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}
header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main > ul > li.dropdown.show > a.dropdown-toggle::after {
    transform: rotate(180deg);
    color: #dcaf8a;
}

header#mobile-header .bottom-header nav.block.block-menu.navigation.menu--main li.nav-item.menu-item--expanded.dropdown.show a:-webkit-any-link:focus-visible {
    outline: none;
}

/* ── Drawer open states ── */
[dir='rtl'] .show {
    right: 0 !important;
}
[dir='ltr'] .show {
    left: 0 !important;
}
/* ══════════════════════════════════
   HERO SLIDER
══════════════════════════════════ */
section#slider {
    position: relative;
    overflow: hidden;
}
section#slider .view-content.row > div {
    flex: 100%;
}

/* Flexslider container */
section#slider div[id^="flexslider"] {
    border: none;
    margin: 0;
    background: transparent;
}

/* Slide wrapper */
section#slider .slider {
    position: relative;
}

/* Image fills full width, fixed height */
section#slider .slider .slider-image {
    position: relative;
    height: 90vh;
    min-height: 520px;
    max-height: 860px;
    overflow: hidden;
}
section#slider .slider .slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark gradient overlay for readability */
section#slider .slider .slider-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 30, 55, 0.72) 0%,
        rgba(0, 50, 85, 0.55) 50%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

/* Content box — centered */
section#slider .slider .box {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    z-index: 2;
    text-align: center;
}
[dir="ltr"] section#slider .slider .box {
    justify-content: center;
}

/* Main content wrapper */
section#slider .slider .main-content {
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Sub-title badge */
section#slider .slider .main-content .title-content .sub-title {
    display: inline-block;
}
section#slider .slider .main-content .title-content .sub-title h6 {
    display: inline-block;
    color: #dcaf8a !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border: 1px solid rgba(220,175,138,0.5);
    border-radius: 30px;
    background: rgba(220,175,138,0.1);
    backdrop-filter: blur(4px);
    margin: 0;
    animation: slideUp 0.8s ease both;
}
section#slider .slider .main-content .title-content .sub-title h6::after {
    display: none;
}

/* Main heading */
section#slider .slider .main-content .title-content .main-title h1 {
    color: #ffffff !important;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin: 0;
    animation: slideUp 0.8s 0.15s ease both;
}

/* Body text */
section#slider .slider .main-content .body-content {
    width: 100%;
    max-width: 580px;
    animation: slideUp 0.8s 0.3s ease both;
}
section#slider .slider .main-content .body-content p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
}

/* CTA button */
section#slider .slider .main-content .custom-btn {
    animation: slideUp 0.8s 0.45s ease both;
}
section#slider .slider .main-content .custom-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: #dcaf8a;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 28px rgba(220,175,138,0.45);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    border: 2px solid #dcaf8a;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
section#slider .slider .main-content .custom-btn a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}
section#slider .slider .main-content .custom-btn a:hover {
    background: transparent;
    color: #dcaf8a !important;
    box-shadow: 0 0 0 2px #dcaf8a, 0 8px 24px rgba(220,175,138,0.2);
    transform: translateY(-3px);
}
section#slider .slider .main-content .custom-btn a:hover::before {
    opacity: 1;
}

/* ── Flexslider dot navigation ── */
.flex-control-nav {
    position: absolute;
    bottom: 28px;
    width: 100%;
    margin: 0;
    z-index: 3;
    text-align: center;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.flex-control-paging li a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35) !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    box-shadow: none !important;
    transition: background 0.25s ease, transform 0.25s ease;
    display: block;
}
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
    background: #dcaf8a !important;
    border-color: #dcaf8a !important;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(220,175,138,0.6) !important;
}

/* Hide prev/next arrows */
section#slider ul.flex-direction-nav {
    display: none;
}

/* ── Social media bar (bottom-right) ── */
section#slider nav#block-socialmediamenu {
    position: absolute;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 40px;
}
[dir='rtl'] section#slider nav#block-socialmediamenu { left: 0; }
[dir='ltr'] section#slider nav#block-socialmediamenu { right: 0; }

section#slider nav#block-socialmediamenu ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
section#slider nav#block-socialmediamenu ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff !important;
    font-size: 14px;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
}
section#slider nav#block-socialmediamenu ul li a:hover {
    background: #dcaf8a;
    border-color: #dcaf8a;
    transform: translateY(-3px);
}

/* ── Entrance animations ── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════
   ABOUT US SECTION
══════════════════════════════════ */
section#about-us {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}
/* Subtle decorative blob */
section#about-us::before {
    content: '';
    position: absolute;
    inset-inline-start: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 78, 125, 0.05);
    pointer-events: none;
}

body.path-about-us div#block-dentrose-content {
    padding: 60px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}
body.path-about-us div#block-dentrose-content::before {
    content: '';
    position: absolute;
    inset-inline-start: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 78, 125, 0.05);
    pointer-events: none;
}

/* Title block */
section#about-us .main-content .title-content,
body.path-about-us div#block-dentrose-content .main-content .title-content {
    padding-bottom: 18px;
}
section#about-us .main-content .main-title h3,
body.path-about-us div#block-dentrose-content .main-content .main-title h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #004e7d !important;
    margin: 0 0 12px;
    position: relative;
    padding-bottom: 14px;
}
section#about-us .main-content .main-title h3::after,
body.path-about-us div#block-dentrose-content .main-content .main-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 48px;
    height: 3px;
    background: #dcaf8a;
    border-radius: 2px;
}
section#about-us .main-content .title-content .sub-title h6,
body.path-about-us div#block-dentrose-content .main-content .title-content .sub-title h6 {
    font-size: 14px;
    font-weight: 600;
    color: #dcaf8a !important;
    margin: 0;
    letter-spacing: 0.3px;
}
section#about-us .main-content .title-content .sub-title h6::after,
body.path-about-us div#block-dentrose-content .main-content .title-content .sub-title h6::after {
    display: none;
}

/* Body text */
section#about-us .main-content .body-content,
body.path-about-us div#block-dentrose-content .main-content .body-content {
    padding-bottom: 24px;
}
section#about-us .main-content .body-content p,
body.path-about-us div#block-dentrose-content .main-content .body-content p {
    color: #555 !important;
    font-size: 15px;
    line-height: 1.9;
}

/* CTA button */
section#about-us .main-content .custom-btn,
body.path-about-us div#block-dentrose-content .main-content .custom-btn {
    padding-bottom: 0;
}
section#about-us .main-content .custom-btn a,
body.path-about-us div#block-dentrose-content .main-content .custom-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 32px;
    background: #004e7d !important;
    color: #fff !important;
    border: 2px solid #004e7d;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,78,125,0.2);
}
section#about-us .main-content .custom-btn a:hover,
body.path-about-us div#block-dentrose-content .main-content .custom-btn a:hover {
    background: transparent !important;
    color: #004e7d !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,78,125,0.15);
}

/* Image column */
section#about-us .about-us-image,
body.path-about-us div#block-dentrose-content .about-us-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
section#about-us .about-us-image::before,
body.path-about-us div#block-dentrose-content .about-us-image::before {
    content: '';
    position: absolute;
    inset-inline-end: -16px;
    bottom: -16px;
    width: 80%;
    height: 80%;
    border: 3px solid #dcaf8a;
    border-radius: 20px;
    z-index: 0;
    pointer-events: none;
}
section#about-us .about-us-image img,
body.path-about-us div#block-dentrose-content .about-us-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,78,125,0.15);
    object-fit: cover;
}
/* ************ ABOUT US STYLE *************** */
/* ************ SERVICES STYLE *************** */
section#services div#block-views-block-services-block-1,section#services div#block-views-block-services-block-2{
    padding: 3rem 0;
}

/* ══════════════════════════════════
   SERVICE & PRODUCT CARD
══════════════════════════════════ */
.card {
    margin: 12px;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,78,125,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,78,125,0.16);
}

/* Image area — fixed height container clips the zoom */
.card .image-card {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    height: 220px;        /* fixed height so zoom never pushes layout */
}
.card .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}
.card:hover .image-card img {
    transform: scale(1.08);
}
/* Brand-tinted shimmer overlay that fades in on hover */
.card .image-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 30, 60, 0.55) 0%,
        rgba(0, 78, 125, 0.15) 50%,
        transparent 100%
    );
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
}
.card:hover .image-card .overlay {
    background: linear-gradient(
        to top,
        rgba(0, 30, 60, 0.72) 0%,
        rgba(0, 78, 125, 0.35) 55%,
        rgba(220, 175, 138, 0.08) 100%
    );
    opacity: 1;
}

/* Content area */
.card .card-content {
    padding: 1.2rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.card .card-content > * {
    padding: 0;
}

/* Title */
.card .card-content .title-card {
    min-height: auto;
    flex: 1;
}
.card .card-content .title-card h5 {
    color: #004e7d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 4px;
}
/* Gold accent bar under title */
.card .card-content .title-card::after {
    content: '';
    display: block;
    width: 36px;
    height: 2.5px;
    background: #dcaf8a;
    border-radius: 2px;
    margin-top: 6px;
}

/* Body / description */
.card .card-content .body-card {
    color: #707070;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 4px 0;
}

/* Price row */
.price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid #f0f4f8;
    margin-top: 4px;
}
.price-card .current-price {
    color: #004e7d;
    font-weight: 700;
    font-size: 1rem;
}
.price-card .last-price {
    text-decoration: line-through;
    color: #b0b0b0;
    font-size: 0.85rem;
}

/* Sold count */
.sold-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #a0a0a0;
    padding: 2px 0;
}
.sold-number .number {
    font-weight: 600;
    color: #dcaf8a;
}

/* CTA button */
.card .card-content .card-btn {
    display: block;
    text-align: center;
    margin-top: 8px;
}
.card .card-content .card-btn a {
    display: block;
    background: linear-gradient(135deg, #004e7d, #006699);
    color: #fff !important;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 40px;
    padding: 9px 0;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,78,125,0.20);
}
.card .card-content .card-btn a:hover,
.card .card-content .card-btn a:focus {
    background: transparent;
    color: #004e7d !important;
    border-color: #004e7d;
    box-shadow: none;
    transform: none;
}

/* Offer listing page cards: no extra margin (grid handles spacing) */
body.page-view-services .card,
body.page-view-services.path-dermatology-services .card,
body.page-view-offers.path-our-offers .card {
    margin: 0;
}


/* ************ SERVICES STYLE *************** */
/* ************ DOCTORS  STYLE *************** */
section#doctors {
    padding: 4rem 0;
    background-color: #FFFFFF;
}
section#doctors .title-content .sub-title h6::after {
    width: 36%;
}
section#doctors .title-content .main-title {
    margin: 0.5rem 0;
}
.card-doctors {
    position: relative;
    margin: 1rem;
}
.overlay-doctors{
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 25%;
    background-color: #eeeeee4a;
}
.content-doctors {
    position: absolute;
    bottom: 0;
    padding: 1rem 0.5rem;
    width: 100%;
    color: white !important;
    text-align: start;
}
.flex-doctors {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}
.title-doctors {
    text-align: center;
}
.btn-doctors a {
    color: white !important;
}
/* ************ DOCTORS  STYLE *************** */
/* ************ QUALITY  STYLE *************** */
/* ══════════════════════════════════
   BETTER QUALITY / CTA BANNER
══════════════════════════════════ */
section#better-quality {
    position: relative;
    background-image: url("../image/bgibetterquality.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
    overflow: hidden;
}
/* Dark overlay */
section#better-quality::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,30,55,0.82) 0%, rgba(0,78,125,0.70) 100%);
    z-index: 0;
}
/* Decorative circle top-right */
section#better-quality::after {
    content: '';
    position: absolute;
    top: -80px;
    inset-inline-end: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(220,175,138,0.1);
    pointer-events: none;
    z-index: 0;
}
section#better-quality .container {
    position: relative;
    z-index: 1;
}
section#better-quality .main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
section#better-quality .main-content .main-title h2 {
    color: #ffffff !important;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
/* Gold accent line under heading */
section#better-quality .main-content .main-title {
    position: relative;
    padding-bottom: 18px;
}
section#better-quality .main-content .main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #dcaf8a;
    border-radius: 2px;
}
section#better-quality .main-content .body-content {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}
section#better-quality .main-content .body-content p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
    margin: 0;
}
section#better-quality .main-content button.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 40px;
    background: #dcaf8a !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #dcaf8a;
    border-radius: 40px;
    cursor: pointer;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 28px rgba(220,175,138,0.4);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
section#better-quality .main-content button.btn-appointment:hover {
    background: transparent !important;
    color: #dcaf8a !important;
    box-shadow: 0 0 0 2px #dcaf8a, 0 8px 24px rgba(220,175,138,0.2);
    transform: translateY(-3px);
}

/* ************ QUALITY  STYLE *************** */
/* ************ OFFERS   STYLE *************** */
section#offer {
    padding: 4rem 0;
}
section#offer .title-content .sub-title h6::after{
    width: 50%;
}
.price-card {
    display: flex;
    justify-content: space-between;
}
.price-card .current-price {
    color: #707070;
    font-weight: 600;
}
.price-card .last-price {
    text-decoration: line-through;
    color: #C2C2C2;
}
section#offer .card .card-content .card-btn a{
    color: #707070 ;
}
/* ************ OFFERS   STYLE *************** */
/* ************ CONTACT FORM  STYLE ************/
section#form-map {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

/* ══════════════════════════════════
   GLOBAL WEBFORM BASE STYLES
   Applies to ALL webforms site-wide
══════════════════════════════════ */

/* Labels */
.webform-submission-form label,
.block-webform-block form label,
section#form-map form label,
div#block-webform-2 form label {
    font-size: 13px;
    font-weight: 600;
    color: #004e7d;
    margin-bottom: 5px;
    display: block;
}

/* All text inputs, selects, textareas */
.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form input[type="date"],
.webform-submission-form input[type="time"],
.webform-submission-form input[type="number"],
.webform-submission-form select,
.webform-submission-form textarea,
.webform-submission-form .form-control,
.webform-submission-form .custom-select,
.block-webform-block form input[type="text"],
.block-webform-block form input[type="email"],
.block-webform-block form input[type="tel"],
.block-webform-block form input[type="date"],
.block-webform-block form input[type="time"],
.block-webform-block form input[type="number"],
.block-webform-block form select,
.block-webform-block form textarea,
.block-webform-block form .form-control,
section#form-map form input,
section#form-map form select,
section#form-map form textarea,
div#block-webform-2 form input,
div#block-webform-2 form select,
div#block-webform-2 form textarea {
    height: 46px;
    border: 1.5px solid #dce8f2;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    background: #f7fafd;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
    outline: none;
    appearance: auto;
}
.webform-submission-form textarea,
.block-webform-block form textarea,
section#form-map form textarea,
div#block-webform-2 form textarea {
    height: auto;
    min-height: 100px;
    padding: 12px 16px;
    resize: vertical;
}

/* Focus state */
.webform-submission-form input:focus,
.webform-submission-form select:focus,
.webform-submission-form textarea:focus,
.webform-submission-form .form-control:focus,
.block-webform-block form input:focus,
.block-webform-block form select:focus,
.block-webform-block form textarea:focus,
section#form-map form input:focus,
section#form-map form select:focus,
section#form-map form textarea:focus,
div#block-webform-2 form input:focus,
div#block-webform-2 form select:focus,
div#block-webform-2 form textarea:focus {
    border-color: #004e7d;
    box-shadow: 0 0 0 3px rgba(0,78,125,0.10);
    background: #fff;
}

/* Strip fieldset borders */
.webform-submission-form fieldset,
.block-webform-block form fieldset {
    border: none;
    padding: 0;
    margin: 0 0 8px;
}

/* Form-group spacing */
.webform-submission-form .form-group,
.block-webform-block form .form-group {
    margin-bottom: 14px;
}

/* ── Submit buttons (all webforms) ── */
.webform-submission-form div[id^="edit-actions"] button,
.webform-submission-form button[type="submit"],
.block-webform-block form div[id^="edit-actions"] button,
.block-webform-block form button[type="submit"],
section#form-map form div#edit-actions button,
div#block-webform-2 form div#edit-actions button {
    padding: 12px 40px;
    background: linear-gradient(135deg, #004e7d, #006699) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(0,78,125,0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}
.webform-submission-form div[id^="edit-actions"] button:hover,
.webform-submission-form button[type="submit"]:hover,
.block-webform-block form div[id^="edit-actions"] button:hover,
.block-webform-block form button[type="submit"]:hover,
section#form-map form div#edit-actions button:hover,
div#block-webform-2 form div#edit-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,78,125,0.30);
}

/* ══════════════════════════════════
   CONTACT FORM (front + contact page)
══════════════════════════════════ */
section#form-map .contact-form form label,
div#block-webform-2 form label {
    color: #004e7d;
}
section#form-map .contact-form form div#edit-form-content,
div#block-webform-2 form div#edit-form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
section#form-map .contact-form form div#edit-actions,
div#block-webform-2 form div#edit-actions {
    text-align: end;
    margin-top: 6px;
}
.map iframe,
div#block-map-2 iframe {
    width: 100%;
}
/* ************ CONTACT FORM  STYLE ************/

/* Section heading */
.form-map-header {
    text-align: center;
    margin-bottom: 48px;
}
.form-map-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #004e7d;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}
.form-map-header__bar {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #004e7d, #dcaf8a);
    border-radius: 4px;
    margin: 0 auto;
}

/* ── Contact form card ── */
section#form-map .contact-form {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,78,125,0.11);
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    min-height: 460px;
}
section#form-map .contact-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Form labels */
section#form-map .contact-form form label {
    color: #004e7d;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

/* All inputs & textareas */
section#form-map .contact-form form input,
section#form-map .contact-form form textarea,
section#form-map .contact-form form select {
    border: 1.5px solid #d6e8f4;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    background: #f5fafd;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
section#form-map .contact-form form input:focus,
section#form-map .contact-form form textarea:focus,
section#form-map .contact-form form select:focus {
    border-color: #004e7d;
    box-shadow: 0 0 0 3px rgba(0,78,125,0.10);
    background: #fff;
}
section#form-map .contact-form form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Form content wrapper */
section#form-map .contact-form form div#edit-form-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

/* Submit button */
section#form-map .contact-form form div#edit-actions {
    text-align: end;
    margin-top: 8px;
}
section#form-map .contact-form form div#edit-actions button {
    padding: 12px 44px;
    background: linear-gradient(135deg, #004e7d, #006699) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(0,78,125,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
section#form-map .contact-form form div#edit-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,78,125,0.32);
}

/* ── Map card ── */
section#form-map .map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,78,125,0.11);
    min-height: 460px;
    background: #cde0ee;
    display: flex;
    flex-direction: column;
}
section#form-map .map .block,
section#form-map .map .block__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
section#form-map .map p {
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
section#form-map .map iframe {
    width: 100% !important;
    min-height: 460px !important;
    flex: 1;
    display: block !important;
    border: none !important;
}
/* ************ FOOTER STYLE *******************/

/* ************ FOOTER STYLE *******************/
.cart--cart-block a.cart-block--link__expand {
    position: relative;
}


.cart--cart-block span.cart-block--summary__count {
    position: absolute;
    left: 1px;
    top: -17px;
    color: white;
    background-color: #707070;
    font-size: 14px;
    border-radius: 100%;
    width: 17px;
    text-align: center;
}
span.cart-block--summary__icon i{
    font-size: 20px;
}
span.cart-block--summary__icon img{
    width: 30px;
    height: 30px;
    object-fit: cover;
}
/* ── TOP FOOTER ── */
footer#footer .top-footer {
    padding: 56px 0 40px;
    background: linear-gradient(160deg, #003a5e 0%, #004e7d 55%, #005f94 100%);
    position: relative;
    overflow: hidden;
}
footer#footer .top-footer::before {
    content: '';
    position: absolute;
    inset-inline-end: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(220, 175, 138, 0.08);
    pointer-events: none;
}
footer#footer .top-footer::after {
    content: '';
    position: absolute;
    inset-inline-start: -60px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255, 0.04);
    pointer-events: none;
}

/* First col – logo + tagline */
.first-col-footer .navbar-brand {
    display: inline-block;
    margin-bottom: 16px;
}
.first-col-footer .navbar-brand img {
    height: 60px;
    width: auto;
}
.first-col-footer .field--name-body p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* Footer brand block (from block content) */
.first-col-footer .footer-tagline {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 18px 0;
}
.first-col-footer .footer-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.first-col-footer .footer-services-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    border: 1px solid rgba(220,175,138,0.25);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.first-col-footer .footer-services-list li:hover {
    background: rgba(220,175,138,0.2);
    border-color: #dcaf8a;
}
.first-col-footer .footer-services-list li i {
    color: #dcaf8a;
    font-size: 12px;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    padding: 0;
}

/* Hide sr-only/empty footer headings completely */
#block-footerthird h2,
#block-socialmediamenu-2 h2 {
    display: none !important;
}

/* Merged second+third col on mobile — hide the second heading from third block */
.second-col-footer--merged #block-footerthird h2,
.second-col-footer--merged .region-footer-third h2 {
    display: none !important;
}
/* Merged: stack the two nav lists seamlessly */
.second-col-footer--merged {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.second-col-footer--merged .region-footer-second,
.second-col-footer--merged .region-footer-third {
    width: 100%;
}
.second-col-footer--merged .region-footer-third ul.nav {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4px;
    margin-top: 0;
}

.top-footer h2 {
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    padding: 0 0 10px 0;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: 0.3px;
}
.top-footer h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 3px;
    background: #dcaf8a;
    border-radius: 2px;
}

/* Nav link lists in footer */
.second-col-footer ul.nav,
.third-col-footer ul.nav {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}
.second-col-footer ul.nav li,
.third-col-footer ul.nav li {
    padding: 0;
}
.second-col-footer ul.nav li a,
.third-col-footer ul.nav li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    color: rgba(255,255,255,0.72) !important;
    font-size: 14px;
    transition: color 0.2s ease, gap 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
}
.second-col-footer ul.nav li:last-child a,
.third-col-footer ul.nav li:last-child a {
    border-bottom: none;
}
.second-col-footer ul.nav li a::before,
.third-col-footer ul.nav li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #dcaf8a;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
[dir='rtl'] .second-col-footer ul.nav li a::before,
[dir='rtl'] .third-col-footer ul.nav li a::before {
    content: '\f053';
}
.second-col-footer ul.nav li a:hover,
.third-col-footer ul.nav li a:hover {
    color: #fff !important;
    gap: 12px;
}
.second-col-footer ul.nav li a:hover::before,
.third-col-footer ul.nav li a:hover::before {
    transform: translateX(3px);
}
[dir='rtl'] .second-col-footer ul.nav li a:hover::before,
[dir='rtl'] .third-col-footer ul.nav li a:hover::before {
    transform: translateX(-3px);
}

/* Fourth col – contact info */
.fourth-col-footer ul.nav {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}
.fourth-col-footer ul.nav li {
    padding: 0;
}
.fourth-col-footer ul.nav li .nav-link,
.fourth-col-footer ul.nav li a.nav-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255,255,255,0.78) !important;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.2s ease;
    text-decoration: none;
}
.fourth-col-footer ul.nav li:last-child .nav-link {
    border-bottom: none;
}
.fourth-col-footer ul.nav li .nav-link i,
.fourth-col-footer ul.nav li a.nav-link i {
    width: 32px;
    height: 32px;
    background: rgba(220, 175, 138, 0.18);
    color: #dcaf8a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.fourth-col-footer ul.nav li a.nav-link:hover {
    color: #fff !important;
}
.fourth-col-footer ul.nav li a.nav-link:hover i {
    background: #dcaf8a;
    color: #fff;
}
.fourth-col-footer .link-text {
    line-height: 1.5;
    padding-top: 4px;
}

/* Divider between cols */
.top-footer .row > [class*="col-"] + [class*="col-"] {
    border-inline-start: 1px solid rgba(255,255,255,0.08);
}

/* ── BOTTOM FOOTER ── */
.bottom-footer {
    background: #002f4d;
    padding: 14px 0;
}
.bottom-footer .copyright p {
    margin: 0;
    color: rgba(255,255,255,0.65) !important;
    font-size: 13px;
    line-height: 2.2;
}
.bottom-footer .copyright p a {
    color: #dcaf8a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bottom-footer .copyright p a:hover {
    color: #fff !important;
}

/* Social icons row */
.social-media-footer ul.nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
}
.social-media-footer ul.nav li {
    padding: 0;
}
.social-media-footer ul.nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7) !important;
    font-size: 15px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    text-decoration: none;
}
.social-media-footer ul.nav li a:hover {
    background: #dcaf8a;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Column spacing on smaller screens */
.second-col-footer,
.third-col-footer,
.fourth-col-footer {
    margin-top: 0;
    padding-top: 0;
}
section#about-us .sub-title h6::after,body.page-view-about-us div#block-dentrose-content .sub-title h6::after{
    display: none;
}
div#block-views-block-our-vision-block-1 .our-vision {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 4rem;
    border: 1px solid #E8E8E8;
    margin: 1rem 0;
    border-radius: 5px;
    padding: 1rem;
    background-color: #FFFFFF;
}
body.path-about-us div#block-views-block-our-vision-block-1 .view-content.row{
    display: block;
}
div#block-views-block-our-vision-block-1 {
    padding: 4rem 0;
    background-color: #FFFFFF;
}
div#block-views-block-our-vision-block-1 .our-vision .content-vision {
    border-inline-end: 1px solid #E8E8E8;
    padding: 2rem 3rem;
    flex: 10%;
}
div#block-views-block-our-vision-block-1 .our-vision .body-vision{
    flex: 50%;
}
div#block-views-block-our-vision-block-1 .our-vision .content-vision > *{
    padding: 0.5rem 0;
    text-align: center;
}
div#block-views-block-our-vision-block-1 .our-vision .content-vision .image-vision img {
    width: 40px;
}
div#block-views-block-our-vision-block-1 .our-vision .content-vision .title-vision {
    font-size: 2rem;
    color: #004e7d;
}
div#main main#content section.section {
    position: relative;
}

/* Terms / privacy page content card */
body.page-node-21 div#block-dentrose-content .content,
body.page-node-20 div#block-dentrose-content .content {
    background-color: white;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,78,125,0.08);
    border-radius: 12px;
}

/* About-us inner page — section handles its own padding */
body.path-about-us div#block-dentrose-content {
    padding: 0 !important;
    background: transparent !important;
}

/* ══════════════════════════════════
   INNER PAGE BANNER
══════════════════════════════════ */

/* Full-width banner wrapper */
.inner-page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #004e7d;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

/* Overlay — light enough to show the image, dark enough for readable text */
.inner-page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,20,45,0.45) 0%, rgba(0,30,60,0.65) 100%);
    z-index: 1;
}

/* Decorative circle top-right */
.inner-page-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(220,175,138,0.10);
    z-index: 1;
    pointer-events: none;
}

/* Decorative circle bottom-left */
.inner-page-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    z-index: 1;
    pointer-events: none;
}

/* Content block: title + breadcrumb stacked center */
.inner-page-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

/* Page title heading */
.inner-page-banner__content div#block-pagetitle h1,
.inner-page-banner__content #block-pagetitle h1 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Gold accent bar under h1 */
.inner-page-banner__content div#block-pagetitle h1::after,
.inner-page-banner__content #block-pagetitle h1::after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background: #dcaf8a;
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Strip default block margin */
.inner-page-banner__content div#block-pagetitle {
    background: transparent !important;
    margin: 0;
    padding: 0;
}

/* Breadcrumb bar */
.inner-page-banner__content div#block-breadcrumbs .breadcrumb {
    margin: 8px 0 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
}
.inner-page-banner__content div#block-breadcrumbs .breadcrumb li,
.inner-page-banner__content div#block-breadcrumbs .breadcrumb-item {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    line-height: 1.6;
}
.inner-page-banner__content div#block-breadcrumbs .breadcrumb li a,
.inner-page-banner__content div#block-breadcrumbs .breadcrumb-item a {
    color: #dcaf8a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.inner-page-banner__content div#block-breadcrumbs .breadcrumb li a:hover,
.inner-page-banner__content div#block-breadcrumbs .breadcrumb-item a:hover {
    color: #ffffff !important;
}
.inner-page-banner__content div#block-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.40);
    content: "/";
    padding: 0 6px;
}

/* Remove old .color-page and .page-title if still present */
.color-page { display: none !important; }
.page-title  { display: none !important; }

/* Main content area below banner */
div#block-dentrose-content {
    padding: 60px 0 48px;
    background: #f8fafc;
}

/* Per-page banner background images */
body.page-view-about-us .inner-page-banner { background-image: url("../image/bgiAboutUs.png"); }
.inner-page-banner                          { background-image: url("../image/bgiDoctors.png"); }
body.page-node-19 .inner-page-banner        { background-image: url("../image/bgiContactUs.png"); }
body.path-our-doctors .inner-page-banner    { background-image: url("../image/bgiDoctors.png"); }
body.path-dental-services .inner-page-banner,
body.page-view-services .inner-page-banner  { background-image: url("../image/bgidenatal.png"); }
body.path-dermatology-services .inner-page-banner { background-image: url("../image/bgidenatal.png"); }
body.path-our-offers .inner-page-banner     { background-image: url("../image/bgiOffers.png"); }
body.page-node-20 .inner-page-banner        { background-image: url("../image/bgiprivecy.png"); }
body.page-node-21 .inner-page-banner        { background-image: url("../image/bgiterms.png"); }
body.page-view-faqs .inner-page-banner      { background-image: url("../image/bgifaqs.png"); }
body.path-node.node--type-doctors .inner-page-banner   { background-image: url("../image/insideDoctors.png"); }
body.path-node.node--type-services .inner-page-banner  { background-image: url("../image/insideServices.png"); }
body.path-product .inner-page-banner        { background-image: url("../image/NoPath.png"); }

body.page-node-19 div#main main#content section.section {
    display: flex;
        padding: 6rem 0;
        flex-wrap: wrap;
}
body.page-node-19 div#main main#content section.section div#block-webform-2,body.page-node-19 div#main main#content section.section div#block-map-2{
    flex: 50%;
    padding: 1rem;
}
.faqs {
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: 0px 0px 40px rgb(0 0 0 / 10%);
    margin: 1rem 0;
    position: relative;
}
.icon-faqs {
    padding: 8px 12px;
    background-color: #F9F5ED;
    position: absolute;
    top: 9%;
    cursor: pointer;
}
[dir='ltr'] .icon-faqs {
    right: 3%;
}
[dir='rtl'] .icon-faqs {
    left: 3%;
}
.faqs .title-faqs {
    color: #004e7d;
    border-bottom: 1px solid #ECECEC;
    padding: 1rem 0;
}
.faqs .body-faqs {
    padding: 1rem 0;
    display: none;
}
.page-view-faqs .view-content.row{
    display: block;
}
.custom-btn a:hover,
.custom-btn a:focus {
  animation: pulse 1s;
  box-shadow: 0 0 0 2em transparent;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #ef8f6e; }
}
header a,footer a{
    position: relative;
}

    footer#footer .top-footer a{
        width: fit-content;
    }
	header ul a:hover::before {
		visibility: visible;
		transform: scaleX(1);
    }
    body.path-node.node--type-doctors div#block-dentrose-content {
        padding: 60px 0 48px;
    }
    /* ── Service inner page ── */
    body.path-node.node--type-services div#block-dentrose-content {
        padding: 48px 0 60px;
        background: #f4f8fb;
    }

    /* Body content card */
    .service-page-body {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 40px rgba(0,78,125,0.08);
        padding: 2.5rem 3rem;
        margin-bottom: 24px;
    }
    .service-page-body .field--name-body h2,
    .service-page-body .field--name-body h3 {
        color: #004e7d;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .service-page-body .field--name-body p {
        color: #555;
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 0.8rem;
    }
    .service-page-body .field--name-body strong {
        color: #004e7d;
    }

    /* Form section */
    .service-form-section {
        margin-top: 0;
    }

    /* ── Doctors inner page ── */
    body.path-node.node--type-doctors div#block-dentrose-content {
        padding: 48px 0 60px;
        background: #f4f8fc;
    }
    body.path-node.node--type-doctors div#block-dentrose-content .content {
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    /* Doctor profile: 2-col grid — photo left, credentials right */
    body.path-node.node--type-doctors .node__content.clearfix {
        display: grid !important;
        grid-template-columns: 320px 1fr;
        gap: 32px;
        align-items: start;
    }
    body.path-node.node--type-doctors .node__content.clearfix::after {
        display: none;
    }
    /* Photo panel */
    body.path-node.node--type-doctors .field--name-field-image-doc-inside {
        position: static !important;
        top: auto !important;
        width: auto !important;
        grid-row: 1;
        grid-column: 1;
    }
    body.path-node.node--type-doctors .field--name-field-image-doc-inside .field__item {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 40px rgba(0,78,125,0.13);
        border-bottom: 4px solid #004e7d;
    }
    body.path-node.node--type-doctors .field--name-field-image-doc-inside img {
        width: 100% !important;
        height: 340px !important;
        object-fit: cover !important;
        display: block;
    }
    /* Credentials panel */



    body.path-node article.node--type-doctors .field--name-body p:hover {
        border-right-color: #004e7d;
    }
    /* Webform / appointment block */
    body.path-node.node--type-doctors #block-webform-3 {
        margin-top: 40px;
        background: #fff;
        border-radius: 20px;
        padding: 32px 36px;
        box-shadow: 0 8px 40px rgba(0,78,125,0.08);
        border-top: 4px solid #dcaf8a;
    }
    body.path-node.node--type-doctors #block-webform-3::before {
        content: "احجز موعدك الآن";
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        color: #004e7d;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px solid #dcaf8a;
    }
    /* Responsive: single column on <= 991px */
    @media (max-width: 991px) {
        body.path-node.node--type-doctors .node__content.clearfix {
            grid-template-columns: 1fr;
        }
        body.path-node.node--type-doctors .field--name-field-image-doc-inside img {
            height: 260px !important;
        }
    }
    @media (max-width: 767px) {
        body.path-node.node--type-doctors div#block-dentrose-content {
            padding: 24px 0 32px;
        }

    }
    /* ══════════════════════════════════
       PRODUCT INNER PAGE
    ══════════════════════════════════ */
    div#product {
        background: #fff;
        margin-bottom: 0;
    }

    /* ── Hero two-col layout ── */
    .product-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 12px 48px rgba(0,78,125,0.12);
        margin-bottom: 0;
    }

    /* Image column */
    .product-hero__image {
        position: relative;
        overflow: hidden;
        background: #e6f0f5;
    }
    .product-hero__image img,
    .product-hero__image .field__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .product-hero__image:hover img {
        transform: scale(1.04);
    }
    /* Decorative brand stripe on left edge of image */
    .product-hero__image::before {
        content: '';
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #dcaf8a, #004e7d);
        z-index: 2;
    }

    /* Info column */
    .product-hero__info {
        padding: 2.8rem 2.5rem 2.2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        background: #fff;
    }

    /* Body label */
    .product-hero__body .field__label {
        color: #004e7d;
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 8px;
        position: relative;
        padding-bottom: 12px;
        display: inline-block;
    }
    .product-hero__body .field__label::after {
        content: '';
        position: absolute;
        bottom: 0;
        inset-inline-start: 0;
        width: 44px;
        height: 3px;
        background: #dcaf8a;
        border-radius: 2px;
    }
    .product-hero__body p {
        color: #555;
        font-size: 15px;
        line-height: 1.85;
        margin: 0;
    }

    /* Conditions */
    .product-hero__conditions .field__label {
        font-size: 1rem;
        font-weight: 700;
        color: #dcaf8a;
        margin-bottom: 4px;
    }
    .product-hero__conditions .field__item {
        font-size: 14px;
        color: #666;
        padding: 3px 0;
    }

    /* Price row */
    .product-hero__price {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 14px 18px;
        background: #f4f8fb;
        border-radius: 12px;
        border-inline-start: 4px solid #004e7d;
    }
    .price-current {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .price-was {
        display: flex;
        flex-direction: column;
        gap: 2px;
        opacity: 0.7;
    }
    .price-label {
        font-size: 11px;
        font-weight: 600;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .price-current .price-value {
        font-size: 1.5rem;
        font-weight: 800;
        color: #004e7d;
    }
    .price-was .price-value {
        font-size: 1rem;
        font-weight: 600;
        color: #b0b0b0;
        text-decoration: line-through;
    }

    /* Sold count */
    .product-hero__sold .field--name-field-number-sold {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #888;
    }
    .product-hero__sold .field__label {
        font-weight: 600;
        color: #dcaf8a;
    }
    .product-hero__sold .field__item {
        font-weight: 700;
        color: #004e7d;
    }

    /* Add to cart */
    .product-hero__cart button,
    .product-hero__cart input[type="submit"] {
        width: 100%;
        padding: 13px 0;
        background: linear-gradient(135deg, #004e7d, #006699) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 40px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.4px;
        box-shadow: 0 6px 22px rgba(0,78,125,0.28);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        cursor: pointer;
        margin-top: 4px;
    }
    .product-hero__cart button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,78,125,0.35);
    }

    /* Quantity selector styling */
    .product-hero__cart select,
    .product-hero__cart .form-control {
        border: 2px solid #e6f0f5;
        border-radius: 10px;
        padding: 8px 12px;
        color: #004e7d;
        font-weight: 600;
        margin-bottom: 10px;
        width: 100%;
    }

    div#block-views-block-offers-block-1-2 .view-content.row {
        display: block;
    }
    /* end product */
    #btn-modal { display: none; }
     div.webform-flexbox.js-webform-flexbox.js-form-wrapper.form-group {
        flex-wrap: wrap;
        align-items: center;
    }
    div#exampleModal .modal-content .modal-body section.region.region-form-appointment div.webform-flexbox.js-webform-flexbox.js-form-wrapper.form-group > * {
        flex: 50%;
    }
     div#exampleModal .modal-content .modal-body section.region.region-form-appointment div.webform-flexbox.js-webform-flexbox.js-form-wrapper.form-group .webform-flex.webform-flex--1:last-child .webform-flex--container fieldset .container-inline.form-inline > *{
        flex: 50%;
    }
    .block-webform-block form.webform-submission-appointments-form div#edit-flexbox .webform-flex.webform-flex--1:last-child .container-inline.form-inline > *{
        flex: 50%;
    }
     div#edit-date input#edit-date-time,div#edit-date input#edit-date-date {
        width: 100%;
    }
     div#edit-date--2 input#edit-date-time--2,div#edit-date--2 input#edit-date-date--2{
        width: 100%;
    }
    div#edit-date input#edit-date-date {
        margin-inline-end: 5px;
    }
    div#edit-date--2 input#edit-date-date--2{
        margin-inline-end: 5px;
    }
    div#edit-date input#edit-date-time {
        margin-inline-start: 5px;
    }
    div#edit-date--2 input#edit-date-time--2 {
        margin-inline-start: 5px;
    }
    div#edit-actions--2,div#edit-actions--2 button#edit-submit--2{
        width: 100%;
    }
    div#block-webform-4 div#edit-actions--3,div#block-webform-4 div#edit-actions--3 button{
        width: 100%;
    }
    /* modal */

    /* ══════════════════════════════════
       APPOINTMENT WEBFORM
    ══════════════════════════════════ */
    .block-webform-block form.webform-submission-appointments-form {
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 8px 40px rgba(0,78,125,0.10);
        padding: 2rem 2.5rem 2.5rem;
        margin-bottom: 2rem;
    }

    /* Intro text fieldset */
    .block-webform-block form.webform-submission-appointments-form fieldset#edit-processed-text {
        border: none;
        padding: 0;
        margin: 0 0 1.6rem;
    }
    .block-webform-block form.webform-submission-appointments-form fieldset#edit-processed-text p {
        color: #004e7d !important;
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0;
        position: relative;
        padding-bottom: 12px;
    }
    .block-webform-block form.webform-submission-appointments-form fieldset#edit-processed-text p::after {
        content: '';
        position: absolute;
        bottom: 0;
        inset-inline-start: 0;
        width: 44px;
        height: 3px;
        background: #dcaf8a;
        border-radius: 2px;
    }

    /* Flex row of fields */
    .block-webform-block form.webform-submission-appointments-form div#edit-flexbox {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        width: 100%;
        margin-bottom: 0;
    }
    .block-webform-block form.webform-submission-appointments-form div#edit-flexbox .webform-flex {
        flex: 1 1 200px;
        min-width: 0;
    }
    .block-webform-block form.webform-submission-appointments-form div#edit-flexbox .webform-flex.webform-flex--1:last-child {
        flex: 1 1 100%;
    }

    /* Date/time inline row */
    .block-webform-block form.webform-submission-appointments-form .container-inline.form-inline {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .block-webform-block form.webform-submission-appointments-form .container-inline.form-inline > * {
        flex: 1;
    }
    .block-webform-block form.webform-submission-appointments-form div#edit-flexbox .webform-flex.webform-flex--1:last-child .container-inline.form-inline > * {
        flex: 1;
    }

    /* Submit button — full width in appointment form */
    .block-webform-block form.webform-submission-appointments-form div#edit-actions {
        width: 100%;
        margin-top: 10px;
    }
    .block-webform-block form.webform-submission-appointments-form button#edit-submit,
    .block-webform-block form.webform-submission-appointments-form div#edit-actions button {
        width: 100%;
        border-radius: 14px !important;
        padding: 14px 0 !important;
    }

    /* Per-node overrides (services / doctors) */
    body.node--type-doctors div#main .block-webform-block form.webform-submission-appointments-form div#edit-flexbox,
    body.node--type-services div#main .block-webform-block form.webform-submission-appointments-form div#edit-flexbox {
        flex: 1 1 100%;
    }
    body.node--type-services div#main .block-webform-block form.webform-submission-appointments-form button#edit-submit,
    body.node--type-doctors div#main .block-webform-block form.webform-submission-appointments-form button#edit-submit {
        padding: 14px 0 !important;
    }
    body.node--type-doctors div#main .block-webform-block form.webform-submission-appointments-form div#edit-actions,
    body.node--type-services div#main .block-webform-block form.webform-submission-appointments-form div#edit-actions {
        flex: 1 1 100%;
        text-align: center;
    }
    /* webform */
    /* popop */
    /* .alert-wrapper{
    top: 30%;
    width: 100%;
    } */
    /* popop */
    .icon-move-up-fixed {
        position: fixed;
        display: none;
        right: 40px;
        bottom: 40px;
    }
    .icon-move-up-fixed i {
        border: 1px solid;
        font-size: 30px;
        padding: 12px 15px;
        color: #c8a45e;
        border-radius: 15px;
    }
    .icon-social-media-fixed nav#block-socialmediafixed{
        display: block;
    }
/* ══════════════════════════════════
   FLOATING SOCIAL MEDIA WIDGET
══════════════════════════════════ */

/* ── Toggle trigger button ── */
.icon-social-media-fixed {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Pulsing toggle icon */
.icon-social-media-fixed > i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,78,125,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
    animation: social-pulse 2.5s infinite;
    position: relative;
    z-index: 2;
}
.icon-social-media-fixed > i:hover,
.icon-social-media-fixed > i.active {
    transform: scale(1.12) rotate(-15deg);
    box-shadow: 0 10px 32px rgba(0,78,125,0.55);
    background: linear-gradient(135deg, #dcaf8a 0%, #c49060 100%);
    animation: none;
}
@keyframes social-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,78,125,0.45); }
    70%  { box-shadow: 0 0 0 14px rgba(0,78,125,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,78,125,0); }
}

/* ── Items list ── */
.icon-social-media-fixed ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    z-index: 1;
}
.icon-social-media-fixed ul.show-social-media {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

/* ── Staggered entrance per item ── */
.icon-social-media-fixed ul li { transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0; transform: translateX(-12px); }
.icon-social-media-fixed ul.show-social-media li { opacity: 1; transform: translateX(0); }
.icon-social-media-fixed ul.show-social-media li:nth-child(1) { transition-delay: 0.05s; }
.icon-social-media-fixed ul.show-social-media li:nth-child(2) { transition-delay: 0.12s; }
.icon-social-media-fixed ul.show-social-media li:nth-child(3) { transition-delay: 0.19s; }
.icon-social-media-fixed ul.show-social-media li:nth-child(4) { transition-delay: 0.26s; }
.icon-social-media-fixed ul.show-social-media li:nth-child(5) { transition-delay: 0.33s; }

/* ── Each icon button ── */
.icon-social-media-fixed ul li {
    position: relative;
}
.icon-social-media-fixed ul li a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff !important;
    background: #004e7d;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s;
    text-decoration: none;
    border: 2.5px solid rgba(255,255,255,0.18);
}
.icon-social-media-fixed ul li a i {
    color: #fff !important;
    background: transparent !important;
    line-height: 1;
}
.icon-social-media-fixed ul li a:hover {
    transform: scale(1.18) translateX(4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    filter: brightness(1.15);
    color: #fff !important;
    background-color: unset;
}

/* ── Per-platform brand colors ── */
.icon-social-media-fixed ul li[aria-label="whatsApp"] a   { background: #25d366; }
.icon-social-media-fixed ul li[aria-label="instagram"] a  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.icon-social-media-fixed ul li[aria-label="twitter"] a    { background: #1da1f2; }
.icon-social-media-fixed ul li[aria-label="tiktok"] a     { background: #010101; }
.icon-social-media-fixed ul li[aria-label="0122836663"] a { background: linear-gradient(135deg, #004e7d, #006699); }

/* ── Tooltip label on hover ── */
.icon-social-media-fixed ul li::before {
    content: attr(aria-label);
    position: absolute;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6,15,26,0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, left 0.2s ease;
}
.icon-social-media-fixed ul li[aria-label="0122836663"]::before { content: "اتصل بنا"; }
.icon-social-media-fixed ul li[aria-label="whatsApp"]::before   { content: "واتساب"; }
.icon-social-media-fixed ul li[aria-label="instagram"]::before  { content: "إنستغرام"; }
.icon-social-media-fixed ul li[aria-label="twitter"]::before    { content: "تويتر"; }
.icon-social-media-fixed ul li[aria-label="tiktok"]::before     { content: "تيك توك"; }
.icon-social-media-fixed ul li:hover::before {
    opacity: 1;
    left: 58px;
}

/* ── Media query: hide nav label (sr-only handles it) ── */
.icon-social-media-fixed nav#block-socialmediafixed { display: block; }
@media (max-width: 767px) {
    .icon-social-media-fixed { left: 12px; bottom: 16px; }
    .icon-social-media-fixed > i { width: 46px; height: 46px; font-size: 19px; }
    .icon-social-media-fixed ul li a { width: 40px; height: 40px; font-size: 16px; }
    .icon-social-media-fixed ul li::before { display: none; }
}

body.path-node.node--type-doctors div#block-dentrose-content h2{
    line-height: 60px;
}
   /* ── Cart dropdown popup ── */
   .cart--cart-block .cart-block--contents {
        width: 320px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 12px 48px rgba(0,78,125,0.16);
        border: 1.5px solid #e8f0f7;
        overflow: hidden;
        padding: 0;
    }
    .cart--cart-block .cart-block--contents__inner {
        padding: 0;
    }
    .cart--cart-block .cart-block--contents__items {
        overflow-y: auto;
        max-height: 280px;
        padding: 12px 0 0;
    }

    /* Table inside popup */
    .cart--cart-block .table-striped {
        margin-bottom: 0;
        width: 100%;
    }
    .cart--cart-block .table-striped tbody tr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        background-color: transparent !important;
        border-bottom: 1px solid #eef4f9;
        padding: 10px 14px;
    }
    .cart--cart-block .table-striped tbody tr:last-child {
        border-bottom: none;
    }
    .cart--cart-block .table-striped tbody tr td {
        color: #333;
        border-top: none;
        font-weight: 500;
        font-size: 13px;
        padding: 0;
        flex: 1;
        text-align: start;
    }
    .cart--cart-block .table-striped tbody tr td img {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 8px;
        border: 1.5px solid #e8f0f7;
        flex-shrink: 0;
    }
    /* Price cell */
    .cart--cart-block .table-striped tbody tr td.views-field-total-price__number {
        color: #004e7d;
        font-weight: 700;
        font-size: 13px;
        text-align: end;
        flex: 0 0 auto;
    }
    /* Quantity cell */
    .cart--cart-block .table-striped tbody tr td.views-field-quantity {
        color: #888;
        flex: 0 0 auto;
        font-size: 12px;
    }

    /* "Go to Cart" button */
    .cart--cart-block .cart-block--contents__links {
        text-align: center;
        padding: 12px 16px;
        background: #f4f8fb;
        border-top: 1.5px solid #e8f0f7;
        margin: 0;
    }
    .cart--cart-block .cart-block--contents__links a {
        display: inline-block;
        background: linear-gradient(135deg, #004e7d, #006699) !important;
        color: #fff !important;
        padding: 10px 36px;
        border-radius: 40px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(0,78,125,0.22);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cart--cart-block .cart-block--contents__links a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0,78,125,0.30);
    }
    /* ── End cart popup ── */
    body.path-cart .cart.cart-form .views-form{
        width: 100%;
    }

    /* ══════════════════════════════════
       CART PAGE
    ══════════════════════════════════ */

    /* Page wrapper */
    body.path-cart #main {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    /* Main cart card */
    body.path-cart .cart.cart-form {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 40px rgba(0,78,125,0.10);
        padding: 0;
        overflow: hidden;
    }

    body.path-cart .cart.cart-form .views-form {
        padding: 0;
    }

    body.path-cart .cart.cart-form form {
        padding: 28px 28px 0;
    }

    /* ── Table ── */
    body.path-cart .cart.cart-form .table-responsive {
        border-radius: 12px;
        overflow: hidden;
        border: 1.5px solid #e8f0f7;
        margin-bottom: 0;
    }

    body.path-cart .cart.cart-form .table {
        margin-bottom: 0;
        background: #fff;
    }

    /* Table head */
    body.path-cart .cart.cart-form .table thead tr th,
    .checkout-order-summary .table thead tr th {
        background: linear-gradient(135deg, #004e7d, #006699);
        color: #fff !important;
        font-size: 13px;
        font-weight: 700;
        text-align: center;
        letter-spacing: 0.4px;
        padding: 14px 12px;
        border: none;
        white-space: nowrap;
    }

    /* Table body rows */
    body.path-cart .cart.cart-form .table tbody tr,
    .checkout-order-summary .table tbody tr {
        background-color: #fff !important;
        border-bottom: 1.5px solid #eef4f9 !important;
        transition: background 0.18s ease;
    }
    body.path-cart .cart.cart-form .table tbody tr:hover {
        background-color: #f4f9fd !important;
    }
    body.path-cart .cart.cart-form .table tbody tr:last-child {
        border-bottom: none !important;
    }

    body.path-cart .cart.cart-form .table tbody tr td,
    .checkout-order-summary .table tbody tr td {
        text-align: center !important;
        vertical-align: middle;
        padding: 14px 12px;
        font-size: 14px;
        color: #444;
        border: none;
    }

    /* Product image in table */
    body.path-cart .table .views-field-field-image-offers img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid #e8f0f7;
    }

    /* Product name link */
    body.path-cart .table .views-field-purchased-entity a {
        color: #004e7d;
        font-weight: 600;
        text-decoration: none;
    }
    body.path-cart .table .views-field-purchased-entity a:hover {
        color: #dcaf8a;
        text-decoration: underline;
    }

    /* Price cells */
    body.path-cart .table .views-field-unit-price__number,
    body.path-cart .table .views-field-total-price__number {
        font-weight: 700;
        color: #004e7d;
        font-size: 15px;
    }

    /* Quantity input */
    body.path-cart .quantity-edit-input {
        width: 70px !important;
        height: 40px;
        border: 1.5px solid #dce8f2;
        border-radius: 8px;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        background: #f5fafd;
        padding: 0 8px;
        margin: 0 auto;
        display: block;
        outline: none;
        transition: border-color 0.2s ease;
    }
    body.path-cart .quantity-edit-input:focus {
        border-color: #004e7d;
        box-shadow: 0 0 0 3px rgba(0,78,125,0.10);
        background: #fff;
    }

    /* Remove button */
    body.path-cart .table .views-field-remove-button button,
    body.path-cart .delete-order-item {
        background: #fff2f2 !important;
        color: #d9534f !important;
        border: 1.5px solid #f5c6cb !important;
        border-radius: 8px !important;
        padding: 7px 16px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
        box-shadow: none !important;
    }
    body.path-cart .table .views-field-remove-button button:hover,
    body.path-cart .delete-order-item:hover {
        background: #d9534f !important;
        color: #fff !important;
        border-color: #d9534f !important;
        transform: scale(1.04);
    }

    /* ── Order total summary ── */
    body.path-cart .cart.cart-form .views-form form
        .field.field--name-total-price.field--type-commerce-price.field--label-hidden.field__item {
        background: #f4f8fb;
        border-radius: 12px;
        margin: 20px 0 0;
        padding: 20px 28px;
        border: 1.5px solid #e8f0f7;
        box-shadow: none;
    }

    form .order-total-line.order-total-line__subtotal,
    form .order-total-line.order-total-line__total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        font-size: 14px;
        color: #555;
        font-weight: 600;
    }
    form .order-total-line.order-total-line__total {
        border-top: 1.5px solid #dce8f2;
        margin-top: 8px;
        padding-top: 14px;
        font-size: 16px;
        color: #004e7d;
        font-weight: 800;
    }
    form .order-total-line-label {
        color: #888;
        font-weight: 600;
    }
    form .order-total-line.order-total-line__total .order-total-line-label {
        color: #004e7d;
    }
    form .order-total-line-value {
        color: #004e7d;
        font-weight: 700;
    }

    /* ── Action buttons row ── */
    body.path-cart .cart.cart-form .views-form form div#edit-actions {
        display: flex;
        justify-content: flex-end;
        gap: 14px;
        padding: 20px 0 28px;
        box-shadow: none;
        flex-wrap: wrap;
    }

    /* Update cart button */
    body.path-cart form div#edit-actions #edit-submit {
        background: #fff !important;
        color: #004e7d !important;
        border: 2px solid #004e7d !important;
        border-radius: 40px !important;
        padding: 11px 32px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        box-shadow: none !important;
    }
    body.path-cart form div#edit-actions #edit-submit:hover {
        background: #004e7d !important;
        color: #fff !important;
        transform: translateY(-2px);
    }

    /* Checkout button */
    body.path-cart form div#edit-actions #edit-checkout {
        background: linear-gradient(135deg, #004e7d, #006699) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 40px !important;
        padding: 11px 36px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px;
        box-shadow: 0 6px 20px rgba(0,78,125,0.25) !important;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    body.path-cart form div#edit-actions #edit-checkout:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0,78,125,0.32) !important;
    }

    /* ══ End Cart Page ══ */
    /* ══════════════════════════════════
       CHECKOUT PAGE
    ══════════════════════════════════ */

    body.path-checkout #main {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    /* Two-column layout */
    body.path-checkout form#commerce-checkout-flow-multistep-default .row {
        align-items: flex-start;
        gap: 0;
    }

    /* ── Left column: form panes ── */
    body.path-checkout .checkout-pane {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 32px rgba(0,78,125,0.09);
        padding: 24px 28px;
        margin-bottom: 20px;
        border: none;
    }

    /* Pane legends (section headings) */
    body.path-checkout .checkout-pane legend,
    body.path-checkout .checkout-pane .fieldset-legend,
    form#commerce-checkout-flow-multistep-default fieldset legend {
        font-size: 15px;
        font-weight: 800;
        color: #004e7d;
        padding-bottom: 10px;
        border-bottom: 2px solid #e8f0f7;
        width: 100%;
        margin-bottom: 16px;
        display: block;
    }

    /* Labels */
    body.path-checkout form#commerce-checkout-flow-multistep-default label,
    form#commerce-checkout-flow-multistep-default fieldset legend,
    form#commerce-checkout-flow-multistep-default label {
        color: #004e7d;
        font-weight: 600;
        font-size: 13px;
    }

    /* Inputs */
    body.path-checkout form#commerce-checkout-flow-multistep-default input[type="text"],
    body.path-checkout form#commerce-checkout-flow-multistep-default input[type="email"],
    body.path-checkout form#commerce-checkout-flow-multistep-default input[type="tel"],
    body.path-checkout form#commerce-checkout-flow-multistep-default select,
    body.path-checkout form#commerce-checkout-flow-multistep-default .form-control {
        height: 46px;
        border: 1.5px solid #dce8f2;
        border-radius: 10px;
        padding: 0 16px;
        font-size: 14px;
        color: #333;
        background: #f7fafd;
        width: 100%;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        outline: none;
        box-shadow: none;
    }
    body.path-checkout form#commerce-checkout-flow-multistep-default input:focus,
    body.path-checkout form#commerce-checkout-flow-multistep-default select:focus,
    body.path-checkout form#commerce-checkout-flow-multistep-default .form-control:focus {
        border-color: #004e7d;
        box-shadow: 0 0 0 3px rgba(0,78,125,0.10);
        background: #fff;
    }

    /* Payment method radios */
    body.path-checkout .custom-control-label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        padding-inline-start: 8px;
    }
    body.path-checkout .custom-radio .custom-control-input:checked ~ .custom-control-label {
        color: #004e7d;
    }
    body.path-checkout .custom-control {
        padding: 10px 0;
        border-bottom: 1px solid #f0f4f8;
    }
    body.path-checkout .custom-control:last-child {
        border-bottom: none;
    }

    /* Inner nested fieldsets */
    body.path-checkout .fieldgroup.form-composite {
        background: #f7fafd;
        border-radius: 10px;
        padding: 16px;
        border: 1.5px solid #e8f0f7;
        margin-bottom: 16px;
    }
    body.path-checkout .fieldgroup.form-composite legend {
        font-size: 13px;
        color: #888;
        font-weight: 600;
        border-bottom: none;
        margin-bottom: 12px;
        padding-bottom: 0;
    }

    /* ── Right column: order summary ── */
    div#edit-order-summary {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 32px rgba(0,78,125,0.09);
        padding: 24px 24px 20px;
        border: none;
        position: sticky;
        top: 100px;
    }

    /* Summary heading */
    body.path-checkout .col-sm-6 > h3 {
        font-size: 16px;
        font-weight: 800;
        color: #004e7d;
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e8f0f7;
    }

    /* Order summary table */
    .checkout-order-summary .table {
        margin-bottom: 0;
        background: transparent;
    }
    .checkout-order-summary .table thead tr th {
        background: linear-gradient(135deg, #004e7d, #006699);
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        padding: 10px 10px;
        border: none;
        letter-spacing: 0.3px;
    }
    .checkout-order-summary .table tbody tr {
        background-color: #fff !important;
        border-bottom: 1.5px solid #eef4f9 !important;
    }
    .checkout-order-summary .table tbody tr:last-child {
        border-bottom: none !important;
    }
    .checkout-order-summary .table tbody tr td {
        text-align: center !important;
        vertical-align: middle;
        padding: 12px 10px;
        font-size: 13px;
        color: #444;
        border: none;
    }
    .checkout-order-summary .table tbody tr td:last-child {
        font-weight: 700;
        color: #004e7d;
    }

    /* ── Coupon pane ── */
    body.path-checkout .checkout-pane-coupon-redemption {
        background: #f4f8fb;
        border: 1.5px dashed #b8d4e8;
        box-shadow: none;
    }
    body.path-checkout .checkout-pane-coupon-redemption legend,
    body.path-checkout .checkout-pane-coupon-redemption .fieldset-legend {
        color: #888;
        font-size: 13px;
        border-bottom: none;
        margin-bottom: 10px;
    }
    body.path-checkout #edit-sidebar-coupon-redemption-form {
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }
    body.path-checkout #edit-sidebar-coupon-redemption-form .form-group {
        flex: 1;
        margin-bottom: 0;
    }
    body.path-checkout #edit-sidebar-coupon-redemption-form-apply {
        height: 46px;
        padding: 0 20px;
        background: linear-gradient(135deg, #004e7d, #006699) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer;
        white-space: nowrap;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 14px rgba(0,78,125,0.20) !important;
    }
    body.path-checkout #edit-sidebar-coupon-redemption-form-apply:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,78,125,0.28) !important;
    }

    /* ── Footer actions bar ── */
    body.path-checkout .layout-region-checkout-footer {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 32px rgba(0,78,125,0.09);
        padding: 18px 28px;
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Go back link */
    body.path-checkout .link--previous {
        color: #888;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s ease;
    }
    body.path-checkout .link--previous::before {
        content: '←';
        font-size: 16px;
    }
    body.path-checkout .link--previous:hover {
        color: #004e7d;
    }

    /* Pay and complete purchase button */
    body.path-checkout #edit-actions-next {
        padding: 13px 44px !important;
        background: linear-gradient(135deg, #004e7d, #006699) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 40px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px;
        box-shadow: 0 6px 22px rgba(0,78,125,0.25) !important;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    body.path-checkout #edit-actions-next:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,78,125,0.32) !important;
    }

    /* ══ End Checkout Page ══ */
    .alert-wrapper .alert {
        border-left-color: #cba85c;
        overflow-y: hidden;
        width: 50%;
        margin: 0 auto;
        border-radius: 25px;
        padding: 7rem;
        text-align: center;
    }
    .alert-wrapper .alert button.close span{
        font-size: 35px;
    }
    .alert.alert-dismissible.fade.show::after {
        content: "";
        background-image: url("../image/trueicon.png");
        position: absolute;
        left: 46%;
        top: 2px;
        width: 55px;
        height: 50px;
        background-size: cover;
    }
    .alert.alert-dismissible.fade.show.col-12.alert-danger::after {
        background-image: url("../image/wrongicon.png");
    }
    .alert.alert-dismissible.fade.show::before {
        background-image: url("../image/mainlogonew.png");
        content: "";
        height: 100px;
        position: absolute;
        background-size: 100% 100%;
        left: 15px;
        top: 52px;
        width: 100px;
    }
    .active-link {
        border-bottom: none;
        font-weight: bold;
        color: #004e7d !important;
}
/* ── Modern jQuery UI Dialog ── */
.ui-dialog.ui-widget.ui-widget-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 25px 60px rgba(0, 78, 125, 0.22), 0 8px 20px rgba(0,0,0,0.1) !important;
    max-width: 460px !important;
    width: 90vw !important;
    padding: 0 !important;
    overflow: hidden;
    animation: dialogPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes dialogPopIn {
    from { opacity: 0; transform: scale(0.88) translateY(-30px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}
/* Overlay */
.ui-widget-overlay {
    background: rgba(0, 78, 125, 0.5) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1 !important;
}
.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix {
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 1rem 1.2rem 0.9rem !important;
    position: relative;
}
.ui-dialog-titlebar .ui-dialog-title {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}
button.ui-dialog-titlebar-close {
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}
button.ui-dialog-titlebar-close:hover {
    background: rgba(220,175,138,0.8) !important;
    transform: translateY(-50%) rotate(90deg) !important;
}
button.ui-dialog-titlebar-close::before {
    content: "\00D7";
    font-size: 18px;
    color: #fff;
    line-height: 1;
}
.ui-dialog .ui-dialog-content {
    text-align: center;
    color: #004e7d;
    padding: 1.5rem 1.6rem 1.2rem !important;
    background: #fff;
}
.ui-dialog .ui-dialog-content::before {
    background-image: url("../image/mainlogonew.png");
    content: "";
    height: 60px;
    position: absolute;
    background-size: contain;
    left: 15px;
    top: 8px;
    width: 80px;
    background-repeat: no-repeat;
}
.ui-dialog .ui-dialog-titlebar-close {
    outline: none;
}

/* ══════════════════════════════════
   PRODUCT PAGE — Related Offers Slick Section
══════════════════════════════════ */
body.path-product div#block-dentrose-content {
    background: #f4f8fb;
}

/* Section heading */
body.path-product .view-header .main-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f0f5;
    margin-bottom: 1.5rem;
}
body.path-product .view-header .main-title h1 {
    font-size: 1.4rem;
    color: #004e7d;
    font-weight: 800;
    margin: 0;
}
body.path-product .view-header .main-title a {
    font-size: 13px;
    color: #dcaf8a;
    font-weight: 600;
    border: 1.5px solid #dcaf8a;
    padding: 5px 18px;
    border-radius: 40px;
    transition: all 0.25s ease;
    text-decoration: none;
}
body.path-product .view-header .main-title a:hover {
    background: #dcaf8a;
    color: #fff;
}

/* Slick arrow nav — pill style */
body.path-product div#block-views-block-offers-block-1-2 nav.slick__arrow {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}
body.path-product div#block-views-block-offers-block-1-2 nav.slick__arrow button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    color: #004e7d;
    border: 2px solid #e6f0f5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(0,78,125,0.10);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    cursor: pointer;
}
body.path-product div#block-views-block-offers-block-1-2 nav.slick__arrow button:hover {
    background: #004e7d !important;
    border-color: #004e7d !important;
    color: #fff;
    transform: scale(1.08);
}
body.path-product div#block-views-block-offers-block-1-2 nav.slick__arrow button::before {
    color: inherit;
    font-size: 16px;
    opacity: 1;
}

/* Slick dots */
body.path-product .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
}
body.path-product .slick-dots li button::before {
    font-size: 10px;
    color: #c0d4e4;
    opacity: 1;
    transition: color 0.2s ease;
}
body.path-product .slick-dots li.slick-active button::before {
    color: #004e7d;
}

/* Slide padding so cards don't touch */
body.path-product .slick__slide {
    padding: 0 10px;
}
section#services .view-header .main-title,section#offer .view-header .main-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
        padding-inline-end: 5rem;
}
section#services .view-header .main-title a,section#offer .view-header .main-title a{
    text-transform: capitalize;
}
.top-footer ul {
    flex-wrap: nowrap;
    flex-direction: column;
}
.top-footer ul li {
    font-size: 13px;
}
.first-col-footer section.region.region-footer-first > * {
    padding: 5px 0;
}
.first-col-footer section.region.region-footer-first p {
    font-size: 14px;
}
.first-col-footer section.region.region-footer-first a {
    margin: 0;
    width: 90px;
}

.slick__arrow {
    top: -5%;
    width: 15%;
}
/* [dir="rtl"] button.slick-next.slick-arrow::before{
    content: "🡐"!important;
}
[dir="rtl"] button.slick-prev.slick-arrow::before{
    content: "➔"!important;
}
[dir="ltr"] button.slick-prev.slick-arrow::before{
    content: "🡐"!important;
}
[dir="ltr"] button.slick-next.slick-arrow::before{
    content: "➔"!important;
}  */
/* nav.slick__arrow button::before{
    padding: 7px;
    border-radius: 100%;
} */
/* nav.slick__arrow button:first-child:before{
    color: white !important;
    background-color: #DFDFDF;
}
nav.slick__arrow button:last-child:before{
      color: #DCDCDC !important;
      background-color: #FFFFFF;
      border: 2px solid;
} */
[dir='ltr'] .slick__arrow {
    right: 3%;
    left: initial;
}
[dir='rtl'] .slick__arrow {
    left: 3%;
}
/* section#doctors .slick__arrow {
    bottom: 0;
    top: auto;
}
[dir='rtl'] section#doctors .slick__arrow{
    right: -6rem;
}
[dir='ltr'] section#doctors .slick__arrow{
    left: -6rem;
}
[dir='ltr'] section#doctors .slick-prev {
    left: -30px;
}  */
.image-doctors img {
    filter: brightness(0.8);
}
.cart--cart-block .cart-block--contents{
    width: auto;
    border-radius: 20px;
}
/* card-btn hover now handled in card section above */
/* listing page card margins now handled in card section above */
.conditions {
    padding: 1rem 0;
    text-transform: capitalize;
}
header#mobile-header .top-header .block-commerce-cart{
    padding-inline-end: 10px;
}

div#block-popuplocation {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    z-index: 100000000000000000;
    color: white;
    background-color: black;
    top: -100vh;
    transition: 1s;
}
.info-location .close-popup {
    position: absolute;
    left: 0;
    top: 3rem;
    left: 4rem;
    font-size: 25px;
    cursor: pointer;
}
.info-location .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.info-location .info > * a {
    color: white;
}
.info-location .icon-location {
    margin-top: 14px;
    font-size: 2rem;
}
.location-popop {
    top: 0 !important;
}

.toast-wrapper {
    left: 50%!important;
    transform: translate(-50%, -50%);
    top: 50%!important;
    right: unset!important;
}

.toast-wrapper a::after{
    content: unset;
}
.toast-wrapper a::before{
    content: unset;
}
.toast{
    margin: 0 auto;
}
.toast-wrapper a {
    display: block;
    background: #004e7d!important;
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 10px;
    margin: 1rem;
}

.toast-wrapper a:hover{
    color: white!important;
}
body.node--type-doctors .field.field--name-field-image-cases.field--type-image.field--label-above{
    width: 100%;
    padding-top: 2rem;
}
body.node--type-doctors .field.field--name-field-image-cases .field__items {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
body.node--type-doctors .field.field--name-field-image-cases .field__items img{
    height: 320px;
}
body.node--type-doctors .field.field--name-field-image-cases .field__items > * {
    width: 32%;
}
body.node--type-doctors .field.field--name-field-image-cases.field--type-image.field--label-above .field__label {
    font-size: 2rem;
    font-weight: 600;
    color: #004e7d;
}
body.path-product .view-header .main-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div#block-views-block-doctors-block-2 div#flexslider-1{
    border: none;
    margin: 0;
}
div#block-views-block-doctors-block-2 div#flexslider-1 ul.slides li img{
    width: 100% !important;
    object-fit: contain;
    height: 420px !important;
}
div#block-views-block-doctors-block-2 div#flexslider-1 ol.flex-control-nav.flex-control-paging{
    top: 28rem;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
div#block-views-block-doctors-block-2 div#flexslider-1 ul.flex-direction-nav{
    width: 100%;
    position: absolute;
    top: 13rem;
}
div#block-views-block-doctors-block-2 {
    padding: 4rem 0;
}

body.node--type-doctors div#block-dentrose-content .node__content.clearfix .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item p {
    font-size: 20px;
    color: #004e7d;
    font-weight: bold;
}

.role-doctors {
    font-size: 15px;
}


.region-desktop-header img ,
.region-footer-first img{
 max-width: 130px;
 height:auto;
}

















/* ── Modern Subscribe Modal ── */
div#subscrip-popup #btn-subscrip {
    display: none;
}

/* ══════════════════════════════════
   SHARED MODAL BASE (appointment + subscribe)
══════════════════════════════════ */

/* Backdrop */
#subscrip-modal.modal,
#exampleModal.modal {
    background: rgba(0, 78, 125, 0.5);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* Force vertical centering — with overflow scroll for short viewports */
#subscrip-modal.modal.show,
#exampleModal.modal.show {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 0;
}

/* Center vertically when there's room, scroll when not */
#exampleModal.show .modal-dialog,
#subscrip-modal.show .modal-dialog {
    margin: auto;
}

/* ══════════════════════════════════
   APPOINTMENT MODAL (#exampleModal)
══════════════════════════════════ */
#exampleModal .modal-dialog {
    max-width: 560px;
    width: 95%;
    margin: auto;
    transform: scale(0.88) translateY(-40px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}
#exampleModal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}
#exampleModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 78, 125, 0.22), 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
}

/* Top bar (header) */
#exampleModal .modal-top-bar {
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
#exampleModal .modal-top-bar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 18px;
    background: #fff;
    border-radius: 18px 18px 0 0;
}
#exampleModal .modal-top-bar .modal-bar-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
#exampleModal .modal-top-bar .modal-close-btn {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s ease;
    padding: 0;
}
#exampleModal .modal-top-bar .modal-close-btn:hover {
    background: rgba(220,175,138,0.85);
    transform: rotate(90deg);
}

/* Body */
#exampleModal .modal-body {
    background: #fff;
    padding: 1.8rem 2rem 1.5rem;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


/* Dialog sizing & entry animation */
div#subscrip-popup .modal-dialog {
    max-width: 520px;
    width: 95%;
    margin: 0 auto;
    transform: scale(0.88) translateY(-40px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
#subscrip-modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Card */
div#subscrip-popup .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 78, 125, 0.22), 0 8px 24px rgba(0,0,0,0.1);
}

/* Header */
div#subscrip-popup .modal-header {
    background: linear-gradient(135deg, #004e7d 0%, #006699 100%);
    border: none;
    padding: 1.1rem 1.5rem;
    position: relative;
}
div#subscrip-popup .modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 18px;
    background: #fff;
    border-radius: 18px 18px 0 0;
}
div#subscrip-popup #subscrip-modal-label {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-align: start;
    text-transform: capitalize;
    width: 100%;
    position: relative;
    z-index: 1;
}
div#subscrip-popup .modal-header .close {
    position: absolute;
    top: 8px;
    inset-inline-end: 14px;
    transform: none;
    margin: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    color: #fff !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.2s ease, transform 0.25s ease;
    z-index: 2;
}
div#subscrip-popup .modal-header .close:hover {
    background: rgba(220,175,138,0.85) !important;
    transform: rotate(90deg);
}

/* Body: stacked layout (no side image, clean focus on form) */
div#subscrip-popup .modal-body-subscrip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.6rem 2rem 0.8rem;
    background: #fff;
    text-transform: capitalize;
}
div#subscrip-popup .image-popup {
    display: none;  /* hide the old side image for compact look */
}
div#subscrip-popup .box-modal {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0;
    text-align: center;
}
div#subscrip-popup .box-modal h2 {
    font-size: 1.25rem;
    color: #004e7d;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
div#subscrip-popup .box-modal h6 {
    font-size: 0.85rem;
    color: #707070;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 340px;
    margin-inline: auto;
}

/* Form inside modal */
.form-subscrip {
    width: 100%;
    padding: 0;
}
.form-subscrip input[type="email"],
.form-subscrip input[type="text"] {
    height: 46px;
    border: 1.5px solid #dce8f2;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    background: #f7fafd;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 10px;
}
.form-subscrip input:focus {
    border-color: #004e7d;
    box-shadow: 0 0 0 3px rgba(0,78,125,0.10);
    background: #fff;
}
.form-subscrip .form-actions.js-form-wrapper.form-group button {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #004e7d, #006699) !important;
    border: none !important;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0,78,125,0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form-subscrip .form-actions.js-form-wrapper.form-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,78,125,0.30);
}
.form-subscrip nav ul {
    justify-content: center;
    gap: 1rem;
}
.form-subscrip nav ul li a {
    color: #004e7d;
    font-size: 0.8rem;
}

/* Footer branding strip */
div#subscrip-popup .foot-subscrip {
    width: 100%;
    text-align: center;
    padding: 0.8rem 0 0.2rem;
    border-top: 1px solid #e6f0f5;
    margin-top: 0.8rem;
}
.foot-subscrip h2 {
    font-size: 0.95rem;
    color: #004e7d;
    text-shadow: none;
    margin: 0;
}
.foot-subscrip h4 {
    font-size: 0.8rem;
    color: #dcaf8a;
    margin: 0.2rem 0 0;
}

/* Footer close button */
div#subscrip-popup .modal-footer {
    background: #f8fafc;
    border: none;
    padding: 0.7rem 1.5rem 1rem;
    border-radius: 0 0 24px 24px;
    justify-content: center;
}
div#subscrip-popup .subscrip-close-btn {
    background: transparent !important;
    color: #707070 !important;
    border: 1.5px solid #e0e0e0 !important;
    padding: 6px 32px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
div#subscrip-popup .subscrip-close-btn:hover {
    border-color: #004e7d !important;
    color: #004e7d !important;
}
/* ── End Subscribe Modal ── */
.sold-number {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
body.path-node.node--type-doctors .slick-list.draggable .field-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
body.path-node.node--type-doctors .slick-list.draggable .field-content  {
   margin: 1rem ;
}
body.path-product div#block-dentrose-content .field--name-title.field--type-string.field--label-hidden.field__item {
    display: none;
}
.conditions .field.field--name-field-conditions.field--type-string.field--label-above .field__label {
    font-size: 20px;
    font-weight: 600;
    color: #cba85c;
}
.conditions .field.field--name-field-conditions.field--type-string.field--label-above > * {
    padding: 6px 0;
}
body.path-product .conditions,body.path-product .number-sold {
    border-top: 1px solid #DCDCDC;
    padding: 5px 0;
}
body.path-product .number-sold {
    border-top: 1px solid #DCDCDC;
    padding: 5px 0;
}
.number-sold .field.field--name-field-number-sold.field--type-string.field--label-above{
    display: flex;
    gap: 2rem;
}
.number-sold .field.field--name-field-number-sold.field--type-string.field--label-above > * {
    font-size: 20px;
    font-weight: 500;
    color: #cba85c;
}
.toast-wrapper {
    width: 100%;
}
/* .toast-wrapper .toast {
    max-width: initial;
    width: 33%;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 10px;
} */
/* .toast-wrapper .toast .toast-body a:hover{
    display: none;
} */
.toast-header rect {
    fill: #004e7d;
}
[dir="rtl"] .toast-wrapper .toast strong{
    margin-right: initial !important;
    margin-left: auto!important;
    padding-right: 1rem;
}
.equipment {
    box-shadow: 1px 1px 10px rgb(0 0 0 / 20%);
    margin: 1rem 0;
}
.content-equipment {
    background-color: #FFFFFF;
    padding: 0px 20px;
    text-align: center;
}
.title-equipment {
    color: #cdb176;
    font-size: 23px;
}
.content-equipment > * {
    padding: 8px 0;
}
.btn-equipment a {
    color: #cdb176;
}
.image-equipment img {
    height: 260px;
    width: 100%;
}
body.page-view-equipment div#block-dentrose-content .view-content.row{
    display: block;
}
body.node--type-equipment .node__content.clearfix {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}
body.node--type-equipment .node__content.clearfix::after {
    display: none;
}
body.page-view-doctors div#main div#block-dentrose-content .view-content.row{
    display: block;
}


.page-link ,.page-link:hover,.page-link:focus{
    color: #004e7d;
    box-shadow: unset;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #004e7d;
    border-color: unset;
}

.cart--cart-block{
   position: relative;
}
.cart-block--contents__inner{
    padding:0!important;
}

   div#edit-completion-message {

        position: fixed;
        inset: 0;
        width: 100%;
display: flex;
    align-items: center;
    justify-content: center;

        height: 100%;
        z-index: 3;
        background: rgb(0,0,0,0.5);

}
.checkout-complete {
        text-align: center;
        display: flex;
        width: 100%;
        width: fit-content;
        inset: 0;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        top: 50%;
        justify-content: center;
        border-radius: 0;
        left: 50%;
        background: white;
        z-index: 999;
        min-height: 365px;
        aspect-ratio: 1;
         border-radius: 1rem;
         max-width:320px;
}

.checkout-complete-msg {

        margin: 1.5rem 12px;
}

.checkout-complete-btn a {
display: block;
width: 60%;
border: 1px solid transparent;
border-radius: 2rem;
padding: 0.5rem 0rem;
font-size: 16px;
background-color: #004e7d;
color: white;
transition: 0.4s;
margin: 0 auto;
}
    .checkout-complete-btn a:hover{
        background-color: white;
        color: #004e7d;
        border: 1px solid #004e7d;
    }

    .checkout-complete-msg h2 {
        color: #004e7d;
        font-size: 21px;
        font-family: "megan"!important;
        font-weight: 900;
    }
    .checkout-complete-btn {
        padding-bottom: 2rem;
        width: 100%;
    }

/* =============================================
   SERVICE CARDS
   ============================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 78, 125, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 78, 125, 0.18);
}

.service-card__image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #004e7d, #006699);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,78,125,0.3);
}

.service-card__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #004e7d;
  margin: 0;
  line-height: 1.4;
}

.service-card__desc {
  font-size: 14px;
  color: #5a6a7a;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.service-card__btn {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 26px;
  background: linear-gradient(135deg, #004e7d, #006699);
  color: #fff !important;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
  align-self: flex-start;
}

.service-card__btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.page-vocabulary-service-type #block-dentrose-content{
    display:none !important;
}
.page-vocabulary-service-type  #main{
    padding: 20px 0;
}


/* =============================================
   SERVICES TYPES BLOCK — HOME PAGE
   Clean card grid — light, clinical, professional
   ============================================= */

section#services {
  padding: 0;
}

.block-views-blockservices-types-block-block-1 {

  background: #f4f8fc;
  position: relative;
}
.view-offer-types-block{
    margin-top: 50px;
}
/* Section heading via pseudo */
.view-services-types-block::before {
  content: 'خدماتنا';
  display: block;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #004e7d;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.view-services-types-block::after {
  content: 'نقدم لك أفضل الخدمات الطبية المتخصصة';
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: #7a9bb5;
  margin-bottom: 40px;
}

/* Grid container */
.view-services-types-block .view-content {
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
}

/* Kill Bootstrap row negative margins */
.view-services-types-block .view-content.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.view-services-types-block .views-view-grid {
  width: 100%;
}

.view-services-types-block .views-view-grid .row {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* All cards */
.view-services-types-block .views-view-grid .row > [class*="col-"] {
  grid-column: span 2;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  padding: 0 !important;
  box-sizing: border-box;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,78,125,0.08);
  border: 1px solid #e0ecf7;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-services-types-block .views-view-grid .row > [class*="col-"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,78,125,0.18),
              0 0 0 1.5px #004e7d,
              0 4px 20px rgba(220,175,138,0.25);
  border-color: #004e7d;
}

/* Top color bar */
.view-services-types-block .views-view-grid .row > [class*="col-"]::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #004e7d, #dcaf8a);
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  border-radius: 18px 18px 0 0;
  transition: height 0.3s ease;
}

.view-services-types-block .views-view-grid .row > [class*="col-"]:hover::before {
  height: 6px;
}

/* Bottom glow accent — our brand touch */
.view-services-types-block .views-view-grid .row > [class*="col-"]::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dcaf8a, #004e7d);
  border-radius: 0 0 18px 18px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
}

.view-services-types-block .views-view-grid .row > [class*="col-"]:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* IMAGE */
.view-services-types-block .views-field-field-service-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.view-services-types-block .views-field-field-service-image .field-content,
.view-services-types-block .views-field-field-service-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.view-services-types-block .views-field-field-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.view-services-types-block .views-view-grid .row > [class*="col-"]:hover
.views-field-field-service-image img {
  transform: scale(1.07);
}

/* NAME */
.view-services-types-block .views-field-name {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.view-services-types-block .views-field-name a {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a3a54;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: color 0.25s;
}

.view-services-types-block .views-field-name a:hover {
  color: #004e7d;
}


.view-services-types-block .views-view-grid .row > [class*="col-"]:hover
.views-field-name .field-content::after {
  color: #004e7d;
  padding-right: 5px;
}

/* Responsive */
@media (max-width: 991px) {
  .view-services-types-block .views-view-grid .row {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .view-services-types-block .views-view-grid .row > [class*="col-"] {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .view-services-types-block .views-view-grid .row {
    grid-template-columns: 1fr 1fr !important;
  }
  .view-services-types-block .views-view-grid .row > [class*="col-"] {
    grid-column: span 1;
  }
}


/* =============================================
   OFFER TYPES BLOCK — HOME PAGE
   ============================================= */

/* Heading */
.view-offer-types-block::before {
  content: 'عروضنا';
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #004e7d;
  margin-bottom: 20px;
}

.view-offer-types-block::after {
  content: 'أفضل العروض الطبية لجميع أفراد العائلة';
  display: block;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

/* Grid */
.view-offer-types-block .view-content {
  width: 100%;
  padding: 0 16px;
}

.view-offer-types-block .view-content.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.view-offer-types-block .views-view-grid {
  width: 100%;
}

.view-offer-types-block .views-view-grid .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Cards */
.view-offer-types-block .views-view-grid .row > [class*="col-"] {
  grid-column: span 1;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0d2b40;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.view-offer-types-block .views-view-grid .row > [class*="col-"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4),
              0 0 0 1px rgba(220,175,138,0.45),
              0 4px 24px rgba(220,175,138,0.15);
  border-color: rgba(220,175,138,0.45);
}

/* Gold top border on hover */
.view-offer-types-block .views-view-grid .row > [class*="col-"]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dcaf8a, #004e7d);
  z-index: 3;
  opacity: 0.35;
  transform: scaleX(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-offer-types-block .views-view-grid .row > [class*="col-"]:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Bottom accent line */
.view-offer-types-block .views-view-grid .row > [class*="col-"]::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #004e7d, #dcaf8a);
  z-index: 3;
  opacity: 0.2;
  transform: scaleX(0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-offer-types-block .views-view-grid .row > [class*="col-"]:hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}

/* IMAGE */
.view-offer-types-block .views-field-field-offer-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.view-offer-types-block .views-field-field-offer-image .field-content,
.view-offer-types-block .views-field-field-offer-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.view-offer-types-block .views-field-field-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.view-offer-types-block .views-view-grid .row > [class*="col-"]:hover
.views-field-field-offer-image img {
  transform: scale(1.06);
}

/* NAME */
.view-offer-types-block .views-field-name {
  padding: 12px 16px 14px;
  flex: 1;
}

.view-offer-types-block .views-field-name a {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: color 0.25s;
}

.view-offer-types-block .views-field-name a:hover {
  color: #dcaf8a;
}



.view-offer-types-block .views-view-grid .row > [class*="col-"]:hover
.views-field-name .field-content::after {
  opacity: 1;
  padding-right: 4px;
}

/* Responsive */
@media (max-width: 575px) {
  .block-views-blockoffer-types-block-block-1 {
    padding: 32px 0 36px;
  }
  .view-offer-types-block .views-view-grid .row {
    grid-template-columns: 1fr !important;
  }
  .view-offer-types-block .views-field-field-offer-image {
    height: 160px;
  }
}


/* =============================================
   SITE PRELOADER — React-style spinning rings
   ============================================= */

#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              visibility 0.6s cubic-bezier(0.4,0,0.2,1);
}

#site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* ── Spinning rings ── */
.preloader-rings {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
}

/* Outer — gold, slow */
.ring-1 {
  width: 160px;
  height: 160px;
  border-top-color: #dcaf8a;
  border-right-color: rgba(220,175,138,0.2);
  animation: spin 1.8s linear infinite;
}

/* Middle — blue, reverse */
.ring-2 {
  width: 122px;
  height: 122px;
  border-bottom-color: #004e7d;
  border-left-color: rgba(0,78,125,0.2);
  animation: spin 1.2s linear infinite reverse;
}

/* Inner — white, fast */
.ring-3 {
  width: 86px;
  height: 86px;
  border-top-color: rgba(255,255,255,0.5);
  border-right-color: rgba(255,255,255,0.08);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Logo in center */
.preloader-logo-center {
  position: absolute;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-breathe 2s ease-in-out infinite;
}

.preloader-logo-center img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(0.9);  opacity: 0.75; }
}

/* ── Progress bar + counter ── */
.preloader-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
}

.preloader-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #004e7d 0%, #dcaf8a 100%);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.preloader-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  font-family: monospace;
}
#views-bootstrap-offers-block-4{
        width: 100%;
}

/* ==========================================================================
   Legal / payment band  (SNB compliance: merchant identity + card schemes)
   Sits between .top-footer and .bottom-footer. Tuned for the dark footer:
   the band bridges the top gradient and the #002f4d bottom bar.
   ========================================================================== */
.legal-footer {
    background: #00365a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}
.legal-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
}
.legal-footer__entity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 14px;
    line-height: 1.6;
}
.legal-footer__company {
    font-weight: 700;
    color: #dcaf8a;
}
.legal-footer__cr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legal-footer__cr-label {
    color: rgba(255, 255, 255, 0.65);
}
.legal-footer__cr-label::after { content: ":"; }
.legal-footer__cr-number {
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    /* Keep the CR digits left-to-right inside the RTL sentence. */
    direction: ltr;
    unicode-bidi: isolate;
}

.legal-footer__payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.legal-footer__payment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 52px;
    padding: 8px 12px;
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.legal-footer__payment:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}
.legal-footer__payment img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .legal-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .legal-footer__entity { justify-content: center; }
    .legal-footer__payments { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .legal-footer__payment { transition: none; }
    .legal-footer__payment:hover { transform: none; }
}
