#toast-container {
    z-index: 100;
}

/* Prevent horizontal overflow on all screen sizes */
html, body {
    overflow-x: hidden;
    width: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}
.card-light-shadow {
    box-shadow: 0 12px 34px -12px rgba(0, 0, 0, 0.3), 0 4px 20px 0 rgba(0, 0, 0, 0.2), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
}

.main {
    margin-top: 146px;
    min-height: 650px;
}

.section {
    padding: 35px 0;
}

.is-hidden { display: none !important; visibility: hidden; }

.card, .nav-pills:not(.nav-pills-icons) > li > a  {
    border-radius: 3px;
}

.form-group.label-static label.control-label, .form-group.label-floating.is-focused label.control-label, .form-group.label-floating:not(.is-empty) label.control-label {
    top: -22px;
}

.title, .card-title, .info-title, .footer-brand, .footer-big h5, .footer-big h4, .media .media-heading {
    font-weight: 500;
    font-family: inherit;
}

.breadcrumb-container {
    padding-top: 2em;
    margin-bottom: -1em;
    margin-left: -1em;
    padding-left: 15px;
    padding-right: 15px;
}

/* Floating WhatsApp button — a fixed FAB on ALL screen sizes now (desktop + mobile);
   the desktop nav icon is removed in favour of this. */
.whatsapp-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Buy Now — transparent with a themed outline; fills with the brand colour on
   hover. Full-width inside #product-main-button-panel (inherits its .btn width). */
.btn.btn-buynow,
.btn.btn-buynow:focus {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    box-shadow: none;
}
.btn.btn-buynow:hover,
.btn.btn-buynow:active {
    background: var(--brand-primary);
    color: var(--brand-primary-contrast);
    border-color: var(--brand-primary);
}
.buynow-map {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    border-radius: 8px;
}
/* Places autocomplete dropdown must sit above the Bootstrap modal (z-index 1050). */
.pac-container {
    z-index: 1100 !important;
}
/* Buy Now — product being bought (thumbnail + name), like the checkout summary. */
.buynow-product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.buynow-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}
.buynow-product-name {
    font-weight: 500;
    line-height: 1.3;
}
/* Buy Now — delivery-method radios. Flex row so the text never overlaps the
   radio; force a plain native radio (material-kit otherwise absolutely-positions
   / hides it, which caused the text to run under the control). */
/* material-kit gives every .form-group a 27px top margin + 7px bottom padding,
   which is too airy in this compact modal — tighten it (notably around the
   delivery-method radios, above and below). */
#buyNowModal .form-group {
    margin-top: 12px;
    padding-bottom: 0;
}
#buyNowModal .form-group > label {
    margin-bottom: 2px;
    color: #333;
    font-weight: 600;
}
/* "Use my current location" / "Locating…" — dark + semibold, not muted grey. */
#buyNowModal .js-useMyLocation {
    color: #333 !important;
    font-weight: 600;
}
.buynow-methods .buynow-method {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 400;
    margin: 4px 0;
    cursor: pointer;
}
.buynow-methods .buynow-method input[type="radio"] {
    position: static;
    top: auto;
    left: auto;
    margin: 0;
    opacity: 1;
    -webkit-appearance: radio;
    appearance: radio;
    flex: 0 0 auto;
    /* Theme the native control's fill instead of the browser default blue. */
    accent-color: var(--brand-primary);
}
.buynow-method-text { line-height: 1.3; }
/* Buy Now — price breakdown (item + delivery = total) */
.buynow-breakdown {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    padding-top: 8px;
}
.buynow-line {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}
.buynow-line.buynow-total {
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    padding-top: 6px;
}
/* Bump the modal type a little on desktop where there's more room (mobile is fine). */
@media (min-width: 768px) {
    #buyNowModal .modal-body,
    #buyNowModal .modal-footer .btn {
        font-size: 15px;
    }
    #buyNowModal .modal-title,
    #buyNowModal .buynow-product-name {
        font-size: 18px;
    }
}

.no-right-padding {
    padding-right: 0;
}
.no-left-padding {
    padding-left: 0;
}
.display-inline-block {
    display: inline-block;
}

@media (max-width: 768px) {
    .main {
        margin-top: 50px;
        padding-left: 0;
        padding-right: 0;
    }

    .main > .container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    /* Content (CMS) pages need side breathing room on mobile — the rules above
       zero the container gutters for full-bleed layouts, which leaves prose text
       flush to the screen edge. Restore comfortable padding for content pages. */
    .content-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-product {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    /* Force table to not be like tables anymore */
    .mobile-table > table,
    .mobile-table > thead,
    .mobile-table > tbody,
    .mobile-table-tables th,
    .mobile-table > thead > tr,
    .mobile-table > thead > tr > td,
    .mobile-table > tbody > tr,
    .mobile-table > tbody > tr > td {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .mobile-table > thead > tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .mobile-table > tbody > tr { border: 1px solid #ccc; }

    .mobile-table > tbody > tr > td {
        position: relative;
        text-align: left;
        overflow: hidden;
        padding: 20px 5px 5px 10px !important;
    }

    .mobile-table > tbody > tr > td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .mobile-table > tbody > tr > td:before { content: attr(data-title); }
}

/* Makes an element position: absolute and centers it */
.cntr-abs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cntr-abs-horz {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    text-align: center;
}

.cntr-abs-vert {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.img-fit-parent,
.nav > li > a > .img-fit-parent {
    max-width: 100%;
}

/* WhatsApp share button — brand green. Mirrors the other social brand buttons
   in material-kit.css (btn-facebook/twitter/etc.); added here because Material
   Kit ships no btn-whatsapp, so without it the btn-simple icon falls back to
   the default grey. The product-page button uses .btn.btn-simple.btn-whatsapp. */
.btn.btn-whatsapp,
.navbar .navbar-nav > li > a.btn.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 2px 2px 0 rgba(37, 211, 102, 0.14), 0 3px 1px -2px rgba(37, 211, 102, 0.2), 0 1px 5px 0 rgba(37, 211, 102, 0.12);
}
.btn.btn-whatsapp:focus, .btn.btn-whatsapp:active, .btn.btn-whatsapp:hover,
.navbar .navbar-nav > li > a.btn.btn-whatsapp:focus,
.navbar .navbar-nav > li > a.btn.btn-whatsapp:active,
.navbar .navbar-nav > li > a.btn.btn-whatsapp:hover {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 14px 26px -12px rgba(37, 211, 102, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(37, 211, 102, 0.2);
}
.btn.btn-whatsapp.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-whatsapp.btn-simple {
    color: #25D366;
    background-color: transparent;
    box-shadow: none;
}

/* Agent "copy my referral link" chain icon. Not a brand handle, so it gets a
   neutral link-coloured treatment, same btn-simple shape as the social icons. */
.btn.btn-copylink,
.navbar .navbar-nav > li > a.btn.btn-copylink {
    background-color: #0097a7;
    color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 151, 167, 0.14), 0 3px 1px -2px rgba(0, 151, 167, 0.2), 0 1px 5px 0 rgba(0, 151, 167, 0.12);
}
.btn.btn-copylink:focus, .btn.btn-copylink:active, .btn.btn-copylink:hover,
.navbar .navbar-nav > li > a.btn.btn-copylink:focus,
.navbar .navbar-nav > li > a.btn.btn-copylink:active,
.navbar .navbar-nav > li > a.btn.btn-copylink:hover {
    background-color: #0097a7;
    color: #fff;
    box-shadow: 0 14px 26px -12px rgba(0, 151, 167, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 151, 167, 0.2);
}
.btn.btn-copylink.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-copylink.btn-simple {
    color: #0097a7;
    background-color: transparent;
    box-shadow: none;
}

.full-width {
    width: 100%;
}