/* CSS Variables - Root Colors */
:root {
    --primary-color: #4A90E2;
    --primary-hover: #5BA3F5;
    --primary-light: #E3F2FD;
    --primary-gradient-start: #4A90E2;
    --primary-gradient-end: #5BA3F5;
    
    --text-primary: #333;
    --text-secondary: #555;
    --text-tertiary: #666;
    --text-light: #999;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafafa;
    --bg-gray: #f8f8f8;
    --bg-medium: #f0f0f0;
    
    --border-color: #e0e0e0;
    --border-light: #eee;
    --border-lighter: #f0f0f0;
    --border-medium: #ddd;
    
    --accent-yellow: #FFC107;
    --accent-pink: #E91E63;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(74, 144, 226, 0.15);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: 'IRANSans-Edit', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    direction: rtl;
    text-align: right;
    background: linear-gradient(178deg, #bcdbff, #ffffff, #bcdbff);
    background-size: 600% 600%;
	/*	background-position:0% 0%; */
    background-attachment: fixed;
    -webkit-animation: backgroundAnimation 47s ease infinite;
    -moz-animation: backgroundAnimation 47s ease infinite;
    -o-animation: backgroundAnimation 47s ease infinite;
    animation: backgroundAnimation 47s ease infinite;
    min-height: 100vh;
}

/* بک‌گراند متحرک */
@keyframes backgroundAnimation {
    0% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 51% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
}

/* غیرفعال کردن انیمیشن برای کاربرانی که حرکت را ترجیح نمی‌دهند */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background: linear-gradient(178deg, #bcdbff, #ffffff, #bcdbff);
        /*	background-position:50% 50%; */
        background-size: 100% 100%;
    }
}

main {
    min-height: 60vh;
    padding: 10px 2rem 2rem 2rem;
    background: transparent;
}

main h1 {
    color: var(--primary-color);
   /* margin-bottom: 1rem;*/
}

/* Footer Styles */
.footer {
/*    background: rgba(255, 255, 255, 0.7);*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
/*    border-top: 1px solid rgba(224, 224, 224, 0.5);*/
    padding: 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Services Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
/*    border-bottom: 1px solid rgba(240, 240, 240, 0.5); */
/*    background: rgba(250, 250, 250, 0.4); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);*/
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
/*    background: rgba(255, 255, 255, 0.6); */
/*    backdrop-filter: blur(8px); */
/*    -webkit-backdrop-filter: blur(8px); */
    border-radius: 8px;
/*    box-shadow: var(--shadow-sm); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* Main Footer Content */
.footer-main {
    display: grid;
    /* grid-template-columns: 2fr 1fr 1fr 2fr; */
    /* gap: 3rem;  */
    grid-template-columns: 3fr 2fr 2fr 3fr;
    gap: 1rem;
    padding: 3rem 0;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding-left: 1rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    /*    background: var(--bg-light); */
    background: #cce3ff;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: #c2dcf9;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Social Media Section */
.social-section h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
/*    background: var(--bg-medium);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: var(--bg-white);
}

/* Footer Links */

.certificate-item {
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-right 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 0.5rem;
}

.footer-links a::before {
    content: '+';
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Logo Section */
.logo-section {
    padding-right: 1rem;
}

.main-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.logo-sub {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.logo-desc {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.company-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .logo-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .service-item {
        padding: 0.75rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .contact-section,
    .logo-section {
        padding: 0;
    }
    
    .main-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .certificates {
        gap: 1rem;
    }
    
    .certificate-item img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .service-content h3 {
        font-size: 1rem;
    }
    
    .service-content p {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .certificates {
        gap: 0.75rem;
    }
    
    .certificate-item img {
        width: 45px;
        height: 45px;
    }
}

/* Animation for smooth loading */
.footer {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for better interactivity */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-2px);
}

/* Focus styles for accessibility */
.social-link:focus,
.footer-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .footer {
        background: var(--bg-white) !important;
        color: black !important;
    }
    
    .service-item,
    .contact-item {
        background: var(--bg-white) !important;
        box-shadow: none !important;
    }
}

/* Header Styles */
.header {
    width: 100%;
/*    background-color: rgba(255, 255, 255, 0.8); */
    background-color: rgb(255 255 255 / 0%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
/*    box-shadow: var(--shadow-sm); */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Announcement Bar */
.top-announcement-bar {

	color: #a0cdff;
	padding: 0.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(180deg, #8ec2ff, #8ec2ff00);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: scroll-left 20s linear infinite;
}

.announcement-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Main Header Section */
.main-header {
    padding: 10px 0;
    /* border-bottom: 1px solid var(--border-light); */
}

.main-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
	height:40px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
/*  background-color: transparent; */
	background-color: #ecf5ff;
    color: var(--primary-color);
/*  border: 1px solid var(--primary-color); */
	border: none;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.search-bar {
    display: flex;
    width: 100%;
    max-width: 500px;
	height: 40px;
/*  border: 1px solid var(--border-medium);	*/
	border: none;
    border-radius: 5px;
    overflow: hidden;
/*  background-color: var(--bg-gray);	*/
	background-color: #f8f8f8;
}

.search-bar input {
    border: none;
    padding: 0.75rem 1.25rem;
    flex-grow: 1;
    font-size: 0.9rem;
    outline: none;
    background-color: #ffffff66;
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-bar button {
    background-color: #eeeeee7a;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--border-light);
}

.search-bar button svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

.header-right .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-right .logo img {
    height: 40px;
    width: auto;
}

.header-right .logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.header-right .logo .logo-main {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.header-right .logo .logo-sub {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.header-right .logo .logo-desc {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Navigation Bar */
.navbar {
    background-color: rgba(248, 248, 248, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
/*  border-top: 1px solid rgba(238, 238, 238, 0.5); */
	border-top: none;
    /* padding: 0.75rem 0; */
    direction: ltr;

}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.product-categories .category-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-categories .category-btn:hover {
    background-color: var(--primary-hover);
}

.product-categories .category-btn svg {
    width: 20px;
    height: 20px;
    color: var(--bg-white);
}

/* Responsive Design for Header */
@media (max-width: 1024px) {
    .main-header .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .header-left,
    .header-right {
        flex-basis: 100%;
        justify-content: center;
    }
    
    .header-center {
        order: 3;
        margin-top: 1rem;
        flex-basis: 100%;
    }
    
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-announcement-bar {
        font-size: 0.8rem;
    }
    
    .announcement-content {
        animation: scroll-left 15s linear infinite;
    }
    
    .header-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .product-categories .category-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-announcement-bar {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .announcement-content {
        animation: scroll-left 10s linear infinite;
    }
    
    .main-header .header-container {
        padding: 0 0.5rem;
    }
    
    .header-left {
        gap: 0.25rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .search-bar input {
        padding: 0.6rem 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .product-categories .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

.dm-mobile-shell,
.dm-mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    :root {
        --dm-mobile-blue: #176dff;
        --dm-mobile-navy: #08295d;
        --dm-mobile-ink: #05080f;
        --dm-mobile-panel: rgba(235, 244, 255, 0.94);
        --dm-mobile-icon: clamp(27px, 7.5vw, 34px);
        --dm-mobile-header-h: clamp(94px, 25.6vw, 117px);
        --dm-mobile-bottom-h: calc(62px + env(safe-area-inset-bottom, 0px));
        --dm-mobile-bottom-bg-h: calc(46px + env(safe-area-inset-bottom, 0px));
    }

    html,
    body {
        overflow-x: hidden;
    }

    body {
        padding-bottom: var(--dm-mobile-bottom-h);
    }

    main {
        padding: 10px 1rem 2rem;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 1100;
		/*
        background: rgba(235, 244, 255, 0.78);
		*/
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .main-header,
    .navbar {
        display: none !important;
    }

    .dm-mobile-shell {
        display: block;
        width: 100%;
		/*
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), rgba(238, 247, 255, 0.9) 58%, var(--dm-mobile-panel));
        border-bottom: 1px solid rgba(164, 199, 244, 0.22);
        box-shadow: 0 16px 34px rgba(39, 102, 197, 0.08);
		*/
    }

    .dm-mobile-header {
        position: relative;
        min-height: var(--dm-mobile-header-h);
        padding: 0 max(13px, env(safe-area-inset-right, 0px)) 0 max(13px, env(safe-area-inset-left, 0px));
        direction: ltr;
    }

    .dm-mobile-header__side {
        position: absolute;
        top: 50%;
        display: flex;
        gap: clamp(11px, 3.7vw, 19px);
        align-items: center;
        transform: translateY(-50%);
    }

    .dm-mobile-header__side--left {
        left: max(13px, env(safe-area-inset-left, 0px));
    }

    .dm-mobile-header__side--right {
        right: max(13px, env(safe-area-inset-right, 0px));
        flex-direction: row;
        gap: 6px;
        align-items: center;
    }

    .dm-mobile-icon-button {
        position: relative;
        display: inline-grid;
        place-items: center;
        width: var(--dm-mobile-icon);
        height: var(--dm-mobile-icon);
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--dm-mobile-ink);
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .dm-mobile-header-auth {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        min-width: 0;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
        text-decoration: none;
        font-size: 0.74rem;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
        direction: rtl;
        cursor: pointer;
        overflow: visible;
        -webkit-tap-highlight-color: transparent;
    }

    .dm-mobile-header-auth--login {
        color: #138a45;
    }

    .dm-mobile-header-auth--logout {
        color: #d72323;
    }

    form.dm-mobile-header-auth {
        margin: 0;
    }

    .dm-mobile-auth-toggle {
        all: unset;
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        cursor: pointer;
        line-height: 1;
    }

    .dm-mobile-auth-label,
    .dm-mobile-auth-icon {
        grid-area: 1 / 1;
    }

    .dm-mobile-header-auth > .dm-mobile-auth-label,
    .dm-mobile-header-auth > .dm-mobile-auth-icon {
        position: absolute;
        inset: 0;
        margin: auto;
    }

    .dm-mobile-auth-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: currentColor;
        font-size: 0.74rem;
        font-weight: 900;
        opacity: 0;
        transform: scale(0.96);
        transition: opacity 360ms ease, transform 360ms ease;
    }

    .dm-mobile-auth-icon {
        width: 20px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: 0;
        transform: scale(0.96);
        transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
    }

    .dm-mobile-header-auth--login .dm-mobile-auth-label {
        animation: dm-mobile-auth-login-label 8s linear infinite;
    }

    .dm-mobile-header-auth--login .dm-mobile-auth-icon {
        animation: dm-mobile-auth-login-icon 8s linear infinite;
    }

    .dm-mobile-header-auth--logout .dm-mobile-auth-label {
        animation: dm-mobile-auth-logout-label 14s linear infinite;
    }

    .dm-mobile-header-auth--logout .dm-mobile-auth-icon {
        animation: dm-mobile-auth-logout-icon 14s linear infinite;
    }

    @keyframes dm-mobile-auth-login-label {
        0%, 8% { opacity: 1; transform: scale(1); }
        16% { opacity: 0.62; transform: scale(0.98); }
        28% { opacity: 1; transform: scale(1); }
        40% { opacity: 0.72; transform: scale(0.99); }
        48% { opacity: 1; transform: scale(1); }
        54%, 100% { opacity: 0; transform: scale(0.94); }
    }

    @keyframes dm-mobile-auth-login-icon {
        0%, 48% { opacity: 0; transform: scale(0.94); filter: none; }
        56% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(19, 138, 69, 0.24)); }
        66% { opacity: 0.56; transform: scale(0.98); filter: none; }
        76% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(19, 138, 69, 0.22)); }
        88% { opacity: 0.72; transform: scale(0.99); filter: none; }
        96% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(19, 138, 69, 0.2)); }
        100% { opacity: 0; transform: scale(0.96); filter: none; }
    }

    @keyframes dm-mobile-auth-logout-icon {
        0%, 10% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(215, 35, 35, 0.18)); }
        20% { opacity: 0.64; transform: scale(0.98); filter: none; }
        32%, 56% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(215, 35, 35, 0.18)); }
        66% { opacity: 0.72; transform: scale(0.99); filter: none; }
        71% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(215, 35, 35, 0.18)); }
        76%, 98% { opacity: 0; transform: scale(0.95); filter: none; }
        100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 2px rgba(215, 35, 35, 0.18)); }
    }

    @keyframes dm-mobile-auth-logout-label {
        0%, 71% { opacity: 0; transform: scale(0.94); }
        77% { opacity: 1; transform: scale(1); }
        84% { opacity: 0.62; transform: scale(0.98); }
        91% { opacity: 1; transform: scale(1); }
        97% { opacity: 0.72; transform: scale(0.99); }
        100% { opacity: 0; transform: scale(0.94); }
    }

    .dm-mobile-icon-button svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.35;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .dm-mobile-search-panel {
        position: relative;
        z-index: 2;
        display: block;
        margin: -8px 14px 12px;
        padding: 10px;
        border: 1px solid rgba(141, 178, 232, 0.34);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 34px rgba(23, 82, 171, 0.14);
        direction: rtl;
        animation: dm-mobile-search-panel-in 220ms ease both;
    }

    .dm-mobile-search-panel[hidden] {
        display: none;
    }

    .dm-mobile-search-panel__label {
        display: block;
        margin: 0 2px 7px;
        color: #092f69;
        font-size: 0.78rem;
        font-weight: 900;
        line-height: 1.4;
    }

    .dm-mobile-search-panel__field {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 36px;
        gap: 8px;
        align-items: center;
    }

    .dm-mobile-search-panel input {
        width: 100%;
        min-width: 0;
        height: 38px;
        padding: 0 12px;
        border: 1px solid rgba(118, 159, 223, 0.42);
        border-radius: 999px;
        background: #fff;
        color: #08295d;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 38px;
        outline: none;
        box-shadow: inset 0 1px 2px rgba(15, 52, 101, 0.05);
    }

    .dm-mobile-search-panel input::placeholder {
        color: rgba(8, 41, 93, 0.5);
        font-weight: 700;
    }

    .dm-mobile-search-panel input:focus {
        border-color: rgba(23, 109, 255, 0.72);
        box-shadow: 0 0 0 3px rgba(23, 109, 255, 0.12), inset 0 1px 2px rgba(15, 52, 101, 0.05);
    }

    .dm-mobile-search-panel__submit {
        all: unset;
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: var(--dm-mobile-blue);
        color: #fff;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(23, 109, 255, 0.24);
        -webkit-tap-highlight-color: transparent;
    }

    .dm-mobile-search-panel__submit svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    @keyframes dm-mobile-search-panel-in {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dm-mobile-cart span {
        position: absolute;
        top: -3px;
        right: -3px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 21px;
        height: 21px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ed1b61;
        color: #fff;
        font-size: 0.76rem;
        font-weight: 900;
        line-height: 1;
    }

    .dm-mobile-brand {
        position: absolute;
        top: 50%;
        left: 50%;
        display: grid;
        grid-template-columns: auto auto;
        gap: clamp(4px, 1.2vw, 7px);
        align-items: center;
        justify-content: center;
        width: clamp(110px, 31.2vw, 149px);
        color: inherit;
        text-align: center;
        text-decoration: none;
        direction: ltr;
        transform: translate(-50%, -50%);
    }

    .dm-mobile-brand__text {
        display: grid;
        gap: 0;
        min-width: 0;
    }

    .dm-mobile-brand__text strong {
        color: var(--dm-mobile-blue);
        font-size: clamp(1.04rem, 4.64vw, 1.57rem);
        font-weight: 900;
        line-height: 0.95;
        letter-spacing: 0;
    }

    .dm-mobile-brand__text span {
        color: #626771;
        font-size: clamp(0.6rem, 2.72vw, 0.88rem);
        font-weight: 800;
        line-height: 1.05;
    }

    .dm-mobile-brand__text small {
        color: #7a7f89;
        font-size: clamp(0.43rem, 1.96vw, 0.59rem);
        font-weight: 600;
        line-height: 1.15;
    }

    .dm-mobile-brand__mark {
        width: clamp(34px, 9.8vw, 54px);
        height: clamp(58px, 16vw, 86px);
    }

    .dm-mobile-menu-panel {
        display: grid;
        gap: 6px;
        margin: 0 14px 13px;
        padding: 11px;
        border: 1px solid rgba(141, 178, 232, 0.34);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 34px rgba(23, 82, 171, 0.14);
        direction: rtl;
    }

    .dm-mobile-menu-panel[hidden] {
        display: none;
    }

    .dm-mobile-menu-panel a {
        display: flex;
        align-items: center;
        min-height: 34px;
        padding: 0 10px;
        border-radius: 10px;
        color: #092f69;
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
    }

    .dm-mobile-menu-panel a:hover,
    .dm-mobile-menu-panel a:focus {
        background: #edf5ff;
    }

    .dm-mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1150;
        display: grid;
        grid-template-columns: minmax(46px, 1fr) minmax(46px, 1fr) minmax(75px, 1.35fr) minmax(51px, 1fr) minmax(46px, 1fr);
        align-items: end;
        min-height: var(--dm-mobile-bottom-h);
        padding: 5px max(10px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
        background: transparent;
        direction: ltr;
    }

    .dm-mobile-bottom-nav::before {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        height: var(--dm-mobile-bottom-bg-h);
        background:
            linear-gradient(180deg, rgba(235, 244, 255, 0), rgba(235, 244, 255, 0.9) 28%, rgba(235, 244, 255, 0.98));
        content: "";
        pointer-events: none;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .dm-mobile-bottom-nav__item {
        position: relative;
        z-index: 1;
        display: grid;
        justify-items: center;
        align-content: end;
        gap: 4px;
        min-width: 0;
        min-height: 38px;
        color: var(--dm-mobile-navy);
        font-size: clamp(0.58rem, 2.6vw, 0.74rem);
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        direction: rtl;
        -webkit-tap-highlight-color: transparent;
    }

    .dm-mobile-bottom-nav__item svg {
        width: clamp(24px, 7vw, 30px);
        height: clamp(24px, 7vw, 30px);
        fill: none;
        stroke: currentColor;
        stroke-width: 1.35;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .dm-mobile-bottom-nav__item.is-active {
        color: var(--dm-mobile-blue);
    }

    .dm-mobile-bottom-nav__item.is-active svg {
        fill: currentColor;
        stroke: currentColor;
    }

    .dm-mobile-bottom-nav__booking {
        position: relative;
        align-self: center;
	/*  
		width: clamp(96px, 29vw, 128px);
        height: clamp(96px, 29vw, 128px);
	*/
        width: clamp(44px, 12.8vw, 80px);
        height: clamp(56px, 14.4vw, 80px);
		
        min-height: 0;
        margin: 0 auto 2px;
        place-content: center;
        gap: 6px;
        border-radius: 15%;
        background: radial-gradient(circle at 34% 22%, #75a7ff, var(--dm-mobile-blue) 68%, #0a55df);
        color: #fff;
        box-shadow: 0 18px 34px rgba(23, 109, 255, 0.32);
        transform: translateY(-14px);
		
		
		bottom: -10px;
    }

    .dm-mobile-bottom-nav__booking svg {
        width: clamp(27px, 8vw, 35px);
        height: clamp(27px, 8vw, 35px);
        stroke-width: 1.7;
    }
}

@media (max-width: 380px) {
    :root {
        --dm-mobile-icon: 27px;
        --dm-mobile-header-h: 93px;
    }

    .dm-mobile-header {
        padding-inline: 10px;
    }

    .dm-mobile-header__side {
        gap: 7px;
    }

    .dm-mobile-header__side--right {
        gap: 5px;
    }

    .dm-mobile-header-auth {
        width: 41px;
        min-width: 0;
        height: 31px;
        font-size: 0.7rem;
    }

    .dm-mobile-auth-label {
        font-size: 0.7rem;
    }

    .dm-mobile-auth-icon {
        width: 19px;
        height: 20px;
    }

    .dm-mobile-brand {
        width: 106px;
        gap: 3px;
    }

    .dm-mobile-bottom-nav {
        grid-template-columns: minmax(40px, 1fr) minmax(40px, 1fr) minmax(70px, 1.35fr) minmax(46px, 1fr) minmax(40px, 1fr);
        padding-inline: 6px;
    }

    .dm-mobile-bottom-nav__item {
        font-size: 0.56rem;
    }
}
