@media (min-width: 769px), print {
    .header.content {
        text-align: center;
    }

    .logo {
        display: inline-block;
        float: none;
        margin: -8px
        auto 5px 0!important;
    }

    .minicart-wrapper {
        margin-top: 41px;
    }

    .block-search {
        margin-top: 41px;
    }

    .navigation ul {
        text-align: center;
    }
    .navigation .level0 > .level-top {
        text-transform: uppercase;
        margin: 0 15px;
    }

    .page-layout-1column .product.media {
        text-align: center;
    }

}

.box.box-allowed-brands {
    margin-bottom: 20px;
}

div.post-list-wrapper .post-list .post-item:first-child .post-image {
    flex: 0 0 100%;
    width: 100%;

}

div.post-list-wrapper .post-list .post-item:first-child .post-container {
    display: block;
    margin-bottom:20px;
}

div.post-list-wrapper .post-list .post-item:first-child .post-info {
    margin-top:20px;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

div.post-list-wrapper .post-list .post-item:first-child .post-description {
    line-height: 24px;
    font-size: 16px;
}

@media (min-width: 769px), print {
    .logo {
        float: left;
        margin: 0 !important;
    }
}
@media (min-width: 1024px), print {
    .logo {
        margin: 0 !important;
    }
}

.ambrands-letters-list .ambrands-letter .ambrands-content {
    justify-content: center;
}

.ambrands-letters-list .ambrands-letter .ambrands-title {
    justify-content: center;
}

.category-view {
    text-align: center;
}
.category-image .image {
    display: inline-block!important;
    min-width: 200px;
    max-width: 400px;
}
li.link.authorization-link {
    display: inline-block;
    text-align: left;
    margin-bottom: 10px;
    padding-right: 0;
    width: auto;
}
.customer-menu li.link.authorization-link {width: 100%}
div.account-links {display: inline-block; width: 100%; text-align: right; padding: 10px 0 0;}

.sections.nav-sections .section-items div:nth-child(3n){/* display:none; */}
.catalog-product-view #maincontent {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}
.product.attribute.sku { font-weight: 700;}
.page-title-wrapper.product {
    display: inline-block;
    vertical-align: top;
    width: 70%;
}
.product.attribute.sku div.value {display: inline-block;}
.catalog-product-view h1.page-title {margin: 50px 0 20px;}

.fotorama__stage {max-height: 467px;margin:0 auto;}
strong.type:after {
    content: ":";
}
h1.ambrands-title {font-weight: bold;}
span.old-price {
    text-decoration: line-through;
}
span.price-label {display: none;}
button#product-addtocart-button {
    background: #000;
    border: #ccc;
    padding: 10px;
    max-width: 350px;
    width: 100%;
    padding: 7px 30px;
}
button#product-addtocart-button:hover, .action.primary:hover, .action-primary:hover {
    background: #ff5501;
}
.action.primary, .action-primary {
    background: #000;
}
.box-tocart .actions {
    display: inline-block;
}
.box-tocart .field.qty {
    display: inline-block;
    margin: 0;
    vertical-align: bottom;
    margin-right: 20px;
}
.swatch-option.selected {
    outline: 2px solid #000;
}
span.percentage-wr {
    background: #da2617;
    margin-left: 10px;
    color: #fff;
    font-size: 20px;
    padding: 0 8px;
    font-weight: 700;
    line-height: 30px;
    display: inline-block;
}
.catalog-category-view span.percentage-wr {
    margin: 0 auto!important;
    display: table!important;
}
.block.upsell, .block.related {
    text-align: center;
    display: inline-block;
    width: 100%;
}
.product-item-info {
    max-width: 100%;
    width: auto!important;
}
.product-view .product-item .price-box, .page-products .product-item .price-box {
    margin: 0 auto!important;
    display: table!important;
}
.amshopby-option-link {
    margin: 0;
}
.amshopby-option-link a {
    display: inline-block;
    width: 100%;
}
span.amshopby-descr a {
    color: #000;
    font-weight: 700;
    font-size: 16px;
}
.social {
    margin: 10px 0;
    display: inline-block;
}
.social a {
    padding-right: 10px;
}
.product-info-main .product-info-price {
    color: #575757;
    border-bottom: 1px solid #c1c1c1;
    /* display: table; */
    margin-bottom: 15px;
    width: auto;
    display: inline-block;
    text-align: right;
    position: relative;
    top: 60px;
}
@media (min-width: 769px), print {
    .page-layout-1column .column.main {
        display: inline-block;
    }
}

.product-info-main .product-info-price {
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 15px;
    width: auto;
    display: inline-block;
    text-align: left;
    position: relative;
    top: 0;
}
.product-view .product-item-name, .page-products .product-item-name { text-align: center;}
/*div#switcher-currency {
    border: 1px solid #ccc;
    padding: 10px;
}
ul.dropdown.switcher-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.dropdown.switcher-dropdown li {
    padding: 0!important;
    display: block;
    margin: 0;
}*/
@media screen and (min-width: 769px) and (max-width: 1148px), print {
    .product-info-main .product-info-price {
        text-align: right;
        position: relative;
        top: -28px;
    }
}

@media screen and (max-width: 768px), print {
    .product-info-main .product-info-price {
        position: relative;
        top: 0px;
    }
    .product-info-main {
        margin-top: 40px;
    }
}
@media screen and (max-width: 500px), print {
    .product-info-main .product-info-price {
        position: relative;
        top: 0;
        text-align: left;
    }
    .logo img {
        width: 80px;
    }
    /*div#switcher-currency {
        width: 70%;
        float: right;
    }*/
    .catalog-product-view #maincontent {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 100%;
    }
    .related.block .title:before, .block.upsell .title:before, .related.block .title:after, .block.upsell .title:after {width: 80px!important;}
    .column.main .product-items {
        display: inline-block;
        text-align: center;
    }
    .page-title-wrapper.product {
        width: 100%;
        text-align: center;
    }
}
.block-reorder .product-item-name {width: auto!important;}
@media (min-width: 1024px), print {
    .page-products .products-grid .product-item:nth-child(3n + 1) {
        margin-left: 0!important;
    }
    .page-products .products-grid .product-item {
        width: calc((100% - 6%)/3)!important;
    }
    a.product.photo.product-item-photo {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
}
.catalog-category-view span.percentage-wr, .ambrand-index-index span.percentage-wr, .catalogsearch-result-index span.percentage-wr {
    display: table;
    margin: 0 auto;
}
.catalog-category-view .swatch-attribute.posizioni_modello_possibili, .ambrand-index-index .swatch-attribute.posizioni_modello_possibili, .catalogsearch-result-index .swatch-attribute.posizioni_modello_possibili {
    display: table;
    margin: 0 auto;
}

.topmenu-desktop {
    display: inline-block;
    vertical-align: bottom;
    margin: 33px 0 20px;
    width: auto;
}

/* Hide the original Navigation menu on Desktop */
@media screen and (min-width: 769px), print {
    .nav-sections { display: none; }
}

/* Hide the duplicated Navigation menu on Mobile */
@media screen and (max-width: 768px), print {
    .topmenu-desktop {display: none; }
    .customer-name, .customer-welcome + .authorization-link {
        display: none!important;
    }
    div#store\.links li {
        width: 100%;
    }
}

@media screen and (max-width: 1024px), print {
    .topmenu-desktop {width: 61%; }
    .navigation ul {
        margin: 0;
        padding: 0;
    }
    .navigation li {
        margin: 0;
    }
    .navigation .level0 > .level-top {
        margin: 0 5px;
    }
    .navigation li.level0 {
        margin: 0;
    }
    .navigation ul {
        text-align: left;
    }
}

.amslider .swiper-button-prev {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuNTQ2IDEwLjEyM2w4LjM0NiA4Ljk2OCAxLjQ1Ny0xLjQ0LTcuMDA4LTcuNTI4IDcuMjA1LTcuNzc0LTEuNDE3LTEuNDQtOC4xMSA4LjY4LS40NzMuNTM0eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==) #000;
    background-repeat: no-repeat;
    background-position: center;
}

.amslider .swiper-button-next {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjQ1NCA5Ljg3N0w3LjEwOC45MDkgNS42NSAyLjM1bDcuMDA4IDcuNTI4LTcuMjA1IDcuNzc0IDEuNDE3IDEuNDQgOC4xMS04LjY4LjQ3My0uNTM0eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==) #000;
    background-repeat: no-repeat;
    background-position: center;
}
.action.primary, .action-primary { border:none!important;}
.related.block .title, .block.upsell .title {
    max-width: 510px;
    position: relative;
    margin: 0 auto;
    text-align: center;
}
.related.block .title strong, .block.upsell .title strong {
    font-size: 1.6rem;
}
.related.block .title:before, .block.upsell .title:before {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #000;
    left: 0;
    top: 50%;
    position: absolute;
}

.related.block .title:after, .block.upsell .title:after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #000;
    right: 0;
    top: 50%;
    position: absolute;
}
.fotorama__nav__shaft .fotorama__nav__frame:last-child {
    display: none;
}
.additional-attributes-wrapper .additional-attributes {
    display: inline-block;
    margin-right: 60px;
}

@media only screen and (max-width: 639px){
    .table-wrapper {
        padding-top: 10px;
    }
}

@media (min-width: 769px), print {
    .header.content {
        padding: 10px 20px 10px!important;
    }
    .navigation {
        background: none!important;
    }
    .logo img {
        width: 140px;
    }
    .product-info-main .product-add-form {
        padding-top: 0!important;
    }
}

.navigation .level0 > .level-top {color:#000!important;}
.amslider .swiper-button-next:hover, .amslider .swiper-button-prev:hover {
    background-color: #000;
}
p.srp_it {
    margin-top: 12px;
    font-size: 1.7rem;
}
.fotorama__wrap--slide .fotorama__stage__frame, .fotorama__stage__shaft {
    /* height: 467px; */
}
.ambrands-widget-355 .ambrands-brand-item {
    width: 160px;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small {
    color: #333!important;
}
a,
.alink {
    color: #333;
}
a:visited,
.alink:visited {
    color: #333;
}
a:hover,
.alink:hover {
    color: #333;
}
.action-register.primary {
    background: #eee;
    border: 1px solid #ccc!important;
}
.action-register.primary:hover {
    background: #e1e1e1;
}
.link.authorization-link a[href*='login'], a.action.create.primary {color: inherit;}
.block.newsletter .form.subscribe {
    display: flex;
    width: 100%;
    flex-flow: wrap;
}
.block.crosssell {
    margin-bottom: 0;
    margin-top: 0;
}
.checkout-index-index .columns .column.main, .checkout-container {padding:0!important; margin:0!important;}
.checkout-index-index .opc-wrapper, .opc-wrapper .step-content {margin:0!important;}
.checkout-index-index .column.main .block:last-child {margin:0!important;}
div#shipping-method-buttons-container {
    margin-bottom: 7px;
    position: absolute;
    right: 0;
    bottom: 0;
}
.catalog-product-view .box-tocart .fieldset:last-child {
    vertical-align: middle;
    display: inline;
}
.cms-home div.message-error {display: none!important;}
.product-info-main .box-tocart {
    margin-top: 20px;
}

.new-address-popup {
    display: none;
}
#opc-shipping_method .step-title, #opc-shipping_method .table-checkout-shipping-method { display:block;}
.checkout-success a.action.primary.continue { color:#fff!important; }
div#product-options-wrapper .field:not(.choice) {
    border-top: 1px solid #ededed;
    padding: 20px 20px 0 20px;
    margin: 0;
    border-right: 1px solid #ededed;
    border-left: 1px solid #ededed;
}

div#product-options-wrapper .fieldset .container-options > .field:nth-child(3) {
    border-top: none !important;
    margin-bottom: 20px;
    border-bottom: 1px solid #ededed;
    padding-bottom: 20px;
    margin-top: -10px;
}

div#product-options-wrapper .fieldset .container-options > .field:nth-child(4) {
    margin-bottom: 10px;
    border-bottom: 1px solid #ededed;
}
.fieldset .container-options .title-box-assistenza:nth-child(n+3) {
    display: none;
}
.container-options {
    border: 1px solid #ededed;
    padding: 0 20px 20px 20px;
    margin-bottom: 40px;
}
.container-options label
{
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
a.action.skip.contentarea {
    font-size: 22px;
    color: #000;
    font-weight: bold;
}
a:focus { border: 2px solid #005fcc; }
button:focus-visible,
a:focus-visible,
div:focus-visible,
input:focus-visible {
    outline: 2px solid #005fcc; /* o altro colore ben visibile */
    outline-offset: 2px;
}
.swiper-wrapper {padding:10px;}
a.action.create.primary {color:#fff;}
.block.newsletter .field {
    width: 350px;
    max-width: 74%;
}
.opc-payment-additional.discount-code {
    display: none;
}
#shipping-zip-form {display: none!important;}
a.disabled img.ambrands-image, a.ambrands-inner.disabled {
    opacity: 0.4;
}
.nuove-uscite-text { font-weight: bold}


.avm-login-note {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  background: #fff9e8;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);

  h3 { margin-top: 0; font-size: 18px; font-weight: 600; color: #4a3b17; }
  p  { margin: 0 0 10px; color: #5a4b23; }
  .action.primary { border-radius: 999px; padding: 8px 16px; }
}
@media (max-width: 767px) {
  .avm-login-note { padding: 16px; }
}


.avm-login-modal {
  .modal-inner-wrap { border-radius: 12px; }
  .modal-header { border-bottom: 1px solid #eee; }
  .modal-content {
    font-size: 14px;
    line-height: 1.6;
  }
  .action.primary {
    border-radius: 999px;
    padding: 8px 16px;
  }
}
