/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2025   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept    *
* to the terms of the License Agreement can install and use this program.                  *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com                                                *
*   email: info@alexbranding.com                                                           *
*******************************************************************************************/
/* Adds support for the "gap" property to the Safari browser. */
/* TODO: Delete fallback.css and fallback.js files after Safari browser supports "gap" property */

/* BOTTOM */

/* gap: var(--space-xs) */
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post-message > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post__content > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-product-rating-overview > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-product-stars-details > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-write-review > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-new-review__body > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-new-review-customer > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-new-review-customer-profile > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-new-product-review-customer > *:not(:last-child) {
    margin-bottom: var(--space-xs);
}

/* gap: var(--space-m) */
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-reviews-sidebar > *:not(:last-child) {
    margin-bottom: var(--space-m);
}

/* gap: var(--space-s) */
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-reviews-view__main-content > .ty-pagination-container > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-view__posts > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-reviews-view__main > *:not(:last-child) {
    margin-bottom: var(--space-s);
}


/* RIGHT */

_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-block .top-product-layer > *:not(:last-child) {
    margin-right: var(--space-s);
}

/* gap: var(--space-xs) */
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post-location > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post-images > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-new-review-customer-profile__location > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post-header > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-product-rating-overview-short > *:not(:last-child),
_::-webkit-full-page-media, _:future, :root:not(.supported-gap) .ty-product-review-post-customer__address > * {
    margin-right: var(--space-xs);
}