/* Prottoymart Build 71 — top categories and Track Order header */

/* Desktop marketplace header: wide search, Track Order and horizontal categories. */
.pm-track-order-wrap {
    flex: 0 0 auto;
}

.pm-track-order-link {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    color: #172033 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.pm-track-order-link i {
    color: #f26a21;
    font-size: 18px;
}

.pm-track-order-link:hover,
.pm-track-order-link:focus {
    color: #e95e15 !important;
    background: #fff7ed;
}

.pm-top-category-bar {
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #e5e9f0;
    background: #ffffff;
}

.pm-top-category-list {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.pm-top-category-list::-webkit-scrollbar {
    display: none;
}

.pm-top-category-list li {
    flex: 0 0 auto;
}

.pm-top-category-list a {
    display: block;
    padding: 10px 13px 9px;
    border-bottom: 2px solid transparent;
    color: #344054 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pm-top-category-list a:hover,
.pm-top-category-list a:focus {
    border-bottom-color: #f26a21;
    color: #f26a21 !important;
    background: #fffaf5;
}

.pm-all-categories-link {
    margin-left: auto;
}

.pm-all-categories-link a {
    color: #f26a21 !important;
    font-weight: 700;
}

@media (min-width: 992px) {
    .logo-bar-area .pm-header-logo-column {
        flex: 0 0 210px !important;
        width: 210px !important;
        max-width: 210px !important;
    }

    .logo-bar-area .pm-header-search {
        min-width: 260px;
    }

    .home-banner-area > .container > .row > .col-lg-10,
    .home-banner-area > .container > .row > .col-lg-12 {
        padding-left: 5px;
    }
}

@media (min-width: 1200px) {
    .logo-bar-area .pm-header-logo-column {
        flex-basis: 240px !important;
        width: 240px !important;
        max-width: 240px !important;
    }
}

/* Product grids: keep every photo visible and proportionate. */
.aiz-card-box .position-relative > a.d-block {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc !important;
}

.aiz-card-box .position-relative > a.d-block > img.img-fit {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}

/* Remove the false top gap created by legacy card wrappers and height helpers. */
.aiz-card-box > .position-relative,
.aiz-card-box > div:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.aiz-card-box > div:first-child > a.d-block {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc !important;
}

.aiz-card-box > div:first-child > a.d-block > img.img-fit {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}

/* Give every product its own visual space while keeping full-width photos. */
.carousel-box {
    padding-bottom: 14px !important;
}

.aiz-card-box {
    height: auto !important;
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    overflow: hidden;
    border-color: #e5e9f0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
}

.aiz-card-box .p-2,
.aiz-card-box .p-md-3 {
    padding: 12px !important;
}

.aiz-card-box h3 {
    min-height: 38px !important;
    margin: 4px 0 0 !important;
    line-height: 1.45 !important;
}

/* Product detail purchase panel. */
.pm-quantity-row {
    margin: 0 0 4px !important;
    padding: 14px !important;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    background: #f8fafc;
}

/* Remove the duplicated legacy divider spacing above the purchase controls. */
.pm-product-info > hr:last-of-type {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

.pm-product-info #option-choice-form {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.pm-product-info #option-choice-form > .pm-quantity-row {
    margin-top: 0 !important;
}

.pm-quantity-row .opacity-50 {
    color: #172033 !important;
    font-weight: 700;
    opacity: 1 !important;
}

.pm-quantity-row .product-quantity {
    min-width: 0;
    gap: 12px;
}

.pm-qty-control {
    display: grid !important;
    grid-template-columns: 44px 50px 44px;
    flex: 0 0 140px !important;
    width: 140px !important;
    min-width: 140px;
    height: 46px;
    margin-right: 0 !important;
    overflow: hidden;
    border: 1px solid #d8dee8;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(16, 24, 40, 0.05);
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn {
    display: inline-flex !important;
    position: static !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #f26a21 !important;
    background: #fff7ed !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:first-child {
    border-right: 1px solid #e5e9f0 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:last-child {
    border-left: 1px solid #e5e9f0 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):hover {
    color: #ffffff !important;
    background: #f26a21 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):focus,
.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):active {
    color: #ffffff !important;
    background: #e95e15 !important;
    box-shadow: none !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:disabled {
    color: #98a2b3 !important;
    background: #f8fafc !important;
    cursor: not-allowed;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn i {
    display: block;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .input-number {
    display: block !important;
    position: static !important;
    flex: none !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #172033 !important;
    font-size: 17px !important;
    font-weight: 800;
    line-height: 44px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    appearance: textfield;
}

.pm-product-info .pm-quantity-row .pm-qty-control .input-number::-webkit-inner-spin-button,
.pm-product-info .pm-quantity-row .pm-qty-control .input-number::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.pm-stock-status {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    color: #16803b !important;
    font-size: 14px;
    font-weight: 700;
    opacity: 1 !important;
}

/* Build 71 revision 5: card actions, mobile tracking and edge-to-edge product photos. */
.aiz-card-box .position-relative > a.d-block,
.aiz-card-box > div:first-child > a.d-block {
    aspect-ratio: 4 / 5 !important;
    background: #f8fafc !important;
}

.aiz-card-box .position-relative > a.d-block > img.img-fit,
.aiz-card-box > div:first-child > a.d-block > img.img-fit {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* Final revision 6 precedence: compact full-width card actions. */
.pm-card-actions .btn {
    min-height: 34px !important;
    padding: 5px 5px !important;
}

@media (max-width: 767.98px) {
    .row > [class*="col-"]:has(> .aiz-card-box) {
        margin-bottom: 15px !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .aiz-card-box > .p-2,
    .aiz-card-box > .p-md-3,
    .aiz-card-box > .p-md-3.p-2 {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .pm-card-actions {
        gap: 4px !important;
    }

    .pm-card-actions .btn {
        min-height: 32px !important;
        padding: 4px 3px !important;
        font-size: 10.5px !important;
    }
}

/* Build 71 revision 14: one isolated, stable footer layout for desktop and mobile. */
.pm-footer-main {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.pm-footer-main > .container {
    width: 100% !important;
}

.pm-footer-main .pm-footer-main-row {
    display: grid !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    align-items: start !important;
    gap: 30px !important;
}

.pm-footer-main .pm-footer-main-row.pm-footer-has-links {
    grid-template-columns: minmax(260px, 1.35fr) minmax(190px, .85fr) minmax(150px, .65fr) minmax(170px, .72fr) !important;
}

.pm-footer-main .pm-footer-main-row.pm-footer-no-links {
    grid-template-columns: minmax(280px, 1.4fr) minmax(210px, .9fr) minmax(180px, .7fr) !important;
}

.pm-footer-main .pm-footer-main-row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pm-footer-main .pm-footer-main-row > [class*="col-"] > .mt-4 {
    margin-top: 0 !important;
}

.pm-footer-main h4 {
    min-height: 31px !important;
    margin: 0 0 16px !important;
    padding: 0 0 9px !important;
    line-height: 1.35 !important;
}

.pm-footer-main ul {
    margin: 0 !important;
}

.pm-footer-main li {
    margin-bottom: 8px !important;
    line-height: 1.45 !important;
}

.pm-footer-main .pm-footer-seller {
    margin-top: 18px !important;
}

.pm-footer-main .pm-footer-seller h4 {
    margin-bottom: 14px !important;
}

.pm-footer-main .pm-footer-seller .btn {
    min-width: 118px !important;
    margin: 0 !important;
}

.pm-footer-bottom {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.pm-footer-bottom .pm-footer-bottom-row {
    display: grid !important;
    min-height: 42px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
}

.pm-footer-bottom .pm-footer-bottom-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pm-footer-bottom .pm-footer-bottom-row > [class*="col-"]:last-child {
    justify-self: end !important;
}

@media (max-width: 991.98px) {
    .pm-footer-main .pm-footer-main-row,
    .pm-footer-main .pm-footer-main-row.pm-footer-has-links,
    .pm-footer-main .pm-footer-main-row.pm-footer-no-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 22px !important;
    }
}

@media (max-width: 767.98px) {
    .pm-footer-main {
        padding: 22px 20px 20px !important;
    }

    .pm-footer-main .pm-footer-main-row,
    .pm-footer-main .pm-footer-main-row.pm-footer-has-links,
    .pm-footer-main .pm-footer-main-row.pm-footer-no-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .pm-footer-main .pm-footer-main-row > [class*="col-"] {
        text-align: center !important;
    }

    .pm-footer-main h4 {
        min-height: 0 !important;
        margin-bottom: 13px !important;
    }

    .pm-footer-main .pm-footer-seller {
        margin-top: 16px !important;
    }

    .pm-footer-bottom {
        padding: 12px 16px 82px !important;
    }

    .pm-footer-bottom .pm-footer-bottom-row {
        display: flex !important;
        min-height: 0 !important;
        flex-direction: column !important;
        gap: 9px !important;
        text-align: center !important;
    }

    .pm-footer-bottom .pm-footer-bottom-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: auto !important;
        text-align: center !important;
    }

    .pm-footer-bottom .pm-footer-custom-copy:empty {
        display: none !important;
    }
}

/* Build 71 revision 13: recover legacy stock variants that lost attribute metadata. */
.pm-recovered-variation-row {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    align-items: center !important;
}

.pm-recovered-variation {
    width: 100% !important;
    max-width: 360px !important;
    height: 44px !important;
    padding: 7px 38px 7px 12px !important;
    color: #14213a !important;
    border: 1px solid #f7b778 !important;
    border-radius: 9px !important;
    background-color: #fffaf5 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.pm-recovered-variation:focus {
    border-color: #ff6a00 !important;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, .12) !important;
}

@media (max-width: 575.98px) {
    .pm-recovered-variation-row > [class*="col-"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pm-recovered-variation {
        max-width: none !important;
    }
}

/* Build 71 revision 7: professional orders, saved notes and balanced footer. */
.pm-order-note-row td:last-child {
    color: #344054;
    line-height: 1.55;
    white-space: pre-wrap !important;
}

.pm-order-note-row td:last-child::first-line {
    color: #172033;
}

.pm-order-details-card {
    overflow: hidden;
    border: 1px solid #e4e9f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.07) !important;
}

.pm-order-details-card .card-body {
    padding: 24px;
}

.pm-order-details-card h2,
.pm-order-details-card h5 {
    color: #172033;
}

.pm-order-totals-table {
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 10px;
    background: #fbfcfe;
}

.pm-order-totals-table th,
.pm-order-totals-table td {
    padding: 12px !important;
}

.footer-widget {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}

.footer-widget > .container > .row {
    min-height: 0 !important;
    align-items: flex-start !important;
}

.footer-widget .mt-4 {
    margin-top: 0 !important;
}

.footer-widget h4 {
    margin-bottom: 14px !important;
    padding-bottom: 9px !important;
}

.footer-widget ul {
    margin-bottom: 0 !important;
}

.footer-widget li {
    margin-bottom: 7px !important;
}

.footer-widget .btn.btn-primary {
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .pm-order-confirmation-page {
        padding-top: 12px !important;
        padding-bottom: 86px !important;
    }

    .pm-order-confirmation-page .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .pm-order-confirmation-page .text-center.py-4.mb-4 {
        margin-bottom: 12px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .pm-order-confirmation-page .text-center.py-4.mb-4 h1 {
        font-size: 25px !important;
        line-height: 1.25;
    }

    .pm-order-summary-card {
        padding: 16px !important;
        border: 1px solid #e4e9f1;
        border-radius: 14px !important;
    }

    .pm-order-details-card .card-body {
        padding: 15px !important;
    }

    .pm-order-details-card .text-center.py-4.mb-4 {
        margin-bottom: 10px !important;
        padding: 12px 4px !important;
    }

    .pm-order-details-card h2 {
        overflow-wrap: anywhere;
        line-height: 1.45;
    }

    .pm-order-items-table,
    .pm-order-items-table tbody,
    .pm-order-items-table tr,
    .pm-order-items-table td,
    .pm-track-order-items,
    .pm-track-order-items tbody,
    .pm-track-order-items tr,
    .pm-track-order-items td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pm-order-items-table thead,
    .pm-track-order-items thead {
        display: none !important;
    }

    .pm-order-items-table,
    .pm-track-order-items {
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    .pm-order-items-table tbody tr,
    .pm-track-order-items tbody tr {
        margin-bottom: 12px;
        padding: 8px 13px;
        border: 1px solid #e4e9f1;
        border-radius: 11px;
        background: #fbfcfe;
    }

    .pm-order-items-table tbody td,
    .pm-track-order-items tbody td {
        display: flex !important;
        min-height: 38px;
        padding: 9px 0 !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        border-top: 1px solid #edf0f4 !important;
        text-align: right !important;
        overflow-wrap: anywhere;
    }

    .pm-order-items-table tbody td:first-child,
    .pm-track-order-items tbody td:first-child {
        border-top: 0 !important;
    }

    .pm-order-items-table tbody td::before,
    .pm-track-order-items tbody td::before {
        content: attr(data-label);
        flex: 0 0 42%;
        color: #667085;
        font-size: 12px;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .pm-order-items-table tbody td > a {
        min-width: 0;
    }

    .pm-order-total-row {
        margin: 0 !important;
    }

    .pm-order-total-column {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        flex: 0 0 100% !important;
    }

    .pm-order-totals-table {
        display: table !important;
        width: 100% !important;
        table-layout: fixed;
    }

    .pm-order-totals-table th,
    .pm-order-totals-table td {
        width: 50% !important;
        padding: 11px !important;
    }

    .pm-track-summary-card .p-3 {
        padding: 16px !important;
    }

    .pm-track-summary-card .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .pm-track-summary-card .col-lg-6 {
        padding: 0 !important;
    }

    .pm-track-summary-card table {
        display: table !important;
        width: 100% !important;
        margin: 0 !important;
        table-layout: fixed;
    }

    .pm-track-summary-card table td {
        padding: 10px 6px !important;
        vertical-align: top !important;
        overflow-wrap: anywhere;
    }

    .pm-track-summary-card table td:first-child {
        width: 44% !important;
        padding-left: 0 !important;
    }

    .pm-track-summary-card table td:last-child {
        width: 56% !important;
        padding-right: 0 !important;
    }

    .footer-widget {
        margin: 0 !important;
        padding: 22px 0 18px !important;
    }

    .footer-widget > .container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .footer-widget > .container > .row {
        display: block !important;
        margin: 0 !important;
    }

    .footer-widget > .container > .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 100% !important;
    }

    .footer-widget .mt-4 {
        margin-top: 18px !important;
    }

    .footer-widget > .container > .row > [class*="col-"]:first-child .mt-4 {
        margin-top: 0 !important;
    }

    .footer-widget h4 {
        margin-bottom: 11px !important;
        padding-bottom: 8px !important;
    }

    .footer-widget li {
        margin-bottom: 6px !important;
    }

    .footer-widget .btn.btn-primary {
        min-height: 36px;
        padding: 7px 18px;
    }

    footer.bg-black {
        height: auto !important;
        min-height: 0 !important;
        padding: 11px 0 !important;
    }

    footer.bg-black .social {
        margin: 5px 0 !important;
    }

    footer.bg-black .social li a {
        width: 38px !important;
        height: 38px !important;
        font-size: 17px !important;
    }
}

/* Build 71 revision 6: mobile category browser, order summary and product-grid spacing. */
.pm-mobile-category-browser {
    width: 100%;
}

.pm-mobile-category-search {
    display: flex;
    width: 100%;
    height: 48px;
    margin: 0 0 18px;
    padding: 0 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(16, 24, 40, 0.06);
}

.pm-mobile-category-search i {
    flex: 0 0 auto;
    color: #667085;
    font-size: 24px;
}

.pm-mobile-category-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: #172033;
    font-size: 16px;
    background: transparent;
    box-shadow: none;
}

.pm-mobile-category-search input::placeholder {
    color: #98a2b3;
}

.pm-mobile-category-list {
    padding: 8px 14px;
    border: 1px solid #e1e6ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
}

.pm-mobile-category-item {
    display: flex;
    min-height: 66px;
    padding: 7px 0;
    align-items: center;
    gap: 12px;
    color: #101828 !important;
    border-bottom: 1px solid #f0f2f5;
}

.pm-mobile-category-item:last-of-type {
    border-bottom: 0;
}

.pm-mobile-category-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    color: #f26a21;
    font-size: 20px;
    font-weight: 800;
    background: #fff7ed;
}

.pm-mobile-category-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-mobile-category-name {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.pm-mobile-category-arrow {
    flex: 0 0 auto;
    color: #667085;
    font-size: 22px;
}

.pm-mobile-category-empty {
    margin: 0;
    padding: 24px 8px;
    color: #667085;
    text-align: center;
}

@media (max-width: 767.98px) {
    .pm-category-page-heading {
        display: none !important;
    }

    .pm-all-categories-page {
        margin-top: 16px;
        padding-bottom: 82px;
    }

    .pm-all-categories-page > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    /* Confirmation summary: one readable field per row on phones. */
    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm {
        padding: 18px !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm > .row {
        display: block !important;
        margin: 0 !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm > .row > .col-md-6 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        flex: 0 0 100% !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm table.table {
        display: table !important;
        width: 100% !important;
        margin: 0 !important;
        table-layout: fixed;
        overflow: visible !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm table.table tr {
        display: table-row !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm table.table td {
        display: table-cell !important;
        padding: 11px 7px !important;
        vertical-align: top !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm table.table td:first-child {
        width: 42% !important;
        padding-left: 0 !important;
    }

    .col-xl-8.mx-auto > .mb-4.bg-white.p-4.rounded.shadow-sm table.table td:last-child {
        width: 58% !important;
        padding-right: 0 !important;
    }

    .col-xl-8.mx-auto > .text-center.py-4.mb-4 p {
        padding: 0 8px;
        overflow-wrap: anywhere;
    }

    /* Product cards: narrower centre gutter, clear row separation. */
    .row > [class*="col-"]:has(> .aiz-card-box) {
        margin-bottom: 15px !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .row > [class*="col-"] > .aiz-card-box {
        width: 100% !important;
        height: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .aiz-card-box > .p-2,
    .aiz-card-box > .p-md-3,
    .aiz-card-box > .p-md-3.p-2 {
        padding: 9px !important;
    }

    .pm-card-actions {
        gap: 4px;
    }

    .pm-card-actions .btn {
        min-height: 32px;
        padding: 4px 3px !important;
        border-radius: 7px !important;
        font-size: 10.5px;
    }
}

.pm-card-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.pm-card-actions .btn {
    display: inline-flex;
    min-width: 0;
    min-height: 38px;
    padding: 8px 6px !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.pm-card-add-to-cart {
    color: #ffffff !important;
    border: 1px solid #f26a21 !important;
    background: #f26a21 !important;
    box-shadow: 0 3px 8px rgba(242, 106, 33, 0.2);
}

.pm-card-add-to-cart:hover,
.pm-card-add-to-cart:focus {
    color: #ffffff !important;
    border-color: #dc580f !important;
    background: #dc580f !important;
}

.pm-card-order-now {
    color: #f26a21 !important;
    border: 1px solid #f26a21 !important;
    background: #ffffff !important;
}

.pm-card-order-now:hover,
.pm-card-order-now:focus {
    color: #ffffff !important;
    background: #f26a21 !important;
}

.pm-mobile-track-order {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #172033 !important;
    font-size: 26px;
    line-height: 1;
}

.pm-mobile-track-order:hover,
.pm-mobile-track-order:focus {
    color: #f26a21 !important;
    background: #fff7ed;
}

@media (max-width: 575.98px) {
    .pm-card-actions {
        gap: 5px;
    }

    .pm-card-actions .btn {
        min-height: 36px;
        padding: 7px 4px !important;
        font-size: 11px;
    }
}

.pm-stock-status .pm-out-of-stock {
    color: #d92d20 !important;
    font-weight: 700;
}

.pm-stock-status:has(.pm-out-of-stock:not(.d-none)) .pm-in-stock {
    display: none !important;
}

/* Compact, aligned desktop footer with no empty lower strip. */
.footer-widget {
    padding-bottom: 22px !important;
}

footer.bg-black,
.footer-bottom {
    min-height: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

footer.bg-black > .container > .row,
.footer-bottom > .container > .row {
    min-height: 34px;
    align-items: center !important;
}

footer.bg-black .social-colored li a,
.footer-bottom .social-colored li a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
}

footer.bg-black .list-inline,
.footer-bottom .list-inline,
footer.bg-black p,
.footer-bottom p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

footer.bg-black .social-colored,
.footer-bottom .social-colored {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#chosen_price_div:not(.d-none) {
    margin: 14px 0 0 !important;
    padding: 14px !important;
    align-items: center;
    border: 1px solid rgba(255, 122, 0, 0.25);
    border-radius: 12px;
    background: #fff8f1;
}

#chosen_price_div .opacity-50 {
    color: #667085 !important;
    font-weight: 600;
    opacity: 1 !important;
}

#chosen_price {
    color: var(--primary) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.25;
}

.pm-product-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
}

.pm-product-actions .btn {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0;
    min-height: 50px;
    margin: 0 !important;
    padding: 10px 14px !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: nowrap;
}

.pm-product-actions .btn span {
    display: inline-block !important;
}

.pm-product-actions .btn i {
    margin-right: 7px;
    font-size: 17px;
}

.pm-product-actions .add-to-cart {
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    background: #ffffff !important;
    opacity: 1 !important;
}

.pm-product-actions .add-to-cart:hover,
.pm-product-actions .add-to-cart:focus {
    color: #ffffff !important;
    background: var(--primary) !important;
}

.pm-product-actions .buy-now {
    color: #ffffff !important;
    border: 1.5px solid var(--primary) !important;
    background: var(--primary) !important;
}

.pm-secondary-actions .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 !important;
    gap: 10px;
}

.pm-secondary-actions .btn-link {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px !important;
    border: 1px solid #e5e9f0 !important;
    border-radius: 9px !important;
    color: #667085 !important;
    background: #ffffff !important;
    font-size: 13px;
}

.pm-secondary-actions .btn-link:hover {
    color: var(--primary) !important;
    border-color: rgba(255, 122, 0, 0.45) !important;
    background: #fff7ed !important;
}

/* Compact Top Selling Products list: never stretch or crop thumbnails. */
.pm-top-selling-products {
    overflow: hidden;
}

.pm-top-selling-products .list-group-item {
    padding: 12px 0 !important;
}

.pm-top-selling-products .col-5 {
    flex: 0 0 104px !important;
    width: 104px !important;
    max-width: 104px !important;
}

.pm-top-selling-products .col-7 {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: calc(100% - 104px) !important;
}

.pm-top-selling-products .col-5 > a {
    display: flex !important;
    width: 96px;
    height: 96px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    background: #ffffff;
}

.pm-top-selling-products img.img-fit {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

.pm-top-selling-products h4 {
    margin-bottom: 5px;
    color: #172033;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
}

/* The phone navigation should not cover products on laptop/tablet widths. */
.aiz-mobile-bottom-nav {
    display: none !important;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 78px !important;
    }

    .aiz-mobile-bottom-nav {
        display: block !important;
        min-height: 70px;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 -6px 22px rgba(16, 24, 40, 0.11) !important;
    }

    .pm-product-info strong.h2 {
        font-size: 26px !important;
    }

    .pm-quantity-row > [class*="col-sm-"] {
        width: 100%;
        max-width: 100%;
    }

    .pm-quantity-row .product-quantity {
        flex-wrap: wrap;
    }

    .pm-quantity-row {
        padding: 12px !important;
    }

    .pm-quantity-row .product-quantity {
        gap: 10px;
    }

    #chosen_price_div > [class*="col-sm-"] {
        width: 100%;
        max-width: 100%;
    }

    #chosen_price {
        font-size: 23px !important;
    }

    .pm-product-actions {
        gap: 9px;
    }

    .pm-product-actions .btn {
        min-height: 48px;
        padding: 9px 7px !important;
        font-size: 13px !important;
    }

    .pm-product-actions .btn i {
        margin-right: 4px;
        font-size: 15px;
    }

    .pm-top-selling-products .col-5 {
        flex-basis: 94px !important;
        width: 94px !important;
        max-width: 94px !important;
    }

    .pm-top-selling-products .col-7 {
        max-width: calc(100% - 94px) !important;
    }

    .pm-top-selling-products .col-5 > a {
        width: 86px;
        height: 86px;
    }

    footer.bg-black,
    .footer-bottom {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        text-align: center;
    }

    /* Final mobile purchase-row layout: label, control and stock on one line. */
    .pm-product-info .pm-quantity-row {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
        min-height: 66px !important;
        margin: 0 0 4px !important;
        padding: 9px 10px !important;
        align-items: center !important;
        column-gap: 8px;
    }

    .pm-product-info .pm-quantity-row > .col-sm-2,
    .pm-product-info .pm-quantity-row > .col-sm-10 {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .pm-product-info .pm-quantity-row .opacity-50 {
        margin: 0 !important;
        font-size: 14px;
    }

    .pm-product-info .pm-quantity-row .product-quantity {
        display: flex !important;
        margin: 0 !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
    }

    .pm-product-info .pm-quantity-row .pm-qty-control {
        grid-template-columns: 40px 44px 40px !important;
        flex: 0 0 126px !important;
        width: 126px !important;
        min-width: 126px !important;
        height: 44px !important;
    }

    .pm-product-info .pm-quantity-row .pm-qty-control .btn {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .pm-product-info .pm-quantity-row .pm-qty-control .input-number {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    .pm-product-info .pm-stock-status {
        min-height: 0;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Collapse the mobile footer bottom into one compact content group. */
    .footer-widget {
        padding-bottom: 10px !important;
    }

    footer.bg-black,
    footer.footer-bottom,
    .footer-bottom {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 9px 0 !important;
    }

    footer.bg-black > .container,
    footer.footer-bottom > .container,
    .footer-bottom > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    footer.bg-black > .container > .row,
    footer.footer-bottom > .container > .row,
    .footer-bottom > .container > .row {
        display: flex !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 7px !important;
    }

    footer.bg-black > .container > .row > [class*="col-"],
    footer.footer-bottom > .container > .row > [class*="col-"],
    .footer-bottom > .container > .row > [class*="col-"] {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-height: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    footer.bg-black > .container > .row > [class*="col-"]:empty,
    footer.footer-bottom > .container > .row > [class*="col-"]:empty,
    .footer-bottom > .container > .row > [class*="col-"]:empty {
        display: none !important;
    }
}

@media (max-width: 359.98px) {
    .pm-product-actions {
        grid-template-columns: 1fr;
    }

    .pm-product-info .pm-quantity-row {
        grid-template-columns: 1fr !important;
        row-gap: 7px;
    }
}

/* Build 71 revision 2: equal cards, complete image tops and solid quantity controls. */
.aiz-card-box {
    display: flex !important;
    height: 100% !important;
    flex-direction: column;
}

.aiz-card-box > .position-relative,
.aiz-card-box > div:first-child {
    flex: 0 0 auto;
}

.aiz-card-box > .p-2,
.aiz-card-box > .p-md-3,
.aiz-card-box > .p-md-3.p-2 {
    display: flex;
    min-height: 142px;
    flex: 1 1 auto;
    flex-direction: column;
}

.aiz-card-box > .p-2 > .fs-15,
.aiz-card-box > .p-md-3 > .fs-15 {
    display: flex;
    min-height: 46px;
    align-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
}

.aiz-card-box .position-relative > a.d-block > img.img-fit,
.aiz-card-box > div:first-child > a.d-block > img.img-fit {
    object-position: center top !important;
}

.aiz-carousel .slick-track {
    display: flex !important;
}

.aiz-carousel .slick-slide {
    height: auto !important;
}

.aiz-carousel .slick-slide > div,
.aiz-carousel .carousel-box {
    height: 100%;
}

.aiz-carousel .carousel-box > .aiz-card-box {
    width: 100%;
    height: calc(100% - 18px) !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn {
    color: #ffffff !important;
    background-color: #f26a21 !important;
    background-image: none !important;
    background-clip: border-box !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:first-child {
    border-radius: 10px 0 0 10px !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:last-child {
    border-radius: 0 10px 10px 0 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:disabled {
    color: #ffffff !important;
    background-color: #f6a06f !important;
    opacity: 1 !important;
}

@media (min-width: 768px) {
    .home-banner-area .aiz-carousel .carousel-box,
    .home-banner-area .aiz-carousel .carousel-box > a {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .home-banner-area .aiz-carousel .carousel-box img,
    .home-banner-area .aiz-carousel img.img-fit {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}

/* Build 71 revision 3: show every photo completely and refine quantity UI. */
.aiz-card-box .position-relative > a.d-block > img.img-fit,
.aiz-card-box > div:first-child > a.d-block > img.img-fit {
    object-fit: contain !important;
    object-position: center center !important;
    background: #ffffff !important;
}

.pm-product-info .pm-quantity-row {
    border-color: #e5e9f0 !important;
    background: #ffffff !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, 0.05);
}

.pm-product-info .pm-quantity-row .pm-qty-control {
    padding: 0 !important;
    border-color: #fed7aa !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(242, 106, 33, 0.08);
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn {
    color: #f26a21 !important;
    background-color: #fff7ed !important;
    background-image: none !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:first-child {
    border-right: 1px solid #fed7aa !important;
    border-radius: 9px 0 0 9px !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:last-child {
    border-left: 1px solid #fed7aa !important;
    border-radius: 0 9px 9px 0 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):hover,
.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):focus,
.pm-product-info .pm-quantity-row .pm-qty-control .btn:not(:disabled):active {
    color: #ffffff !important;
    background-color: #f26a21 !important;
}

.pm-product-info .pm-quantity-row .pm-qty-control .btn:disabled {
    color: #98a2b3 !important;
    background-color: #f8fafc !important;
    opacity: 1 !important;
}

/* Final card-image precedence: fill both sides using the taller 4:5 frame. */
.aiz-card-box .position-relative > a.d-block,
.aiz-card-box > div:first-child > a.d-block {
    aspect-ratio: 4 / 5 !important;
}

.aiz-card-box .position-relative > a.d-block > img.img-fit,
.aiz-card-box > div:first-child > a.d-block > img.img-fit {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* Final revision 6 precedence: compact buttons and balanced mobile card gaps. */
.pm-card-actions .btn {
    min-height: 34px !important;
    padding: 5px !important;
}

@media (max-width: 767.98px) {
    .row > [class*="col-"]:has(> .aiz-card-box) {
        margin-bottom: 15px !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .aiz-card-box > .p-2,
    .aiz-card-box > .p-md-3,
    .aiz-card-box > .p-md-3.p-2 {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .pm-card-actions {
        gap: 4px !important;
    }

    .pm-card-actions .btn {
        min-height: 32px !important;
        padding: 4px 3px !important;
        font-size: 10.5px !important;
    }
}

/* Build 71 revision 8: wider desktop cards and readable action buttons. */
@media (min-width: 768px) {
    .row > [class*="col-"]:has(> .aiz-card-box) {
        margin-bottom: 14px !important;
        padding-right: 4px !important;
        padding-left: 4px !important;
    }

    .row > [class*="col-"] > .aiz-card-box {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .aiz-card-box > .p-2,
    .aiz-card-box > .p-md-3,
    .aiz-card-box > .p-md-3.p-2 {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .pm-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .pm-card-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 32px !important;
        padding: 4px 2px !important;
        border-radius: 7px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.1px;
        white-space: nowrap !important;
    }
}

/* Build 71 revision 9: isolate the product-detail gallery from card carousels. */
.pm-product-hero .product-gallery .slick-track,
.pm-product-hero .product-gallery-thumb .slick-track {
    display: block !important;
}

.pm-product-hero .product-gallery .slick-slide,
.pm-product-hero .product-gallery .slick-slide > div,
.pm-product-hero .product-gallery .carousel-box,
.pm-product-hero .product-gallery-thumb .slick-slide,
.pm-product-hero .product-gallery-thumb .slick-slide > div {
    height: auto !important;
}

@media (min-width: 768px) {
    .pm-product-hero .sticky-top.row.gutters-10 > .col-md-auto {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
        flex: 0 0 80px !important;
    }

    .pm-product-hero .sticky-top.row.gutters-10 > .col {
        width: calc(100% - 80px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 80px) !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
        flex: 0 0 calc(100% - 80px) !important;
    }

    .pm-product-hero .product-gallery-thumb .slick-slide {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 0 8px !important;
        float: none !important;
    }

    .pm-product-hero .product-gallery-thumb .carousel-box {
        display: flex !important;
        width: 64px !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 auto !important;
        padding: 4px !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .pm-product-hero .product-gallery-thumb .carousel-box img {
        display: block !important;
        width: 54px !important;
        height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .pm-product-hero .product-gallery {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Build 71 revision 10: lock product-card actions into one compact button row. */
.pm-product-card-v2 .pm-card-actions-v2 {
    display: grid !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 32px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 5px !important;
    align-items: stretch !important;
}

.pm-product-card-v2 .pm-card-actions-v2 > .btn {
    display: inline-flex !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

.pm-product-card-v2 .pm-card-actions-v2 > .pm-card-add-to-cart {
    color: #ffffff !important;
    border: 1px solid #f26a21 !important;
    background: #f26a21 !important;
}

.pm-product-card-v2 .pm-card-actions-v2 > .pm-card-order-now {
    color: #f26a21 !important;
    border: 1px solid #f26a21 !important;
    background: #ffffff !important;
}

/* Build 71 revision 12: consistent footer social icons and alignment. */
.pm-footer-bottom > .container > .row {
    display: grid !important;
    min-height: 48px !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 18px !important;
}

.pm-footer-bottom > .container > .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pm-footer-bottom .pm-footer-socials {
    display: flex !important;
    width: max-content !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    list-style: none !important;
}

.pm-footer-bottom .pm-footer-socials > li {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.pm-footer-bottom .pm-footer-socials > li > a {
    display: inline-flex !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.pm-footer-bottom .pm-footer-socials > li > a > i {
    display: block !important;
    margin: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

@media (max-width: 767.98px) {
    .pm-footer-bottom > .container > .row {
        display: flex !important;
        min-height: 0 !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .pm-footer-bottom > .container > .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .pm-footer-bottom .pm-footer-socials > li > a {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: 15px !important;
    }
}

/* Canonical footer rules: intentionally last so legacy theme overrides cannot win. */
section.footer-widget.pm-footer-main {
    height: auto !important;
    min-height: 0 !important;
    padding: 32px 0 !important;
}

section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row {
    display: grid !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-items: start !important;
    gap: 30px !important;
}

section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-has-links {
    grid-template-columns: minmax(260px, 1.35fr) minmax(190px, .85fr) minmax(150px, .65fr) minmax(170px, .72fr) !important;
}

section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-no-links {
    grid-template-columns: minmax(280px, 1.4fr) minmax(210px, .9fr) minmax(180px, .7fr) !important;
}

section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row > [class*="col-"] > .mt-4 {
    margin-top: 0 !important;
}

section.footer-widget.pm-footer-main .pm-footer-seller {
    margin-top: 18px !important;
}

footer.pm-footer-bottom {
    min-height: 0 !important;
    padding: 12px 0 !important;
}

footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row {
    display: grid !important;
    min-height: 42px !important;
    margin: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
}

footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row > [class*="col-"]:last-child {
    justify-self: end !important;
}

@media (max-width: 991.98px) {
    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row,
    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-has-links,
    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-no-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 22px !important;
    }
}

@media (max-width: 767.98px) {
    section.footer-widget.pm-footer-main {
        padding: 22px 20px 20px !important;
    }

    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row,
    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-has-links,
    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row.pm-footer-no-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    section.footer-widget.pm-footer-main > .container > .row.pm-footer-main-row > [class*="col-"] {
        text-align: center !important;
    }

    footer.pm-footer-bottom {
        padding: 12px 16px 82px !important;
    }

    footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row {
        display: flex !important;
        min-height: 0 !important;
        flex-direction: column !important;
        gap: 9px !important;
        text-align: center !important;
    }

    footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: auto !important;
        text-align: center !important;
    }

    footer.pm-footer-bottom .pm-footer-custom-copy:empty {
        display: none !important;
    }
}

/* Build 71 revision 16: centre footer socials across the full phone viewport. */
@media (max-width: 767.98px) {
    footer.pm-footer-bottom > .container > .row.pm-footer-bottom-row > [class*="col-"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    footer.pm-footer-bottom ul.pm-footer-socials {
        display: flex !important;
        width: max-content !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        float: none !important;
        transform: none !important;
    }
}
