/* ==================== COMMON STYLE ==================== */ html { -webkit-font-smoothing:antialiased; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100% } body { -webkit-font-smoothing: subpixel-antialiased; background: $theme-background-color; -moz-osx-font-smoothing: auto; font-family: $theme-base-font-family; color: $theme-primary-text-color; padding: 0;} body{ *{ outline: none !important; } } input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea{ font-size: 13px; outline: none; resize: none;} h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{ margin: 0 0 15px 0; padding: 0; line-height: normal; font-weight: $font-weight-500; font-family: $theme-base-font-family; color: $theme-primary-text-color; } h1, .h1{ font-size: 28px; } h2, .h2{ font-size: 25px; } h3, .h3{ font-size: 22px; } h4, .h4{ font-size: 20px; } h5, .h5{ font-size: 18px; } h6, .h6{ font-size: 16px; } p{ margin-bottom: 15px; line-height: 24px;font-size: 14px;} a{ color: $theme-primary-color; outline: none; text-decoration: none; transition: color 0.15s ease; -webkit-transition: color 0.15s ease; -moz-transition: color 0.15s ease; &:hover, &:focus{ color: $theme-primary-text-color; } } ul, ol{ margin-left: 20px; margin-bottom: 20px; } ul li, ol li { margin-bottom: 5px; } ul li ol li { margin-bottom: 5px; padding-left: 0px; } img{ max-width: 100%; vertical-align: middle; } /* ==================== COMMON CLASS STYLE ==================== */ .body{ margin: 0 0 50px 0; min-height: 250px; } .type-default{ .body{ margin-bottom: 30px; } } .align-left{ text-align: left; } .align-center{ text-align: center; } .align-right{ text-align: right; } .clearfix, .clearfix{ &:before, &:after{ display:table; content:" "; } &:after{ clear:both; } } .clear{ clear: both; } .wrapper{ @extend .container; } .custom-row{ @include grid-row( $behavior: nest ); } .float-left{ float: left; } .float-right{ float: right; } .v-s-h{ visibility: hidden; } svg{ height: 20px; width: 20px; } .four-col { @include grid-column(12); } .arrow { box-sizing: border-box; height: 7px; width: 7px; border-style: solid; border-color: $theme-primary-color; border-width: 0px 1px 1px 0px; transform: rotate(45deg); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); display: inline-block; vertical-align: middle; margin-top: -3.5px; &.arrow-top{ border-width: 1px 0px 0px 1px; } &.arrow-right{ border-width: 1px 1px 0px 0px; } &.arrow-left{ border-width: 0px 0px 1px 1px; } } .common-angle{ svg{ height: 12px; width: 12px; vertical-align: middle; } } @keyframes bounceInDown { 0%, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1) } 0% { opacity: 0; transform: translate3d(0, -100px, 0) } 90% { transform: none } to { transform: none } } .loadingOverlay{ z-index: 999; } .table { tr{ &:hover{ background: none; } } } .table thead tr th, .table thead tr td{ color: $theme-secondary-color; } .maintenanceNotice{ display: none; } /* ==================== Common space style ==================== */ .m-t-10{ margin-top: 10px; } .m-b-10{ margin-bottom: 10px; } .m-l-10{ margin-left: 10px; } .m-r-10{ margin-right: 10px; } .m-t-15{ margin-top: 15px; } .m-b-15{ margin-bottom: 15px; } .m-l-15{ margin-left: 15px; } .m-r-15{ margin-right: 15px; } .m-t--20{ margin-top: -20px; } .m-t-20{ margin-top: 20px; } .m-b-20{ margin-bottom: 20px; } .m-l-20{ margin-left: 20px; } .m-r-20{ margin-right: 20px; } .m-t-30{ margin-top: 30px; } .m-b-30{ margin-bottom: 30px; } .m-l-30{ margin-left: 30px; } .m-r-30{ margin-right: 30px; } .m-t-40{ margin-top: 40px; } .m-b-40{ margin-bottom: 40px; } .m-l-40{ margin-left: 40px; } .m-r-40{ margin-right: 40px; } .m-t-60{ margin-top: 60px; } .m-b-60{ margin-bottom: 60px; } .m-l-60{ margin-left: 60px; } .m-r-60{ margin-right: 60px; } .m-b-0{ margin-bottom: 0; } .m-l-0{ margin-left: 0; } .m-r-0{ margin-right: 0; } .p-t-15{ padding-top: 15px; } .p-b-15{ padding-bottom: 15px; } .p-l-15{ padding-left: 15px; } .p-r-15{ padding-right: 15px; } .p-t-20{ padding-top: 20px; } .p-b-20{ padding-bottom: 20px; } .p-l-20{ padding-left: 20px; } .p-r-20{ padding-right: 20px; } .p-l-0{ padding-left: 0; } .p-r-0{ padding-right: 0; } /* ==================== Common page style ==================== */ .container-wide{ .page-sidebar{ width: 20%; } .page-sidebar + .page-content{ width: 80%; } } .page-sidebar{ width: 25%; margin-bottom: 20px; } .page-sidebar + .page-content{ width: 75%; } .page-content--centered{ margin-left: auto; margin-right: auto; float: none; } .page-content--centered:last-child:not(:first-child){ float: none; } .alertBox--info{ color: #fff; } .alertBox{ &.alertBox--error, &.alertBox--success { color: #333333; } &.productAttributes-message{ color: #333333; } } /* ==================== slider loader style ==================== */ .slider-loading-icon{ position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .loader { color: $theme-primary-color; font-size: 50px; text-indent: -9999em; overflow: hidden; width: 1em; height: 1em; border-radius: 50%; margin: 30px auto; position: relative; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease; animation: load6 1.7s infinite ease, round 1.7s infinite ease; } @-webkit-keyframes load6 { 0% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } 5%, 95% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } 10%, 59% { box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em; } 20% { box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em; } 38% { box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em; } 100% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } } @keyframes load6 { 0% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } 5%, 95% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } 10%, 59% { box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em; } 20% { box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em; } 38% { box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em; } 100% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } } @-webkit-keyframes round { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes round { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } /* ==================== Heading Style ==================== */ .page-heading { &.product-list-title{ text-align: left; font-size: 22px; font-weight: $font-weight-500; padding: 0; position: relative; width: 100%; margin-bottom: 14px; border: none; color: $theme-primary-color; &:before { height: 0px; width: 100%; position: absolute; left: 0; top: 50%; border-top: 1px solid $global-border-color; content: ''; } span { display: inline-block; position: relative; background: $theme-background-color; padding: 0 20px 0 0; z-index: 9; } } } h1.page-heading, h2.page-heading { border-bottom:1px solid $global-border-color; padding: 0 10px 15px 0; margin-bottom:30px; color: $theme-primary-color; font-size: 22px; line-height: normal; font-weight: $font-weight-500; text-align: left; } /* ==================== FORM ELEMENT STYLE ==================== */ .form-input{ border: 1px solid $global-border-color; @include border-radius(0); line-height: 17px; padding: 9px 15px 9px; font-size: 13px; height: auto; color: $theme-primary-text-color; &:focus{ border-color: darken($global-border-color, 5%); } } .form-input::-webkit-input-placeholder { color: #888; } .form-input::-moz-placeholder { color: #888; } .form-input:-ms-input-placeholder { color: #888; } .form-input:-moz-placeholder { color: #888; } .form-field-group, .form-row .form-field-group{ border: 1px solid $global-border-color; @include border-radius(0); padding: 15px; } .form-select{ height: 37px; line-height: 38px; padding: 0 25px 0 15px; font-size: 13px; vertical-align: middle; background-size: 15px; background-position: right 5px top 12px; border: 1px solid $global-border-color;color: $theme-primary-text-color; @include border-radius(0); &.form-select-small{ height: 30px; line-height: 30px; background-position: right 5px top 7px; padding-left: 10px; } } .form-prefixPostfix-custom{ .form-input{ margin-bottom: 15px; } .button{ margin: 0; } } .form-prefixPostfix{ .button{ height: auto; } } .form-prefixPostfix-button--postfix{ order: inherit; } .actionBar-section{ .form-select{ border: 1px solid $global-border-color; } } .form-label{ color: $theme-primary-text-color; font-size: 13px; cursor: default; } .form-label small { color: red; float: none; font-size: 16px; margin-top: 0; margin-left: 0; line-height: normal; vertical-align: top; } :checked.form-radio + .form-option{ box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; } .form-checkbox + .form-label, .form-radio + .form-label{ line-height: 22px; } select option{ padding: 4px 8px; font-size: 13px; } /* =================== buttom common style ================= */ .button, .button--primary{ font-size: 13px; line-height: 17px; padding: 9px 15px 9px; outline: 0; background: $theme-primary-color; margin: 0; color: $theme-secondary-color; border: 1px solid $theme-primary-color; text-transform: uppercase; font-family: $theme-base-font-family; &:hover{ background:$theme-secondary-color; color: $theme-primary-color; border: 1px solid $theme-primary-color; } &:focus, &.is-active, &.active, &:active{ background:$theme-secondary-color; color: $theme-primary-color; border: 1px solid $theme-primary-color; } } .button--primary{ background: $theme-secondary-color; color: $theme-primary-color; border: 1px solid $theme-primary-color; &:hover{ background: $theme-primary-color; color: $theme-secondary-color; border: 1px solid $theme-primary-color; } &:focus, &.is-active, &.active, &:active{ background:$theme-primary-color; color: $theme-secondary-color; border: 1px solid $theme-primary-color; } } /* ==================== COMPONENT STYLE ==================== */ .dropdown-menu-arrow{ &:before, &:after{ bottom: 100%; left: 90%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } &:after{ border-bottom-color: $theme-color-white; border-width: 8px; margin-left: -8px; } &:before{ border-bottom-color: $global-border-color; border-width: 10px; margin-left: -10px; } } .artify-layout--jewelry{ .dropdown-menu-arrow{ &:after{ border-bottom-color: $theme-color-black; } } } .dropdown-menu{ background: $theme-color-white; border: 1px solid $global-border-color; padding: 10px 0; width: 320px; max-width: 320px; outline: none;right: 0 !important;left: auto !important;top: 120% !important; z-index: 1; li{ padding: 0; line-height: normal; a{ padding: 0; color: #666; font-size: 14px; &:hover{ color: $theme-primary-color; } } } } /* ================== superfish common style ============= */ .navPages{ max-width: 100%; text-align: center; ul{ li{ float: none; display: inline-block; vertical-align: middle; &.nav-home-link{ a{ color: $navUser-text-color; font-size: 18px; padding: 11px 13px 9px 0; svg{ fill: $navUser-text-color } &:hover{ svg{ fill: $navUser-text-color-hover; } color: $navUser-text-color-hover; } } } &:first-child{ margin-left: 0; } a{ padding: 13px 22px 14px; font-weight: $font-weight-500; line-height: 20px; color: $navUser-text-color; font-size: 15px; &:hover{ color: $navUser-text-color-hover; span.common-angle{ svg{ fill: $navUser-text-color-hover; } } } span.common-angle{ svg{ fill: $navUser-text-color; margin-left: 3px; margin-top: 0; width: 11px; height: 11px; } } } } } .sf-menu{ li{ position: relative; &:hover{ ul{ display: block; } } &.active-category{ > a{ color: $navUser-text-color-hover; .common-angle{ svg{ fill: $navUser-text-color-hover; } } } } > ul{ background: $theme-color-white; border: 1px solid $global-border-color; position: absolute; top: 100%; left: 0; display: none; width: 250px; text-align: left; z-index: 10; padding: 8px 0; &:before, &:after{ bottom: 100%; left: 15%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } &:after{ border-bottom-color: $theme-color-white; border-width: 8px; margin-left: -8px; } &:before{ border-bottom-color: $global-border-color; border-width: 10px; margin-left: -10px; } li{ margin: 0; display: block; a{ padding: 10px 15px; display: block; line-height: 15px; text-transform: capitalize; color: $navUser-dropdown-text-color; font-weight: normal; position: relative; &:hover{ color: $navUser-dropdown-text-color-hover; span.common-angle{ svg{ fill:$navUser-dropdown-text-color-hover; } } } span.common-angle{ svg{ float: right; fill: $navUser-dropdown-text-color; margin-top: -6px; position: absolute; right: 15px; top: 50%; } &.p-s-b{ display: none; } } } } ul{ top: -1px; left: 100%; margin-top: 0; &:before, &:after{ display: none; } } } } } } .navPages ul > li.sfHover > a{ color: $navUser-text-color-hover; span.common-angle{ svg{ fill: $navUser-text-color-hover; } } } .navPages ul > li.sfHover li.sfHover > a{ color: $navUser-text-color-hover; span.common-angle{ svg{ fill: $navUser-text-color-hover; } } } .artify-layout--jewelry{ .navPages .sf-menu li > ul{ background: $nav-background; &::after{ border-bottom-color: $theme-color-black; } } } /* ======================= treeview common style =====================*/ .navList-treeview{ li{ position: relative; a{ padding: 6px 0; } .hitarea{ position: absolute; width: 35px; height: 38px; text-align: center; line-height: 40px; right: 0; top: 0; cursor: pointer; z-index: 3; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; svg{ fill: $theme-primary-text-color; height: 12px; width: 12px; } } &.active-category{ > .hitarea{ svg{ fill: $theme-primary-color; } } } &.collapsable{ > .hitarea{ svg{ transform: rotate(0deg); -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); } } > a{ color: $theme-primary-text-color; } > .hitarea{ svg{ fill: $theme-primary-color; } } } li{ margin-top: 0; a{ font-size: 14px; } } ul{ display: none; margin: 0; } } } .navList-treeview li ul li .hitarea{ height: 31px; line-height: 34px; } /* ======== PRODUCT CAROUSEL STYLE ======== */ .slick-initialized{ .slick-slide{ opacity: 1 !important; visibility: visible !important; } } .slick-prev, .slick-next { z-index:1; top: 0px; background: $theme-background-color; padding: 0; margin-top: -27px; opacity: 1; width: 30px; height: 30px; border: none; &:hover{ svg{ opacity: 0.5; } } svg{ fill: $theme-primary-color; height: 14px; width: 14px; } &:before{ display: none; } &.slick-disabled{ svg{ opacity: 0.5; } } } .slick-prev{ left:auto; right: 30px; } .slick-next{ right:0; } .slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus{ background: $theme-background-color; } .productCarousel{ &.slick-dotted.slick-slider{ margin-bottom: 17px; } .slick-dots{ display: none !important; } .slick-slider{ margin-bottom: 20px; } .productCarousel-slide{ float: none; } .slick-slide { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; float: none; flex-direction: column; -webkit-flex-direction: column; height: auto; margin: 10px 0; .card{ height: 100%; margin: 0; } } .slick-track{ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; &:before, &:after{ display: none; } } } .slick-track{ margin-left: 0; margin-right: 0; } .slick-dots { margin: 0; li { margin: 0 4px; height: auto; width: auto; padding: 0; button { background: $controller-color; height: 10px; width: 10px; display: inline-block; margin: 0; padding: 0; position: relative; text-align: center; vertical-align: middle; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; border: none; &:hover{ background: lighten($color: $controller-color, $amount: 30%) !important; } } &.slick-active{ button{ background: lighten($color: $controller-color, $amount: 30%) !important; } } } } /* =========================== Responsive TAB Start ============================= */ .r-tabs .r-tabs-nav { margin: 0; padding: 0; border-bottom: 1px solid $global-border-color; } .r-tabs .r-tabs-tab { display: inline-block; margin: 0; list-style: none; border: 1px solid transparent; border-bottom: none; &.r-tabs-state-active{ border: 1px solid $global-border-color; border-bottom-color: $theme-background-color; margin-bottom: -1px; } } .r-tabs .r-tabs-panel { padding: 20px; display: none; } .r-tabs .r-tabs-accordion-title { display: none; } .r-tabs .r-tabs-panel.r-tabs-state-active { display: block; } /* Accordion responsive breakpoint */ @media only screen and (max-width: 768px) { .r-tabs .r-tabs-nav { display: none; } .r-tabs .r-tabs-accordion-title { display: block; } } /* Tabs container */ .r-tabs { position: relative; } /* Tab element */ .r-tabs .r-tabs-nav .r-tabs-tab { position: relative; } /* Tab anchor */ .r-tabs .r-tabs-nav .r-tabs-anchor { display: inline-block; padding: 8px 20px; text-decoration: none; font-size: 16px; font-weight: normal; color: $theme-primary-text-color; .common-angle{ display: none; } &:hover{ color: $theme-primary-color; } } /* Disabled tab */ .r-tabs .r-tabs-nav .r-tabs-state-disabled { opacity: 0.5; } /* Active state tab anchor */ .r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor { color: $theme-primary-color; } /* =========================== Responsive TAB end ============================= */ /* ==================== CARD STYLE ==================== */ .productGrid .product{ width: 20%; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-bottom: 0; } .suggestiveCart{ padding-bottom: 5px; } .productGrid{ display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-flow: row wrap; flex-direction: row; flex-wrap: wrap; &:after, &:before{ display: none; } } .page-sidebar + .page-content .productGrid .product{ width: 25%; display: -webkit-flex; display: -ms-flexbox; display: flex; } .card{ border: 1px solid $global-border-color; padding: 0; margin: 0 0 20px 0; text-align: center; transition: all .5s ease 0s; -webkit-transition: all .5s ease 0s; -moz-transition: all .5s ease 0s; background: $theme-color-white; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; &:hover{ box-shadow: 0 0 10px 0 rgba(0,0,0,.1); -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1); -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1); .card-figure{ a{ .card-img-container{ &::before{ opacity: 1; visibility: visible; } } } } } .card-figure{ background: $theme-color-white; a{ display: block; .card-img-container{ position: relative; max-width: 100%; &::before{ content: ""; background: rgba(255, 255, 255, 0.7); height: 100%; width: 100%; position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; visibility: hidden; } } } } .button{ text-transform: uppercase; font-size: 13px; font-weight: normal; padding: 10px 8px 8px; line-height: normal; display: inline-block; vertical-align: middle; margin-top: 0; background: $theme-secondary-color; color: $theme-primary-color; border: none; border-right: 1px solid $global-border-color; height: 36px; &:hover{ background: $theme-primary-color; color: $theme-secondary-color; } &.compare-active{ background: $theme-primary-color; border: 1px solid $theme-secondary-color; svg{ fill: $theme-primary-color; } } &.quickview{ background: $theme-primary-color; border-right: none; color: $theme-secondary-color; padding: 8px 14px; line-height: 22px; height: 37px; display: inline-block; &:hover{ background:$theme-secondary-color; color: $theme-primary-color; -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3); -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3); box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3); } } } .actionButton{ .button{ width: calc(100% - 46px); float: left; &.no-compare{ width: 100%; } &.compare{ float: right; text-align: center; width: auto; border: none; font-size: 14px; line-height: 14px; padding: 10px 15px 8px; &:hover{ svg{ fill:$theme-secondary-color; } } &.compare-active{ svg{ fill: $theme-secondary-color; } } svg{ width: 16px; height: 16px; fill: $theme-primary-color; } &.no-add-to-cart{ width: 100%; } } } } } .card-brand { font-size: 12px; color: #bbcbd5; text-transform: uppercase; margin-bottom: 5px; font-weight: 600; } .card-body{ text-align: center; padding: 0; -webkit-box-flex:1; -ms-flex: 1 0 auto; flex: 1 0 auto; .card-text{ color: $theme-primary-text-color; } } .card-title{ margin-bottom: 10px; font-size: 14px; font-weight: normal; a{ color: $theme-primary-text-color; font-weight: 500; &:hover { color: $theme-primary-color; } } } .price{ font-size: 14px; line-height: normal; font-weight: $font-weight-600; color: $theme-primary-color; &.price--rrp{ color: $theme-secondary-text-color; } } .price-now-label{ color: $theme-primary-color; font-weight: $font-weight-600; } .card-figcaption-body{ width: auto; top: 70%; transition: all .5s ease 0s; -webkit-transition: all .5s ease 0s; -moz-transition: all .5s ease 0s; opacity: 0; } .card{ &:hover{ .card-figcaption{ opacity: 1; .card-figcaption-body{ top: 50%; opacity: 1; } } } } .card-figcaption{ z-index: 3; } .card-button-block{ text-align: center; padding-top: 0; border-top: 1px solid $global-border-color; } .card-summary{ display: none; } .card-body-inn{ border-top: 1px solid $global-border-color; padding: 10px 5px; } .card-image{ z-index: 2; } .sale-flag-right{ position: absolute; top: 10px; right: 10px; z-index: 3; span{ height: 22px; line-height: 22px; padding: 0px 10px; background: $theme-primary-color; font-size: 12px; text-transform: uppercase; color: $theme-secondary-color; display: block; text-align: center; } } .card-text{ .price-section{ &.rrp-price--withoutTax, &.rrp-price--withTax{ margin-right: 10px; } &.rrp-price--withoutTax, &.non-sale-price--withoutTax, &.rrp-price--withTax, &.non-sale-price--withTax{ display: inline-block; vertical-align: middle; .price{ position: relative; font-size: 13px; color: $theme-secondary-text-color; font-weight: normal; &:before{ content: ""; position: absolute; left: 0; top: 50%; background: $theme-primary-color; height: 1px; width: 100%; margin-top: -0.5px; transform: rotate(175deg); } } } } .price--rrp, .price--non-sale, .price--discounted { text-decoration: none; } } /* ============= layout-Black card style =============== */ .artify-layout--jewelry{ .card{ background: $theme-color-black; .card-figure{ a{ .card-img-container{ &::before{ background: rgba(0, 0, 0, 0.7); } } } } } } /* ======== PRODUCT LIST VIEW STYLE ======== */ .page-sidebar + .page-content .productGrid.product-list-style .product{ width: 50%; } .page-content .productGrid.product-list-style .product{ width: 33.33%; @media screen and (max-width:1279px){ width: 50%; } @media screen and (max-width:767px){ width: 100%; } } .product-list-style{ margin-left: -10px; margin-right: -10px; .card-figure{ vertical-align: middle; display: flex; float: none; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; flex-grow: 0; flex-shrink: 0; flex-basis: 35%; } .card-body{ text-align: left; display: inline-block;padding-top: 0; vertical-align: middle; float: none; border-left: 1px solid $global-border-color; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; flex-grow: 0; flex-shrink: 0; flex-basis: 65%; padding-bottom: 37px; } .card-summary{ display: block; margin-bottom: 10px; } .card-title{ font-size: 16px; font-size: 400; } .card .actionButton{ text-align: left;text-align: left; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .card-summary{ display: block; } .card-body-inn{ border-top: none; padding-left: 10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-align-content: flex-start; align-content: flex-start; -webkit-align-items: flex-start; align-items: flex-start; border-bottom: none; } .card{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-flow: row wrap; flex-direction: row; flex-wrap: nowrap; -ms-flex-pack: flex-end; -webkit-justify-content: flex-end; justify-content: flex-end; position: relative; .card-figure a .card-img-container{ position: inherit; } } .card-button-block{ border-top: 1px solid $global-border-color; position: absolute; bottom: 0; right: 0; width: 64.8%; } } .productGrid .product:last-child:not(:first-child){ float: left; } /* =================== banners common style ================*/ .banners{ background: none; padding: 0; text-align: left; } .banner-hover{ overflow: hidden; .banner-block{ overflow: hidden; img{ overflow: hidden; transition: all .5s ease 0s; -webkit-transition: all .5s ease 0s; -moz-transition: all .5s ease 0s; } &:hover{ img{ -webkit-transform: scale3d(1.05,1.05,1.05); transform: scale3d(1.05,1.05,1.05); transition: all .5s ease-in-out; opacity: 0.8; } } } } .banner{ margin: 0; max-width: 100%; } /*===================== sidebar common style ==================*/ .facetedSearch .accordion-title, .sidebarBlock-heading { background-color: $theme-primary-color; color: $theme-secondary-color; font-size: 16px; padding: 9px 35px 9px 12px; font-weight: $font-weight-500; line-height: normal; margin: 0; text-transform: capitalize; } .sidebarBlock + .sidebarBlock{ border-top: none; padding-top: 0; margin-top: 20px; } .sidebarBlock{ .common-angle{ display: none; } .navList{ border: 1px solid $global-border-color; list-style: none; li{ border-top: 1px solid $global-border-color; margin: 0; &.active-category{ > a{ color: $theme-primary-color; } } &.view-all{ a{ color: $theme-primary-color; text-transform: uppercase; &:hover{ color: $theme-primary-text-color; } } } a{ display: block; line-height: normal; font-size: 14px; padding: 9px 35px 9px 12px; font-weight: normal; color: $theme-primary-text-color; word-wrap: break-word; &.is-active{ color: $theme-primary-color; } &:hover{ color: $theme-primary-color; span.common-angle.p-s-b{ svg{ fill: $theme-primary-color; } } } span.common-angle{ display: none; &.p-s-b{ display: inline-block; } } } ul{ border-left: none; border-bottom: 0; li{ border: none; ul{ li{ a{ padding-left: 33px; .common-angle.p-s-b{ left: 23px; } } } } } a{ padding-left: 24px; padding-top: 7px; padding-bottom: 7px; position: relative; .common-angle.p-s-b{ position: absolute; left: 15px; top: 6px; svg{ height: 6px; width: 6px; fill: $theme-primary-text-color; } } } } &:first-child{ border-top:0; } } } } .form-field{ position: relative; } .artify-layout--jewelry{ .facetLabel{ background: #14141d; padding: 2px 0.5rem 5px 0.71429rem } } /* ==================== MOBILE MENU STYLE ==================== */ body.mobile-menu-open { overflow: hidden; touch-action: none; } .mobile-menu-btn { display: inline-block; vertical-align: middle; span { align-items: center; background: $theme-primary-color; display: flex; height: 36px; justify-content: center; padding: 8px; width: 36px; svg { fill: $theme-secondary-color; height: 20px; width: 20px; } } } .mobile-menu-block { background: $theme-background-color; bottom: 0; box-shadow: 6px 0 24px rgba(0, 0, 0, 0.22); color: $theme-primary-text-color; font-size: 15px; left: 0; max-width: 400px; padding: 0; position: fixed; top: 0; transform: translate3d(-105%, 0, 0); transition: transform 0.25s ease; visibility: hidden; width: 92vw; z-index: 51; .sidebarBlock { margin: 0; padding: 0; } .sidebarBlock .navList { display: block; } } .menu-open-overlay { background: rgba(0, 0, 0, 0.55); bottom: 0; left: 0; opacity: 0; pointer-events: none; position: fixed; top: 0; transition: opacity 0.25s ease; visibility: hidden; width: 100%; z-index: 50; } .mobile-menu-open { .mobile-menu-block { transform: translate3d(0, 0, 0); visibility: visible; } .menu-open-overlay { opacity: 1; pointer-events: auto; visibility: visible; } } .mobile-menu-inner { -webkit-overflow-scrolling: touch; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(28px + env(safe-area-inset-bottom)); } .mobile-menu-header { align-items: center; background: #ffffff; border-bottom: 1px solid #dddddd; display: flex; justify-content: space-between; min-height: 64px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; position: sticky; top: 0; z-index: 4; } .mobile-menu-heading { color: #111111; font-size: 20px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; margin: 0; text-transform: uppercase; } .mobile-menu-close-btn { float: none; margin: 0; a { align-items: center; background: #111111; border: 1px solid #111111; display: flex; height: 42px; justify-content: center; transition: background-color 0.2s ease, border-color 0.2s ease; width: 42px; svg { background: transparent; fill: #ffffff; height: 18px; padding: 0; width: 18px; } &:hover, &:focus { background: #444444; border-color: #444444; } &:focus-visible { outline: 2px solid #777777; outline-offset: 2px; } } } .mobile-menu-item { margin: 0; overflow: visible; padding: 18px 16px 0; width: 100%; & + .mobile-menu-item { margin-top: 22px; } .sidebarBlock-heading { background: transparent; border: 0; border-bottom: 2px solid #111111; color: #111111; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 18px; margin: 0; padding: 0 0 9px; text-transform: uppercase; } } .mobile-menu-list { border: 1px solid #dddddd; border-top: 0; font-size: 15px; list-style: none; margin: 0; text-transform: none; > li { border-bottom: 1px solid #dddddd; min-height: 50px; position: relative; &:last-child { border-bottom: 0; } > a { align-items: center; color: #333333; display: flex; font-size: 15px; line-height: 20px; min-height: 50px; padding: 14px 48px 14px 14px; text-decoration: none; .fa, i { display: none; } &:hover, &:focus { background: #f5f5f5; color: #000000; } } &.active-category > a, &.active-brand > a { background: #f3f3f3; color: #000000; font-weight: 700; } .hitarea { align-items: center; bottom: 0; cursor: pointer; display: flex; font-size: 11px; height: 50px; justify-content: center; line-height: 1; position: absolute; right: 0; top: 0; transition: background-color 0.2s ease, transform 0.2s ease; width: 48px; &:hover { background: #eeeeee; } } } ul { background: #f7f7f7; border-top: 1px solid #dddddd; display: none; list-style: none; margin: 0; padding: 6px 0; li { border: 0; min-height: 44px; position: relative; a { color: #4b4b4b; display: block; font-size: 14px; line-height: 20px; min-height: 44px; padding: 12px 42px 12px 26px; &:hover, &:focus { background: #eeeeee; color: #000000; } } .hitarea { height: 44px; width: 44px; } ul { background: #eeeeee; li a { padding-left: 40px; } } } } } /* Two-column grids for shopping dropdowns */ .mobile-menu-list { > .mobile-menu-category--0 > ul, > .mobile-menu-category--1 > ul, > .mobile-menu-category--2 > ul, > .mobile-menu-category--3 > ul, > .mobile-menu-category--4 > ul { gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; width: 100%; } > .mobile-menu-category--0 > ul[style*="block"], > .mobile-menu-category--0 > ul[style*="display: block"], > .mobile-menu-category--1 > ul[style*="block"], > .mobile-menu-category--1 > ul[style*="display: block"], > .mobile-menu-category--2 > ul[style*="block"], > .mobile-menu-category--2 > ul[style*="display: block"], > .mobile-menu-category--3 > ul[style*="block"], > .mobile-menu-category--3 > ul[style*="display: block"], > .mobile-menu-category--4 > ul[style*="block"], > .mobile-menu-category--4 > ul[style*="display: block"] { display: grid !important; } > .mobile-menu-category--0 > ul > li, > .mobile-menu-category--1 > ul > li, > .mobile-menu-category--2 > ul > li, > .mobile-menu-category--3 > ul > li, > .mobile-menu-category--4 > ul > li { display: block; min-height: 0; width: auto; > a { align-items: center; background: #ffffff; border: 1px solid #e5e5e5; display: flex; font-size: 13px; font-weight: 600; justify-content: flex-start; line-height: 18px; min-height: 56px; padding: 10px 34px 10px 12px; width: 100%; &:hover, &:focus { background: #eeeeee; color: #000000; } } > .hitarea { height: 56px; width: 32px; } } } /* Shop by Model image cards */ .mobile-menu-list > .mobile-menu-category--0 > ul > li { > .hitarea { display: none; } > a.mobile-category-card { align-items: stretch; flex-direction: column; min-height: 136px; padding: 0; text-align: center; } } .mobile-category-card-image { align-items: center; background: #f5f5f5; display: flex; height: 92px; justify-content: center; overflow: hidden; position: relative; width: 100%; &::after { animation: mobileCategoryImagePulse 1.2s ease-in-out infinite; background: #e6e6e6; content: ""; height: 100%; inset: 0; position: absolute; width: 100%; } img { display: block; height: 100%; object-fit: contain; position: relative; width: 100%; z-index: 1; } &.is-loaded::after { display: none; } } .mobile-category-card-name { align-items: center; display: flex; flex: 1; justify-content: center; min-height: 44px; padding: 8px 10px; width: 100%; } .mobile-category-card--no-image { min-height: 56px !important; .mobile-category-card-name { min-height: 54px; } } @keyframes mobileCategoryImagePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } } /* Hyundai: the final Shop by Model item is the full-width More Models button */ .mobile-menu-list > .mobile-menu-category--0 > ul > li.mobile-model-more { grid-column: 1 / -1; min-height: 54px; > a, > a:hover, > a:focus, > a:active { align-items: center; background: #182970 !important; border: 1px solid #182970; color: #ffffff !important; display: flex; font-size: 13px; font-weight: 700; justify-content: center; letter-spacing: 0.04em; min-height: 54px; padding: 12px 16px; text-align: center; text-transform: uppercase; width: 100%; } > a:hover, > a:focus, > a:active { background: #101d55 !important; border-color: #101d55; } } /* Keep model cards white after tapping */ .mobile-menu-list > .mobile-menu-category--0 > ul > li > a.mobile-category-card, .mobile-menu-list > .mobile-menu-category--0 > ul > li > a.mobile-category-card:hover, .mobile-menu-list > .mobile-menu-category--0 > ul > li > a.mobile-category-card:focus, .mobile-menu-list > .mobile-menu-category--0 > ul > li > a.mobile-category-card:active, .mobile-category-card-image { background: #ffffff !important; } /* Keep an expanded row white and emphasize only its chevron area */ .mobile-menu-list > li { > a.has-subMenu, > a.has-subMenu:hover, > a.has-subMenu:focus, > a.has-subMenu:active { background: #ffffff; } &.collapsable > .hitarea, > .hitarea.collapsable-hitarea { background: #eeeeee; border-left: 1px solid #dddddd; } &.expandable > .hitarea, > .hitarea.expandable-hitarea { background: #ffffff; border-left: 1px solid transparent; } } /* Collapsible customer-support section */ .mobile-menu-item--help { margin-top: 22px; padding-bottom: 20px; } .mobile-menu-support { border: 1px solid #dddddd; summary { align-items: center; color: #111111; cursor: pointer; display: flex; font-size: 13px; font-weight: 700; justify-content: space-between; letter-spacing: 0.08em; list-style: none; min-height: 52px; padding: 14px; text-transform: uppercase; &::-webkit-details-marker { display: none; } &::after { border-bottom: 1.5px solid #555555; border-right: 1.5px solid #555555; content: ""; height: 8px; margin-left: 15px; transform: rotate(45deg); transition: transform 0.2s ease; width: 8px; } } &[open] summary { border-bottom: 1px solid #dddddd; &::after { transform: rotate(225deg); } } .mobile-menu-list { border: 0; } } /* Hide floating widgets while the drawer is open */ body.mobile-menu-open { iframe[title*="chat" i], iframe[src*="chat" i], [class*="chat-widget" i], [id*="chat-widget" i], .chat-button, .gcr-badge, #google-reviews-badge, iframe[src*="google.com/shopping/customerreviews"] { opacity: 0 !important; pointer-events: none !important; visibility: hidden !important; } } @media (max-width: 380px) { .mobile-menu-block { width: 94vw; } .mobile-menu-list > .mobile-menu-category--0 > ul > li > a:not(.mobile-category-card), .mobile-menu-list > .mobile-menu-category--1 > ul > li > a, .mobile-menu-list > .mobile-menu-category--2 > ul > li > a, .mobile-menu-list > .mobile-menu-category--3 > ul > li > a, .mobile-menu-list > .mobile-menu-category--4 > ul > li > a { font-size: 12px; padding-left: 9px; } .mobile-menu-list > .mobile-menu-category--0 > ul > li > a.mobile-category-card { min-height: 124px; padding: 0; } .mobile-category-card-image { height: 82px; } } /* * Hide the mobile drawer only when the full desktop * navigation becomes active. */ @media (min-width: 1024px) { .mobile-menu-block, .menu-open-overlay { display: none !important; } } /*fancybox start*/ body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-backface-visibility:hidden;height:100%;left:0;outline:0;position:fixed;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:manipulation;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{color:#ccc;font-size:13px;-webkit-font-smoothing:subpixel-antialiased;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide::before{content:'';display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image::before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:0 0;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;-ms-transform-origin:top left;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:-webkit-grab;cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:-webkit-grabbing;cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:0 0;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:0 0;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:0}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:0}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--play svg:nth-child(2){display:none}.fancybox-button--fsexit svg:nth-child(1),.fancybox-button--pause svg:nth-child(1){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;-ms-transform:scaleX(0);transform:scaleX(0);-ms-transform-origin:0;transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:0 0;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(to top,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,rgba(0,0,0,0) 100%);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px 44px;pointer-events:none;right:0;text-align:center;z-index:99996}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:fancybox-rotate 1s linear infinite;background:0 0;border:4px solid #888;border-bottom-color:#fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes fancybox-rotate{100%{transform:rotate(360deg)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translate3d(0,0,0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scale3d(1,1,1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;-ms-transform:rotate(-360deg);transform:rotate(-360deg)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;-ms-transform:rotate(360deg);transform:rotate(360deg)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;-ms-transform:rotate(0);transform:rotate(0)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scale3d(1,1,1) translate3d(0,0,0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translate3d(0,0,0) scale(1)}@media all and (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px 0}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px 5px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:0 0;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0 0;outline:0;padding:10px 15px;width:100%}.fancybox-thumbs{background:#ddd;bottom:0;display:none;margin:0;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;padding:2px 2px 4px 2px;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:center center;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:0;overflow:hidden;padding:0;position:relative;-webkit-tap-highlight-color:transparent;width:100px}.fancybox-thumbs__list a::before{border:6px solid #ff5268;bottom:0;content:'';left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus::before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active::before{opacity:1}@media all and (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}} /*fancybox end*/ .fancybox-thumbs{ background: #ddd; } /* growl css */ /* jQuery Growl * Copyright 2015 Kevin Sylvestre * 1.3.5 */ .ontop, #growls-default, #growls-tl, #growls-tr, #growls-bl, #growls-br, #growls-tc, #growls-bc, #growls-cc, #growls-cl, #growls-cr { z-index: 50000; position: fixed; } #growls-default { top: 10px; right: 10px; } #growls-tl { top: 10px; left: 10px; } #growls-tr { top: 10px; right: 10px; } #growls-bl { bottom: 10px; left: 10px; } #growls-br { bottom: 10px; right: 10px; } #growls-tc { top: 10px; right: 10px; left: 10px; } #growls-bc { bottom: 10px; right: 10px; left: 10px; } #growls-cc { top: 50%; left: 50%; margin-left: -125px; } #growls-cl { top: 50%; left: 10px; } #growls-cr { top: 50%; right: 10px; } #growls-tc .growl, #growls-bc .growl { margin-left: auto; margin-right: auto; } .growl { opacity: 0.8; filter: alpha(opacity=80); position: relative; border-radius: 4px; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } .growl.growl-incoming { opacity: 0; filter: alpha(opacity=0); } .growl.growl-outgoing { opacity: 0; filter: alpha(opacity=0); } .growl.growl-small { width: 200px; padding: 5px; margin: 5px; } .growl.growl-medium { width: 250px; padding: 10px; margin: 10px; } .growl.growl-large { width: 300px; padding: 15px; margin: 15px; } .growl.growl-default { color: $theme-color-white; background: #7f8c8d; } .growl.growl-error { color: $theme-color-white; background: #C0392B; } .growl.growl-notice { color: $theme-color-white; background: #2ECC71; } .growl.growl-warning { color: $theme-color-white; background: #F39C12; } .growl .growl-close { cursor: pointer; float: right; font-size: 14px; line-height: 18px; font-weight: normal; font-family: helvetica, verdana, sans-serif; } .growl .growl-title { font-size: 18px; line-height: 24px; } .growl .growl-message { font-size: 14px; line-height: 18px; } * {box-sizing:border-box} /* Slideshow container */ .slideshow-container { max-width: 1000px; position: relative; margin: auto; } /* Hide the images by default */ .mySlides { display: none; } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; margin-top: -22px; padding: 16px; color: white; font-weight: bold; font-size: 18px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); } /* Caption text */ .text { color: #f2f2f2; font-size: 15px; padding: 8px 12px; position: absolute; bottom: 8px; width: 100%; text-align: center; } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } /* The dots/bullets/indicators */ .dot { cursor: pointer; height: 15px; width: 15px; margin: 0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .active, .dot:hover { background-color: #717171; } /* Fading animation */ .fade { animation-name: fade; animation-duration: 1.5s; } @keyframes fade { from {opacity: .4} to {opacity: 1} } .card-brand { font-size: 12px; color: #bbcbd5; text-transform: uppercase; margin-bottom: 5px; font-weight: 600; } .free-shipping-badge { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: #2e7d32; margin-top: 5px; margin-bottom: 8px; line-height: 1.3; } .free-shipping-icon { width: 14px; height: 14px; flex-shrink: 0; } .free-shipping-message { display: none !important; margin-top: 8px; margin-bottom: 12px; align-items: center; gap: 6px; color: #2e7d32; font-size: 14px; font-weight: 700; line-height: 1.2; } .free-shipping-message.is-visible { display: flex !important; } .free-shipping-message .free-shipping-icon { width: 16px; height: 16px; flex-shrink: 0; } /* Hide BigCommerce native Add to Cart confirmation modal */ #previewModal, .modal--preview { display: none !important; } /* Hide only BigCommerce's Add to Cart confirmation modal */ #previewModal.is-open, .previewCartModal.is-open, .modal--preview.is-open { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; } @media (min-width: 801px) { #previewModal, #previewModal.is-open, #previewModal[aria-hidden="false"] { display: none !important; } } /* Prevent the native BigCommerce cart confirmation from ever appearing */ #previewModal, .previewCartModal, .modal--preview, .modal:has(.previewCart) { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; } /* Hide the backdrop created specifically for the native modal */ body.has-activeModal > .modal-background, body.has-activeModal > .reveal-modal-bg { display: none !important; } /* Mobile only: fade floating widgets while cart drawer is open */ @media (max-width: 800px) { #chat-widget-container, iframe[title*="chat" i], iframe[title*="livechat" i], #___ratingbadge_0, .google-rating-badge, iframe[src*="google.com/shopping/customerreviews"] { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s !important; } body.peasisoft-cart-open #chat-widget-container, body.peasisoft-cart-open iframe[title*="chat" i], body.peasisoft-cart-open iframe[title*="livechat" i], body.peasisoft-cart-open #___ratingbadge_0, body.peasisoft-cart-open .google-rating-badge, body.peasisoft-cart-open iframe[src*="google.com/shopping/customerreviews"] { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateY(12px) !important; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s !important; } } /* Hide BigCommerce's native cart preview and its loader */ body.ps-add-to-cart-active #previewModal, body.ps-add-to-cart-active .previewCartModal, body.ps-add-to-cart-active .modal--preview, body.ps-add-to-cart-active #previewModal .loadingOverlay, body.ps-add-to-cart-active .previewCartModal .loadingOverlay, body.ps-add-to-cart-active .modal--preview .loadingOverlay, body.ps-add-to-cart-active > .loadingOverlay, body.ps-add-to-cart-active .modal-background .loadingOverlay { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; } /* Hide all breadcrumbs on mobile only */ @media only screen and (max-width: 800px) { .breadcrumbs { display: none !important; } } /* Mobile product title and brand above product images */ .mobile-product-heading { display: none; } @media only screen and (max-width: 800px) { .mobile-product-heading { display: block; padding: 14px 10px 12px; text-align: left; } .mobile-product-heading__title { margin: 0 0 5px; font-size: 21px; line-height: 1.25; font-weight: 700; color: #222; } .mobile-product-heading__brand { margin: 0; font-size: 14px; line-height: 1.4; color: #333; } .mobile-product-heading__brand a { color: #003da5; font-weight: 600; text-decoration: none; } /* Hide original title and brand below the gallery on mobile */ .productView-details .productView-title, .productView-details .productView-brand { display: none !important; } } /* Mobile: remove top divider from first cart product */ @media only screen and (max-width: 767px) { [class*="cart-drawer"] [class*="product-list"] > :first-child, [class*="cart-drawer"] [class*="cart-item"]:first-child, [class*="cartDrawer"] [class*="cartItem"]:first-child { border-top: 0 !important; } [class*="cart-drawer"] [class*="product-list"] > :first-child::before, [class*="cart-drawer"] [class*="cart-item"]:first-child::before { display: none !important; } } /* Hyundai product-page pricing */ .productView-product .product-price-section { display: flex !important; align-items: baseline; flex-wrap: wrap; column-gap: 10px; row-gap: 0; margin: 0 0 20px !important; padding: 0 !important; text-align: left !important; .price-section { margin: 0 !important; padding: 0 !important; text-align: left !important; } .price-section--saving { flex-basis: 100%; } .price--non-sale { color: #999999 !important; font-size: 15px; font-weight: 400 !important; text-decoration: line-through; } .price-label, .price-now-label { display: none !important; } [data-product-price-with-tax], [data-product-price-without-tax] { color: #0f379b !important; font-size: 24px !important; font-weight: 700 !important; line-height: 1.2; } } /* Hide product-page social sharing icons */ .productView-images > .addthis_toolbox { display: none !important; } /* View More Details text and caret */ .mobile-custom-fields-toggle, .mobile-custom-fields-toggle:hover, .mobile-custom-fields-toggle:focus, .mobile-custom-fields-toggle:active { color: #333333 !important; } .mobile-custom-fields-toggle::after { border-right-color: #333333 !important; border-bottom-color: #333333 !important; } /* Green quantity-button hover */ .mobile-add-to-cart-row .form-increment [data-action="dec"]:hover, .mobile-add-to-cart-row .form-increment [data-action="dec"]:focus, .mobile-add-to-cart-row .form-increment [data-action="dec"]:active, .mobile-add-to-cart-row .form-increment [data-action="inc"]:hover, .mobile-add-to-cart-row .form-increment [data-action="inc"]:focus, .mobile-add-to-cart-row .form-increment [data-action="inc"]:active { background-color: #3c8f25 !important; border-color: #3c8f25 !important; color: #ffffff !important; } /* Green hover color for Buy Now */ .buy-now-button:hover { background-color: #3c8f25 !important; border-color: #3c8f25 !important; color: #ffffff !important; } /* ========================================================= Hyundai Shop: consolidated desktop navigation ========================================================= */ @media only screen and (min-width: 801px) { .navPages { position: relative; max-width: 100%; background: #163fa3; border-bottom: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 2px 7px rgba(16, 40, 90, 0.12); text-align: center; z-index: 30; > .container { position: relative; } .navPages-list { display: flex; align-items: stretch; justify-content: center; margin: 0; > .navPages-item { position: relative; display: flex; align-items: stretch; margin: 0 2px; > .navPages-action { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 21px; color: #fff; font-size: 15px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: color 0.18s ease, background-color 0.18s ease; .common-angle { display: inline-flex; align-items: center; margin-left: 5px; transition: transform 0.18s ease; svg { width: 10px; height: 10px; margin: 0; fill: #fff; } } } &:hover > .navPages-action, &.sfHover > .navPages-action, > .navPages-action:hover, > .navPages-action:focus { color: #fff; background: rgba(255, 255, 255, 0.09); } &:hover > .navPages-action .common-angle, &.sfHover > .navPages-action .common-angle { transform: rotate(180deg); } &::before, &::after, > .navPages-action::before, > .navPages-action::after, > .navPage-subMenu-list::before, > .navPage-subMenu-list::after { display: none !important; content: none !important; } > .navPage-subMenu-list { box-sizing: border-box; padding: 18px !important; background: #fff !important; border: 1px solid #dfe4ec !important; border-top: 3px solid #163fa3 !important; border-radius: 0 0 8px 8px !important; box-shadow: 0 14px 32px rgba(20, 39, 78, 0.16) !important; > .navPage-subMenu-item { box-sizing: border-box; display: block !important; float: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important; margin: 0 !important; padding: 2px 5px !important; vertical-align: top !important; > .navPage-subMenu-action { display: flex !important; align-items: center !important; box-sizing: border-box; width: 100% !important; min-height: 40px !important; margin: 0 !important; padding: 8px 12px !important; color: #202938; font-size: 14px; font-weight: 500; line-height: 1.3 !important; text-align: left; text-decoration: none; border-radius: 5px; transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease; &:hover, &:focus { color: #163fa3; background: #eef4ff; transform: translateX(2px); } .p-s-b { display: none; } } } } &:hover > .navPage-subMenu-list, &.sfHover > .navPage-subMenu-list { animation: hsMenuReveal 0.18s ease-out both; } } } /* Large menus: alphabetical flow down, creating only the columns needed. */ .shop-by-category, .shop-by-brand { --hs-rows: 1; --hs-columns: 1; } .shop-by-category:has(> ul > li:nth-child(2)), .shop-by-brand:has(> ul > li:nth-child(2)) { --hs-columns: 2; } .shop-by-category:has(> ul > li:nth-child(3)), .shop-by-brand:has(> ul > li:nth-child(3)) { --hs-columns: 3; } .shop-by-category:has(> ul > li:nth-child(4)), .shop-by-brand:has(> ul > li:nth-child(4)) { --hs-columns: 4; } .shop-by-category:has(> ul > li:nth-child(5)), .shop-by-brand:has(> ul > li:nth-child(5)) { --hs-rows: 2; --hs-columns: 3; } .shop-by-category:has(> ul > li:nth-child(7)), .shop-by-brand:has(> ul > li:nth-child(7)) { --hs-columns: 4; } .shop-by-category:has(> ul > li:nth-child(9)), .shop-by-brand:has(> ul > li:nth-child(9)) { --hs-rows: 3; --hs-columns: 3; } .shop-by-category:has(> ul > li:nth-child(10)), .shop-by-brand:has(> ul > li:nth-child(10)) { --hs-columns: 4; } .shop-by-category:has(> ul > li:nth-child(13)), .shop-by-brand:has(> ul > li:nth-child(13)) { --hs-rows: 4; } .shop-by-category:has(> ul > li:nth-child(17)), .shop-by-brand:has(> ul > li:nth-child(17)) { --hs-rows: 5; } .shop-by-category:has(> ul > li:nth-child(21)), .shop-by-brand:has(> ul > li:nth-child(21)) { --hs-rows: 6; } .shop-by-category:has(> ul > li:nth-child(25)), .shop-by-brand:has(> ul > li:nth-child(25)) { --hs-rows: 7; } .navPages-list.sf-menu > li.navPages-item.shop-by-category:hover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.shop-by-category.sfHover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.shop-by-brand:hover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.shop-by-brand.sfHover > ul.navPage-subMenu-list { display: grid !important; column-count: auto !important; column-width: auto !important; grid-template-columns: repeat(var(--hs-columns), var(--hs-column-width)) !important; grid-template-rows: repeat(var(--hs-rows), minmax(42px, auto)) !important; grid-auto-flow: column !important; grid-auto-columns: var(--hs-column-width) !important; align-items: stretch !important; column-gap: 28px !important; row-gap: 2px !important; height: auto !important; min-height: 0 !important; padding: 22px 26px !important; } .shop-by-category > ul { --hs-column-width: 290px; right: auto !important; left: 50% !important; width: max-content !important; max-width: calc(100vw - 40px) !important; margin-left: 0 !important; translate: -50% 0 !important; } .shop-by-brand > ul { --hs-column-width: 190px; right: auto !important; left: 50% !important; width: max-content !important; max-width: calc(100vw - 40px) !important; margin-left: 0 !important; translate: -50% 0 !important; } /* Shop by Model: same flow with a centered footer button. */ .shop-by-model { --hs-model-rows: 1; --hs-model-footer-row: 2; --hs-model-columns: 1; position: relative !important; } .shop-by-model:has(> ul > li:nth-child(3)) { --hs-model-columns: 2; } .shop-by-model:has(> ul > li:nth-child(4)) { --hs-model-columns: 3; } .shop-by-model:has(> ul > li:nth-child(5)) { --hs-model-columns: 4; } .shop-by-model:has(> ul > li:nth-child(6)) { --hs-model-rows: 2; --hs-model-footer-row: 3; --hs-model-columns: 3; } .shop-by-model:has(> ul > li:nth-child(8)) { --hs-model-columns: 4; } .shop-by-model:has(> ul > li:nth-child(10)) { --hs-model-rows: 3; --hs-model-footer-row: 4; --hs-model-columns: 3; } .shop-by-model:has(> ul > li:nth-child(11)) { --hs-model-columns: 4; } .shop-by-model:has(> ul > li:nth-child(14)) { --hs-model-rows: 4; --hs-model-footer-row: 5; } .shop-by-model:has(> ul > li:nth-child(18)) { --hs-model-rows: 5; --hs-model-footer-row: 6; } .shop-by-model:has(> ul > li:nth-child(22)) { --hs-model-rows: 6; --hs-model-footer-row: 7; } .shop-by-model:has(> ul > li:nth-child(26)) { --hs-model-rows: 7; --hs-model-footer-row: 8; } .navPages-list.sf-menu > li.navPages-item.shop-by-model:hover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.shop-by-model.sfHover > ul.navPage-subMenu-list { display: grid !important; column-count: auto !important; column-width: auto !important; grid-template-columns: repeat(var(--hs-model-columns), 240px) !important; grid-template-rows: repeat(var(--hs-model-rows), minmax(42px, auto)) !important; grid-auto-flow: column !important; grid-auto-columns: 240px !important; align-items: stretch !important; column-gap: 28px !important; row-gap: 2px !important; width: max-content !important; max-width: calc(100vw - 40px) !important; height: auto !important; min-height: 0 !important; padding: 22px 26px !important; } .shop-by-model > ul { top: 100% !important; right: auto !important; left: 0 !important; margin-left: 0 !important; translate: 0 0 !important; } .shop-by-model > ul > li:last-child { grid-column: 1 / -1 !important; grid-row: var(--hs-model-footer-row) !important; width: 100% !important; margin: 4px 0 0 !important; padding: 8px 5px 2px !important; > a { justify-content: center !important; width: 320px !important; max-width: 100% !important; min-height: 40px !important; margin: 0 auto !important; padding: 9px 18px !important; color: #163fa3; font-weight: 700; text-align: center !important; background: #fff; border: 1px solid #163fa3; &:hover, &:focus { color: #fff; background: #163fa3; transform: none; } } } /* Compact menus: alphabetical flow down, creating one or two columns. */ .gift-items, .maintenance { --hs-compact-rows: 1; --hs-compact-columns: 1; position: relative !important; } .gift-items:has(> ul > li:nth-child(2)), .maintenance:has(> ul > li:nth-child(2)) { --hs-compact-columns: 2; } .gift-items:has(> ul > li:nth-child(3)), .maintenance:has(> ul > li:nth-child(3)) { --hs-compact-rows: 2; } .gift-items:has(> ul > li:nth-child(5)), .maintenance:has(> ul > li:nth-child(5)) { --hs-compact-rows: 3; } .gift-items:has(> ul > li:nth-child(7)), .maintenance:has(> ul > li:nth-child(7)) { --hs-compact-rows: 4; } .gift-items:has(> ul > li:nth-child(9)), .maintenance:has(> ul > li:nth-child(9)) { --hs-compact-rows: 5; } .gift-items > ul, .maintenance > ul { --hs-compact-column-width: 210px; top: 100% !important; right: auto !important; left: 50% !important; width: max-content !important; max-width: calc(100vw - 40px) !important; margin-left: 0 !important; translate: -50% 0 !important; } /* Keep Maintenance directly beneath its own trigger. */ .navPages-list.sf-menu > li.navPages-item.maintenance > ul.navPage-subMenu-list { position: absolute !important; top: 100% !important; right: auto !important; left: 50% !important; margin-left: 0 !important; translate: -50% 0 !important; } .navPages-list.sf-menu > li.navPages-item.gift-items:hover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.gift-items.sfHover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.maintenance:hover > ul.navPage-subMenu-list, .navPages-list.sf-menu > li.navPages-item.maintenance.sfHover > ul.navPage-subMenu-list { display: grid !important; column-count: auto !important; column-width: auto !important; grid-template-columns: repeat(var(--hs-compact-columns), var(--hs-compact-column-width)) !important; grid-template-rows: repeat(var(--hs-compact-rows), minmax(44px, auto)) !important; grid-auto-flow: column !important; grid-auto-columns: var(--hs-compact-column-width) !important; align-items: stretch !important; column-gap: 14px !important; row-gap: 6px !important; height: auto !important; min-height: 0 !important; padding: 20px !important; } .gift-items > ul > li, .maintenance > ul > li { padding: 0 !important; > a { min-height: 44px !important; padding: 10px 14px !important; } } .navPages-action:focus-visible { outline: 2px solid #79a6ff; outline-offset: -3px; } } } @keyframes hsMenuReveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } } /* ========================================================== HYUNDAI MOBILE MENU BRAND COLORS ========================================================== */ @media (max-width: 800px) { .mobile-menu-heading { color: #0f379b; } .mobile-menu-close-btn a { background: #0f379b; border-color: #0f379b; &:hover, &:focus, &:active { background: #0b2a78; border-color: #0b2a78; } } .mobile-menu-item .sidebarBlock-heading { border-bottom-color: #0f379b; color: #0f379b; } .mobile-menu-support summary { color: #0f379b; &::after { border-bottom-color: #0f379b; border-right-color: #0f379b; } } .mobile-menu-list > li { &.collapsable > .hitarea, > .hitarea.collapsable-hitarea { background: #eef3ff; border-left-color: #cbd7f3; color: #0f379b; } &.active-category > a { color: #0f379b; } } .mobile-menu-list > .mobile-menu-category--0 > ul > li.mobile-model-more { > a, > a:hover, > a:focus, > a:active { background: #0f379b !important; border-color: #0f379b; color: #ffffff !important; } > a:hover, > a:focus, > a:active { background: #0b2a78 !important; border-color: #0b2a78; } } } /* ========================================================== HYUNDAI MOBILE MENU – FEATURED DEALS ========================================================== */ @media (max-width: 800px) { .mobile-menu-list > .mobile-menu-category--5 { > a, > a:hover, > a:focus, > a:active { background: #ffffff !important; border-left: 0; color: #333333 !important; font-weight: 700; padding-left: 14px; padding-right: 82px; position: relative; } > a::after { border: 1px solid #0f379b; color: #0f379b; content: "Featured"; font-size: 8px; font-weight: 700; letter-spacing: 0.05em; margin: 0; padding: 3px 5px; position: absolute; right: 10px; text-transform: uppercase; top: 50%; transform: translateY(-50%); white-space: nowrap; } } } /* ========================================================== MOBILE MENU – SMOOTH CLOSING TRANSITION ========================================================== */ @media (max-width: 1023px) { .mobile-menu-block { transition: transform 0.25s ease, visibility 0s linear 0.25s; } .menu-open-overlay { transition: opacity 0.25s ease, visibility 0s linear 0.25s; } body.mobile-menu-open .mobile-menu-block { transition: transform 0.25s ease, visibility 0s linear 0s; } body.mobile-menu-open .menu-open-overlay { transition: opacity 0.25s ease, visibility 0s linear 0s; } } /* * Mobile category-card tap reliability * * Prevent iPhone Safari from treating the first product-card tap * as a request to activate the desktop image-hover effect. */ @media only screen and (max-width: 800px) { /* * The theme outputs an empty overlay link before the actual * image link. Remove that empty layer on mobile. */ body.type-category .card-figure > .card-figure__link:empty { display: none !important; pointer-events: none !important; } /* * Always display the primary product image. */ body.type-category .card-img-container .card-image.item-0 { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; pointer-events: none !important; } /* * Disable the desktop secondary-image hover effect. */ body.type-category .card-img-container .card-image.item-1 { display: none !important; visibility: hidden !important; opacity: 0 !important; transform: none !important; pointer-events: none !important; } /* * Make the actual image and title links dependable tap targets. */ body.type-category .card-figure > a:not(.card-figure__link), body.type-category .card-title > a { position: relative; z-index: 2; pointer-events: auto !important; touch-action: manipulation; -webkit-tap-highlight-color: rgba(15, 55, 155, 0.15); } /* * Prevent decorative image elements from capturing touches. */ body.type-category .card-img-container, body.type-category .card-img-container img { pointer-events: none !important; } } /* ========================================================= HOMEPAGE TOP MODELS — PREVENT LAYOUT SHIFT Reserves the carousel's final dimensions before Slick loads. ========================================================= */ [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] { min-height: 275px; overflow: hidden; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] .chiara__carousel { min-height: 275px; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] ._row:not(.slick-initialized) { display: flex; width: 100%; min-height: 275px; max-height: 275px; overflow: hidden; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] ._row:not(.slick-initialized) > ._col { flex: 0 0 275px; width: 275px; height: 275px; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] img { display: block; width: 275px; height: 275px; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; } /* Mobile dimensions configured in the Page Builder widget */ @media only screen and (max-width: 800px) { [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"], [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] .chiara__carousel { min-height: 150px; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] ._row:not(.slick-initialized) { min-height: 150px; max-height: 150px; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] ._row:not(.slick-initialized) > ._col { flex: 0 0 150px; width: 150px; height: 150px; } [data-widget-id="a3257aac-1bc0-4e54-8bb6-f90673ec97ef"] img { width: 150px; height: 150px; } } /* ========================================================= HOMEPAGE TOP CATEGORIES — PREVENT LAYOUT SHIFT Reserves the 276 × 169 image ratio before images load. ========================================================= */ [data-widget-id="5c0cf670-0967-4bcd-9e32-f42991f47199"] .papathemes-eyeva-banner-carousel-img-container { position: relative; width: 100%; aspect-ratio: 276 / 169; overflow: hidden; } [data-widget-id="5c0cf670-0967-4bcd-9e32-f42991f47199"] .papathemes-eyeva-banner-carousel-img-container img { display: block; width: 100%; height: 100%; aspect-ratio: 276 / 169; object-fit: cover; } [data-widget-id="5c0cf670-0967-4bcd-9e32-f42991f47199"] .papathemes-eyeva-banner-carousel-slide { min-width: 0; aspect-ratio: 276 / 169; } /* * Keep the carousel track stable while Blaze initializes. */ [data-widget-id="5c0cf670-0967-4bcd-9e32-f42991f47199"] .blaze-track-container { width: 100%; overflow: hidden; } [data-widget-id="5c0cf670-0967-4bcd-9e32-f42991f47199"] .blaze-track { align-items: stretch; } /* ========================================================= GOOGLE TOP QUALITY STORE — INLINE FOOTER BADGE ========================================================= */ .google-customer-reviews-footer { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 94px; padding: 15px 0; } #google-customer-reviews-badge { position: relative !important; display: block !important; flex: 0 0 86px; width: 86px; min-width: 86px; height: 64px; min-height: 64px; overflow: visible !important; z-index: 20; } /* * Anchor Google's iframe to the badge. * When Google increases its height, it expands upward. */ footer #google-customer-reviews-badge > iframe { position: absolute !important; left: 50% !important; right: auto !important; top: auto !important; bottom: 0 !important; transform: translateX(-50%) !important; z-index: 20 !important; border: 0 !important; } /* * Google initially creates a 614px-wide transparent iframe. * Restrict it to the visible 86px badge while collapsed. * This rule stops matching when Google expands the iframe. */ footer #google-customer-reviews-badge > iframe[style*="height: 64px"] { width: 86px !important; } /* Keep the expanded Google panel within narrower screens. */ @media only screen and (max-width: 380px) { footer #google-customer-reviews-badge > iframe:not([style*="height: 64px"]) { max-width: calc(100vw - 20px) !important; } } /* ========================================================= Hyundai: touchscreen/tablet product-card tap reliability Paste at the very bottom of common-style.scss ========================================================= */ @media (hover: none) and (pointer: coarse), (min-width: 801px) and (max-width: 1600px) and (any-pointer: coarse) { /* * Disable the desktop secondary-image swap on touch devices. * The alternate image can otherwise sit above the product link * and make opening the product page unreliable. */ body.type-category .card-img-container .card-image.item-1 { display: none !important; visibility: hidden !important; opacity: 0 !important; transform: none !important; pointer-events: none !important; } /* * A tap can briefly trigger the theme's desktop :hover state * before the browser opens the product. Keep the primary image * visible throughout that handoff so the card does not flash blank. */ body.type-category .card-img-container .card-image:not(.item-1), body.type-category .card-figure:hover .card-img-container .card-image:not(.item-1), body.type-category .card-figure:focus-within .card-img-container .card-image:not(.item-1) { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } /* * Keep the product image wrapper and title as dependable * touch targets. */ body.type-category .card-figure > a, body.type-category .card-title > a { position: relative; z-index: 3; pointer-events: auto !important; touch-action: manipulation; -webkit-tap-highlight-color: rgba(15, 55, 155, 0.15); } /* * Images are visual only; their surrounding links receive * the actual tap. */ body.type-category .card-img-container, body.type-category .card-img-container img { pointer-events: none !important; } } /* ========================================================= Hyundai: touchscreen/tablet product-card tap reliability Paste at the very bottom of common-style.scss ========================================================= */ @media (hover: none) and (pointer: coarse), (min-width: 801px) and (max-width: 1600px) and (any-pointer: coarse) { /* * Disable the desktop secondary-image swap on touch devices. * The alternate image can otherwise sit above the product link * and make opening the product page unreliable. */ body.type-category .card-img-container .card-image.item-1 { display: none !important; visibility: hidden !important; opacity: 0 !important; transform: none !important; pointer-events: none !important; } /* * A tap can briefly trigger the theme's desktop :hover state * before the browser opens the product. Keep the primary image * visible throughout that handoff so the card does not flash blank. */ body.type-category .card-img-container .card-image:not(.item-1), body.type-category .card-figure:hover .card-img-container .card-image:not(.item-1), body.type-category .card-figure:focus-within .card-img-container .card-image:not(.item-1) { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } /* * Keep the product image wrapper and title as dependable * touch targets. */ body.type-category .card-figure > a, body.type-category .card-title > a { position: relative; z-index: 3; pointer-events: auto !important; touch-action: manipulation; -webkit-tap-highlight-color: rgba(15, 55, 155, 0.15); } /* * Images are visual only; their surrounding links receive * the actual tap. */ body.type-category .card-img-container, body.type-category .card-img-container img { pointer-events: none !important; } } /* ========================================================= Hyundai: tablet breadcrumbs and category descriptions Covers iPad landscape widths that may exceed 1200px. ========================================================= */ @media only screen and (min-width: 801px) and (max-width: 1600px) and (any-pointer: coarse) { /* * Keep breadcrumbs useful on tablets without allowing them * to wrap into a tall block. Longer trails scroll sideways. */ .breadcrumbs { display: flex !important; flex-wrap: nowrap !important; align-items: center; width: 100%; max-width: 100%; margin: 0 0 12px !important; padding: 8px 0 !important; overflow-x: auto !important; overflow-y: hidden !important; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; } .breadcrumbs::-webkit-scrollbar { display: none; } .breadcrumbs .breadcrumb { flex: 0 0 auto; margin-bottom: 0 !important; font-size: 13px; line-height: 1.4; white-space: nowrap; } /* * Do not trap tablet scrolling inside category copy. * The description expands naturally and the page itself scrolls. */ body.type-category .page-description, body.type-category .page-description > *, body.type-category .category-description, body.type-category .category-description > *, body.type-category .category-description-content, body.type-category .category-description-content > *, body.type-category .category-description-wrapper, body.type-category .category-description-wrapper > *, body.type-category .categoryDescription, body.type-category .categoryDescription > *, body.type-category .category-seo-description, body.type-category .category-seo-description > *, body.type-category .category-seo-content, body.type-category .category-seo-content > *, body.type-category [data-category-description], body.type-category [data-category-description] > * { width: auto !important; max-width: 100% !important; box-sizing: border-box !important; height: auto !important; max-height: none !important; overflow-x: hidden !important; overflow-y: visible !important; overscroll-behavior: auto !important; -webkit-overflow-scrolling: auto !important; touch-action: pan-y !important; } } /* Reserve the finished desktop/tablet YMM area while the app initializes. */ @media only screen and (min-width: 801px) { #ymm-container { min-height: 70px; } } /* Hyundai Shop: compact mobile header shown after the main header scrolls away. */ .hs-mobile-sticky-header { display: none; } @media only screen and (max-width: 800px) { html.hs-mobile-sticky-test-enabled .hs-mobile-sticky-header { position: fixed; z-index: 49; top: 0; right: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; height: 42px; margin: 0; padding: 0 4px; background: #0f379b; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); opacity: 0; pointer-events: none; transform: translate3d(0, -110%, 0); transition: transform 0.22s ease, opacity 0.18s ease; will-change: transform; } html.hs-mobile-sticky-test-enabled .hs-mobile-sticky-header.is-visible { opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0); } .hs-mobile-sticky-header__action { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 42px; margin: 0; padding: 0; color: #fff; text-decoration: none; background: transparent; border: 0; border-radius: 0; cursor: pointer; -webkit-tap-highlight-color: rgba(255, 255, 255, 0.16); } .hs-mobile-sticky-header__action:hover, .hs-mobile-sticky-header__action:focus, .hs-mobile-sticky-header__action:active { color: #fff; background: rgba(255, 255, 255, 0.1); } .hs-mobile-sticky-header__action:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px; } .hs-mobile-sticky-header__action svg { width: 20px; height: 20px; fill: #fff !important; } .hs-mobile-sticky-header__garage .my-hyundai-trigger-icon { width: 25px; height: 25px; filter: brightness(0) invert(1); } .hs-mobile-sticky-header__cart-slot { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; } .hs-mobile-sticky-header__cart-slot > [data-cart-preview] { position: relative; display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 42px !important; margin: 0 !important; padding: 0 !important; color: #fff !important; background: transparent !important; border: 0 !important; } .hs-mobile-sticky-header__cart-slot > [data-cart-preview] svg { width: 20px !important; height: 20px !important; fill: #fff !important; } .hs-mobile-sticky-header__cart-slot .cart-icon { display: flex; align-items: center; justify-content: center; } .hs-mobile-sticky-header__cart-slot .cart-item-counts { font-size: 0 !important; } .hs-mobile-sticky-header__cart-slot .cart-sub-total { display: none !important; } .hs-mobile-sticky-header__cart-slot .countPill, .hs-mobile-sticky-header__cart-slot .cart-quantity, .hs-mobile-sticky-header__cart-slot .cart-item-counts em { position: absolute !important; top: 3px !important; left: calc(50% + 6px) !important; display: flex !important; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin: 0 !important; padding: 0 5px !important; color: #0f379b !important; font-size: 10px !important; font-weight: 800; line-height: 18px !important; background: #fff !important; border: 1px solid #0f379b !important; border-radius: 999px !important; } .hs-mobile-sticky-header__count { position: absolute; top: 3px; left: calc(50% + 6px); display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; color: #0f379b; font-size: 10px; font-weight: 800; line-height: 18px; background: #fff; border: 1px solid #0f379b; border-radius: 999px; } .hs-mobile-sticky-header__count[hidden] { display: none !important; } .hs-mobile-sticky-account { position: absolute; z-index: 2; top: calc(100% + 7px); right: 8px; box-sizing: border-box; width: 270px; padding: 18px; color: #344054; text-align: left; background: #fff; border: 1px solid #e1e4e8; border-radius: 6px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); } .hs-mobile-sticky-account::before, .hs-mobile-sticky-account::after { position: absolute; right: 31px; bottom: 100%; width: 0; height: 0; content: ""; border: solid transparent; pointer-events: none; } .hs-mobile-sticky-account::before { margin-right: -8px; border-width: 8px; border-bottom-color: #e1e4e8; } .hs-mobile-sticky-account::after { margin-right: -7px; border-width: 7px; border-bottom-color: #fff; } .hs-mobile-sticky-account[hidden] { display: none !important; } .hs-mobile-sticky-account__heading { margin-bottom: 15px; } .hs-mobile-sticky-account__heading strong, .hs-mobile-sticky-account__heading span { display: block; } .hs-mobile-sticky-account__heading strong { margin-bottom: 4px; color: #182970; font-size: 17px; font-weight: 700; line-height: 1.25; } .hs-mobile-sticky-account__heading span { color: #667085; font-size: 12px; line-height: 1.45; } .hs-mobile-sticky-account__primary { display: block; box-sizing: border-box; width: 100%; padding: 11px 14px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; background: #182970; border: 1px solid #182970; border-radius: 4px; } .hs-mobile-sticky-account__primary:hover, .hs-mobile-sticky-account__primary:focus { color: #fff; background: #3c8f25; border-color: #3c8f25; } .hs-mobile-sticky-account__footer { margin-top: 13px; color: #667085; font-size: 12px; line-height: 1.4; text-align: center; } .hs-mobile-sticky-account__footer a { display: inline; padding: 0; color: #182970; font-size: inherit; font-weight: 700; text-decoration: underline; } body.mobile-menu-open .hs-mobile-sticky-header, body.peasisoft-cart-open .hs-mobile-sticky-header, body.ps-cart-open .hs-mobile-sticky-header, body.ps-cart-drawer-open .hs-mobile-sticky-header, html.my-hyundai-modal-open .hs-mobile-sticky-header, html.my-hyundai-save-prompt-open .hs-mobile-sticky-header { opacity: 0; pointer-events: none; transform: translate3d(0, -110%, 0); } } @media (prefers-reduced-motion: reduce) { .hs-mobile-sticky-header { transition: none; } }