.rtl input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.form-control {
    padding: 10px 15px;
    border-radius: 5px;
}

/* Bootstrap 4 (which this theme ships locally) has no .gap-* flex/grid gap
   utilities — those were only introduced in Bootstrap 5. Several components
   (header.jinja, product-card.jinja, products-filter.jinja...) use gap-3,
   so it's defined here instead of loading the entire Bootstrap 5 bundle. */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Same story: .justify-content-evenly (used in header.jinja's header-top row)
   isn't in this local Bootstrap 4 build. */
.justify-content-evenly { justify-content: space-evenly !important; }

/* .overflow-* utilities are also missing from this local Bootstrap 4 build.
   .overflow-hidden is used on layout.jinja's main page wrapper (every page),
   .overflow-auto on the blog category bar. */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }
