/*
Theme Name: Дочерняя темя Storefront
Author: 
Description: Your description goes here
Version: 1.0
Template: storefront

This is the child theme for Storefront theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* CLINE_GLOBAL_INTER_FONT_START */
html, body,
h1, h2, h3, h4, h5, h6,
p, li, a,
button, input, textarea, select,
nav a, .main-navigation a, .secondary-navigation a,
.site-header, .site-footer,
.storefront-breadcrumb, .storefront-breadcrumb a,
.woocommerce-breadcrumb, .woocommerce-breadcrumb a,
.widget, .entry-content, .entry-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

h1, h2 {
    font-weight: 700 !important;
}

h3, h4, h5, h6,
.main-navigation a,
.secondary-navigation a,
.cline-pro-main-nav > a,
.cline-pro-top-right > a {
    font-weight: 500 !important;
}

body, p, li, a,
button, input, textarea, select,
.storefront-breadcrumb, .storefront-breadcrumb a,
.woocommerce-breadcrumb, .woocommerce-breadcrumb a {
    font-weight: 400 !important;
}
/* CLINE_GLOBAL_INTER_FONT_END */

.custom-product-button {
        background-color: #4CAF50; /* Цвет фона кнопки */
        color: white; /* Цвет текста кнопки */
        padding: 10px 15px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        text-decoration: none;
    }
   .custom-text-before-button {
        color: #555; /* Цвет текста перед кнопкой */
        font-size: 16px;
	   font-weight: 600;
        margin-bottom: 15px; /* отступ снизу*/
   }

    a.single_add_to_cart_button.button.alt.custom-product-link-button {
        background-color: #d0ab84; /* Цвет фона кнопки "ЗАРЕГИСТРИРОВАТЬСЯ" */
        color: white; /* Цвет текста кнопки "ЗАРЕГИСТРИРОВАТЬСЯ" */
        padding: 10px 15px;
        border: none;
        border-radius: 0px;
        text-align: center;
        display: inline-block!important;
    padding: 10px 20px;
        text-decoration: none;
		font-size:18px;
    }


        /* ----- БАЗОВАЯ СТИЛИЗАЦИЯ ВСЕХ ТАБЛИЦ TABLEPRESS ----- */
        .tablepress-with-copy { /* Теперь стили применяются только к таблицам с этим классом */
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            font-family: Arial, sans-serif;
            table-layout: fixed;
        }

        .tablepress-with-copy th,
        .tablepress-with-copy td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
            position: relative;
            vertical-align: top;
            box-sizing: border-box;
            white-space: normal;
            word-wrap: break-word;
            word-break: break-word;
            min-width: 100px;
        }

        .tablepress-with-copy th {
            background-color: #f2f2f2;
            font-weight: bold;
        }

        /* ----- СТИЛИ ДЛЯ СООБЩЕНИЯ "Скопировано!" ----- */
        /* Селекторы для copy-feedback-injected */
        .tablepress-with-copy td .copy-item-injected .copy-feedback-injected { /* Используем новый класс здесь */
            background-color: #28a745;
            color: white;
            padding: 4px 8px;
            border-radius: 3px;
            font-size: 0.8em;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            white-space: nowrap;
            position: absolute;
            z-index: 10;
            top: 50%;
            left: calc(100% + 10px);
            transform: translateY(-50%);
        }

        .tablepress-with-copy td .copy-item-injected .copy-feedback-injected.show {
            opacity: 1;
            visibility: visible;
        }

        .tablepress-with-copy td .copy-item-injected .copy-feedback-injected .fas.fa-check {
            margin-right: 5px;
        }

        /* Стили для .copy-item-injected, .copy-text-injected, .copy-button-injected, которые не начинаются с .tablepress, могут остаться как есть */

/* Стили для модального окна */
.cf7-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Оставаться на месте при прокрутке */
    z-index: 9999; /* Поверх всего */
    left: 0;
    top: 0;
    width: 100%; /* Занять всю ширину */
    height: 100%; /* Занять всю высоту */
    overflow: auto; /* Включить прокрутку, если контент слишком большой */
    background-color: rgba(0,0,0,0.7); /* Затемненный фон */
    justify-content: center; /* Центрировать контент по горизонтали */
    align-items: center; /* Центрировать контент по вертикали */
}

.cf7-modal-content {
    background-color: #fefefe;
    margin: auto; /* Автоматические отступы для центрирования */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Ширина модального окна */
    max-width: 500px; /* Максимальная ширина */
    border-radius: 8px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Анимация появления */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* Кнопка закрытия (крестик) */
.cf7-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.cf7-modal-close:hover,
.cf7-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Кнопка "Понятно" */
.cf7-modal-close-button {
    background-color: #007bff; /* Примерный цвет */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.cf7-modal-close-button:hover {
    background-color: #0056b3;
}

/* CLINE_FOOTER_UNIFY_ALL_PAGES_START */
#colophon.site-footer {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%) !important;
    color: #2f4768 !important;
    border-top: 1px solid #d8e6f6 !important;
    padding-top: 0 !important;
}

#colophon .col-full {
    max-width: 1200px !important;
}

#colophon .footer-widgets {
    border-bottom: 1px solid #d8e6f6 !important;
    padding-top: 2.4rem !important;
    padding-bottom: 1.6rem !important;
}

#colophon .footer-widgets .block {
    margin-bottom: 1rem !important;
}

#colophon.site-footer a,
#colophon.site-footer .widget a,
#colophon.site-footer .widget-title,
#colophon.site-footer .widgettitle,
#colophon.site-footer h1,
#colophon.site-footer h2,
#colophon.site-footer h3,
#colophon.site-footer h4,
#colophon.site-footer h5,
#colophon.site-footer h6 {
    color: #2a7db8 !important;
}

#colophon.site-footer .widget_nav_menu ul li a {
    color: #2f4768 !important;
    text-decoration: none !important;
}

#colophon.site-footer .widget_nav_menu ul li a:hover {
    color: #1496d4 !important;
}

#colophon .site-info {
    color: #5a6d86 !important;
    border-top: 1px solid #d8e6f6 !important;
    padding: 0.9rem 0 !important;
}

#colophon .site-info a,
#colophon .site-info span {
    display: inline !important;
}

#colophon .site-info a.privacy-policy-link {
    display: inline !important;
    margin-right: 8px;
}

#colophon .storefront-handheld-footer-bar,
#colophon .storefront-handheld-footer-bar ul li > a,
#colophon .storefront-handheld-footer-bar ul li.search .site-search {
    background: #eef6ff !important;
    color: #2f4768 !important;
    border-top-color: #d8e6f6 !important;
}
/* CLINE_FOOTER_UNIFY_ALL_PAGES_END */

/* CLINE_GLOBAL_HEADER_UNIFY_START */
:root{--atomy-container:1200px;--atomy-accent:#50b5ef;--atomy-accent-hover:#56c1ff;--atomy-accent-dark:#329fc9;}

#masthead.header-main{
  position:relative;
  background:#fff;
  border-bottom:1px solid #f0f0f0;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  z-index:1000;
}

.header-glass{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1001;
  transform:translateY(-110%);
  opacity:0;
  pointer-events:none;
  transition:transform .28s ease,opacity .28s ease;
}
.header-glass.is-visible{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
.header-glass .glass-wrap{
  max-width:var(--atomy-container);
  margin:10px auto 0;
  border-radius:10px;
  border:1px solid #f0f0f0;
  background:rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  box-shadow:0 6px 25px rgba(0,0,0,.06);
}
.header-main .cline-pro-topbar{
  max-width:var(--atomy-container);
  width:100%;
  margin:0 auto;
  padding:15px 16px !important;
  border-bottom:0;
  background:transparent;
}
.header-glass .cline-pro-topbar{
  padding:15px 16px !important;
  border-bottom:0;
  background:transparent;
}
.header-glass .site-title,
.header-glass .site-description,
.header-glass .site-branding p,
.header-glass .entry-title{display:none !important;}
.header-glass a.custom-logo-link:after{content:none !important;display:none !important;}
.cline-pro-top-right .flash-btn{
  position:relative;
  overflow:hidden;
  background:var(--atomy-accent)!important;
  border-radius:7px!important;
  text-transform:uppercase;
  font-weight:600!important;
}

@media (min-width:981px){
  /* CLINE_DESKTOP_NAV_UNIFY_START */
  .header-main .cline-pro-main-nav > a,
  .header-main .cline-pro-drop-toggle,
  .header-glass .cline-pro-main-nav > a,
  .header-glass .cline-pro-drop-toggle{
    display:inline-flex;
    align-items:center;
    height:40px;
    font-size:16px !important;
    font-weight:600 !important;
    line-height:1 !important;
    letter-spacing:0;
    color:#243547;
  }

  .header-main .cline-pro-drop-toggle,
  .header-glass .cline-pro-drop-toggle{
    gap:8px;
  }

  .header-main .cline-pro-drop-toggle::after,
  .header-glass .cline-pro-drop-toggle::after{
    content:"";
    display:inline-block;
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:7px solid currentColor;
    opacity:.95;
    transform:translateY(1px);
    transition:transform .2s ease,opacity .2s ease;
  }

  .header-main .cline-pro-drop:hover > .cline-pro-drop-toggle::after,
  .header-main .cline-pro-drop:focus-within > .cline-pro-drop-toggle::after,
  .header-glass .cline-pro-drop:hover > .cline-pro-drop-toggle::after,
  .header-glass .cline-pro-drop:focus-within > .cline-pro-drop-toggle::after{
    transform:translateY(1px) rotate(180deg);
    opacity:1;
  }
  /* CLINE_DESKTOP_NAV_UNIFY_END */
}

@media (max-width:980px){
  #content.site-content{padding-top:64px}
  .header-main .cline-pro-topbar,.header-glass .cline-pro-topbar{padding:12px 14px!important}
  .header-main .cline-pro-main-nav,.header-glass .cline-pro-main-nav{display:none!important}
}
/* CLINE_GLOBAL_HEADER_UNIFY_END */

/* CLINE_MOBILE_COMPACT_HEADER_START */
@media (max-width:980px){
  #masthead.header-main{display:none !important;}
  #content.site-content{padding-top:34px !important;}

  .header-glass{
    top:0;
    z-index:1003;
  }
  .header-glass .glass-wrap{
    margin:0 !important;
    border-radius:0 !important;
    border-left:0 !important;
    border-right:0 !important;
  }
  .header-glass .cline-pro-topbar{
    max-width:none !important;
    padding:6px 10px !important;
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .header-glass .cline-pro-top-left,
  .header-glass .cline-pro-top-right{
    width:100%;
  }
  .header-glass .cline-pro-top-left{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }
  .header-glass .cline-pro-logo img{height:36px !important;}

  .header-glass .cline-pro-main-nav{display:none !important;}
  .header-glass .cline-mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:78px;
    height:34px;
    border:1px solid #dbe4ef;
    border-radius:8px;
    background:#ffffff;
    color:#2b3b4f;
    font-size:13px;
    font-weight:700;
    line-height:1;
    padding:0 10px;
  }
  .header-glass .cline-mobile-menu-toggle .icon{font-size:18px;line-height:1;}
  .header-glass .cline-mobile-menu-toggle .label{font-size:12px;line-height:1;text-transform:uppercase;letter-spacing:.2px;}
  .header-glass .cline-mobile-dropdown{
    display:none;
    grid-template-columns:1fr;
    gap:6px;
    width:100%;
    border:0;
    border-radius:0;
    background:transparent;
    padding:0;
  }
  .header-glass .cline-mobile-dropdown.is-open{display:grid;}
  .header-glass .cline-mobile-dropdown a{
    display:block;
    padding:9px 10px;
    background:#f4f8ff;
    color:#1f3650;
    text-decoration:none;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
  }
  .header-glass .cline-mobile-dropdown a:hover{background:#f2f9fe;color:#1293cf;}

  .header-glass .cline-pro-top-right{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin:0;
  }
  .header-glass .cline-pro-top-right a{
    margin:0 !important;
    padding:7px 6px !important;
    font-size:11px;
    text-align:center;
    border-radius:8px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  #headerGlassLauncher{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1004;
    padding:4px 8px;
    background:transparent;
    opacity:0;
    transform:translateY(-110%);
    pointer-events:none;
    transition:transform .28s ease,opacity .28s ease;
  }
  #headerGlassLauncher.is-visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  #headerGlassLauncher button{
    width:100%;
    height:24px;
    border:1px solid rgba(255,255,255,.55);
    border-radius:999px;
    background:rgba(255,255,255,.38);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    color:#1f2937;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.2px;
    padding:0;
    line-height:1;
  }
}
/* CLINE_MOBILE_COMPACT_HEADER_END */

/* CLINE_HOME_HEADER_FOOTER_LOCK_ALL_PAGES_START */
/* Жестко фиксируем вид шапки/подвала как на главной для всех страниц */
#masthead.site-header.cline-pro-header.header-main{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  width:100% !important;
  z-index:1000 !important;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(0,0,0,.05) !important;
  border-bottom:1px solid #f0f0f0 !important;
}

@media (min-width:981px){
  #masthead.site-header.cline-pro-header.header-main{
    display:block !important;
  }

  #headerGlass.header-glass{
    top:0 !important;
    left:0 !important;
    width:100% !important;
    z-index:1001 !important;
  }

  #headerGlass.header-glass .glass-wrap{
    max-width:1200px !important;
    margin:10px auto 0 !important;
    border-radius:10px !important;
    border:1px solid #f0f0f0 !important;
    background:rgba(255,255,255,.8) !important;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    box-shadow:0 6px 25px rgba(0,0,0,.06) !important;
  }

  #headerGlass .cline-pro-topbar,
  #masthead .cline-pro-topbar{
    max-width:1200px !important;
    margin:0 auto !important;
    padding:15px 16px !important;
    border-bottom:0 !important;
    background:transparent !important;
  }
}

@media (max-width:980px){
  #masthead.site-header.cline-pro-header.header-main{display:none !important;}

  #headerGlass.header-glass{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:100% !important;
    z-index:1102 !important;
  }

  #headerGlass .glass-wrap{
    margin:0 !important;
    border-radius:0 0 12px 12px !important;
    border-top:0 !important;
  }

  #headerGlass .cline-pro-topbar{
    padding:8px 10px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
  }

  #headerGlass .cline-pro-top-left{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
  }

  #headerGlass .cline-pro-logo img{height:30px !important;}

  #headerGlass .cline-pro-top-right{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
  }

  #headerGlass .cline-pro-top-right a{
    margin:0 !important;
    padding:7px 6px !important;
    border-radius:8px !important;
    font-size:11px !important;
    line-height:1.2 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  #headerGlassLauncher{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1105 !important;
    padding:4px 8px !important;
  }

  #headerGlassLauncher button{
    width:100% !important;
    height:24px !important;
    border:1px solid rgba(255,255,255,.55) !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.38) !important;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    box-shadow:0 4px 12px rgba(0,0,0,.08) !important;
    color:#1f2937 !important;
    font-size:12px !important;
    font-weight:700 !important;
    letter-spacing:.2px !important;
    padding:0 !important;
    line-height:1 !important;
  }
}

#colophon.site-footer .widget_nav_menu ul li a,
#colophon.site-footer .widget_nav_menu ul li,
#colophon.site-footer .widget,
#colophon.site-footer .widget-title,
#colophon.site-footer .widgettitle{
  font-size:15px !important;
  line-height:1.45 !important;
}
/* CLINE_HOME_HEADER_FOOTER_LOCK_ALL_PAGES_END */

