@media (min-width: 820px) {
    #content {
        padding: 30px;
    }

    .woocommerce-breadcrumb {
        width: 95%;
        height: 55px;
        background: white;
        border-radius: 10px;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        font-size: 20px;
        display: flex;
        align-items: center;
        padding: 15px !important;
        font-weight: 600;
        margin: 0 auto 30px !important;
    }

    .woocommerce-product-gallery__wrapper img {
        height: 400px !important;
        object-fit: contain;
    }

    .summary {
        position: relative;
        height: 400px;
    }

    .product_title {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 32px;
        position: relative;
    }

    .product-sku {
        font-size: 18px;
        color: #959595;
        margin-bottom: 15px;
    }

    .price {
        font-weight: 700;
        color: #515151 !important;
        font-size: 24px !important;
        margin-bottom: 15px;
    }

    .tagged_as {
        margin-left: 10px;
    }

    .product-categories .posted_in a {
        padding: 5px 10px;
        background: #ff8c3f;
        color: #ffffff;
        border-radius: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
        font-weight: 700;
        display: inline-block;
    }

    .product-categories .tagged_as a {
        padding: 5px 10px;
        background: #d9d9d9;
        color: #646464;
        border-radius: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
        font-weight: 700;
        display: inline-block;
    }

    .product-quantity-wrapper {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .single-product-qty {
        display: inline-block;
    }

    .single-product-qty .in-stock {
        margin-left: 20px;
        color: #4d4d4d !important;
        font-size: 18px !important;
        font-weight: 600;
    }

    .single-product-qty .out-of-stock {
        margin-left: 20px;
        color: #a00 !important;
        font-size: 18px !important;
        font-weight: 600;
    }

    .CartBtn {
        margin-top: 5px;
    }

    .CartBtn a {
        width: 100%;
        text-align: center;
        border-radius: 10px !important;
        background-color: #ff8c3f !important;
        color: #fff !important;
        font-weight: 600 !important;
    }

    .CartBtn a:hover {
        background: #ff9e5e !important;
    }

    .disabled {
        pointer-events: none;
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .added_to_cart {
        display: none !important;
    }

    .qty-control {
        display: inline-flex;
        width: 100%;
        max-width: 180px;
        justify-content: center;
        margin-top: 10px;
    }

    .qty-control input {
        width: 60%;
        height: 30px;
        border: none;
        text-align: center;
        font-weight: 600;
    }

    .minus,
    .plus {
        width: 20%;
        border: none;
        background: #ff8c3f;
        cursor: pointer;
    }

    .qty-control button:disabled,
    .CartBtn button:disabled {
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .minus:hover,
    .plus:hover {
        background: #ff9e5e;
    }

    .minus {
        border-radius: 6px 0 0 6px;
    }

    .plus {
        border-radius: 0 6px 6px 0;
    }

    .woocommerce ul.products li.product .button {
        margin-top: 5px !important;
    }

    .space {
        height: 10px;
        width: 100%;
        padding: 0 1em;
        display: inline-block;
    }

    .related {
        position: relative;
    }

    .related h2 {
        font-size: 28px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        float: none !important;
        margin: 0 !important;
        padding: 0;
        width: 15% !important;
    }

    .woocommerce .products ul::after,
    .woocommerce .products ul::before,
    .woocommerce ul.products::after,
    .woocommerce ul.products::before {
        content: none !important;
    }

    .columns-4 {
        display: flex;
        justify-content: space-evenly;
    }

    .columns-4 li {
        height: 500px;
    }

    .collection-product-card {
        height: 100%;
        position: relative;
    }

    .columns-4 img {
        height: 300px !important;
        object-fit: contain;
        border: 1px solid #f2f2f2;
    }

    .collection-product-bottom {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .product-title {
        font-size: 16px;
        font-weight: 600;
    }

    .product-price span {
        font-size: 18px !important;
        font-weight: 500;
    }
}

@media (max-width: 1209px) {
    .columns-4 img {
        height: 250px !important;
    }

    .collection-product-card {
        height: 90%;
    }

    .product-title {
        font-size: 14px;
        font-weight: 600;
    }
}

@media (max-width: 819px) {
    #content {
        padding: 20px;
    }

    .woocommerce-breadcrumb {
        width: 95%;
        height: 55px;
        background: white;
        border-radius: 10px;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        font-size: 20px;
        display: flex;
        align-items: center;
        padding: 15px !important;
        font-weight: 600;
        margin: 0 auto 30px !important;
    }

    .woocommerce-product-gallery__wrapper img {
        height: 400px !important;
        object-fit: contain;
    }

    .summary {
        position: relative;
        height: 400px;
    }

    .product_title {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 32px;
        position: relative;
    }

    .product-sku {
        font-size: 18px;
        color: #959595;
        margin-bottom: 15px;
    }

    .price {
        font-weight: 700;
        color: #515151 !important;
        font-size: 24px !important;
        margin-bottom: 15px;
    }

    .tagged_as {
        margin-left: 10px;
    }

    .product-categories .posted_in a {
        padding: 5px 10px;
        background: #ff8c3f;
        color: #ffffff;
        border-radius: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
        font-weight: 700;
        display: inline-block;
    }

    .product-categories .tagged_as a {
        padding: 5px 10px;
        background: #d9d9d9;
        color: #646464;
        border-radius: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
        font-weight: 700;
        display: inline-block;
    }

    .product-quantity-wrapper {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .single-product-qty {
        display: inline-block;
    }

    .single-product-qty .in-stock {
        margin-left: 20px;
        color: #4d4d4d !important;
        font-size: 18px !important;
        font-weight: 600;
    }

    .single-product-qty .out-of-stock {
        margin-left: 20px;
        color: #a00 !important;
        font-size: 18px !important;
        font-weight: 600;
    }

    .CartBtn {
        margin-top: 5px;
    }

    .CartBtn a {
        width: 100%;
        text-align: center;
        border-radius: 10px !important;
        background-color: #ff8c3f !important;
        color: #fff !important;
        font-weight: 600 !important;
    }

    .CartBtn a:hover {
        background: #ff9e5e !important;
    }

    .disabled {
        pointer-events: none;
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .added_to_cart {
        display: none !important;
    }

    .qty-control {
        display: inline-flex;
        width: 100%;
        max-width: 180px;
        justify-content: center;
        margin-top: 10px;
    }

    .qty-control input {
        width: 60%;
        height: 30px;
        border: none;
        text-align: center;
        font-weight: 600;
    }

    .minus,
    .plus {
        width: 20%;
        border: none;
        background: #ff8c3f;
        cursor: pointer;
    }

    .qty-control button:disabled,
    .CartBtn button:disabled {
        background-color: #ffb98b;
        cursor: not-allowed;
    }

    .minus:hover,
    .plus:hover {
        background: #ff9e5e;
    }

    .minus {
        border-radius: 6px 0 0 6px;
    }

    .plus {
        border-radius: 0 6px 6px 0;
    }

    .woocommerce ul.products li.product .button {
        margin-top: 5px !important;
    }

    .space {
        height: 10px;
        width: 100%;
        padding: 0 1em;
        display: inline-block;
    }

    .related {
        position: relative;
    }

    .related h2 {
        font-size: 28px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        float: none !important;
        margin: 0 !important;
        width: 25% !important;
    }

    .woocommerce .products ul::after,
    .woocommerce .products ul::before,
    .woocommerce ul.products::after,
    .woocommerce ul.products::before {
        content: none !important;
    }

    .columns-4 {
        display: flex;
        flex-wrap: wrap;
    }

    .columns-4 li {
        height: 400px;
        padding: 2px 10px !important;
    }

    .collection-product-card {
        height: 90%;
        position: relative;
    }

    .columns-4 img {
        height: 150px !important;
        object-fit: contain;
        border: 1px solid #f2f2f2;
    }

    .collection-product-bottom {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .product-title {
        font-size: 14px;
        font-weight: 600;
    }

    .product-price span {
        font-size: 16px !important;
        font-weight: 500;
    }
}

@media (max-width: 590px) {
    #content {
        padding: 10px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 50% !important;
    }
}