/**
Theme Name: MyOwnTheme
Author: Just Me
Author URI: https://yuristonlineukr.com.ua
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myowntheme
Template: astra
*/

@import url("../astra/style.css");

/*Astra-menu*/
@media only screen and (min-width: 992px){
    .ast-desktop-header-content .ast-builder-menu-mobile .main-navigation, .ast-desktop-popup-content .ast-builder-menu-mobile .main-navigation{
        width:30% !important;
        margin-left: 10%;
    }
}

/* widget-social icons */
.list-items-wrapper{
	display: inline-flex!important;
	align-items: baseline!important;
}
#astra-widget-list-icons-7 #astra-widget-list-icons-wrapper .list-items-wrapper li:first-child {margin:auto!important;}

a{
text-decoration: none !important;
}

.whiteheading {
	text-shadow: 2px 2px 2px #4a4e57;
}

.wpcf7 form .wpcf7-response-output {
    background-color: beige;
    text-shadow: 0 2px rgb(255 255 255 / 60%);
}

.wpcf7-form-control-wrap input[type='email'], 
.wpcf7-form-control-wrap input[type='text'],
.wpcf7-form-control-wrap input[type='tel'] { 
    border: 1px solid #000000;
}
.popup_header {border: none !important;}
input.wpcf7-form-control.wpcf7-submit {
    display: block;
    margin: 0 auto;
}

/*Comments Spam Protection*/
#comment{
	position:absolute;
	left:-9000px;
}
.hello{
   left: auto;
}

.multibg-me {
  border: 5px dashed #dc8a84;
  background: linear-gradient(to top, #EEE, #EEE), darkturquoise;
  background-clip: padding-box, border-box;
}

.form-row.woocommerce-invalid .chzn-single,
.form-row.woocommerce-invalid .chzn-drop,
.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select {
    border:1px solid red;
}
.form-row.woocommerce-validated .chzn-single,
.form-row.woocommerce-validated .chzn-drop,
.form-row.woocommerce-validated input.input-text,
.form-row.woocommerce-validated select {
    border:1px solid green;
}

/* Order Subtotal */
.woocommerce-checkout-review-order-table .cart-subtotal { display: none !important; }
.wp-block-woocommerce-checkout-totals-block .wp-block-woocommerce-checkout-order-summary-subtotal-block { display: none !important; }

.woocommerce-privacy-policy-text, .woocommerce-privacy-policy-text p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #5b5b5b;
    font-style: italic;
}

/*FAQ*/
.faq-header{
  font-size: 26px;
  border-bottom: 1px dotted #ccc;
  padding: 24px;
}

.faq-content {
  margin: 0 auto;
}

.faq-question {
  padding: 18px 0;
  border-bottom: 1px dotted #ccc;
}

.panel-title {
  font-size: 24px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 10px 10px 0 48px;
  display: block;
  cursor: pointer;
}

.panel-content {
  font-size: 16px;
  padding: 0px 14px;
  margin: 0 40px;
  height: 0;
  overflow: hidden;
  z-index: -1;
  position: relative;
  opacity: 0;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}

.panel:checked ~ .panel-content{
  height: auto;
  opacity: 1;
  padding: 14px;
}

.plus {
  position: absolute;
  margin-left: 20px;
  margin-top: 4px;
  z-index: 5;
  font-size: 42px;
  line-height: 100%;
  -webkit-user-select: none;    
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
}

.panel:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}

/*Woocommerce messages*/
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  position: relative;
}

/* SUCCESS */
.woocommerce-message {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #166534;
}

/* ERROR */
.woocommerce-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #7f1d1d;
}

/* INFO */
.woocommerce-info {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  color: #1e3a8a;
}

/*Avialable coupon on product page*/
.gift-certificates {
  font-family: 'Roboto', sans-serif;
  border: 3px dashed #688ace;
  text-align: center;
}
.gift-certificates p {
  font-size: 18px;
}
.gift-certificates ul {
  list-style-type: none;
  padding: 0;
  margin: 8px 0;
}
.gift-certificates li {
  background: #ff0045;
  border-radius: 30px 0 0 30px;
  color: #fff;
  max-width: 360px;
  text-align: center;
  padding: 2px 5px;
  position: relative;
  margin: auto ;
}
.gift-certificates li:after {
  width: 0;
  height: 0;
  border: 12.5px solid transparent;
  position: absolute;
  content: "";
  border-top-color: #ff0045;
  right: -26px;
  top: 0px;
  border-left-color: #ff0045;
}
.gift-certificates li:before {
    width: 0;
    height: 0;
    border: 13px solid transparent;
    position: absolute;
    content: "";
    border-bottom-color: #ff0045;
    right: -22px;
    top: 6px;
}

.entry-content :where(h2) {
    font-size: 1.3rem !important;
}

/*відображення атрибутів продуктів в картках на сторінках каталогу, головній, архівів*/
.legal-attributes {
    padding-left: 20px;
}

/*Макет сторінки Каталог*/
/* Основний контейнер для розтягування */
.catalog-hero-wrapper.full-width-breakout {
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden; /* Щоб контент не вилазив за межі екрана */
}

/* Якщо всередині Hero є контент, який треба знову затиснути в межі сайту (1200px) */
.catalog-hero-wrapper.full-width-breakout > * {
    max-width: 1200px; /* Або ваша ширина контенту Astra */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;  /* Відступи, щоб текст не лип до країв на мобільних */
    padding-right: 20px;
}
html, body { overflow-x: hidden; }

/*Rank Math FAQ*/
/* 1. Контейнер списку (List CSS Class) */
.rankfaqlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

/* 2. Елемент списку (li) */
.rankfaqlist li {
    border: 1px solid #e1e1e1 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    display: block !important;
}

/* 3. Заголовок (Title Wrapper CSS Class) */
.rankfaqquestion {
    background-color: #fcfcfc !important;
    padding: 15px 20px 15px 45px !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222 !important;
    position: relative !important;
    display: block !important;
}

/* Плюс та мінус */
.rankfaqquestion::before, 
.rankfaqquestion::after {
    content: '' !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    background-color: #0073aa !important;
    transition: all 0.3s ease !important;
}

.rankfaqquestion::before {
    width: 12px !important;
    height: 2px !important;
    margin-top: -1px !important;
}

.rankfaqquestion::after {
    width: 2px !important;
    height: 12px !important;
    margin-left: 5px !important;
    margin-top: -6px !important;
}

/* 4. Стан, коли Li має клас .rank-active (додається скриптом) */
li.rank-active .rankfaqquestion {
    background-color: #f0f7fa !important;
}

li.rank-active .rankfaqquestion::after {
    transform: rotate(90deg) !important;
    opacity: 0 !important;
}

/* 5. Контент (Content Wrapper CSS Class) */
.rankfaqanswer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s ease-in-out !important;
    padding: 0 20px 0 45px !important;
    opacity: 0 !important;
    background: #fff !important;
}

/* Показуємо контент при активному класі */
li.rank-active .rankfaqanswer {
    max-height: 1000px !important;
    padding: 15px 20px 20px 45px !important;
    opacity: 1 !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* Приховати повідомлення про підключення до WooCommerce.com */
.woocommerce-embed-page #wpbody-content .notice {
    display: none !impotant;
}