/*
Theme Name: Porto
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive Wordpress Multi Purpose + eCommerce Theme.
Version: 7.10.3
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: woocommerce, business, corporate, e-commerce, blog, news, education, food-and-drink, portfolio, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready, block-styles, custom-background, custom-colors, custom-header, custom-logo, footer-widgets, template-editing, grid-layout, one-column, wide-blocks
Text Domain: porto
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.bypostauthor { display: block; }


.contact-buttons {
    --contact-margin: 16px;

    position: fixed;
    right: calc(var(--contact-margin) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--contact-margin) + env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    width: max-content;
    max-width: calc(
      100vw - var(--contact-margin) - var(--contact-margin)
      - env(safe-area-inset-left, 0px)
      - env(safe-area-inset-right, 0px)
    );
    font-family: inherit;
  }

  .contact-buttons,
  .contact-buttons * {
    box-sizing: border-box;
  }

  .contact-buttons__notice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 6px 4px 10px;
    border-radius: 12px;
    background: #fff;
    color: #13233c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  .contact-buttons__notice[hidden] {
    display: none;
  }

  .contact-buttons__notice::before {
    content: "";
    flex: 0 0 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8f7e5;
  }

  .contact-buttons__notice::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
  }

  .contact-buttons .contact-buttons__close {
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #53667d;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .contact-buttons a.contact-buttons__button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 12px 20px;
    border-radius: 999px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .contact-buttons__icon {
    flex: 0 0 28px;
    font-size: 28px;
    line-height: 1;
    text-align: center;
  }

  .contact-buttons__text {
    min-width: 0;
  }

  .contact-buttons__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
  }

  .contact-buttons__text small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
  }

  .contact-buttons a.contact-buttons__whatsapp {
    background: #00823b;
    box-shadow:
      0 0 0 5px rgba(37, 211, 102, 0.3),
      0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .contact-buttons__whatsapp::after {
    content: "";
    position: absolute;
    top: 0;
    right: 6px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #25d366;
  }

  .contact-buttons a.contact-buttons__phone {
    background: #01c7de;
    box-shadow:
      0 0 0 5px rgba(1, 199, 222, 0.25),
      0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .contact-buttons :focus-visible {
    outline: 2px solid #13233c;
    outline-offset: 6px;
  }

  @media (hover: hover) and (pointer: fine) {
    .contact-buttons a.contact-buttons__button:hover {
      transform: translateY(-3px);
    }

    .contact-buttons a.contact-buttons__whatsapp:hover {
      box-shadow:
        0 0 0 7px rgba(37, 211, 102, 0.35),
        0 8px 18px rgba(0, 0, 0, 0.2);
    }

    .contact-buttons a.contact-buttons__phone:hover {
      box-shadow:
        0 0 0 7px rgba(1, 199, 222, 0.3),
        0 8px 18px rgba(0, 0, 0, 0.2);
    }
  }

  @media (max-width: 600px), (max-height: 480px) {
    .contact-buttons {
      --contact-margin: 12px;
      gap: 12px;
    }

    .contact-buttons a.contact-buttons__button {
      gap: 10px;
      min-height: 56px;
      padding: 10px 16px;
    }

    .contact-buttons__icon {
      flex-basis: 26px;
      font-size: 26px;
    }

    .contact-buttons__text strong {
      font-size: 13px;
    }

    .contact-buttons__notice {
      font-size: 11px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .contact-buttons a.contact-buttons__button {
      transition: none;
    }

    .contact-buttons a.contact-buttons__button:hover {
      transform: none;
    }
  }