/* ----------------------------------------------------- */
/* mobile.css...                                         */
/*    called by style.css                                */
/*    contains mobile viewport specific markup           */
/* ----------------------------------------------------- */

@media screen and (max-width: 955px) {
  .container {
    height: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 70px auto auto auto 45px;
    grid-template-areas:
      "header header header"
      "hero hero hero"
      "main main main"
      "aside aside aside"
      "footer footer footer";
  }

  /* Stops underlying page from scrolling when menu is active*/
  .container:has(#show-menu:checked) {
    position: fixed;
  }

  header {
    grid-area: header;
    display: grid;
    min-height: 100%;
    grid-template-columns: auto 75px;
    grid-template-rows: 70px auto;
    grid-template-areas: "logo nav";
  }

  aside {
    margin-top: 10px;
  }

  .logo {
    grid-area: logo;
    display: flex;
    height: 100%;
    width: 100%;
    padding: 20px 10px 3px 80px;
    align-items: center;
  }

  article {
    display: inline-block;
    width: 100%;
    border-radius: 0.5ch;
    padding: 1ch;
    margin-top: 0.5ch;
    margin-bottom: 2.5ch;
    background-color: var(--articlebackgrcolor);
  }

  .mobile {
    display: flex;
    overflow: hidden;
    visibility: visible;
  }

  .desktop {
    display: none;
    visibility: hidden;
  }

  footer {
    font-size: 0.8rem;
  }

  .logo {
    width: 100%;
    padding-top: 3px;
    padding-right: 3%;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    max-width: 250px;
  }

  nav {
    padding: 3px 10px 3px 0px;
  }

  .hero {
    grid-area: hero;
  }

  .heropanel-m {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: var(--heropanel-img);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    gap: 20px;
  }

  .hero-img-m {
    align-items: center;
  }

  .hero-img-m > img {
    align-items: center;
  }

  .whatsapp {
    position: fixed;
    opacity: unset;
    width: 50px;
  }

  a#theme-toggle,
  a#theme-toggle:visited,
  a#theme-toggle:hover {
    color: black;
    background-color: unset;
  }

  a#theme-toggle::after {
    font-size: 1.4em;
    font-weight: 500;
  }

  .hero {
    grid-area: hero;
    padding: 5px;
  }

  a#theme-toggle {
    position: absolute;
    padding-left: 10px;
    padding-right: 5px;
    padding-bottom: 15px;
    top: 27px;
    right: 55px;
    line-height: 15px;
  }

  .multicols {
    display: flex;
    flex-direction: column;
    gap: 2ch;
  }

  .multicols > .col {
    width: 100%;
  }

  .multicols > .col-l,
  .multicols > .col-r {
    width: 100%;
    border-left: none;
  }

  .multicols > .col-l {
    border-bottom: 2px groove hsla(0 0% 0%/0.1);
  }

  /* --------------NAVIGATION-------------- */

  /* Menu Icon */
  .hamb {
    cursor: pointer;
    float: right;
    padding: 10px 0px 17px 0px;
  }

  .hamb-line {
    display: block;
    border-radius: 1ch;
    background: black;
    height: 0.6ch;
    position: relative;
    width: 3.5ch;
  }

  .hamb-line::before,
  .hamb-line::after {
    display: block;
    border-radius: 1ch;
    width: 100%;
    background: black;
    content: "";
    height: 100%;
    position: absolute;
    transition: all 0.5s ease-out;
  }

  .hamb-line::before {
    top: 1.2ch;
  }

  .hamb-line::after {
    top: -1.2ch;
  }

  nav {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .ColumnNo {
    column-count: 1;
  }

  .ColumnBreak {
    break-before: unset;
  }

  nav .content .links ul::before {
    content: "";
    background-color: unset;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  nav .content .links {
    display: block;
    position: fixed;
    top: 75px;
    right: -100%;
    height: 100%;
    width: calc(100% - 15px);
    overflow-y: auto;
    z-index: 5;
    border-top: 2px solid #fffb;
    border-left: 2px solid #fffb;
    border-bottom: 2px solid #3337;
    border-right: 2px solid #3337;
    border-radius: 10px;
    margin: 8px;
    padding-bottom: 100px;
    background-color: #cdc0c0;
    background-color: var(--menumobilebackgrcolor);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    transition: all 0.2s ease;
  }

  nav .content .links li {
    align-items: center;
    margin: 0;
    padding: 0;
  }
  nav .content .links li a.desktop-link {
    display: none;
  }

  .divider {
    display: none;
  }

  nav .content .links li a,
  nav .content .links li label {
    display: flex;
    border-radius: 0;
    border-bottom: 2px ridge hsl(0 0% 50% / 0.5);
    line-height: 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    z-index: 99;
  }

  nav .content .links li label::after {
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    content: "»";
  }

  .content .links li.sm {
    line-height: 60px;
    padding: 0px;
    margin: 0px;
    border: none;
  }

  .content .links li.sm label {
    display: flex;
    justify-content: space-around;
    margin: 20px 0px;
    text-align: center;
    border: none;
  }

  .content .links li.sm a {
    display: contents;
    border-radius: 0.5ch;
    border: none;
    padding: 2px 5px;
  }
  .content .links li.sm a:hover {
    background-color: var(--mobilemenusmlinkshover);
  }

  .content .links li.sm img {
    height: 50px;
    filter: drop-shadow(0px 0px 5px white);
  }

  nav .content .links li.sm label::after {
    position: initial;
    content: none;
  }

  nav .content .links li li a,
  nav .content .links li li label {
    border: none;
    border-radius: 0px;
    padding: 12px 18px;
    background: none;
    line-height: 0.9rem;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px ridge hsl(0 0% 50% / 0.5);
  }

  nav #show-menu:checked ~ .hamb .hamb-line {
    background: none;
  }

  nav #show-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-225deg);
    top: 0;
  }

  nav #show-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(225deg);
    top: 0;
  }

  nav #show-menu:checked ~ .content .links {
    right: 0%;
  }

  /* Dropdown responsive code start */

  nav .content .links ul,
  nav .content .links ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    background: none;
    max-height: 0px;
    overflow: hidden;
    width: 100%;
    margin-left: 15px;
    border: none;
    border-left: 2px ridge hsl(0 0% 50% / 0.5);
    border-radius: 0px;
    box-shadow: none;
    z-index: 999;
  }

  /* First Level */
  .content .links #show-aesthetics:checked ~ ul,
  .content .links #show-shealth:checked ~ ul,
  .content .links #show-more:checked ~ ul,

  /* Second Level */
  .content .links #show-facials:checked ~ ul,
  .content .links #show-fillers:checked ~ ul,
  .content .links #show-peels:checked ~ ul {
    max-height: max-content;
  }

  .content .links ul li {
    margin: 7px 20px;
  }

  nav .content .links ul li a {
    line-height: 0.9rem;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: left;
  }

  nav .content .links ul ul:first-of-type a {
    border-top: none;
  }

  .sitelogo {
    position: fixed;
    top: 8px;
    left: 12px;
    height: 60px;
  }
}

/*           29 Mar 2025 fawadanwar@gmail.com               */
