@media screen and (max-width: 1000px) {

.page-hero-image-mobile {
    display: block;
}
.page-hero-image {
    display: none;
}

.wrapper {
  padding-top: 60px;
}

.content {
  font-size: 20px;
}

.carousel-title {
  width: auto;
}

.content {
  padding-left: 0.5em;
  padding-right: 0.5em;
  box-sizing: border-box;
}

.page-content, .page-sidebar {
  display: block;
  width: auto;
}

.carousel-desktop {
/*  display: none;*/
}

.carousel {
  margin-top: 0;
}

/*.page-title {
  font-size: 2em;
}*/

.page-title {
  font-size: 1.5em;
  text-align: center;
}

.page-content h1 {
    font-size: 1.5em;
    text-align: center;
}

.page-sidebar {
  padding-left: 0;
}

.posts {
  display: block;
}

.pagination {
  font-size: .7em;
}

/*PRODUCTS*/
/*.products-list li{
  width: 50%;
}*/

.cart-products-body-image {
  width: 20%;
}
.cart-products-body-title {
  width: 100%;
}
.cart-products-body-price {
  width: 100%;
  font-size: .7em;
}
.cart-products-body-quantity {
  width: 100%;
  text-align: left;
}
.cart-products-body-total {
  width: 100%;
}
.cart-products-body-remove {
  width: 10%;
  text-align: right;
}
.cart-products-header {
  display: none;
}

.cart-remove-item {
  position: absolute;
  right: .5em;
  bottom: .5em;
}

.cart-product-left {
  align-items: top;
}


.cart-address-section {
  grid-template-columns: 1fr;
}

.cart .address-section {
  width: 100%;
  box-sizing: border-box;
}



.cart-products-body {
  grid-template-columns: 1fr;
  position: relative;

}

.cart-product-middle {
  grid-template-columns: auto 1fr;
}

.cart-products-body-title-container {
  grid-template-columns: 1fr;
}

.cart-form-section {
  width: 100%;
}

.products-image-container {
  height: 10em;
}

#sidebar-categories-title {
  text-align: center;
  border: 2px solid black;
  border-radius: 1000px;
  padding: .5em;
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;

}

.sidebar {
  padding-bottom: 0;
}

.product .product-left {
  width: 100%;
}
.product .product-right {
  width: 100%;
}

.option-color {
  margin: auto;
}

.option-color-container {
  width: 22%;
}

.home-news {
    grid-template-columns: repeat(1, 1fr);
}

#header-desktop {
  display: none;
}

#header-mobile {
  display: block;
}

.header {
  height: auto;
}

.products-component .product-segment {
    position: relative;
    display: block;
    /*grid-template-columns: 1fr;
    gap: 0;*/
    /*align-items: start;*/
    padding-bottom: 2.5em;
}

.products-component .product-segment-image-container {
  align-items: flex-start;
}

.products-component .products-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  padding: .2em;
}

.slick-prev, .slick-next {
  display: none !important;
}

.products-container .add-to-cart {
  visibility: visible;
  font-size: .8rem;
}

.products-component .product-segment-image-container {
  aspect-ratio: auto;
}

.products-component .product-segment-info-container {
  height: auto;
  font-size: 1rem;
}

.products-component .products-list li {
    cursor: pointer;
    padding: 0;
    padding-top: 1em;
    /*border-bottom: 1px solid #ccc;*/
    padding-bottom: 2em;
}



.home .products-container {
  padding: 0;
}

.home .products-container li {
  padding: .5em;
}

.home .product-segment {
  font-size: .7rem;
  padding-bottom: 4em;
}

.home .product-segment .product-segment-name {
  line-height: 1.3em;
}

.home .product-segment .add-to-cart {
  width: 90%;
  left: 5%;
}

.home .product-segment-price {
  padding: 0;
  margin: 0;
}


.quick-cart {
    width: 90%;
    right: 5%;
    box-sizing: border-box;
}


.sidebar-2 {
  display: none;
}


.page.product .product-top {
  grid-template-columns: 1fr;
  grid-template-areas: 
        "right"
        "left"
        "buy";
}


.page.product .product-buy {
  grid-template-columns: 1fr;
}

.page.product .product-details {
  grid-template-columns: 1fr;
}

.page.product .customer-help {
  grid-template-columns: 1fr;
}

.page.product .social-buttons {
  padding-left: 20%;
        padding-right: 20%;
}

.page.product .product-button-container {
  text-align: center;
  padding: .5em;
}

.page.product .comments-container {
  padding: 0;
}

.page.product textarea {
  box-sizing: border-box;
}

.similar-products {
  padding: 0;
  font-size: .7em;
}

.similar-products li {
  padding: .5em;
}


#cart-register {
  grid-template-columns: repeat(1, 1fr);
}

#cart-payment-method-select {
  grid-template-columns: repeat(1, 1fr);
  /*font-size: .5em;
  column-gap: .5em;*/
}

#cart-payment-method-select div:hover {
  background: transparent;
}


#cart-payment-method-select {
  width: 100%;
}

#header-mobile .search {
  font-size: 1.3em;
}

#sidebar-categories-title {
    display: block;
}

.page-content {
  padding-left: 0;
}

.product-favourites-container {
  justify-self: center;
  margin-top: 1em;
  margin-bottom: .5em;
}

.add-to-cart-button-desktop {
   display: none;
}

.add-to-cart-button-mobile {
   display: block;
}

#product-images-slider-container {
  padding: 1em 1.5em;
}

#product-images-slider-container .close-button {
    position: absolute;
    top: .5em;
    right: .5em;
}

#product-images-slider-container .close-button img {
    height: 2em;
}

.account-order-data {
  grid-template-columns: 1fr;
}
.account-order-data > div {
  margin: .5em;
}

.account-order-data .account-order-data-status span {
  display: block;
}

.account-addresses-container {
  grid-template-columns: 1fr;
  gap:  0;
}

.account-address {
  margin: .5em;
}

.account-order .product-container-head {
  display: none;
}

.account-order .product-container {
  grid-template-columns: 1fr;
}

.product-segment .add-to-cart {
  bottom: 0;
  width: 100%;
  left: 0;
}

.page.product .product-right {
  text-align: center;
}

.page.product .product-buy {
  text-align: center;
}

.page.product .product-buy span {
  display: block;
}

.page.product .product-actions {
  text-align: center;
}

.page.product .product-actions .product-sticker {
  display: inline-block;
}

.socials {
    text-align: center;
}

.products-list .add-to-cart {
  bottom: 4em;
}

.page.product .product-price {
  margin-top: 1em;
  font-size: 1.4em;
}

.page.product .product-description h2 {
  text-align: center;
  font-weight: normal;
}
.page.product .product-specifications h2 {
  text-align: center;
  font-weight: normal;
}
.page.product .comments-container h2 {
  text-align: center;
  font-weight: normal;
}

.page.product .pager {
  margin-top: 3em;
}




    /* header */

    .header {
        display: block;
    }

    .header-top {
        display: flex;
    }

    .header-top img:first-child {
        width: 53%;
        margin: 0;
        align-self: center;
    }

/*    #user,
    #sign-up,*/




    .nav {
        display: block;
        border: none;
    }

    .nav ul {
        display: none;
    }

    /*.wish-list {
        display: none;
    }*/

    .shoping-list {
        display: flex;
        align-items: center;
        padding: 0;
    }

    .shoping-list img {
        padding-left: 1em;
    }

    .shoping-list span {
        display: none;
    }

    


    /* home */

    .content {
        padding-top: 1em;
    }

    .content.home {
        padding-top: 1em;
        text-align: center;
    }

    .content.home h1 {
        font-size: 2.5em;
    }

    /*.page-sidebar{
        display: none;
     }*/
     
     .page-content {
         width: 100%;
     }
 

    /* footer  */

    #footer {
        background-color: rgba(22, 17, 23, 1);
        padding: 3em;
    }

    .info-container {
        display: block;
        height: auto;
        border: none;
        padding: 0;
        margin: 0;
    }

    .info-container .one-info {
        padding: 1em 0;
    }

    .pp-logo-container {
        display: block;
    }

    .pp-logo-container p {
        display: none;
    }

    .pp-logo-container,
    .footer-links {
        border: none;
    }

    .info-container .footer-links {
        display: block;
    }

    .footer-links ul {
        margin: 2em 0;
        padding-bottom: 1em;
        text-align: center;
        border-bottom: 1px solid rgba(128, 66, 152, 1);
    }

    .footer-links ul li {
        padding-bottom: 1.3em;
    }

    .about {
        display: block;
        border-bottom: 1px solid rgba(128, 66, 152, 1);
    }

    .contact,
    .social {
        text-align: center;
    }

    .chipcard-payment {
        margin: 3em 0;
    }

    .chipcard-payment img {
        margin-bottom: 1em;
    }

    .chipcard-payment-left {
        display: block;
        width: auto;
    }

    .chipcard-payment-right {
        display: block;
        width: auto;
    }

    .products-image-container {
        padding-top: 0;
    }

    .products-info-container {
        font-size: 18px;
        margin-bottom: 1em;
    }

    .add-to-cart {
        visibility: visible;
        color: white;
        border: none;
        background: linear-gradient(rgba(190, 80, 233, 1), rgba(163, 75, 197, 1));
        opacity: 1;
    }


.carousel-mobile {
    display: block;
}
.carousel-desktop {
    display: none;
}

.page-content.post-content {
  padding-left: 0;
}



.product-segment-hover {
    position: absolute;
    bottom: .5em;
    transform: translateY(.5em);
    height: auto;

    /*background: #00000066;*/
    display: block;
}

.product-segment-detail {
  text-align: left;
  display: none;
}

.product-segment:hover .product-segment-image {
  filter: brightness(1);
}

.product-segment-detail span {
  position: relative;
    color: black;
    border-color: black;
    font-size: .5em;
    left: 0;
    top: 0;
}

.product-sticker {
  font-size: .6em;
}

.page-news .post .post-bottom {
  width: 100%;
  box-sizing: border-box;
  border-top: none;
  border-bottom: 1px solid #aaa;
}

.page-news .post .post-bottom a {
  font-size: .5em;
}

.kako-kupovati-top {
  grid-template-columns: repeat(1, 1fr);
}

.contact-us-info {
  grid-template-columns: repeat(1, 1fr);
}

.clear-cart {
  font-size: .5em;
}

.content.login {
  grid-template-columns: repeat(1, 1fr);
  padding: .5em;
  gap: 0;
}

.content.login > div {
  padding: .5em;
}

.footer-logos {
  grid-template-columns: repeat(1, 1fr);
}

.pp-logo-container {
  text-align: center;
}

.pp-logo-container, .footer-links {
  border-right: none;
}

.footer-logos {
  margin-top: 2em;
}

.cart-phone-number-container {
  grid-template-columns: 1fr 3fr;
}

#confirm-order {
  width: 90%;
  font-size: .8em;
}

.confirm-order-addresses {
  grid-template-columns: 1fr;
  padding: 0 .5em;
}

.cart-confirm-item {
  align-items: center;
}

.success-product {
  grid-template-columns: repeat(3, 1fr);
}

/*.success-product > :nth-child(1),
.success-product > :nth-child(2) {
  grid-column: span 3 / span 3;
  grid-template-columns: repeat(2, 1fr);  we’ll override this with auto layout 
  display: grid;
  gap: 1rem;
}
.success-product > :nth-child(1) {
  grid-column: 1 / 2;
}
.success-product > :nth-child(2) {
  grid-column: 2 / 3;
}*/

.cart-sum {
  font-size: .6em;
}

.cart-sum .cart-top-total {
  font-size: 1.4em;
}


.success-product {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr;
  grid-template-areas:
    "a b b"
    "c d e";
  column-gap: .2em;
  padding: .5em 0;
}

.success-product-image {
  grid-area: a;
}
.success-product-title {
  grid-area: b;
  grid-column: span 2;
}
.success-product-price {
  grid-area: c;
}
.success-product-quantity {
  grid-area: d;
}
.success-product-total {
  grid-area: e;
}

.success-product-quantity:before {
  content: 'x';
  margin-right: .5em;
}

.success-product-total {
  font-weight: bold;
}


.success-payment-data-info {
  grid-template-columns: 1fr;
  padding: 0;
}

.home-new-products h2 {
  margin-bottom: 0;
}

.similar-products {
    width: 100%;
    left: 0;
}

.similar-products  .product-segment .add-to-cart {
    width: 90%;
    left: 5%;
}

.info-container .one-info.pp-logo-container {
  text-align: center;
}

#footer a:hover {
  color: inherit;
}

.account-menu {
  padding: 0;
}

.account-order .product-container {
  display: block;
}

.account-order .product-container > div {
  text-align: center;
}

.account-order .product-container.product-container-head {
  display: none;
}

.account-order .product-container > div:nth-child(1) {
  font-weight: bold;
  margin-bottom: 1em;
}

.account-order .product-container > div:nth-child(2) {
  display: inline-block;
  width: 40%;
}
.account-order .product-container > div:nth-child(3) {
  display: inline-block;
  width: 15%;
}
.account-order .product-container > div:nth-child(4) {
  display: inline-block;
  width: 40%;
}

.quick-cart-button img {
  position: relative;
  top: -.2em;
}

.page.product .product-segment-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;         /* Adjust as needed */
  height: 2.4em;
}



















/*END*/
}

@media screen and (min-width: 1000px) {
  .carousel-mobile {
    display: none;
  }
}

