{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block base_head %}
{{ parent() }}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/shop-frontend.css"/>
<link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/pse-template.css"/>
<link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/pse-template-new.css"/>
<style>
.visible {
border-radius: 3px;
animation: highlight 1000ms ease-out;
}
@keyframes highlight {
0% {
background-color: #3aa41c;
}
100% {
background-color: white;
}
}
.ProvenExpert_widget_container {
display:none;
}
#xconfig_start_description {
border-right: 1px solid #9b9999;
}
#x_info_click {
text-decoration: none !important;
}
.icon-info {
color: #878787;
}
.icon-info:hover {
color: #3aa41c;
}
.config--has-summary {
border-top: 1px solid #9b9999;
}
.icon-shoppingcart {
width:35px!important;
height:35px!important;
}
.icon-shoppingcart-small {
width:18px!important;
height:18px!important;
}
#tab-info, #tab-manufacturer {
display:none;
}
.breadcrumb-main {
display:none;
}
//.product-media-append {
// display:none;
//}
.x-product-detail-tabs {
width:100%;
text-align: center;
}
.x-product-detail-tab {
display: inline-block;
float:left;
padding-right: 2%;
width:33.3%;
margin-bottom: 20px;
}
.x-product-detail-tab:last-child {
padding-right: 0%;
}
.tab-button {
font-size: 1.4em;
color:#9b9999;
box-shadow: none;
border: 0;
border-radius: 0px;
border-bottom: 3px solid #9b9999;
background-color:#ffffff;
width:100%;
outline:none;
}
.tab-button:hover, .tab-active{
color:#3aa41c;
border-bottom: 3px solid #3aa41c;
}
.tab-button:focus {
outline:none;
}
#xconfig{
border-top: 1px solid #9b9999;
}
.xactive, .xaccordion:hover {
background-color: #ccc;
}
.xaccordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
outline: none!important;
transition: 0.4s;
}
.xpanel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
outline:none!important;
border: none;
}
.xaccordion:after {
content: '\02795'; /* Unicode character for "plus" sign (+) */
font-size: 13px;
color: #777;
float: right;
margin-left: 5px;
}
.xactive:after {
content: "\2796"; /* Unicode character for "minus" sign (-) */
}
.acc_info_txt {
display: none;
border:1px solid #000;
height:30px;
width:290px;
margin-left:10px;
}
.acc_info_img_heart {
width:30px;
}
.acc_info_img:hover + .acc_info_txt {
display: block;
}
.x-modal-dialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.3);
z-index: 99999;
opacity:0;
color: black;
-webkit-transition: opacity 100ms ease-in;
-moz-transition: opacity 100ms ease-in;
transition: opacity 100ms ease-in;
pointer-events: none;
}
.x-modal-dialog.show{
opacity:1;
pointer-events: auto;
}
.x-modal-dialog:target {
opacity:1;
pointer-events: auto;
}
.x-modal-dialog div {
width: 400px;
position: relative;
margin: 10% auto;
padding: 16px 20px 21px 20px;
border-radius: 4px;
background: #fff;
border: 2px white solid;
}
.x-modal-dialog p {
color: black;
text-shadow: none;
text-transform: none;
font-size: 14px;
}
.x-dialog-close {
background: white;
color: #878787;
line-height: 24px;
position: absolute;
right: -12px;
text-align: center;
top: -10px;
width: 26px;
text-decoration: none;
font-weight: bold;
border: 1px solid #666;
border-radius: 12px;
text-decoration: none !important;
}
.close:hover { background: #aaa; }
</style>
{% endblock %}
{% block page_product_detail_main %}
{% block page_product_detail_name_container %}
<div class="col product-detail-name-container">
{% block page_product_detail_name %}
<h1 class="product-detail-name"
itemprop="name">
{{ page.product.translated.name }}
</h1>
{% endblock %}
</div>
{% endblock %}
<div class="row product-detail-main">
{% block page_product_detail_media %}
<div class="col-lg-7 product-detail-media">
{% if page.product.media %}
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
'mediaItems': mediaItems,
'zoom': true,
'zoomModal': true,
'displayMode': 'contain',
'gutter': 5,
'minHeight': '430px',
'navigationArrows': 'inside',
'navigationDots': 'inside',
'galleryPosition': 'left',
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': page.product.cover.position + 1,
'startIndexSlider': page.product.cover.position + 1,
'keepAspectRatioOnZoom': false
} %}
{% endif %}
</div>
{% endblock %}
{% block page_product_detail_buy %}
<div class="col-lg-5 product-detail-buy">
{% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
</div>
{% endblock %}
</div>
{% endblock %}