/* Hanadi WooCommerce polish inspired by the current homepage direction. */
body.woocommerce-page,
body.woocommerce,
body.single-product,
body.woocommerce-checkout {
    background: #fff;
    font-family: "Cairo", sans-serif;
    color: #191919;
}

body.woocommerce-page #content,
body.single-product #content,
body.woocommerce-checkout #content {
    background:
        linear-gradient(180deg, #fff 0, #fff 55%, #faf8f3 100%);
}

body.woocommerce-page .site-main,
body.single-product .site-main,
body.woocommerce-checkout .site-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 58px) clamp(16px, 3vw, 48px);
    font-family: "Cairo", sans-serif;
}

body.woocommerce-page .page-header,
body.single-product .page-header,
body.woocommerce-checkout .page-header {
    display: none;
}

body.woocommerce-page #secondary,
body.single-product #secondary,
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
body.page-id-9 #secondary {
    display: none !important;
}

body.woocommerce-page .page-grid,
body.single-product .page-grid,
body.post-type-archive-product .page-grid,
body.tax-product_cat .page-grid,
body.tax-product_tag .page-grid,
body.page-id-9 .page-grid {
    display: block !important;
}

body.woocommerce-page .site-main,
body.single-product .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.page-id-9 .site-main,
body.woocommerce-page .content-area,
body.single-product .content-area,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.tax-product_tag .content-area,
body.page-id-9 .content-area,
body.woocommerce-page .content-wrap-main,
body.single-product .content-wrap-main,
body.post-type-archive-product .content-wrap-main,
body.tax-product_cat .content-wrap-main,
body.tax-product_tag .content-wrap-main,
body.page-id-9 .content-wrap-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.woocommerce-page .widget_price_filter,
body.single-product .widget_price_filter,
body.page-id-9 .widget_price_filter,
body.woocommerce-page .widget_product_search,
body.single-product .widget_product_search,
body.page-id-9 .widget_product_search,
body.woocommerce-page .widget_product_categories,
body.single-product .widget_product_categories,
body.page-id-9 .widget_product_categories,
body.woocommerce-page .widget_recently_viewed_products,
body.single-product .widget_recently_viewed_products,
body.page-id-9 .widget_recently_viewed_products,
body.woocommerce-page .widget_top_rated_products,
body.single-product .widget_top_rated_products,
body.page-id-9 .widget_top_rated_products {
    display: none !important;
}

body.woocommerce-page .woocommerce,
body.single-product .woocommerce,
body.woocommerce-checkout .woocommerce {
    max-width: 100%;
    margin: 0 auto;
    font-family: "Cairo", sans-serif;
}

body.woocommerce-shop .woocommerce::before,
body.post-type-archive-product .woocommerce::before,
body.tax-product_cat .woocommerce::before {
    content: "المتجر";
    display: block;
    margin: 0 0 10px;
    color: #111;
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    text-align: right;
}

body.woocommerce-shop .woocommerce::after,
body.post-type-archive-product .woocommerce::after,
body.tax-product_cat .woocommerce::after {
    content: "اكتشف عطور هنادي المختارة بعناية";
    display: block;
    width: 100%;
    margin: -6px 0 28px;
    color: #777;
    font-size: clamp(15px, 1.4vw, 21px);
    font-weight: 600;
    line-height: 1.7;
    text-align: right;
}

body.woocommerce-page .woocommerce-result-count {
    float: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 20px 18px;
    padding: 0 18px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
}

body.woocommerce-page .woocommerce-ordering {
    float: left;
    margin: 0 0 24px;
}

body.woocommerce-page .woocommerce-ordering select {
    min-width: 230px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #e8e3d8;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    outline: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
}

body .woocommerce .woocommerce-result-count {
    float: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 20px 18px;
    padding: 0 18px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
}

body .woocommerce .woocommerce-ordering {
    float: left;
    margin: 0 0 24px;
}

body .woocommerce .woocommerce-ordering select {
    min-width: 230px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #e8e3d8;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    outline: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
}

body.woocommerce-page ul.products {
    clear: both;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    margin: 0;
    padding: 10px 0 0;
}

body .woocommerce ul.products {
    clear: both;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    margin: 0;
    padding: 10px 0 0;
}

body .woocommerce ul.products::before,
body .woocommerce ul.products::after {
    display: none !important;
}

body .woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 1px solid #f1eee8;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(31, 25, 15, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body .woocommerce ul.products li.product:hover {
    border-color: rgba(220, 181, 11, .38);
    box-shadow: 0 26px 54px rgba(31, 25, 15, .11);
    transform: translateY(-6px);
}

body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    padding: 22px 20px 0;
}

body .woocommerce ul.products li.product a img {
    width: 100% !important;
    height: clamp(250px, 23vw, 360px) !important;
    margin: 0 auto 22px !important;
    object-fit: contain;
    object-position: center;
    transition: transform .25s ease;
}

body .woocommerce ul.products li.product:hover a img {
    transform: scale(1.045);
}

body .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 54px;
    margin: 0 auto 10px;
    padding: 0 12px !important;
    color: #3b3b3b;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.55;
}

body .woocommerce ul.products li.product .price {
    display: block;
    margin: 0 0 18px;
    color: #bd5e64 !important;
    font-size: 24px !important;
    font-weight: 800;
    line-height: 1.25;
}

body .woocommerce ul.products li.product .button,
body .woocommerce ul.products li.product .add_to_cart_button,
body .woocommerce ul.products li.product .product_type_simple {
    display: inline-flex !important;
    width: calc(100% - 34px);
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    border: 0;
    border-radius: 6px;
    background: #202020 !important;
    color: #fff !important;
    font-family: "Cairo", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

body .woocommerce ul.products li.product .button:hover,
body .woocommerce ul.products li.product .add_to_cart_button:hover {
    background: #dcb50b !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
    display: none !important;
}

body.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 1px solid #f1eee8;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(31, 25, 15, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.woocommerce-page ul.products li.product:hover {
    border-color: rgba(220, 181, 11, .38);
    box-shadow: 0 26px 54px rgba(31, 25, 15, .11);
    transform: translateY(-6px);
}

body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    padding: 22px 20px 0;
}

body.woocommerce-page ul.products li.product a img {
    width: 100% !important;
    height: clamp(250px, 23vw, 360px) !important;
    margin: 0 auto 22px !important;
    object-fit: contain;
    object-position: center;
    transition: transform .25s ease;
}

body.woocommerce-page ul.products li.product:hover a img {
    transform: scale(1.045);
}

body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 54px;
    margin: 0 auto 10px;
    padding: 0 12px !important;
    color: #3b3b3b;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.55;
}

body.woocommerce-page ul.products li.product .price {
    display: block;
    margin: 0 0 18px;
    color: #bd5e64 !important;
    font-size: 24px !important;
    font-weight: 800;
    line-height: 1.25;
}

body.woocommerce-page ul.products li.product .button,
body.woocommerce-page ul.products li.product .add_to_cart_button,
body.woocommerce-page ul.products li.product .product_type_simple {
    display: inline-flex !important;
    width: calc(100% - 34px);
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    border: 0;
    border-radius: 6px;
    background: #202020 !important;
    color: #fff !important;
    font-family: "Cairo", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

body.woocommerce-page ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .add_to_cart_button:hover {
    background: #dcb50b !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body.woocommerce-page span.onsale,
body.single-product span.onsale {
    min-width: 58px;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 5px;
    background: #ea7180;
    color: #fff;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

body.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: start;
}

body.single-product div.product div.images.woocommerce-product-gallery {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: clamp(22px, 3vw, 44px);
    border: 1px solid #f0ece4;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
    box-shadow: 0 24px 60px rgba(31, 25, 15, .07);
}

body.single-product div.product div.images img {
    max-height: 610px;
    object-fit: contain;
}

body.single-product div.product .summary.entry-summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: clamp(22px, 3vw, 42px);
    border: 1px solid #f0ece4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(31, 25, 15, .07);
}

body.single-product .summary.entry-summary .product_title {
    margin: 0 0 18px;
    color: #151515;
    font-size: clamp(28px, 3.2vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
}

body.single-product .summary.entry-summary .price {
    margin: 0 0 22px;
    color: #bd5e64 !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 900;
}

body.single-product .summary.entry-summary .woocommerce-product-details__short-description {
    margin: 0 0 24px;
    color: #555;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.9;
}

body.single-product .summary.entry-summary .cart {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin: 0 0 26px;
}

body.single-product .summary.entry-summary .cart div.quantity {
    float: none;
    margin: 0 !important;
}

body.single-product .summary.entry-summary .cart div.quantity .qty {
    width: 100%;
    height: 62px;
    border: 1px solid #e8e3d8;
    border-radius: 6px;
    color: #111;
    font-family: "Cairo", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

body.single-product .summary.entry-summary .single_add_to_cart_button {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 6px;
    background: #202020 !important;
    color: #fff !important;
    font-family: "Cairo", sans-serif;
    font-size: 20px;
    font-weight: 900;
    transition: background .18s ease, transform .18s ease;
}

body.single-product .summary.entry-summary .single_add_to_cart_button:hover {
    background: #dcb50b !important;
    transform: translateY(-1px);
}

body.single-product .summary.entry-summary .product_meta {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #f0ece4;
    color: #777;
    font-size: 15px;
    font-weight: 700;
}

body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
    grid-column: 1 / -1;
    margin-top: clamp(24px, 4vw, 54px);
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid #f0ece4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(31, 25, 15, .055);
}

body.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    padding: 0 !important;
    border: 0;
}

body.single-product div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #e9e1d4 !important;
    border-radius: 999px !important;
    background: #fff !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active {
    background: #202020 !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
    padding: 10px 20px !important;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-weight: 800;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
}

body.single-product .related.products {
    grid-column: 1 / -1;
    margin-top: clamp(26px, 4vw, 58px);
}

body.single-product .related.products > h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .woocommerce-billing-fields > h3 {
    color: #151515;
    font-family: "Cairo", sans-serif;
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 900;
    line-height: 1.3;
}

body.woocommerce-checkout .woocommerce {
    max-width: 1320px;
}

body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: clamp(22px, 3vw, 44px);
    align-items: start;
}

body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #order_review,
body.woocommerce-checkout form.checkout #order_review_heading {
    float: none !important;
    width: auto !important;
}

body.woocommerce-checkout form.checkout #customer_details {
    display: block;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid #f0ece4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(31, 25, 15, .07);
}

body.woocommerce-checkout form.checkout #order_review,
body.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2;
}

body.woocommerce-checkout form.checkout #order_review_heading {
    margin: 0;
    padding: 26px 30px 0;
    border: 1px solid #f0ece4;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #fff;
}

body.woocommerce-checkout form.checkout #order_review {
    margin: 0;
    padding: 0 30px 30px;
    border: 1px solid #f0ece4;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(31, 25, 15, .07);
}

body.woocommerce-checkout .form-row label {
    margin-bottom: 7px;
    color: #282828;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 52px;
    border: 1px solid #e8e3d8;
    border-radius: 6px;
    background: #fbfaf7;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea {
    padding: 12px 15px;
}

body.woocommerce-checkout .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-checkout table.shop_table {
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    padding: 16px 0;
    border-color: #f0ece4;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-checkout #payment {
    border-radius: 8px;
    background: #fbfaf7;
}

body.woocommerce-checkout #payment ul.payment_methods {
    border-color: #eee5d8;
}

body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout button.button,
body.woocommerce-checkout .woocommerce-button {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 6px;
    background: #dcb50b !important;
    color: #fff !important;
    font-family: "Cairo", sans-serif;
    font-size: 19px;
    font-weight: 900;
    transition: background .18s ease, transform .18s ease;
}

body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout button.button:hover {
    background: #202020 !important;
    transform: translateY(-1px);
}

body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error {
    border: 1px solid #f0ece4;
    border-top: 4px solid #dcb50b;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-family: "Cairo", sans-serif;
    font-weight: 700;
    box-shadow: 0 14px 38px rgba(31, 25, 15, .06);
}

body.woocommerce-shop .add_to_cart_button,
body.post-type-archive-product .add_to_cart_button,
body.tax-product_cat .add_to_cart_button,
body.tax-product_tag .add_to_cart_button,
body.page-id-9 .add_to_cart_button,
body.single-product .single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

body.woocommerce-shop .add_to_cart_button::before,
body.post-type-archive-product .add_to_cart_button::before,
body.tax-product_cat .add_to_cart_button::before,
body.tax-product_tag .add_to_cart_button::before,
body.page-id-9 .add_to_cart_button::before,
body.single-product .single_add_to_cart_button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .35) 45%, transparent 72%);
    transform: translateX(130%);
    opacity: 0;
}

body.woocommerce-shop .add_to_cart_button.hanadi-cart-pressed,
body.post-type-archive-product .add_to_cart_button.hanadi-cart-pressed,
body.tax-product_cat .add_to_cart_button.hanadi-cart-pressed,
body.tax-product_tag .add_to_cart_button.hanadi-cart-pressed,
body.page-id-9 .add_to_cart_button.hanadi-cart-pressed,
body.single-product .single_add_to_cart_button.hanadi-cart-pressed {
    transform: scale(.97) translateY(1px);
}

body.woocommerce-shop .add_to_cart_button.hanadi-cart-loading,
body.post-type-archive-product .add_to_cart_button.hanadi-cart-loading,
body.tax-product_cat .add_to_cart_button.hanadi-cart-loading,
body.tax-product_tag .add_to_cart_button.hanadi-cart-loading,
body.page-id-9 .add_to_cart_button.hanadi-cart-loading,
body.single-product .single_add_to_cart_button.hanadi-cart-loading {
    background: #343434 !important;
    color: #fff !important;
    pointer-events: none;
}

body.woocommerce-shop .add_to_cart_button.hanadi-cart-loading::before,
body.post-type-archive-product .add_to_cart_button.hanadi-cart-loading::before,
body.tax-product_cat .add_to_cart_button.hanadi-cart-loading::before,
body.tax-product_tag .add_to_cart_button.hanadi-cart-loading::before,
body.page-id-9 .add_to_cart_button.hanadi-cart-loading::before,
body.single-product .single_add_to_cart_button.hanadi-cart-loading::before {
    opacity: 1;
    animation: hanadiCartShine 1s linear infinite;
}

body.woocommerce-shop .add_to_cart_button.hanadi-cart-added,
body.post-type-archive-product .add_to_cart_button.hanadi-cart-added,
body.tax-product_cat .add_to_cart_button.hanadi-cart-added,
body.tax-product_tag .add_to_cart_button.hanadi-cart-added,
body.page-id-9 .add_to_cart_button.hanadi-cart-added,
body.single-product .single_add_to_cart_button.hanadi-cart-added {
    background: #15995f !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(21, 153, 95, .25);
    animation: hanadiCartAdded .42s ease both;
}

body.woocommerce-shop .add_to_cart_button.hanadi-cart-added::after,
body.post-type-archive-product .add_to_cart_button.hanadi-cart-added::after,
body.tax-product_cat .add_to_cart_button.hanadi-cart-added::after,
body.tax-product_tag .add_to_cart_button.hanadi-cart-added::after,
body.page-id-9 .add_to_cart_button.hanadi-cart-added::after,
body.single-product .single_add_to_cart_button.hanadi-cart-added::after {
    content: "✓";
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    margin-inline-start: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

body.single-product .woocommerce-message {
    animation: hanadiCartMessage .55s ease both;
}

@keyframes hanadiCartShine {
    from {
        transform: translateX(130%);
    }
    to {
        transform: translateX(-130%);
    }
}

@keyframes hanadiCartAdded {
    0% {
        transform: scale(.98);
    }
    55% {
        transform: scale(1.035);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes hanadiCartMessage {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    body .woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.single-product div.product,
    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout form.checkout #order_review,
    body.woocommerce-checkout form.checkout #order_review_heading {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    body.woocommerce-page .site-main,
    body.single-product .site-main,
    body.woocommerce-checkout .site-main {
        padding: 22px 12px;
    }

    body .woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body .woocommerce ul.products li.product,
    body.woocommerce-page ul.products li.product {
        border-radius: 6px;
        box-shadow: 0 14px 30px rgba(31, 25, 15, .055);
    }

    body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
    body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
        padding: 14px 10px 0;
    }

    body .woocommerce ul.products li.product a img,
    body.woocommerce-page ul.products li.product a img {
        height: clamp(180px, 46vw, 260px) !important;
        margin-bottom: 14px !important;
    }

    body .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        min-height: 50px;
        font-size: 14px !important;
        line-height: 1.55;
    }

    body .woocommerce ul.products li.product .price,
    body.woocommerce-page ul.products li.product .price {
        font-size: 18px !important;
    }

    body .woocommerce ul.products li.product .button,
    body .woocommerce ul.products li.product .add_to_cart_button,
    body.woocommerce-page ul.products li.product .button,
    body.woocommerce-page ul.products li.product .add_to_cart_button {
        width: calc(100% - 20px);
        min-height: 48px;
        font-size: 14px;
    }

    body .woocommerce .woocommerce-result-count,
    body .woocommerce .woocommerce-ordering,
    body.woocommerce-page .woocommerce-result-count,
    body.woocommerce-page .woocommerce-ordering {
        float: none;
        display: block;
        width: 100%;
        margin: 0 0 12px;
    }

    body .woocommerce .woocommerce-ordering select,
    body.woocommerce-page .woocommerce-ordering select {
        width: 100%;
    }

    body.single-product div.product {
        gap: 18px;
    }

    body.single-product div.product div.images.woocommerce-product-gallery,
    body.single-product div.product .summary.entry-summary,
    body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper,
    body.woocommerce-checkout form.checkout #customer_details,
    body.woocommerce-checkout form.checkout #order_review,
    body.woocommerce-checkout form.checkout #order_review_heading {
        padding: 18px;
        border-radius: 8px;
    }

    body.single-product .summary.entry-summary .cart {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    body.single-product .summary.entry-summary .cart div.quantity .qty,
    body.single-product .summary.entry-summary .single_add_to_cart_button {
        min-height: 54px;
        height: 54px;
        font-size: 16px;
    }

    body.woocommerce-checkout form.checkout {
        gap: 16px;
    }
}
