@media (min-width: 1200px) {
  .row .col-lg-4:nth-child(n + 4) {
    margin-top: 24px;
  }

  .row .col-lg-3:nth-child(n + 5) {
    margin-top: 24px;
  }
}

@media (min-width: 1440px) {
  .container {
    width: 1296px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .productList {
    width: 1170px;
    margin: 60px auto;
  }
  .productList .productListLeft {
    flex: 0 0 340px;
    width: 340px;
  }
  .productList .productListRight {
    flex: 0 0 780px;
    width: 780px;
  }
  .productList .productListRight .productListRightItem {
    width: 180px;
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .productList .productListRight .productListRightItem .product-img {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
  }
  .productList .productListRight .productListRightItem .product-img img {
    width: 180px;
    height: 180px;
  }
  .imageText {
    width: 1170px;
  }

  .imageText_text .imageText_textContect .imageText_textDesc {
    -webkit-line-clamp: 7;
  }

  .productGroupList {
    width: 1170px;
  }
  .productGroupList .productGroupList-product {
    flex: 0 0 374px;
    width: 374px;
  }

  .blogList {
    width: 1170px;
    margin: 0 auto 60px;
  }
  .blogList .blog-wrapper {
    flex: 0 0 380px;
    margin-right: 15px;
  }
  .blogList .blog-wrapper .blog-date {
    top: 230px;
    right: 20px;
  }
  .blog-wrapper img {
    width: 380px;
    height: 256px;
  }

  .slide-height {
    padding: 240px 0;
  }

  .single-product {
    width: 270px;
    margin-right: 30px;
    margin-bottom: 30px;
  }

  .single-product:nth-of-type(4),
  .single-product:nth-of-type(8) {
    margin-right: 0px;
  }

  .product-img img {
    width: 270px;
    height: 270px;
    object-fit: cover;
  }
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1199px) {
  .col-md-6:nth-child(n + 3) {
    margin-top: 24px;
  }
  .productList {
    width: 970px;
    margin: 50px auto;
  }
  .productList .productListLeft {
    flex: 0 0 280px;
    width: 280px;
  }
  .productList .productListRight {
    flex: 0 0 670px;
    width: 670px;
  }
  .productList .productListRight .productListRightItem {
    width: 160px;
    margin-right: 10px;
    margin-bottom: 20px;
  }
  .productList .productListRight .productListRightItem .product-img {
    width: 160px;
    height: 160px;
    margin-bottom: 10px;
  }
  .productList .productListRight .productListRightItem .product-img img {
    width: 160px;
    height: 160px;
  }

  .imageText-area {
    background-color: #f9f9f9;
    padding: 40px 0;
  }
  .imageText {
    width: 970px;
  }
  .imageText_img {
    flex: 0 0 440px;
    width: 440px;
    margin-right: 40px;
  }

  .imageText_text .imageText_textContect .imageText_textDesc {
    -webkit-line-clamp: 6;
  }

  .productGroupList {
    width: 970px;
  }
  .productGroupList .productGroupList-product {
    flex: 0 0 310px;
    width: 310px;
    margin-right: 20px;
  }

  .blogList {
    width: 970px;
    margin: 0 auto 40px;
  }
  .blogList .blog-wrapper {
    flex: 0 0 310px;
    margin-right: 20px;
  }
  .blogList .blog-wrapper .blog-date {
    top: 180px;
    right: 20px;
  }
  .blog-wrapper img {
    width: 310px;
    height: 209px;
  }

  .single-product {
    width: 220px;
    margin-right: 30px;
    margin-bottom: 30px;
  }

  .single-product:nth-of-type(4),
  .single-product:nth-of-type(8) {
    margin-right: 0px;
  }

  .product-img img {
    width: 220px;
    height: 220px;
    object-fit: cover;
  }

  .banner-caption h2 {
    font-size: 22px;
  }

  .category-area-3 .product-content h3 {
    font-size: 16px;
  }

  .category-area-3 .product-content {
    padding-top: 5px;
  }

  .contact-method h2,
  .message-title h1 {
    font-size: 17px;
  }

  .shop-tab,
  .short-by,
  .shop-breadcrumb {
    width: 33.33%;
  }

  .shop-show {
    display: none;
  }

  .price_slider_amount > input[type="text"] {
    margin-left: 6px;
    width: 116px;
  }

  .single-testimonial p {
    padding: 0 50px;
  }
}

/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
  .productList {
    width: 750px;
    margin: 40px auto;
  }
  .productList .productListLeft {
    flex: 0 0 240px;
    width: 240px;
  }
  .productList .productListRight {
    flex: 0 0 490px;
    width: 490px;
  }
  .productList .productListRight .productListRightItem {
    width: 115px;
    margin-right: 10px;
    margin-bottom: 20px;
  }
  .productList .productListRight .productListRightItem .product-img {
    width: 115px;
    height: 115px;
    margin-bottom: 10px;
  }
  .productList .productListRight .productListRightItem .product-img img {
    width: 115px;
    height: 115px;
  }

  .imageText-area {
    background-color: #f9f9f9;
    padding: 40px 0;
  }
  .imageText {
    width: 750px;
  }

  .imageText_img {
    flex: 0 0 440px;
    width: 440px;
    margin-right: 40px;
  }

  .imageText_text .imageText_textContect .imageText_textDesc {
    -webkit-line-clamp: 5;
  }
  .productGroupList {
    width: 750px;
  }
  .productGroupList .productGroupList-product {
    flex: 0 0 240px;
    width: 240px;
    height: 140px;
    margin-right: 15px;
  }
  .productGroupList .productGroupList-product img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    margin-right: 10px;
  }
  .blogList {
    width: 750px;
    margin: 0 auto 40px;
  }
  .blogList .blog-wrapper {
    flex: 0 0 240px;
    margin-right: 15px;
  }
  .blogList .blog-wrapper .blog-date {
    top: 135px;
    right: 10px;
    width: 80px;
    height: 40px;
    font-size: 12px;
    line-height: 16px;
  }
  .blog-content .blog-content-title {
    font-size: 16px;
    line-height: 20px;
  }
  .blog-wrapper img {
    width: 240px;
    height: 161px;
  }

  .single-product {
    width: 180px;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .single-product:nth-of-type(4),
  .single-product:nth-of-type(8) {
    margin-right: 0px;
  }

  .product-img img {
    width: 180px;
    height: 180px;
    object-fit: cover;
  }

  .slide1-text {
    top: 63%;
  }

  .product-tag ul li a {
    padding: 5px 9px;
  }

  .contact-info {
    margin-top: 25px;
  }

  .login-margin {
    margin-top: 20px;
  }

  .related-curosel {
    margin-bottom: 40px;
  }

  .shop-right-side {
    margin-top: 40px;
  }

  .slide-height {
    padding: 200px 0;
  }

  .slide-content h1 {
    font-size: 55px;
  }

  .single-testimonial p {
    padding: 0 50px;
  }
}

/* small mobile :320px. */
@media (max-width: 767px) {
  .ruby-container {
    padding: 0 15px;
  }

  .productGroup-area .productGroup .productGroupItem {
    width: 100%;
    padding: 0 15px;
    margin-left: 0 !important;
  }

  .productGroup-area .productGroup .productGroupItem .feature__des {
    width: 66%;
  }

  .productGroup-area .productGroup .productGroupItem:not(:last-child) {
    margin-bottom: 20px;
  }
  .topBanner .topBannerTitle {
    font-size: 24px;
    line-height: 30px;
  }
  .banner-item-content .indexBannerTitle {
    font-size: 24px;
    line-height: 29px;
  }
  .indexMainTitle {
    font-size: 24px;
    line-height: 29px;
  }
  .productGroup-area .productGroupMainTitle {
    font-size: 24px;
    line-height: 29px;
  }
  .imageText_text .imageText_textContect .imageTextMainTitle {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 29px;
  }
  .productGroupTitle {
    font-size: 24px;
    line-height: 29px;
  }
  .section-title {
    margin-bottom: 24px;
  }

  .productList {
    width: calc(100vw - 30px);
    margin: 40px auto;
    display: block;
  }
  .productList .productListLeft {
    text-align: center;
    width: calc(100vw - 30px);
  }
  .productList .productListLeft .productListContect {
    text-align: center;
    width: calc(100vw - 30px);
  }
  .productList .productListLeft .hotProductTitle {
    font-size: 24px;
    font-weight: 800;
    color: #1d1d1d;
    line-height: 29px;
    margin-bottom: 10px;
  }
  .productList .productListLeft .mainTitleLine {
    margin: 0 auto 20px;
    width: 80px;
    height: 4px;
    background: var(--button);
  }
  .productList .productListLeft .hotProductSubTitle {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .productList .productListRight {
    width: calc(100vw - 30px);
    display: flex;
    flex-wrap: wrap;
  }
  .productList .productListRight .productListRightItem {
    width: calc(50vw - 22.5px);
    margin-right: 15px;
    margin-bottom: 20px;
  }
  .productList .productListRight .productListRightItem:nth-child(2n) {
    margin-right: 0px;
  }
  .productList .productListRight .productListRightItem .product-img {
    width: calc(50vw - 22.5px);
    height: calc(50vw - 22.5px);
    margin-bottom: 10px;
  }
  .productList .productListRight .productListRightItem .product-img img {
    width: calc(50vw - 22.5px);
    height: calc(50vw - 22.5px);
    object-fit: cover;
  }
  .productList .productListRight .productListRightItem h3 {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 8px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .productList .productListRight .productListRightItem .price {
    font-size: 16px;
    font-weight: 400;
    line-height: 17px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: var(--button);
  }
  .imageText-area {
    padding: 30px 0 20px;
  }
  .imageText {
    display: flex;
    height: auto;
    flex-wrap: wrap;
    width: calc(100vw - 30px);
  }

  .imageText_text {
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .imageText_text .imageText_textContect .mainTitleLine {
    margin: 0 auto 20px;
  }

  .imageText_text .imageText_textContect .imageText_textDesc {
    -webkit-line-clamp: 20;
    margin-bottom: 30px;
  }

  .imageText_text .imageText_textContect {
    padding: 20px 0px;
  }

  .imageText_img {
    flex: 0 0 100%;
    width: 100%;
  }

  .imageText_img .slick-slide img {
    width: 100vw;
    height: 100vw;
    object-fit: cover;
  }

  .productGroupList {
    width: calc(100vw - 30px);
  }
  .productGroupList .productGroupList-product:nth-child(3n) {
    margin-right: auto;
  }
  .productGroupList .productGroupList-product:nth-child(2n) {
    margin-right: 0;
  }
  .productGroupList .productGroupList-product {
    flex: 0 0 calc(100vw - 30px);
    width: calc(100vw - 30px);
    margin-right: 15px;
    height: auto;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 10px;
  }
  .productGroupList .productGroupList-product img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
  }
  .blogList {
    width: calc(100vw - 30px);
    margin: 0 auto 40px;
  }
  .blogList .blog-wrapper {
    flex: 0 0 calc(100vw - 30px);
    margin: 0;
  }
  .blogList .blog-wrapper .blog-date {
    top: calc(67.3vw - 45px);
    right: 20px;
  }
  .blog-content .blog-content-title {
    font-size: 16px;
    line-height: 20px;
  }
  .blog-wrapper img {
    width: calc(100vw - 30px);
    height: calc(67.3vw - 20.2px);
  }
  .productContactBottom {
    display: block;
  }

  .productShareLink {
    margin: 0;
  }

  .shareInputBox {
    width: calc(100vw - 70px);
  }

  #productModal {
    width: 100vw;
  }

  #productModal .contactDiglog {
    width: calc(100vw - 30px);
  }

  .xs-pading-0 {
    padding: 0;
  }

  .contact .contactItem {
    flex: 0 0 100%;
  }

  .topBanner img {
    height: auto;
  }

  .pad-80 {
    padding: 40px 0;
  }

  .pad-80-50 {
    padding: 40px 0 10px;
  }

  .container {
    width: calc(100vw - 30px);
    margin: 0 auto;
  }

  .single-product {
    width: calc(50vw - 22.5px);
    margin-right: 15px;
    margin-bottom: 15px;
  }

  .single-product:nth-of-type(2),
  .single-product:nth-of-type(4),
  .single-product:nth-of-type(5),
  .single-product:nth-of-type(8) {
    margin-right: 0px;
  }

  .product-content h3 {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
  }

  .product-content {
    padding: 10px;
  }

  .product-content .price span {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
  }

  .product-img img {
    width: calc(50vw - 22.5px);
    height: calc(50vw - 22.5px);
    object-fit: cover;
  }

  .cap-title h1 {
    font-size: 24px;
  }

  .marg-20 {
    margin-top: 0;
  }

  .upcoming-content {
    margin-top: 20px;
  }

  .payment-img {
    float: none;
    margin-top: 20px;
  }

  .banner-caption h2 {
    font-size: 20px;
  }

  .timer .cdown {
    font-size: 18px;
    height: 80px;
    width: 55px;
  }

  .timer .time-count {
    padding-top: 12px;
  }

  .single-brand {
    text-align: center;
  }

  .nivo-directionNav a {
    width: 30px;
  }

  .slider-container:hover .nivo-prevNav {
    left: 20px;
  }

  .slider-container:hover .nivo-nextNav {
    right: 20px;
  }

  .category-area-3 .col-md-4 {
    margin-bottom: 20px;
  }

  .category-area-3 .col-md-4:last-child {
    margin-bottom: 20px;
  }

  .breadcrumb-area {
    padding: 70px 0;
  }

  .team-area .col-md-3 {
    margin-bottom: 20px;
  }

  .team-area .col-md-3:last-child {
    margin-bottom: 0;
  }

  .buttons-cart input,
  .coupon input[type="submit"],
  .buttons-cart a,
  .coupon-info p.form-row input[type="submit"] {
    padding: 0 8px;
    margin-bottom: 10px;
  }

  .buttons-cart {
    margin-top: 15px;
  }

  p.checkout-coupon input[type="text"] {
    width: 145px;
  }

  .ship-different-title h3 label {
    font-size: 22px;
  }

  .your-order {
    padding: 30px 10px 45px;
  }

  .single-contact {
    padding: 38px 14px;
  }

  .contact-method h2,
  .message-title h1 {
    font-size: 16px;
  }

  .contact-info {
    margin-top: 20px;
  }

  .login-margin {
    margin-top: 20px;
  }

  .social-sign a.twitter {
    margin-top: 10px;
  }

  .login-lost span.forgot-login {
    display: block;
    float: none;
    margin-bottom: 14px;
  }

  .related-curosel {
    margin-bottom: 40px;
  }

  .shop-tab,
  .shop-breadcrumb {
    width: 50%;
  }

  .short-by,
  .shop-show {
    display: none;
  }

  .shop-content {
    margin-top: 40px;
  }

  .shop-list .product-img {
    width: 100%;
  }

  .shop-list .product-content {
    padding-left: 5px;
    width: 100%;
  }

  .shop-full .shop-content {
    margin-top: 0px;
  }

  .shop-right-side {
    margin-top: 40px;
  }

  .slide-height {
    padding: 100px 0;
  }

  .slide-content h1 {
    font-size: 33px;
  }

  .single-testimonial p {
    padding: 0 0;
  }
}

/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .container {
    width: 450px;
  }

  .cap-title h1 {
    font-size: 30px;
  }

  .buttons-cart input,
  .coupon input[type="submit"],
  .buttons-cart a,
  .coupon-info p.form-row input[type="submit"] {
    padding: 0 15px;
  }

  .login-lost span.forgot-login {
    display: inline-block;
    float: right;
    margin-bottom: 14px;
  }
}
