/*
Theme Name:     Music and Video (child)
Description:    Child theme for custom styles and functions.
Author:         Yevhenii Yuriev
Template:       music-and-video
Version:        1.0
*/

@import url("../music-and-video/style.css");
body.home .trending_films ul li .video_title {
    position: absolute;
    bottom: 0;
    line-height: 22px;
    color: #fff;
    text-shadow: 1px 1px 0px rgb(0 0 0 / 80%);
    font-family: "Heebo-Medium";
    font-size: 22px;
    width: 100%;
    padding: 10px 20px;
    right: 0;
    text-align: right;
}
.woocommerce-edit-account .woocommerce-form-row + fieldset {
    padding-right: 0px;
}

.woocommerce-edit-account .woocommerce-Button.button {
    margin-right: 5px;
}

/* Search override */
/* Header Search */
@media (min-width: 769px) {
  .searchContainer.search-ready {
    position: relative !important;
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 46px;
    overflow: visible !important;
    z-index: 100;
  }

  /* Hide the original Elementor wrappers after initialization */
  .searchContainer.search-ready > .e-con-inner {
    display: none !important;
  }

  .header-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 120px;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
      background-color 160ms ease,
      color 160ms ease;
  }

  .header-search-trigger:hover,
  .header-search-trigger:focus-visible,
  .header-search-trigger[aria-expanded="true"] {
    background: #4b0032;
    color: #ffffff;
  }

  .header-search-trigger:focus-visible {
    outline: 2px solid #ed8923;
    outline-offset: 2px;
  }

  .header-search-trigger svg {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: currentColor;
  }

  /*
   * The panel is appended directly to the body.
   * This prevents clipping and prevents it from covering the account area.
   */
  .header-search-panel {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: min(430px, calc(100vw - 32px));
    padding: 14px;
    direction: rtl;
    background: #4b0032;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      visibility 160ms ease,
      transform 160ms ease;
    z-index: 999999;
  }

  .header-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-search-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
    margin-bottom: 10px;
  }

  .header-search-panel__title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
  }

  .header-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: background-color 150ms ease;
  }

  .header-search-close:hover,
  .header-search-close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
  }

  .header-search-close:focus-visible {
    outline: 2px solid #ed8923;
    outline-offset: 2px;
  }

  .header-search-panel .elementor-widget-search-form,
  .header-search-panel .elementor-widget-search-form .elementor-widget-container,
  .header-search-panel .elementor-search-form,
  .header-search-panel search {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .header-search-panel .elementor-search-form__container {
    display: flex !important;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100% !important;
    height: 48px;
    min-height: 48px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.16) !important;
  }

  .header-search-panel .elementor-search-form__input {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    opacity: 1 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 18px;
    line-height: 48px;
  }

  .header-search-panel .elementor-search-form__input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
  }

  .header-search-panel .elementor-search-form__input:focus {
    box-shadow: inset 0 0 0 2px rgba(237, 137, 35, 0.45) !important;
  }

  .header-search-panel .elementor-search-form__submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--e-global-color-secondary, #ed8923) !important;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
  }

  .header-search-panel .elementor-search-form__submit:hover,
  .header-search-panel .elementor-search-form__submit:focus-visible {
    filter: brightness(1.08);
  }

  .header-search-panel .advanceSearch {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .header-search-panel .advanceSearch .elementor-widget-container {
    width: 100%;
  }

  .header-search-panel .advanceSearch .elementor-heading-title {
    display: block;
    width: 100%;
    margin: 0;
  }

  .header-search-panel .advanceSearch a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.14);
    color: var(--e-global-color-secondary, #ed8923) !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .header-search-panel .advanceSearch a:hover,
  .header-search-panel .advanceSearch a:focus-visible {
    background: rgba(0, 0, 0, 0.25);
  }

  /* Keep the account area in its normal place */
  .account_hover {
    position: relative;
    z-index: 101;
  }
}

@media (max-width: 768px) {
  .header-search-trigger,
  .header-search-panel {
    display: none !important;
  }
}
/* Header Search End */