html[dir="rtl"] body {
    direction: rtl
}

html[dir="rtl"] .site-header {
    flex-direction: row-reverse
}

html[dir="rtl"] .brand small {
    margin: 5px 7px 0 0
}

html[dir="rtl"] .hero-copy {
    padding-left: 0;
    padding-right: 7.4%
}

html[dir="rtl"] .hero-image {
    inset: 0 0 0 24%;
    background-image: linear-gradient(270deg, #e7dac8 0%, rgba(231, 218, 200, .84) 10%, rgba(231, 218, 200, .1) 37%, transparent 100%), url('../images/img (31).webp')
}

html[dir="rtl"] .section-number {
    flex-direction: row-reverse
}

html[dir="rtl"] .btn i,
html[dir="rtl"] .text-link i,
html[dir="rtl"] .category span i {
    transform: scaleX(-1)
}

html[dir="rtl"] .styles-copy {
    padding-left: 10%;
    padding-right: 21.8%
}

html[dir="rtl"] .craft-detail {
    right: auto;
    left: 0
}

html[dir="rtl"] .slider-controls {
    right: auto;
    left: 10%
}

html[dir="rtl"] .quote-dots {
    right: auto;
    left: 12%
}

html[dir="rtl"] .consult-image {
    inset: 0 45% 0 0;
    background-image: linear-gradient(270deg, #e8dfd0 0%, rgba(232, 223, 208, .6) 20%, transparent 50%), url('../images/img (29).webp')
}

html[dir="rtl"] .stats-card {
    right: auto;
    left: 7.4%
}

html[dir="rtl"] .back-top {
    right: auto;
    left: 22px
}

@media(max-width:1100px) {
    html[dir="rtl"] .hero-copy {
        padding-right: 5%
    }

    html[dir="rtl"] .styles-copy {
        padding-right: 15%
    }
}

@media(max-width:767px) {
    html[dir="rtl"] .site-header {
        flex-direction: row-reverse
    }

    html[dir="rtl"] .hero-copy {
        padding: 42px 6% 26px
    }

    html[dir="rtl"] .hero-image {
        inset: auto;
        background-image: url('../images/img (4).webp')
    }

    html[dir="rtl"] .styles-copy {
        padding: 34px 6% 28px
    }

    html[dir="rtl"] .craft-detail {
        left: 0
    }

    html[dir="rtl"] .slider-controls {
        left: 7%
    }

    html[dir="rtl"] .quote-dots {
        left: 7%
    }

    html[dir="rtl"] .consult-image {
        inset: auto 0 0;
        background-image: linear-gradient(180deg, #e8dfd0 0%, rgba(232, 223, 208, 0) 35%), url('../images/img (1).webp')
    }

    html[dir="rtl"] .stats-card {
        left: 6%
    }

    html[dir="rtl"] .back-top {
        left: 14px
    }
}


/* Wardrova RTL support */

html[dir="rtl"] .site-header {
  direction: rtl;
}

html[dir="rtl"] .brand-logo {
  align-items: flex-start;
}

html[dir="rtl"] .main-nav {
  direction: rtl;
}

html[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .header-actions {
  direction: rtl;
}

html[dir="rtl"] .footer-main,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .footer-column,
html[dir="rtl"] .footer-contact {
  direction: rtl;
}

html[dir="rtl"] .footer-back-top i,
html[dir="rtl"] .footer-cta i {
  transform: scaleX(-1);
}

html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-socials {
  direction: rtl;
}

@media (max-width: 767px) {
  html[dir="rtl"] .main-nav {
    left: 0;
    right: 0;
    text-align: right;
  }

  html[dir="rtl"] .dropdown-menu {
    padding: 0 12px 10px 0;
  }
}


/* ========================================
   WARDROVA — MATERIALS & FINISHES
   Natural Warm Editorial Layout
======================================== */

.wardrova-materials {
  --mat-ivory: #f5efe4;
  --mat-text: #29291f;
  --mat-muted: #6e6a5d;
  --mat-olive: #343b2b;
  --mat-border: #d6ccbb;
  --mat-accent: #a68b68;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.72fr;
  align-items: stretch;
  width: 100%;
  min-height: 360px;
  background: var(--mat-ivory);
  color: var(--mat-text);
  overflow: hidden;
}

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

/* Large image */

.materials-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #d1c0a6;
}

.materials-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.materials-image:hover img {
  transform: scale(1.045);
}

.materials-image::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(28, 26, 20, 0.4));
  pointer-events: none;
}

.materials-image-label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  color: #fffaf0;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

/* Center introduction */

.materials-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px clamp(25px, 3vw, 48px);
}

.materials-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  color: #d9b994;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.materials-eyebrow > span:first-child {
  color: var(--mat-olive);
  font-size: 12px;
}

.materials-eyebrow-line {
  width: 22px;
  height: 1px;
  background: var(--mat-accent);
}

.materials-content h2 {
  margin: 0 0 17px;
  color: var(--mat-text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 2.5vw, 39px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.materials-content h2 em {
  font-weight: 400;
  color: #777c61;
}

.materials-content > p {
  max-width: 350px;
  margin: 0 0 23px;
  color: var(--mat-muted);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.9;
}

.materials-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 43px;
  padding: 0 17px;
  background: var(--mat-olive);
  border: 1px solid var(--mat-olive);
  border-radius: 3px;
  color: #fffaf0;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.materials-cta:hover {
  background: #4c5740;
  transform: translateY(-2px);
}

.materials-cta span {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.materials-cta:hover span {
  transform: translateX(3px);
}

/* Right: finishes */

.materials-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 28px clamp(20px, 2.5vw, 38px);
  border-left: 1px solid var(--mat-border);
}

.material-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 13px;
  min-height: 53px;
  color: var(--mat-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.material-item:hover {
  border-bottom-color: var(--mat-border);
}

.material-thumbnail {
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(60, 51, 37, 0.12);
  border-radius: 50%;
  background-color: #c3aa88;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}

.material-item:hover .material-thumbnail {
  transform: scale(1.08);
}

.veneer-thumb {
  background-image: linear-gradient(
    145deg, #bba181 0%, #8c6745 35%, #d1b795 53%, #785639 100%
  );
}

.laminate-thumb {
  background-image: linear-gradient(
    145deg, #d8cbb7 0%, #a99a83 45%, #e4d9c8 100%
  );
}

.matte-thumb {
  background-image: linear-gradient(
    90deg, #313b2d 0 50%, #b8b4a3 50% 100%
  );
}

.glass-thumb {
  background-image: linear-gradient(
    120deg, #dce0d8 0%, #8b938c 30%, #f1eee4 55%, #727c77 100%
  );
}

.hardware-thumb {
  background-image: linear-gradient(
    135deg, #9a8b71, #e4d7bd 35%, #5b5549 70%, #c0aa82
  );
}

.material-name {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

.material-arrow {
  color: var(--mat-accent);
  font-size: 13px;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.material-item:hover .material-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Tablet */

@media (max-width: 1050px) {
  .wardrova-materials {
    grid-template-columns: 1fr 1fr;
  }

  .materials-image {
    min-height: 390px;
  }

  .materials-content {
    padding: 35px;
  }

  .materials-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 22px;
    padding: 25px 35px;
    border-left: 0;
    border-top: 1px solid var(--mat-border);
  }
}

/* Mobile */

@media (max-width: 600px) {
  .wardrova-materials {
    grid-template-columns: 1fr;
  }

  .materials-image,
  .materials-image img {
    min-height: 270px;
    max-height: 340px;
  }

  .materials-content {
    padding: 35px 23px 30px;
  }

  .materials-content h2 {
    font-size: 32px;
  }

  .materials-content > p {
    font-size: 13px;
  }

  .materials-list {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    padding: 20px 23px 30px;
  }

  .material-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    min-height: 52px;
  }

  .material-thumbnail {
    width: 32px;
    height: 32px;
  }

  .material-name {
    font-size: 10px;
  }

  .material-arrow {
    display: none;
  }
}

/* RTL */

html[dir="rtl"] .wardrova-materials {
  direction: rtl;
}

html[dir="rtl"] .materials-list {
  border-left: 0;
  border-right: 1px solid var(--mat-border);
}

html[dir="rtl"] .materials-arrow,
html[dir="rtl"] .materials-cta span {
  transform: scaleX(-1);
}

@media (max-width: 1050px) {
  html[dir="rtl"] .materials-list {
    border-right: 0;
  }
}





html[dir="rtl"] .site-header{direction:rtl}
html[dir="rtl"] .header-actions{margin-right:auto;margin-left:0}
html[dir="rtl"] .hero-copy{padding-right:7.4%;padding-left:0}
html[dir="rtl"] .section-number,html[dir="rtl"] .text-link,html[dir="rtl"] .button-row,html[dir="rtl"] .feature-row{direction:rtl}
html[dir="rtl"] .h2-hero-copy{margin-left:auto;margin-right:0}
html[dir="rtl"] .h2-hero-index{right:auto;left:5.5%}
html[dir="rtl"] .h2-intro-grid,html[dir="rtl"] .h2-editorial,html[dir="rtl"] .h2-materials,html[dir="rtl"] .gallery-note{direction:rtl}
html[dir="rtl"] .h2-collection strong,html[dir="rtl"] .gallery-item-overlay strong{direction:rtl}
html[dir="rtl"] .gallery-hero-copy{margin-left:auto;margin-right:0}
html[dir="rtl"] .gallery-hero-caption{right:auto;left:5.5%}
html[dir="rtl"] .footer-bottom{direction:rtl}
html[dir="rtl"] .back-top{right:auto;left:22px}


/* RTL alignment for added editorial and product layouts */
[dir="rtl"] .detail-strip-copy,[dir="rtl"] .product-split-copy,[dir="rtl"] .workspace-copy,[dir="rtl"] .product-final-copy,[dir="rtl"] .material-mood-copy,[dir="rtl"] .room-note-copy{text-align:right}
[dir="rtl"] .detail-strip-copy li,[dir="rtl"] .product-split-copy li{flex-direction:row-reverse;justify-content:flex-end}
[dir="rtl"] .text-link,[dir="rtl"] .products-hero-actions{flex-direction:row-reverse}
[dir="rtl"] .image-note{right:auto;left:24px}
[dir="rtl"] .product-feature-card>i{right:auto;left:4px}
[dir="rtl"] .cabinet-feature-note{right:auto;left:4%}
@media(max-width:767px){[dir="rtl"] .products-hero-actions{align-items:flex-start;flex-direction:column}}


/* RTL support for about and contact pages */
html[dir="rtl"] .inner-page,html[dir="rtl"] .inner-page .section-number { direction:rtl; }
html[dir="rtl"] .inner-hero-copy,html[dir="rtl"] .contact-hero-copy,html[dir="rtl"] .manifesto-copy,html[dir="rtl"] .about-craft-copy,html[dir="rtl"] .contact-form-intro,html[dir="rtl"] .contact-bottom-copy { text-align:right; }
html[dir="rtl"] .inner-hero-image { inset:0 42% 0 0; background-image:linear-gradient(270deg,#e8dfd0 0%,rgba(232,223,208,.72) 14%,rgba(232,223,208,0) 48%),url('../images/img (4).webp'); }
html[dir="rtl"] .contact-hero-image { inset:0 48% 0 0; background-image:linear-gradient(270deg,#e8dfd0 0%,rgba(232,223,208,.72) 12%,rgba(232,223,208,0) 48%),url('../images/img (2).webp'); }
html[dir="rtl"] .hero-side-note { right:auto; left:2.2%; }
html[dir="rtl"] .about-craft-copy li { flex-direction:row-reverse; }
html[dir="rtl"] .contact-quick-links,html[dir="rtl"] .contact-note,html[dir="rtl"] .contact-detail-list article,html[dir="rtl"] .form-consent { flex-direction:row-reverse; }
html[dir="rtl"] .contact-hero-stamp { right:auto; left:7.4%; }
html[dir="rtl"] .contact-form .btn,html[dir="rtl"] .about-cta .btn,html[dir="rtl"] .contact-bottom .btn { flex-direction:row-reverse; }
@media(max-width:767px){html[dir="rtl"] .inner-hero-image,html[dir="rtl"] .contact-hero-image { inset:auto; margin-inline:-6%; width:calc(100% + 12%); }html[dir="rtl"] .hero-side-note{display:none}html[dir="rtl"] .contact-hero-stamp{left:6%;right:auto}}



/* =========================================
   WARDROVA - RTL SUPPORT
   Right-to-left layout
========================================= */

html[dir="rtl"],
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] {
    overflow-x: hidden;
}

/* Global layout */
body[dir="rtl"] .container,
body[dir="rtl"] .page-container,
body[dir="rtl"] .dashboard-container {
    direction: rtl;
}

/* Header and navigation */
body[dir="rtl"] header,
body[dir="rtl"] .header,
body[dir="rtl"] .site-header,
body[dir="rtl"] nav,
body[dir="rtl"] .navbar {
    direction: rtl;
}

body[dir="rtl"] .navbar,
body[dir="rtl"] .nav-container,
body[dir="rtl"] .header-inner {
    flex-direction: row;
}

body[dir="rtl"] .nav-links {
    flex-direction: row;
}

body[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

/* Header actions */
body[dir="rtl"] .header-actions,
body[dir="rtl"] .nav-actions {
    flex-direction: row;
}

/* Dashboard layout */
body[dir="rtl"] .dashboard-layout {
    direction: rtl;
}

body[dir="rtl"] .dashboard-sidebar {
    order: 2;
    text-align: right;
}

body[dir="rtl"] .dashboard-main,
body[dir="rtl"] .dashboard-content {
    order: 1;
    text-align: right;
}

/* Sidebar navigation */
body[dir="rtl"] .sidebar,
body[dir="rtl"] .dashboard-nav,
body[dir="rtl"] .dashboard-menu {
    text-align: right;
}

body[dir="rtl"] .sidebar a,
body[dir="rtl"] .dashboard-nav a,
body[dir="rtl"] .dashboard-menu a {
    flex-direction: row;
    text-align: right;
}

body[dir="rtl"] .sidebar a i,
body[dir="rtl"] .dashboard-nav a i,
body[dir="rtl"] .dashboard-menu a i {
    margin-left: 10px;
    margin-right: 0;
}

/* Titles and section headers */
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6,
body[dir="rtl"] p {
    text-align: right;
}

body[dir="rtl"] .section-heading,
body[dir="rtl"] .dashboard-heading,
body[dir="rtl"] .page-heading {
    text-align: right;
}

/* Dashboard grids */
body[dir="rtl"] .dashboard-grid,
body[dir="rtl"] .stats-grid,
body[dir="rtl"] .metrics-grid {
    direction: rtl;
}

body[dir="rtl"] .stat-card,
body[dir="rtl"] .metric-card,
body[dir="rtl"] .dashboard-card,
body[dir="rtl"] .order-card,
body[dir="rtl"] .appointment-card {
    text-align: right;
}

/* Tables */
body[dir="rtl"] table {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] th,
body[dir="rtl"] td {
    text-align: right;
}

/* Forms */
body[dir="rtl"] form,
body[dir="rtl"] .form-group {
    text-align: right;
}

body[dir="rtl"] label {
    display: block;
    text-align: right;
}

body[dir="rtl"] input,
body[dir="rtl"] textarea,
body[dir="rtl"] select {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] input[type="email"],
body[dir="rtl"] input[type="url"],
body[dir="rtl"] input[type="tel"],
body[dir="rtl"] input[type="password"] {
    text-align: right;
}

/* Keep numbers, dates and codes readable */
body[dir="rtl"] input[type="number"],
body[dir="rtl"] input[type="date"],
body[dir="rtl"] .numeric,
body[dir="rtl"] .order-number,
body[dir="rtl"] .price,
body[dir="rtl"] .amount,
body[dir="rtl"] .phone-number,
body[dir="rtl"] .email-address,
body[dir="rtl"] code,
body[dir="rtl"] pre {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Buttons and button groups */
body[dir="rtl"] .button-group,
body[dir="rtl"] .form-actions,
body[dir="rtl"] .card-actions {
    flex-direction: row;
}

body[dir="rtl"] button i,
body[dir="rtl"] .btn i {
    margin-left: 8px;
    margin-right: 0;
}

/* Breadcrumbs */
body[dir="rtl"] .breadcrumb {
    direction: rtl;
}

body[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 8px;
    padding-right: 0;
}

/* Footer */
body[dir="rtl"] footer,
body[dir="rtl"] .footer,
body[dir="rtl"] .site-footer {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] .footer-links,
body[dir="rtl"] .social-links {
    direction: rtl;
}

/* Notifications and dropdowns */
body[dir="rtl"] .notification-menu,
body[dir="rtl"] .dropdown-content,
body[dir="rtl"] .popover {
    right: auto;
    left: 0;
    text-align: right;
}

/* Back to top stays at the visual bottom-right */
body[dir="rtl"] .back-to-top {
    right: auto;
    left: 24px;
}

/* Lists */
body[dir="rtl"] ul,
body[dir="rtl"] ol {
    padding-left: 0;
    padding-right: 24px;
}

/* Charts should preserve readable axes */
body[dir="rtl"] .chart-container {
    direction: ltr;
}

body[dir="rtl"] .chart-container .chart-title {
    direction: rtl;
    text-align: right;
}

/* Mobile */
@media (max-width: 767px) {
    body[dir="rtl"] .dashboard-layout {
        display: flex;
        flex-direction: column;
    }

    body[dir="rtl"] .dashboard-sidebar,
    body[dir="rtl"] .dashboard-main,
    body[dir="rtl"] .dashboard-content {
        width: 100%;
        max-width: 100%;
    }

    body[dir="rtl"] .dashboard-sidebar {
        order: 1;
    }

    body[dir="rtl"] .dashboard-main,
    body[dir="rtl"] .dashboard-content {
        order: 2;
    }

    body[dir="rtl"] .table-responsive {
        max-width: 100%;
        overflow-x: auto;
    }

    body[dir="rtl"] .header-inner {
        flex-wrap: wrap;
    }

    body[dir="rtl"] .nav-links {
        align-items: flex-start;
    }

    body[dir="rtl"] .back-to-top {
        left: 16px;
        right: auto;
        bottom: 16px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    body[dir="rtl"] .dashboard-layout {
        gap: 20px;
    }

    body[dir="rtl"] .dashboard-sidebar {
        min-width: 190px;
    }
}

/* ==========================================
   WARDROVA - AUTH PAGE RTL
========================================== */

html[dir="rtl"] body.auth-page,
body.auth-page[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

body.auth-page[dir="rtl"] .header-inner {
  direction: rtl;
}

body.auth-page[dir="rtl"] .main-nav,
body.auth-page[dir="rtl"] .header-actions {
  direction: rtl;
}

body.auth-page[dir="rtl"] .brand,
body.auth-page[dir="rtl"] .brand-footer {
  direction: rtl;
}

body.auth-page[dir="rtl"] .brand-copy {
  text-align: right;
}

body.auth-page[dir="rtl"] .auth-hero {
  direction: rtl;
}

body.auth-page[dir="rtl"] .auth-visual {
  text-align: right;
}

body.auth-page[dir="rtl"] .auth-visual::before {
  right: auto;
  left: 14%;
}

body.auth-page[dir="rtl"] .auth-visual::after {
  right: auto;
  left: 26%;
}

body.auth-page[dir="rtl"] .auth-visual-content > p {
  margin-inline: 0;
}

body.auth-page[dir="rtl"] .auth-visual-note {
  flex-direction: row;
}

body.auth-page[dir="rtl"] .auth-card,
body.auth-page[dir="rtl"] .auth-form,
body.auth-page[dir="rtl"] .form-field,
body.auth-page[dir="rtl"] .form-field > label,
body.auth-page[dir="rtl"] .auth-intro,
body.auth-page[dir="rtl"] .auth-options,
body.auth-page[dir="rtl"] .check-label,
body.auth-page[dir="rtl"] .auth-switch {
  text-align: right;
}

body.auth-page[dir="rtl"] .auth-divider {
  direction: rtl;
}

body.auth-page[dir="rtl"] .auth-submit,
body.auth-page[dir="rtl"] .social-button {
  direction: rtl;
}

body.auth-page[dir="rtl"] .auth-options {
  flex-direction: row;
}

body.auth-page[dir="rtl"] .check-label {
  flex-direction: row;
}

body.auth-page[dir="rtl"] .auth-submit i {
  transform: scaleX(-1);
}

body.auth-page[dir="rtl"] .footer-main {
  direction: rtl;
}

body.auth-page[dir="rtl"] .footer-brand,
body.auth-page[dir="rtl"] .footer-column {
  text-align: right;
  align-items: flex-start;
}

body.auth-page[dir="rtl"] .footer-bottom .container {
  direction: rtl;
}

body.auth-page[dir="rtl"] .site-toast {
  right: auto;
  left: 24px;
}

body.auth-page[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

body.auth-page[dir="rtl"] input[type="email"],
body.auth-page[dir="rtl"] input[type="url"] {
  direction: ltr;
  text-align: left;
}

body.auth-page[dir="rtl"] .password-wrap input {
  padding-inline-start: 46px;
  padding-inline-end: 14px;
}

body.auth-page[dir="rtl"] .password-toggle {
  inset-inline-start: 0;
  inset-inline-end: auto;
}

@media (max-width: 767px) {
  body.auth-page[dir="rtl"] .header-inner {
    flex-direction: row;
  }

  body.auth-page[dir="rtl"] .main-nav {
    align-items: stretch;
  }

  body.auth-page[dir="rtl"] .auth-hero {
    grid-template-columns: 1fr;
  }

  body.auth-page[dir="rtl"] .footer-main {
    direction: rtl;
  }

  body.auth-page[dir="rtl"] .back-to-top {
    left: 16px;
    right: auto;
  }

  body.auth-page[dir="rtl"] .site-toast {
    left: 16px;
    right: auto;
  }
}

/* ---------- Dashboard sidebar, profile button and profile form (RTL) ---------- */
@media (max-width:1024px){
  html[dir="rtl"] .dashboard-sidebar{transform:translateX(100%)}
  html[dir="rtl"] .dashboard-sidebar.is-open{transform:none}
  html[dir="rtl"] .profile-photo-btn{margin-inline-start:auto}
}
@media (max-width:767px){
  html[dir="rtl"] .profile-photo-btn{margin-inline-start:0}
}
html[dir="rtl"] .sidebar-head,html[dir="rtl"] .sidebar-user,html[dir="rtl"] .sidebar-link{direction:rtl}
html[dir="rtl"] .profile-field label,html[dir="rtl"] .profile-field input,html[dir="rtl"] .profile-field textarea{text-align:start}
html[dir="rtl"] .profile-field input[type="tel"],html[dir="rtl"] .profile-field input[name="email"]{direction:ltr;text-align:right}
html[dir="rtl"] .profile-summary{align-items:flex-start}
html[dir="rtl"] .profile-check{direction:rtl}
