/*
Worto Responsive Styles
*/

@media screen and (min-width: 1200px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (min-width: 992px) {
}

@media screen and (max-width: 992px) {
  .site-header {
    height: 70px !important;
  }

  #mobile-site-branding .logo {
    width: 80px;
  }

  .menu-button,
  .account-button {
    background-color: #fff;
    font-size: 1.5rem;
    padding: 0;
  }

  .menu-button:hover,
  .account-button:hover {
    background-color: #fff;
    color: #0087cc;
  }

  #site-navigation {
    display: none !important;
  }

  #mobile-site-navigation {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    height: inherit;
    margin: 0 2rem;
  }

  #mobile-main-menu {
    height: 100vh;
    width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(33, 37, 41, 1);
    transform: translateX(-100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    padding-top: 60px;
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  #mobile-main-menu.active {
    transform: translateX(0);
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  #mobile-main-menu a,
  #mobile-main-menu span,
  #mobile-main-menu i {
    color: #fff;
  }

  #mobile-main-menu .closebtn {
    position: absolute;
    right: 1.5rem;
    font-size: 2.5rem;
    display: block;
  }

  #mobile-main-menu .closebtn:hover {
    color: #c21045;
  }

  .mobile-header-search {
    margin: 3.5rem 1.5rem 1.5rem 1.5rem;
  }

  .mobile-header-search .mobile-search-form {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    column-gap: 0.5rem;
  }

  .mobile-header-search input[type="search"] {
    background-color: initial;
    color: #fff;
    padding: 0;
    border: 0;
    border-radius: 0;
    width: 100%;
    line-height: 2rem;
  }

  .mobile-header-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }

  .mobile-header-search .mobile-search-submit {
    background-color: initial;
    color: #fff;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  #mobile-primary-menu {
    margin: 0 2rem 1.5rem 2rem;
    font-size: 1.2rem;
  }

  #mobile-primary-menu .sub-menu {
    display: none;
    padding-top: 0.5rem;
    padding-left: 1rem;
    font-size: 1rem;
  }

  #mobile-primary-menu .sub-menu i {
    font-size: 0.9rem;
  }

  #mobile-primary-menu > li {
    padding-bottom: 1rem !important;
  }

  #mobile-primary-menu .menu-item {
    padding-bottom: 0.5rem;
  }

  .toggle-menu-button {
    display: none;
  }

  #mobile-main-menu .menu-item-has-children > .toggle-menu-button {
    background-color: initial;
    padding: 0;
    border-radius: 0;
    vertical-align: middle;
    font-size: medium;
    float: right;
    display: inline;
  }

  .toggle-menu-button i {
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
  }

  .toggle-menu-button.rotate i {
    transform: rotate(180deg);
  }

  .mobile-header-buttons {
    margin: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .mobile-header-darkmode,
  .mobile-header-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.25rem;
  }

  .darkmode-button,
  .cart-button {
    background-color: rgba(255, 255, 255, 0.3) !important;
  }

  .darkmode-button:hover,
  .cart-button:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
  }

  #mobile-header-account {
    height: 100vh;
    width: 300px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 1);
    transform: translateX(-100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    padding-top: 60px;
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  #mobile-header-account.active {
    transform: translateX(0);
  }

  .account-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .account-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  #mobile-header-account .closebtn {
    position: absolute;
    left: 1.5rem;
    font-size: 2.5rem;
    display: block;
    color: #fff;
  }

  #mobile-header-account .closebtn:hover {
    color: #c21045;
  }

  #mobile-header-account .mobile-account-menu,
  #mobile-header-account .mobile-account-form {
    margin: 3.5rem 1.5rem 0 1.5rem;
    text-align: center;
  }

  #mobile-header-account .account-form-wrapper {
    width: 85%;
    margin: auto;
    text-align: start;
    font-size: 1.2rem;
  }

  #mobile-header-account
    .account-form-wrapper
    form
    .login-username
    label::before {
    content: "\f007";
    font-family: FontAwesome;
    margin-right: 0.4rem;
  }

  #mobile-header-account
    .account-form-wrapper
    form
    .login-password
    label::before {
    content: "\f084";
    font-family: FontAwesome;
    margin-right: 0.4rem;
  }

  #mobile-header-account .account-form-wrapper form .login-remember label {
    font-size: 1rem;
  }

  #mobile-header-account .account-form-wrapper input[type="text"],
  #mobile-header-account .account-form-wrapper input[type="password"],
  #mobile-header-account .account-form-wrapper input[type="submit"] {
    width: 100%;
  }

  #mobile-header-account .account-form-wrapper input[type="text"],
  #mobile-header-account .account-form-wrapper input[type="password"] {
    opacity: 0.7;
  }

  #mobile-header-account .account-form-wrapper input[type="text"]:focus,
  #mobile-header-account .account-form-wrapper input[type="password"]:focus {
    opacity: 1;
  }

  #mobile-header-account .account-form-wrapper input[type="submit"] {
    font-size: 1.2rem;
    background-color: #0087cc;
    color: #fff;
  }

  #mobile-header-account .account-form-wrapper input[type="submit"]:hover {
    background-color: #0076b2;
  }

  #mobile-header-account .account-form-or {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin: 1.5rem 0;
  }

  #mobile-header-account .account-form-or div {
    width: 100%;
    height: 1px;
    background-color: #ccc;
  }

  #mobile-header-account .account-form-reglost {
    display: flex;
    font-size: 1rem;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }

  #mobile-header-account .account-form-reglost a {
    color: #fff;
  }

  #mobile-header-account .account-form-reglost a:hover {
    color: #0087cc;
  }

  #mobile-header-account .mobile-account-menu li {
    padding-bottom: 1rem;
  }

  #mobile-header-account .mobile-account-menu a {
    color: #fff;
    font-size: 1.2rem;
  }
  #mobile-header-account .mobile-account-menu a:hover {
    color: #0087cc;
  }

  #mobile-header-account .mobile-account-menu .page_item {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
  }

  .post-content .post-summary {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .bottom-footer .social-media-links {
    margin-right: 7.5rem;
  }
}

@media screen and (max-width: 768px) {
  .main-container {
    flex-direction: column !important;
    row-gap: 1.5rem;
  }

  #primary,
  #secondary {
    width: 100% !important;
  }

  .bottom-footer {
    flex-direction: column !important;
    align-items: center;
    row-gap: 0.5rem;
  }

  .related-posts {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 1rem;
  }

  .woocommerce div.product .after-summary {
    flex-direction: column !important;
    row-gap: 1.5rem;
  }

  .woocommerce div.product .after-summary .product-main-section,
  .woocommerce div.product .after-summary .product-extra-section {
    width: 100% !important;
  }

  .woocommerce div.product .product-features-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}

@media screen and (min-width: 576px) {
}

@media screen and (max-width: 576px) {
  .wto-container {
    margin: 1.5rem 1rem !important;
  }

  .top-footer {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 0.5rem;
  }

  .post-info .author-meta,
  .post-info .comments-meta {
    display: none;
  }

  .next-previous-area {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }

  .author-area {
    flex-direction: column;
    row-gap: 1rem;
  }

  .author-box-about {
    text-align: center;
  }

  .author-links {
    margin-bottom: 0;
  }

  .related-posts {
    grid-template-columns: 1fr !important;
    row-gap: 1rem;
  }

  .comment-form-author,
  .comment-form-email {
    display: block !important;
    width: 100% !important;
  }

  .comment-form-author {
    margin-right: 0 !important;
  }

  .form-submit .submit {
    width: 100%;
  }

  .worto-login-register-page-container {
    margin: 2rem;
    padding: 1.5rem;
  }

  .woocommerce-before-shop-loop {
    flex-direction: column;
    row-gap: 0.75rem;
  }

  .woocommerce div.product .product-features-wrap {
    grid-template-columns: 1fr;
  }

  .worto-login-register-end-area {
    display: none;
  }
}
