.page-main {
    padding-top: 20px;
    /* Adjust based on your header height */
}

body.custom_result-bg {
    background-color: #F9FAFB !important;
}

/* ================================ */
/* Global Typography for Entire Site */
/* ================================ */

body,
body * {
    font-family: 'Inter', sans-serif !important;
    /* font-weight: bold !important; */
}

body.customer-account-index .page-main,
body.customer-account .page-main {
    padding-top: 160px !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: clamp(28px, 4vw, 33px);
    line-height: 1.2;
    margin: 0 0 1em 0;
}

/* Paragraphs, spans, divs, links */
p,
span,
div,
a,
li,
label,
td,
th {
    font-size: clamp(12px, 2vw, 16px);
    line-height: 1.5;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Optional: make input/textarea readable */
input,
textarea,
select,
button {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 16px);
}

/* Apply only on vendor-membership page */
@media (min-width: 768px) {
    .vendorsmembership-index-index .page-wrapper {
        margin: 0;
        position: relative;
        transition: margin .3s ease-out 0s;
        padding-top: 150px;
    }
}

.pricing-heading {
    color: #9C9E9F;
    margin-bottom: 4rem;
    text-align: center;
    padding-top: 10px !important;
}

@media screen and (min-width: 768px) {

    .checkout-index-index .page-wrapper,
    .checkout-cart-index.page-layout-1column .page-wrapper {
        margin: 0;
        position: relative;
        transition: margin .3s ease-out 0s;
        padding-top: 150px;
    }
}

.success-custom-padding .columns .column.main {
    padding-top: 200px !important;
}

.block.block-reorder,
.block-reorder,
.sidebar .block-reorder .sidebar-additional {
    display: none !important;
}

.opc-wrapper {

    width: 50% !important;

}
        .opc-progress-bar {
            margin: 0 0 20px;
            counter-reset: i;
            display: none;
            font-size: 0;
        }
    
    @media (min-width: 769px), print {
        .opc-progress-bar {
            margin: 0 0 20px;
            counter-reset: i;
            display: none;
            font-size: 0;
        }
    }

    .payment-method-content { display: none; }
.payment-method._active .payment-method-content { display: block; }

/* Checkout payment methods - modern UI */
.checkout-index-index {

  .payment-method {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    margin: 0 0 12px;
  }

  .payment-method._active {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  }

  /* Row header (radio + title + logos) */
  .payment-method-title.field.choice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .payment-method-title.field.choice input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
  }

  /* Make label take remaining width */
  .payment-method-title.field.choice .label {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* title left, logos right */
    gap: 12px;
    margin: 0;
    cursor: pointer;
  }

  /* Payment title text */
  .payment-method-title.field.choice .label span,
  .payment-method-title.field.choice .label {
    font-weight: 600;
    color: #111827;
  }

  /* Logos: keep same size and aligned */
  .payment-method-title.field.choice img,
  .payment-method-title.field.choice svg {
    height: 22px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
  }

  /* If too many logos, allow smooth horizontal scroll instead of breaking layout */
  .payment-method-title.field.choice .label {
    overflow: hidden;
  }

  .payment-method-title.field.choice .label img,
  .payment-method-title.field.choice .label svg {
    flex: 0 0 auto;
  }

  /* Greyscale non-selected logos (nice modern effect) */
  .payment-method:not(._active) .payment-method-title img,
  .payment-method:not(._active) .payment-method-title svg {
    opacity: 0.75;
    filter: grayscale(100%);
  }

  .payment-method._active .payment-method-title img,
  .payment-method._active .payment-method-title svg {
    opacity: 1;
    filter: none;
  }

  /* Content area */
  .payment-method-content {
    border-top: 1px solid #f3f4f6;
    padding: 16px;
  }
}
.payment-method-title.field.choice img,
.payment-method-title.field.choice svg {
  height: 22px !important;
  width: auto !important;
  max-width: 52px !important;
  object-fit: contain !important;
}

/* Hide progress bar only on payment step */
.checkout-index-index.checkout-payment-index .opc-progress-bar,
.checkout-index-index.checkout-payment-index .opc-progress-bar-container {
  display: none !important;
}
/* Hide progress bar on all checkout pages */
.checkout-index-index .opc-progress-bar,
.checkout-index-index .opc-progress-bar-container {
  display: none !important;
}


/* ===== Right sidebar: Order Summary modern card ===== */
.checkout-index-index #opc-sidebar {
  position: sticky;
  top: 110px;               /* adjust if header height differs */
  align-self: start;
}

/* the container you highlighted: div.space-y-4 */
.checkout-index-index #opc-sidebar .space-y-4 {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Title */
.checkout-index-index #opc-sidebar .space-y-4 .text-lg,
.checkout-index-index #opc-sidebar .space-y-4 .text-lg.font-semibold {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f2a5f !important;
  margin-bottom: 12px !important;
}

/* Totals table */
.checkout-index-index #opc-sidebar .table-totals {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px; /* spacing between rows like modern UI */
}

/* Each row */
.checkout-index-index #opc-sidebar .table-totals tr th,
.checkout-index-index #opc-sidebar .table-totals tr td {
  font-size: 15px;
  color: #4b5563;
  padding: 2px 0;
  font-weight: 500;
}

.checkout-index-index #opc-sidebar .table-totals tr td {
  text-align: right;
  color: #0f2a5f;
  font-weight: 700;
}

/* Make grand total area prominent */
.checkout-index-index #opc-sidebar .grand.totals th,
.checkout-index-index #opc-sidebar .grand.totals td {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #0f2a5f !important;
  padding-top: 10px !important;
}

/* dashed divider like screenshot */
.checkout-index-index #opc-sidebar .table-totals tbody::after {
  content: "";
  display: block;
  border-top: 2px dashed #cbd5e1;
  margin: 14px 0 10px;
}

/* ===== Discount / Coupon block ===== */
/* Works for common Magento coupon containers */
.checkout-index-index #opc-sidebar .discount,
.checkout-index-index #opc-sidebar .payment-option.discount,
.checkout-index-index #opc-sidebar .opc-block-summary .discount {
  margin-top: 12px;
}

/* Coupon input + button row */
.checkout-index-index #opc-sidebar .discount .field,
.checkout-index-index #opc-sidebar .payment-option.discount .field {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Input */
.checkout-index-index #opc-sidebar .discount input,
.checkout-index-index #opc-sidebar .payment-option.discount input {
  flex: 1 1 auto;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #c7ddff;
  background: #ffffff;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
}

.checkout-index-index #opc-sidebar .discount input:focus,
.checkout-index-index #opc-sidebar .payment-option.discount input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Apply button */
.checkout-index-index #opc-sidebar .discount .action,
.checkout-index-index #opc-sidebar .payment-option.discount .action {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #1d4ed8;
  color: #fff;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.checkout-index-index #opc-sidebar .discount .action:hover,
.checkout-index-index #opc-sidebar .payment-option.discount .action:hover {
  filter: brightness(0.95);
}

/* ===== “Purchase Now” style primary button in summary if you have one ===== */
/* Magento sometimes renders buttons inside sidebar (place order is left). This is safe anyway */
.checkout-index-index #opc-sidebar button,
.checkout-index-index #opc-sidebar .action.primary {
  width: 100%;
  margin-top: 16px;
  height: 52px;
  border-radius: 14px;
  background: #1d4ed8;
  border: 0;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

/* Remove extra default borders/paddings from summary items block */
.checkout-index-index #opc-sidebar .opc-block-summary {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
/* FIX: make sidebar button text visible */
.checkout-index-index #opc-sidebar button,
.checkout-index-index #opc-sidebar button *,
.checkout-index-index #opc-sidebar .action.primary,
.checkout-index-index #opc-sidebar .action.primary * {
  color: #fff !important;
  fill: #fff !important;   /* if any svg icon */
}

/* In case some rule set font-size: 0 on buttons */
.checkout-index-index #opc-sidebar button {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.checkout-index-index .opc-block-summary .table-totals tr.grand th,
.checkout-index-index .opc-block-summary .table-totals tr.grand td {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

/* Product rows inside summary */
.checkout-index-index .minicart-items .product-item-name,
.checkout-index-index .items-in-cart .product-item-name {
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600;
}

/* =========================
   Important reset: remove oversized global type on checkout
/* hide customer dashboaed menu items  */
/* ===== LEFT MENU ITEMS HIDE ===== */

/* Stored Payment Methods */
.account-nav a[href*="vault"] {
    display: none !important;
}

/* My Credit */
.account-nav a[href*="credit"] {
    display: none !important;
}

/* Message */
.account-nav a[href*="message"] {
    display: none !important;
}

/* My Product Reviews */
.account-nav a[href*="review/customer"] {
    display: none !important;
}

/* My Shop Reviews */
.account-nav a[href*="shop"] {
    display: none !important;
}


/* ===== RIGHT SIDE SHIPPING ADDRESS HIDE ===== */

.box-shipping-address {
    display: none !important;
}

/* Search breadcrumbs: keep them visible and aligned above results. */
body.catalogsearch-result-index .breadcrumbs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 18px;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

body.catalogsearch-result-index .breadcrumbs .items {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

body.catalogsearch-result-index .breadcrumbs a,
body.catalogsearch-result-index .breadcrumbs strong {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.4;
}

body.catalogsearch-result-index .breadcrumbs a {
    color: #9ca3af;
}

body.catalogsearch-result-index .breadcrumbs a:hover {
    color: #6b7280;
}

body.catalogsearch-result-index .breadcrumbs strong {
    color: #9ca3af;
    font-weight: 500;
}

body.catalogsearch-result-index .breadcrumbs .item:not(:last-child):after {
    content: "/";
    color: #cfd5df;
    margin: 0 16px;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.2;
}

body.catalogsearch-result-index .gcc-search-results__header {
    width: 100%;
    max-width: 1320px;
    margin: 8px auto 38px;
    padding: 0 16px;
}

body.catalogsearch-result-index .gcc-search-results__title {
    margin: 0;
    color: #111827;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.catalogsearch-result-index .gcc-search-results__title-term {
    display: inline-block;
    color: #111827;
}

body.catalogsearch-result-index {
    overflow-x: hidden;
}

body.catalogsearch-result-index {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.catalogsearch-result-index .page-wrapper,
body.catalogsearch-result-index .page-main,
body.catalogsearch-result-index .columns,
body.catalogsearch-result-index .column.main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Search results: two-column grid for the custom filter rail + results area. */
html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results {
    display: grid;
    grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
    max-width: 1320px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__sidebar,
html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__main {
    min-width: 0;
    box-sizing: border-box;
}

html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__sidebar {
    position: relative;
}

html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__sidebar .sidebar {
    width: 100%;
    max-width: 100%;
}

html:not([lang="ar"]) body.catalogsearch-result-index .mst-search__result-tabs {
    min-width: 0;
}

body.catalogsearch-result-index .u-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.catalogsearch-result-index .search-products-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.catalogsearch-result-index .pager--search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
    flex-wrap: wrap;
    clear: both;
    position: relative;
}

body.catalogsearch-result-index .pager--search .toolbar-amount {
    display: none !important;
}

body.catalogsearch-result-index .pager--search .pages-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.catalogsearch-result-index .pager--search .limiter {
    order: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
}

body.catalogsearch-result-index .pager--search .limiter-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

body.catalogsearch-result-index .pager--search .limiter-options {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 64px;
    height: 36px;
    padding: 0 34px 0 12px;
    border: 1px solid #d7dee9;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

body.catalogsearch-result-index .pager--search .pages {
    order: 2;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

body.catalogsearch-result-index .pager--search .pages-items {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

body.catalogsearch-result-index .pager--search .item {
    margin: 0;
    padding: 0;
}

body.catalogsearch-result-index .pager--search .page,
body.catalogsearch-result-index .pager--search .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #d7dee9;
    border-radius: 8px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
}

body.catalogsearch-result-index .pager--search .item.current .page {
    background: #1f3f75;
    border-color: #1f3f75;
    color: #fff;
}

body.catalogsearch-result-index .pager--search .page .label,
body.catalogsearch-result-index .pager--search .action .label {
    display: none;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a,
body.catalogsearch-result-index .pager--search .pages-item-next a {
    min-width: 92px;
    gap: 6px;
    background: #f8fafc;
    color: #6b7280;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a::before {
    content: "‹";
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}

body.catalogsearch-result-index .pager--search .pages-item-next a::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}

body.catalogsearch-result-index .pager--search .pages .current strong.page {
    display: inline-flex;
}

body.catalogsearch-result-index .pager--search {
    display: grid !important;
    grid-template-columns: minmax(240px, auto) minmax(0, 1fr) !important;
    grid-template-areas: "limiter pages" !important;
    align-items: center !important;
    column-gap: 28px !important;
    row-gap: 18px !important;
    flex-wrap: nowrap !important;
}

body.catalogsearch-result-index .pager--search .limiter {
    grid-area: limiter !important;
    justify-self: start !important;
    gap: 12px !important;
}

body.catalogsearch-result-index .pager--search .limiter-label {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

body.catalogsearch-result-index .pager--search .limiter-options {
    min-width: 92px !important;
    height: 56px !important;
    padding: 0 42px 0 18px !important;
    border: 1px solid #dbe3f0 !important;
    border-radius: 12px !important;
    font-size: 16px !important;
}

body.catalogsearch-result-index .pager--search .pages {
    grid-area: pages !important;
    justify-self: end !important;
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
}

body.catalogsearch-result-index .pager--search .pages-items {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 10px !important;
}

body.catalogsearch-result-index .pager--search .page,
body.catalogsearch-result-index .pager--search .action,
body.catalogsearch-result-index .pager--search .disabled {
    min-height: 56px !important;
    padding: 0 18px !important;
    border: 1px solid #dbe3f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

body.catalogsearch-result-index .pager--search .item.current .page {
    background: #1f3f75 !important;
    border-color: #1f3f75 !important;
    color: #fff !important;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a,
body.catalogsearch-result-index .pager--search .pages-item-previous .disabled {
    min-width: 170px !important;
    gap: 10px !important;
    color: #8b93a5 !important;
}

body.catalogsearch-result-index .pager--search .pages-item-next a,
body.catalogsearch-result-index .pager--search .pages-item-next .disabled {
    min-width: 132px !important;
    gap: 10px !important;
    color: #1f2937 !important;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a::before,
body.catalogsearch-result-index .pager--search .pages-item-previous .disabled::before {
    content: "‹" !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

body.catalogsearch-result-index .pager--search .pages-item-next a::after,
body.catalogsearch-result-index .pager--search .pages-item-next .disabled::after {
    content: "›" !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.catalogsearch-result-index .u-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        max-width: 100%;
        min-width: 0;
    }

    html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__sidebar {
        margin-bottom: 24px;
        width: 100%;
        min-width: 0;
    }

    html:not([lang="ar"]) body.catalogsearch-result-index .gcc-search-results__main {
        width: 100%;
        min-width: 0;
    }

    html:not([lang="ar"]) body.catalogsearch-result-index .mst-search__result-tabs {
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 22px;
    }

    html:not([lang="ar"]) body.catalogsearch-result-index .mst-search__result-tabs a {
        font-size: 16px;
        padding: 0 4px 12px;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 18px;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products .modes,
    body.catalogsearch-result-index .toolbar.toolbar-products .toolbar-amount,
    body.catalogsearch-result-index .toolbar.toolbar-products .sorter {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        float: none;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products .modes {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products .sorter {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products .sorter-options {
        width: 100%;
        max-width: 100%;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products .sorter-action {
        align-self: flex-start;
    }

    body.catalogsearch-result-index .u-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    body.catalogsearch-result-index .pager--search {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    body.catalogsearch-result-index .pager--search .limiter {
        width: 100%;
        justify-content: space-between;
    }

    body.catalogsearch-result-index .pager--search .pages {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    body.catalogsearch-result-index .pager--search .pages-items {
        justify-content: flex-end;
        width: 100%;
    }
  }

@media (max-width: 767px) {
    body.catalogsearch-result-index .pager--search {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "limiter"
            "pages" !important;
        gap: 16px !important;
    }

    body.catalogsearch-result-index .pager--search .pages {
        justify-self: stretch !important;
    }

    body.catalogsearch-result-index .pager--search .pages-items {
        justify-content: flex-end !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }
}

@media (min-width: 768px) {
    body.catalogsearch-result-index .toolbar.toolbar-products.pager--search {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 24px !important;
        width: 100% !important;
        margin: 40px 0 0 !important;
        padding-top: 24px !important;
        border-top: 1px solid #e5e7eb !important;
        box-sizing: border-box !important;
        clear: both !important;
        flex-wrap: nowrap !important;
        position: relative !important;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products.pager--search > .limiter {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products.pager--search > .pager--search-inner {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products.pager--search > .pager--search-inner .pages {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    body.catalogsearch-result-index .toolbar.toolbar-products.pager--search > .pager--search-inner .pages-items {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }
}

body.catalogsearch-result-index .pager--search {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 40px 0 0 !important;
    padding-top: 24px !important;
    border-top: 1px solid #e5e7eb !important;
    box-sizing: border-box !important;
    clear: both !important;
    flex-wrap: nowrap !important;
    position: relative !important;
}

body.catalogsearch-result-index .pager--search .toolbar-amount,
body.catalogsearch-result-index .pager--search .pages-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.catalogsearch-result-index .pager--search .limiter {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

body.catalogsearch-result-index .pager--search .limiter-label {
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

body.catalogsearch-result-index .pager--search .limiter-options {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    min-width: 96px !important;
    height: 56px !important;
    padding: 0 16px !important;
    border: 1px solid #dbe3f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1f2937 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    outline: none !important;
}

body.catalogsearch-result-index .pager--search .pages {
    order: 2 !important;
    margin-left: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    float: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

body.catalogsearch-result-index .pager--search .pages-items {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

body.catalogsearch-result-index .pager--search .item {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

body.catalogsearch-result-index .pager--search .page,
body.catalogsearch-result-index .pager--search .action,
body.catalogsearch-result-index .pager--search .disabled {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 56px !important;
    border: 1px solid #dbe3f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

body.catalogsearch-result-index .pager--search .page {
    width: 56px !important;
    min-width: 56px !important;
    padding: 0 !important;
}

body.catalogsearch-result-index .pager--search .action,
body.catalogsearch-result-index .pager--search .disabled {
    min-width: 132px !important;
    padding: 0 18px !important;
    gap: 10px !important;
    background: #f8fafc !important;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a,
body.catalogsearch-result-index .pager--search .pages-item-previous .disabled {
    min-width: 170px !important;
}

body.catalogsearch-result-index .pager--search .item.current .page {
    background: #1f3f75 !important;
    border-color: #1f3f75 !important;
    color: #fff !important;
}

body.catalogsearch-result-index .pager--search .page .label,
body.catalogsearch-result-index .pager--search .action .label,
body.catalogsearch-result-index .pager--search .disabled .label {
    display: none !important;
}

body.catalogsearch-result-index .pager--search .pages-item-previous a::before,
body.catalogsearch-result-index .pager--search .pages-item-previous .disabled::before {
    content: "\2039" !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: inherit !important;
    font-weight: 400 !important;
}

body.catalogsearch-result-index .pager--search .pages-item-next a::after,
body.catalogsearch-result-index .pager--search .pages-item-next .disabled::after {
    content: "\203A" !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: inherit !important;
    font-weight: 400 !important;
}

body.catalogsearch-result-index .pager--search .pages-item-previous .disabled,
body.catalogsearch-result-index .pager--search .pages-item-next .disabled {
    opacity: 1 !important;
    color: #8b93a5 !important;
    border-color: #dbe3f0 !important;
    background: #f8fafc !important;
}

@media (max-width: 767px) {
    body.catalogsearch-result-index .pager--search {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    body.catalogsearch-result-index .pager--search .limiter {
        width: 100% !important;
        justify-content: space-between !important;
    }

    body.catalogsearch-result-index .pager--search .limiter-label {
        font-size: 16px !important;
    }

    body.catalogsearch-result-index .pager--search .limiter-options {
        min-width: 84px !important;
        height: 44px !important;
        font-size: 15px !important;
    }

    body.catalogsearch-result-index .pager--search .pages {
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: flex-end !important;
    }

    body.catalogsearch-result-index .pager--search .pages-items {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
    }

    body.catalogsearch-result-index .pager--search .action,
    body.catalogsearch-result-index .pager--search .disabled {
        min-width: 112px !important;
        height: 44px !important;
        padding: 0 14px !important;
        font-size: 14px !important;
    }

    body.catalogsearch-result-index .pager--search .page {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }
}
