:root {
  --craft-cream: #efe4da;
  --craft-sand: #ddc3af;
  --craft-copper: #a85a38;
  --craft-maroon: #580c10;
  --craft-deep: #4b080c;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--craft-cream);
  color: var(--craft-maroon);
  font-family: "Helvetica Neue LT Arabic", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.craftsman-profile {
  position: relative;
  z-index: 0;
  min-height: calc(100vh - 97px);
  background: #fff;
  overflow: hidden;
}

.craftsman-navbar {
  min-height: 126px;
  padding-top: 20px;
}

.craftsman-navbar-grid {
  position: relative;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  direction: ltr;
}

.navbar-brand {
  grid-column: 2;
  grid-row: 1;
}

.craftsman-brand {
  width: 210px;
  height: 96px;
  object-fit: contain;
}

.craftsman-nav-links {
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  padding-top: 35px;
  direction: rtl;
}

.craftsman-nav-links .nav-link,
.craftsman-language-link {
  color: var(--craft-maroon);
  font-weight: 800;
}

.craftsman-nav-links .nav-link:hover,
.craftsman-nav-links .nav-link.active,
.craftsman-language-link:hover {
  color: var(--craft-copper);
}

.craftsman-language-link {
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 38px;
}

.craftsman-navbar .navbar-toggler {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-color: rgba(88, 12, 16, 0.28);
  border-radius: 0;
  background: var(--craft-cream);
}

.craftsman-navbar .navbar-toggler-icon {
  width: 1.35em;
  height: 1.35em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2888, 12, 16, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.craftsman-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(88, 12, 16, 0.18);
}

.profile-layout {
  min-height: 744px;
  direction: ltr;
  margin-top: 64px;
}

.profile-info {
  align-self: flex-start;
  padding-top: 50px;
  direction: rtl;
}

.intro-block {
  max-width: 555px;
  direction: ltr;
}

.profile-qr {
 
  object-fit: contain;
}

.profile-heading {
  flex: 1 1 auto;
  direction: rtl;
  text-align: right;
  position: relative;
}

.profile-heading h1 {
 
  color: #FE643C;
  font-size: 32px;
  font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
  text-align: right;
}

.profile-heading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(/assets/crafts/svg/title-craft-man.svg) right center / contain no-repeat;
 
    z-index: 1;

}
.profile-meta {
  display: flex;
  justify-content: start;
  gap: 30px;
  color: var(--craft-copper);
  font-size: 15px;
  font-weight: 800;
}
.pin-icon{
 background: url(/assets/crafts/svg/location-gray.svg);
     width: 20px;
    height: 20px;
}
.tag-icon {
    background: url(/assets/crafts/svg/phone.svg);
        width: 20px;
    height: 20px;
}
.meta-link{
  font-size: 12px;
  color: #666;
 display: inline-flex;
    align-items: center;
    gap: 8px;
	z-index:2;
}


.owner-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(555px, 100%);
  height: 48px;
  margin-top: 32px;
  padding: 12px 16px;
  background: #FFF0EC;
  font-size: 16px;
    font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
 
  color: #FE643C
}

.owner-strip::before{
   position: absolute;

  width: 20px;
  height: 30px;
  content: "";
  background: url(/assets/crafts/svg/arrow-right.svg)
}
.owner-strip::after {
  position: absolute;

  width: 20px;
  height: 30px;
  content: "";
  background: url(/assets/crafts/svg/arrow-left.svg)
}

.owner-strip::before {
  right: -20px;
}

.owner-strip::after {
  left: -20px;
}

.owner-name {
  font-size: 19px;
  font-weight: 800;
}
.owner-strip .social-links .instagram{
   background:url(/assets/crafts/svg/instagram-orange.svg);
}
.owner-strip .social-links .tiktok{
   background:url(/assets/crafts/svg/tiktok-orange.svg);
}
.owner-strip .social-links .whatsapp{
   background:url(/assets/crafts/svg/whats-orange.svg);
}
.owner-social {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  direction: ltr;
}

.owner-social a {
  color: var(--craft-maroon);
  font-size: 21px;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.owner-social a:hover,
.owner-social a:focus-visible {
  color: var(--craft-copper);
  transform: translateY(-2px);
}

.profile-description {
  width: min(555px, 100%);
  margin: 32px 0 0;
  color: #00008A;
  font-size: 14px;
  text-align: right;
}

.works-section {
  width: min(555px, 100%);
  margin-top: 32px;
  text-align: center;
}

.works-section h2 {
  margin: 0 0 16px;
  color: #00008A;
  font-size: 16px;
    font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
}

.works-gallery {
  --bs-gutter-x: 16px;
  direction: rtl;
  margin-right: 0;
  margin-left: 0;
  
}

.work-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.work-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.work-thumb:hover img,
.work-thumb:focus-visible img {
  filter: saturate(1.07) drop-shadow(0 14px 16px rgba(88, 12, 16, 0.18));
  transform: scale(1.045);
}

.work-thumb:focus-visible {
  outline: 3px solid rgba(88, 12, 16, 0.28);
  outline-offset: 4px;
}
.more-button{
   margin: 16px auto 0;
}
.craft-man-img{
  gap:64
}
.profile-more-button {
  position: relative;
  display: block;
  width: 130px;
  height: 43px;
  margin: 17px auto 0;
  padding-top: 9px;
  border: 0;
  border-radius: 0;
  background: var(--craft-maroon);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.profile-more-button:hover,
.profile-more-button:focus-visible {
  background: var(--craft-deep);
  color: #fff;
}

.profile-more-button::before,
.profile-more-button::after {
  position: absolute;
  top: 12px;
  width: 24px;
  height: 19px;
  content: "";
  background: var(--craft-maroon);
}

.profile-more-button::before {
  right: -16px;
}

.profile-more-button::after {
  left: -16px;
}

.profile-more-button:hover::before,
.profile-more-button:hover::after,
.profile-more-button:focus-visible::before,
.profile-more-button:focus-visible::after {
  background: var(--craft-deep);
}

.profile-visual {
  position: relative;
  isolation: isolate;
  min-height: 744px;
  direction: rtl;
    background:url('/assets/crafts/svg/craft-man-bg-.svg') no-repeat left center;
}
.profile-visual::before{
  content: '';
  background: url(/assets/crafts/svg/brown.svg);
  position: absolute;
  width: 22px;
  height: 24px;
  left: 110px;
  top: 218px;
}
.profile-visual::after{
  content: '';
  background: url(/assets/crafts/svg/white-small-icon.svg);
  position: absolute;
  width: 22px;
  height: 24px;
  right: 165px;
  top: 160px;
}
.profile-portrait {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 0;
  width: min(525px, 100%);
  max-height: 725px;
  object-fit: contain;
  object-position: right bottom;
}

.stones-decor {
  position: absolute;
  z-index: 2;
  right: 4px;
  top: 245px;
  width: 86px;
  height: 265px;
  object-fit: contain;
  opacity: 0.98;
  pointer-events: none;
}

.craftsman-footer {
  position: relative;
  z-index: 2;
  margin-top: -16px;
  min-height: 97px;
  background: var(--craft-copper);
}

.craftsman-footer .row {
  min-height: 97px;
  direction: ltr;
}

.craftsman-footer p {
  direction: rtl;
}

.craftsman-footer-social a {
  color: #fff;
  font-size: 20px;
}

.craftsman-footer-center {
  display: inline-block;
  width: min(430px, 100%);
  height: 72px;
  object-fit: contain;
}

.work-modal {
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: var(--craft-cream);
}

.work-modal img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.work-modal .btn-close {
  margin-bottom: 8px;
}

@media (min-width: 1200px) {
  .container-xl {
    max-width: 1320px;
  }
}

@media (max-width: 991.98px) {
  .profile-layout {
    min-height: 0;
  }

  .profile-info {
    padding-top: 32px;
    padding-bottom: 50px;
  }

  .profile-visual {
    min-height: 590px;
    order: 1;
  
  }

  .profile-portrait {
    right: 50%;
    width: min(625px, 100%);
    transform: translateX(50%);
  }

  .stones-decor {
    right: 4%;
    top: 220px;
  }

  .intro-block,
  .owner-strip,
  .profile-description,
  .works-section {
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  .craftsman-navbar {
    min-height: 98px;
    padding-top: 18px;
  }

  .craftsman-navbar-grid {
    grid-template-columns: minmax(76px, 1fr) auto minmax(76px, 1fr);
    align-items: center;
    gap: 0 10px;
  }

  .navbar-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .navbar-toggler {
    grid-column: 1 / -1;
    grid-row: 1;
    position: absolute;
    top: 18px;
    right: auto;
    left: calc(100vw - 78px);
    display: inline-flex !important;
    z-index: 2;
  }

  .craftsman-language-link {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    padding-top: 0;
    font-size: 13px;
    z-index: 2;
  }

  .craftsman-brand {
    width: 164px;
    height: 78px;
  }

  .craftsman-nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    margin-top: 12px;
    padding: 12px;
    background: rgba(247, 241, 236, 0.82);
    border: 1px solid rgba(88, 12, 16, 0.1);
    text-align: center;
  }

  .craftsman-nav-links.collapse:not(.show) {
    display: none;
  }

  .craftsman-nav-links.collapsing,
  .craftsman-nav-links.show {
    display: block;
  }

  .craftsman-nav-links .navbar-nav {
    align-items: center;
    gap: 4px;
  }

  .craftsman-nav-links .nav-link {
    padding: 8px 12px;
  }

  .profile-visual {
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
  }

  .profile-portrait {
    position: static;
    z-index: 1;
    right: auto;
    bottom: auto;
    width: min(100%, 500px);
    max-height: none;
    transform: none;
  }

  .stones-decor {
    display: none;
  }

  .craftsman-footer {
    margin-top: 0;
  }

  .profile-info {
    padding-top: 20px;
  }

  .profile-meta {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .owner-strip {
    width: min(555px, calc(100% - 32px));
    justify-content: center;
    gap: 24px;
    padding: 0 24px;
  }

  .owner-name {
    font-size: 17px;
  }

  .profile-description {
    font-size: 15px;
    line-height: 1.85;
  }

  .works-gallery {
    --bs-gutter-x: 10px;
  }
}

@media (max-width: 520px) {
  .profile-portrait {
    width: 100%;
    max-width: 500px;
  }

  .profile-heading h1 {
    font-size: 32px;
  }

  .owner-strip {
    flex-direction: column;
    padding-block: 10px;
  }
}
.site-nav{
   color: #00008A;
   font-size: 14px;
}
.language-link{
  color: #00008A;
  font-size: 14px;
}
.globe{
  
   background: url(/assets/crafts/svg/lang-blue.svg);
}
