/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Base Layout.
 */

.container {
  width: 100%;
  max-width: var(--max-width);
  padding-inline: var(--container-padding);

  /* This fixes an issue where if the toolbar is open in vertical mode, and
   * the mobile navigation is open, the "close" button gets pushed outside of
   * the viewport. */
}

body.is-fixed .container {
  width: calc(100% - var(--drupal-displace-offset-left, 0px) - var(--drupal-displace-offset-right, 0px));
}

.page-wrapper {
  max-width: 100%; /*var(--max-bg-color);*/
  background: var(--color--white);
}

/**
 * Creates stacking context ensuring that child elements can never appear in
 * front of mobile navigation.
 */

.layout-main-wrapper {
  position: relative;
  z-index: 2; /* Ensure dropdown is not cut off by footer. */
}


  #block-olivero-produkciyafujifilm {
    background: rgba(0,0,0,0) url(/sites/default/files/block19.jpg) no-repeat scroll calc(12% - var(--content-left)) -161px;    
    height: 360px;
  }
  
  #block-olivero-produkciyafujifilm .block__content {
    padding-left: 20%;
    padding-top: 30px;
    margin: 0 auto;
    width: 80%;
  }
  
  
#block-olivero-nashiklienti h2 {
  font: 42px/55px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
  
.partners__logos{
margin:0;
}  
.partners__logos > li {
  float: left;
  width: 50%;
  padding: 0;
  height: auto;
  list-style: none;
}

.partners__logos > li figure {
  display: table-cell;
  vertical-align: middle;
  height: var(--sp11);
  background: #fff;
  padding-left: 10px;
  padding-right: 10px;
}
.partners__logos > li figure a{
min-width:100px;
}

.view.view-catalog{
  display: block;
}
.view-catalog .view-content{
  display: flex;
  flex-wrap: wrap;
  margin: -10px; /* для компенсации отступов */
  gap: normal;
}

.view-catalog .view-content .views-row {
  padding: 10px;
  width: calc(100% /3); /* для 4-х товаров в ряд */
  position: relative;
}
.views-field-field-ribbon,
.views-field-field_ribbon{
position: relative;
}
.views-field-field-ribbon .views-field-field-ribbon,
.views-field-field_ribbon .views-field-field-ribbon{
position: absolute;
}

.field--name-field-ribbon,
.views-field-field-ribbon .fribbon a,
.views-field-field_ribbon .fribbon a{
  color: red;
  /*display: block;
  font-size: 16px;
  font-weight: bold;
  height: 133px;
  width: 100%;*/
}


.views-field-field-ribbon .views-field-field-ribbon.ribbon-1,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-1{
  background: url(/sites/default/files/new.png) no-repeat scroll 0 0 transparent;
  height: 84px;
  text-indent: -9999px;
  top: 0;
  width: 84px;
}

#block-olivero-content .field__item.ribbon-4,
.views-field-field-ribbon .views-field-field-ribbon.ribbon-4,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-4{
  background: none no-repeat scroll 0 0 #FFFFFF;
  font-weight: bold;
  height: auto;
  opacity: 0.4;
  padding: 50% 0 40% 0;
  width: 100%;
  text-align: center;
}
#block-olivero-content .field__item.ribbon-4,
.views-field-field-ribbon .views-field-field-ribbon.ribbon-4 a,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-4 a{
  color: red;
  display: block;
  width: 100%;
}

#block-olivero-content .field__item.ribbon-5,
.views-field-field-ribbon .views-field-field-ribbon.ribbon-5 a,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-5 a{
  color: #c6c6c6;
  font-weight: normal;
}
#block-olivero-content .field__item.ribbon-6,
.views-field-field-ribbon .views-field-field-ribbon.ribbon-6 a,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-6 a{
color: black;
}
#block-olivero-content .field__item.ribbon-1,
#block-olivero-content .field__item.ribbon-7{
color: #54c63a;
}
.views-field-field-ribbon .views-field-field-ribbon.ribbon-7,
.views-field-field_ribbon .views-field-field-ribbon.ribbon-7{
display: none;
}

.view-catalog .view-content .views-row img{
padding: 10%;
}

.view-catalog .pager__item{
display: inline-flex;
  text-align: center;
}
.view-catalog .pager__items{
  white-space: nowrap;
  display: inline-block;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}
.pager__items.js-pager__items{
-webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
  padding-bottom: 10px; /* Для видимости тени или отступа */
}
 
.view-catalog .layout--content-medium{
overflow: auto; 
}

/* Стили для старой и новой цены */
.view-catalog .view-content .views-row .field_old_price {
  color: #565959;
  text-decoration: line-through;
  white-space: nowrap; 
    font-size: 0.8rem;
    line-height: 1.6rem;
}

.view-catalog .view-content .views-row .price__number {
  font-weight: bold;
  white-space: nowrap;  
}
.view-catalog .view-content .views-field-price__number,
.view-catalog .view-content .views-row .price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px; 
  flex-wrap: nowrap;  
}

.views-field-title {
    flex-grow: 1;
    display: flex;
  min-height: calc(2*var(--line-height-base));
}

.order-information .view-commerce-order-item-table thead tr{
border-block-end: 2px solid var(--color--primary-50);
}

.order-information .view-commerce-order-item-table tbody tr{
    border-block-end: 2px solid var(--color--gray-65);
}
.order-information .view-commerce-order-item-table tbody tr:last-child{
border:none;
}

.order-information .view-commerce-order-item-table td,
.order-information .view-commerce-order-item-table th{
border:none;
}
#block-olivero-content .order-information  .views-field-unit-price__number{
width:auto;
}

/*.entity-commerce_product-default .field--name-field-image .field__item{
width: 20%;
  float: left;
}
.entity-commerce_product-default .field--name-field-image .field__item:nth-child(1){
width: 100%;
}
.entity-commerce_product-default .field--name-field-image{
display: inline-block;
}*/

/* Base styles for all screen sizes */
.slick--field-image,
.field--name-field-image {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.slick--field-image .slide__content,
.field--name-field-image .field__item {
  width: 23%;
  margin-bottom: 10px;
}
.slick--field-image .slide__content:first-child,
.field--name-field-image .field__item:first-child {
  width: 100%;
}
.slick--field-image .slide__content img,
.field--name-field-image .field__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Styles for screens larger than 767px */

@media screen and (min-width: 768px) {

.field--name-variations{
display: flex;
}

  article {
  }

  .slick--field-image .slide__content img,
  .field--name-field-image .field__item img {
    width: 80%;
  }
  
  .slick--field-image,
  .field--name-field-image {
    width: 60%;
    float: left;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px #d5d9d9 solid;
  }


  .field--name-variations {
  }

  .custom-price-wrapper {
  }
  .price-integer {
    font-size: 22px;
  }

  .field--name-field-ribbon {
   width: calc(60%-24px);
  }


  .field--name-body {
    width: 100%;
    float: left;
    clear: both;
  }

  .field--name-field-tags-prod {
    float: left;
    width: 100%;
  }


  .field--name-field-image .field__item:not(:first-child) {
    width: calc(20% - 10px);
  }
  .view-catalog .view-content .views-row {
  position: relative;
  }
  .view-catalog .view-content .views-row .price-wrapper{
  position: absolute;
  }
  .view-catalog .view-content .views-row .form-item-purchased-entity-0-variation{
  width: 60%;
  margin-left: auto;
  margin-bottom: 0;
  height: 26px;
  }
  .view-catalog .view-content .views-row .commerce-order-item-add-to-cart-form{
  height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  }
  .view-catalog .view-content .views-row .commerce-order-item-add-to-cart-form .form-actions{
  align-items: end;
  }
  
  .view-catalog .pager{
  margin-top: 60px;
  }
   
  
  
}

.form-item-purchased-entity-0-variation label.form-item__label{
    display:none;
}
 /*#block-olivero-content .field--label-hidden .form-item__label,*/
.view-catalog .view-content .views-row .views-field-variations_target_id .form-item__label,
.view-catalog .view-content .views-row .views-field-variations-target-id .form-item__label{
    display:none;
}


/* mobile */
@media screen and (max-width: 767px) {

  .view-catalog .view-content .views-row {
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  transform: translate3d(0,0,0);
  margin-bottom: 8px;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr; /* Вторая строка растягивается */
    /*grid-template-rows: auto auto;*/
    grid-template-areas: 
      "image title"
      "image price";
    padding:0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }
  
  .view-catalog .view-content .views-row .views-field-variations_target_id,
  .view-catalog .view-content .views-row .views-field-variations-target-id,
  .view-catalog .view-content .views-row .price-wrapper,
  .view-catalog .view-content .views-row .views-field-price__number,
  .view-catalog .view-content .views-row .views-field-title{
    padding: 10px;
    background-color: #f7f7f7;
  }
  
  
  .view-catalog .view-content .views-row .views-field-field-ribbon,
  .view-catalog .view-content .views-row .views-field-field_ribbon {
    position: absolute;
    white-space: nowrap;
    top: -2px;
    left: -2px;
    z-index: 10;
  }
  .view-catalog .view-content .views-row .views-field-field-ribbon .views-field-field-ribbon.ribbon-1,
  .view-catalog .view-content .views-row .views-field-field_ribbon .views-field-field-ribbon.ribbon-1{
    top: 0px;
    left: 0px;
  }
  
  .views-field-field_ribbon .views-field-field-ribbon.ribbon-4{
  position:relative;
  }
  .view-catalog .view-content .views-row .views-field-field-image,
  .view-catalog .view-content .views-row .views-field-field_image{
    grid-column: 1 / 2;
    grid-row: 1 / span 4;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }
  
  
    /* Остальные поля – распределяются по правой колонке.
     Так как в HTML они идут по порядку:
     1-й – ribbon (уже обработан),
     2-й – image,
     3-й – title,
     4-й – field-old-price,
     5-й – price__number,
     6-й – variations-target-id. */
     
  /* Заголовок (child 3) – правая колонка, первая строка */
  .view-catalog .view-content .views-row > .views-field:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  


.view-catalog .view-content .views-row .views-field-variations_target_id {
  display: flex;
  align-items: center;  
  justify-content: center;
  background-color: #f7f7f7;  
  height: 100%;  
}

/* Если внутри ничего нет, всё равно заполняем высоту */
.view-catalog .view-content .views-row .views-field-variations_target_id:empty {
  min-height: 50px; 
}

  
  

}
  
/* Contains the social sidebar, and the primary content area. */

@media (min-width: 75rem) {
  .layout-main {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
  }
}

@media (min-width: 75rem) {
  .main-content {
    width: calc(100% - var(--content-left));
    margin-inline-end: auto;
  }
  
  .span6 {
    width: calc(var(--max-width)/2);/*570px;*/
    float: left;
    /*margin-left: 30px;*/
    min-height: 1px;
  }
  
  #block-olivero-produkciyafujifilm {
    background: rgba(0,0,0,0) url(/sites/default/files/block19.jpg) no-repeat scroll 0 -161px;
  }
  
  #block-olivero-produkciyafujifilm .block__content {
    line-height: 24px;

    padding-left: 40%;
    padding-top: 80px;
    
  }
  
  .partners__logos > li {  
    width: 25%;
  }
  
}

  .service-box.extra h2 {
    margin: 0 0 24px;
    font: 42px/55px;
  }


  #block-olivero-produkciyafujifilm .block__content p{
  color: #fff;
  }
  #block-olivero-produkciyafujifilm .block__content a{
  color: #412414;
  box-shadow: 0 2px 0 0 0 var(--color--primary-50);
  }

.main-content__container {
  padding-block-start: var(--sp3);
}

@media (min-width: 43.75rem) {
  .main-content__container {
    padding-block-start: var(--sp5);
  }
  

}


.block-photo-print{
  padding: 12px;
  border: 1px solid #d5d9d9;
  margin: 20px auto;
  border-radius: 5px;
}

.view-staty .views-row{
border-bottom:5px solid #d5d9d9;
padding: 0 0 30px 0;
}

/*
 * Contextual link wrappers load without the ".contextual" CSS class, which
 * causes layout shifts. We fix this by setting this to position: absolute;
 */

[data-contextual-id]:not(.contextual) {
  position: absolute;
}

#commerce-checkout-flow-multistep-default #edit-login{
display:none;
}

#edit-payment-information-billing-information-field-ucxf-selected-post-wrapper,
#edit-payment-information-billing-information-field-ucxf-cityname-wrapper,
.form-item-payment-information-billing-information-field-ucxf-standartpack-0-value input{
  display: none;
  visibility: hidden;
  content: ".";
  clear: both;
  text-indent: -9999px;
  height: 0;
}



.commerce-order-item-table{
  display: flex;
}
.field--name-order-items .views-row,
.checkout-order-summary .order-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-block-end: 2px solid var(--color--gray-65);
}

.commerce-order-item-table .views-field-field-image,
.field--name-order-items .views-field-field-image,
.checkout-order-summary .order-item-image {
  align-self: flex-start;
  margin-right: 1.5rem;
  flex: 0 0 6rem;
}
.commerce-order-item-table .views-field-field-image{
  margin-left: 1.5rem;
}

.commerce-order-item-table .views-item-container,
.field--name-order-items .views-item-container,
.checkout-order-summary .item-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.field--name-order-items .views-field-title,
.checkout-order-summary .order-item-title {
  display: flex;
  flex-grow: 1;
}
.commerce-order-item-table .views-field-title{
  align-items: center;
}
.commerce-order-item-table .cart-item-pricing,
.field--name-order-items .cart-item-pricing,
.checkout-order-summary .custom-price-wrapper {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-weight: normal;
}

.commerce-order-item-table .views-field-quantity,
.order-information .views-field-quantity,
.checkout-order-summary .views-field-quantity,
.checkout-order-summary .order-item-quantity{
margin-right:6px;
}

.commerce-order-item-table .views-field-total-price__number {
    display:none;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1.25rem;
  padding-top: 1rem;
  margin-left: auto;
}
@media (min-width: 75rem) {
  .commerce-order-item-table .views-field-total-price__number {
    display:block;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.25rem;
    padding-top: 1rem;
    margin-left: auto;
  }

}

.view-commerce-user-orders .commerce-order-item-table .views-field-total-price__number{
padding-top:0;
margin-right: 1rem;
}
#block-olivero-content .commerce-order-item-table .views-field-unit-price__number{
width: auto;
}
.commerce-order-item-table .price-integer{
  font-size: 16px;
}
.commerce-order-item-table .price-integer,
.commerce-order-item-table .price-decimal,
.commerce-order-item-table .currency{
font-weight: normal;
}
.commerce-order-item-table .views-field-order-items-target-id{
margin-top: 1rem;
}
.commerce-user-orders {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-block-end: 2px solid var(--color--gray-65);
  border: 1px solid var(--color--gray-65);
  border-radius: 8px 8px 0 0;
} 


.commerce-user-orders .order-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #f0f2f2;
  padding: 14px 18px;
  border-radius: 8px 8px 0 0;
  flex-wrap: wrap;
}

.order-summary .views-field{
    flex: 0 0 calc(50% - 0.5rem);
}

@media (min-width: 75rem) {
  .order-summary .views-field {
    flex: 1; /* Each field takes equal space */
    min-width: 0; /* Prevents overflow issues */
    text-align: left; /* Align text as desired */
  }
  
  .commerce-user-orders .order-summary{
    flex-wrap:unset;
    }

}

.views-field-order-items-target-id{
padding-top:14px;
}

#block-olivero-views-block-commerce-user-orders-block-1 .view-commerce-user-orders{
display: block;
}



/* Стили для триггера */

#block-olivero-page-title{
margin:0;
padding:0;
line-height: calc(3 * 1.125rem);
}
.accordion-trigger h1.page-title,
.path-search #block-olivero-content h2 {
  cursor: pointer;
padding: 0 14px 0 14px;
  border-radius: 4px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  font-size: 1.75rem;
  line-height: calc(3 * 1.125rem);
  margin-block:0;
  position: relative;
}

.accordion-trigger h1.page-title{
margin:0;
line-height: calc(3 * 1.125rem);

}

.accordion-trigger h1.page-title:hover,
#block-olivero-content h2:hover {
background-color: #f6f6f6;
}
.accordion-trigger h1.page-title.is-open,
#block-olivero-content h2.is-open {
  background-color: #d0d0d0;
  margin: 0px auto;
}

/* Стили для контейнера содержимого */
.accordion-content {
  overflow: hidden;
}

/* SVG-иконки */
.accordion-icon {
          display: inline-block;
          vertical-align: middle;
          margin-left: 8px;
          width: 16px;
          height: 16px;
          transition: transform 0.3s ease;
          cursor: pointer;
        }
        .accordion-plus {
          fill: currentColor;
        }
        .accordion-minus path {
          d: path("M1.5 8a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75z");
        }
        .is-open .accordion-icon {
          transform: rotate(180deg);
        }
        .path-search h1.page-title,
        .path-search #block-olivero-content h2 {
          display: flex;
          align-items: center;
          justify-content: space-between;
          cursor: pointer;
        }
        
.main-content__container .sticky-header-toggle__icon > span{
background-color: #000;
  opacity: 0.3; 
}

.path-search .entity-search_page-search_page main[role="main"] {
box-shadow: 0px -20px 40px rgba(0, 0, 0, 0.08);
  padding: 40px 10px 10px;
  border-radius: 4px;  
}

#block-olivero-views-block-search-in-product-index-block-1{
padding-left: 14px;
  padding-right: 14px;
  }
#block-olivero-views-block-search-in-product-index-block-1 h2{
  margin-top: 10px;
}

.path-search .entity-search_page-search_page .accordion-container ol{
  margin-top: 30px;
  padding-right: 14px;
}

#edit-help-link{
display:none;
  visibility: hidden;
}

.view-search-in-product-index .views-field-field-image{
padding: 40px;
  text-align: center;
}

.view-search-in-product-index .views-field-title{
  text-align: center;
}

.view-search-in-product-index .views-field-price  .field-content{
display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 8px;
}
.view-search-in-product-index .views-field-title .field-content{

display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  }
  
.view-search-in-product-index .views-field-title .field-content a{
  color: #000;
  text-decoration: none;
}

.view-search-in-product-index .views-field-title .field-content a{
  text-decoration: underline;
}


/*убираем дублирование на страницах каталога */
.path-taxonomy  .view-taxonomy-term.view-id-taxonomy_term.view-display-id-page_1 .pager{
  display:none;
  visibility: hidden;
}
