/*
Theme Name: PLRA Theme
Author: IT Company Razvitie
Version: 2025
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: PLRA

PLRA WordPress Theme 2025
PLRA is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

.e-loop-item .swiper-slide img {
  height: 200px;          /* фиксированная высота */
  width: 100%;
  object-fit: cover;      /* обрезает без искажений */
  object-position: center;
  display: block;
}

.elementor-element.elementor-pagination-position-outside .swiper, .elementor-lightbox.elementor-pagination-position-outside .swiper {
	padding-bottom: 0px !important;
}

@media (max-width: 768px) {
  	.e-loop-item .swiper-slide img { height: 180px; }
	
	/* опционально: на мобиле немного выше от края */
	.e-loop-item .elementor-widget-image-carousel .swiper-pagination,
  	.e-loop-item .elementor-widget-gallery .swiper-pagination {
    	bottom: 12px;
  }
}

/* ставим точки поверх изображения, по центру снизу */
.e-loop-item .elementor-widget-image-carousel .swiper,
.e-loop-item .elementor-widget-gallery .swiper {
  position: relative;
  overflow: hidden;
}

.e-loop-item .elementor-widget-image-carousel .swiper-pagination,
.e-loop-item .elementor-widget-gallery .swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 0px;                  /* расстояние от низа изображения */
  transform: translateX(-50%);
  width: auto;
  display: flex;
  gap: 8px;
  padding: 0;
  background: transparent;       /* без подложки */
  z-index: 5;
}

/* сами кружки */
.e-loop-item .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255,255,255,0.45); /* серые/полупрозрачные */
  opacity: 1;
  border: 0;
  transition: transform .18s ease, background .18s ease;
}

/* активная — белая и чуть крупнее */
.e-loop-item .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.25);
}
}

/* кнопка сортировки в каталоге */
.catalog-sort select,
.catalog-sort .select2-selection--single {
  background: transparent;
  color:#E2E2E2;
  border:1px solid #E2E2E2;
  border-radius:10px;
  padding:10px 42px 10px 16px;
  font-size:15px;
  cursor:pointer;
}

.catalog-sort select {
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E2E2E2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
}

/* убираем двойную стрелку у Select2 */
.custom-select-wrapper .select-arrow {
  display: none !important;
}


/*---------------product--------------- */

/* Основной контейнер */
.woocommerce-product-attributes {
    position: relative;
    border: none !important;
    margin: 0 !important;
    width: 100%;
}

/* Строки атрибутов */
.woocommerce-product-attributes tr {
    display: flex !important;
    align-items: baseline;
    padding: 0px 0;
    border: none !important;
    width: 100%;
    position: relative;
}

.woocommerce-product-attributes th {
	color: white !important;
    flex: 0 0 auto;
    text-align: left;
    font-weight: 400 !important;
    color: #8E8E8E;
    white-space: nowrap;
    padding: 0 2px 0 0 !important;
    font-size: 20px;
    order: 1;
}

.woocommerce-product-attributes tr::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 0 0px;
    order: 2;
}

.woocommerce-product-attributes td {
    flex: 0 0 auto;
    color: #EDEDED;
    text-align: right;
    white-space: nowrap;
    padding: 0 0 0 2px !important;
    font-size: 15px;
    border: none !important;
    order: 3;
	font-size: 20px;
}

/* Заголовок "Размеры" перед первой строкой */
.woocommerce-product-attributes tr:first-child {
    margin-top: 30px;
}

.woocommerce-product-attributes tr:first-child::before {
    content: 'Размеры';
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    font-weight: 400 !important;
    color: #A8A8A8;
    font-size: 20px;
}

/* Заголовок "Основные" перед второй строкой */
.woocommerce-product-attributes tr:nth-child(2) {
    margin-top: 50px;
}

.woocommerce-product-attributes tr:nth-child(2)::before {
    content: 'Основные';
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    font-weight: 400 !important;
    color: #A8A8A8;
    font-size: 20px;
}

/* Заголовок "Материалы" перед пятой строкой */
.woocommerce-product-attributes tr:nth-child(5) {
    margin-top: 50px;
}

.woocommerce-product-attributes tr:nth-child(5)::before {
    content: 'Материалы';
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    font-weight: 400;
    color: #A8A8A8;
    font-size: 20px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .woocommerce-product-attributes th,
    .woocommerce-product-attributes td {
        font-size: 14px;
        white-space: normal;
    }
    
    .woocommerce-product-attributes tr {
        padding: 6px 0;
    }
    
    .woocommerce-product-attributes tr:first-child,
    .woocommerce-product-attributes tr:nth-child(2),
    .woocommerce-product-attributes tr:nth-child(5) {
        margin-top: 40px;
    }
    
    .woocommerce-product-attributes tr::before {
        font-size: 14px;
        top: -25px;
    }
}


/*---------------product--------------- */