#budget-panel {

  width: 1100px;
  height: 250px;
  position: fixed;
  top: 500px;
  right: 50px;
  z-index: 9999;

  background: #f6e0a0;
  color: #000000;
  font-size: 22px;
  font-family: 'Times New Roman', cursive;
  font-weight: 700;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  border: 4px solid #f6e0a0;
  border-radius: 12px;
}


/* ==== CHECKOUT BUTTON TEXT CHANGE ==== */
span[data-lang="true"] {
    visibility: hidden;
}
span[data-lang="true"]::after {
    visibility: visible;
    content: "Checkout by Card";
    color: #ffffff;
}


/* ==== FOOTER STYLING ==== */
footer {
    padding: 40px 0px 20px 0px;
    background-color: #3A150C;
    overflow: hidden;
    float: left;
    width: 100%;
}

/* Footer links */
footer a {
    color: #FFD700 !important;
    text-decoration: none;
}
footer a:hover {
    color: #f6e0a0 !important;
}

/* Store Links column */
.store_links .footer_title {
    color: #f5e0a9 !important;
    font-weight: bold;
}
.store_links a {
    color: #f5e0a9 !important;
    text-decoration: none;
}
.store_links a:hover {
    color: #f5e0a9 !important;
}

/* Follow Us heading */
.footer4 .footer_title {
    color: #f5e0a9 !important;
}

/* Footer line + spacing */
.footer_bottom {
    border-top: 4px solid #f5e0a9 !important;
    padding-top: 30px;
    padding-bottom: 60px;
}

/* Copyright text */
.footer_copyright {
    color: #f6e0a0 !important;
}
.footer_copyright a {
    color: #f6e0a0 !important;
}


/* ==== SEARCH BAR COLOURS ==== */
/* Input field (middle) */
.mobile_header3 .search input#txtQuickSearch,
.header_container .search input#txtQuickSearch,
.search input#txtQuickSearch {
    background-color: #6c3f2b !important;   /* brown */
    color: #f6e0a0 !important;              /* cream text */
}

/* Placeholder text ("Search") */
.mobile_header3 .search input#txtQuickSearch::placeholder,
.header_container .search input#txtQuickSearch::placeholder,
.search input#txtQuickSearch::placeholder {
    color: #f6e0a0 !important;
}

/* The surrounding search bar wrapper – colour + vertical alignment */
.header_container .search {
    background-color: #6c3f2b !important;   /* matches input */
    background-image: none !important;
    position: relative !important;
    top: -15px !important;  /* moves it UP slightly */
}

/* Search button (right tab) */
.mobile_header3 .search button,
.header_container .search button,
.search button {
    background-color: #6c3f2b !important;   /* brown button */
    border: none !important;
}

/* Magnifying-glass icon */
.mobile_header3 .search button i,
.header_container .search button i,
.search button i {
    color: #f6e0a0 !important;              /* cream icon */
}


/* Cart button background */
#sp_basket_info,
#sp_basket_info_container,
.basket_info,
.header_basket {
    background-color: #6c3f2b !important;
    border: none !important;
}


/* Cart value text */
#sp_basket_info_amount {
    color: #f6e0a0 !important;
    font-weight: 700;
}


/* Cart icon colour */
.header_basket i,
.basket_info i {
    color: #f6e0a0 !important;
}


/* Currency button background */
.currency_button {
    background-color: #6c3f2b !important;
    border: none !important;
}


/* Home + Contact buttons – match by real URLs */
a[href*="index.aspx"],
a[href*="/page/contact-us"] {
    background-color: #6c3f2b !important;  /* brown background */
    color: #f6e0a0 !important;             /* cream text */
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 4px;
}


/* Force colours for ONLY the top Home + Contact buttons */

/* Try all common forms for HOME */
a[href="/"],
a[href="https://macks-emporium.my-online.store"],
a[href^="/index.aspx"],
a[href^="https://macks-emporium.my-online.store/index.aspx"],

/* CONTACT */
a[href*="/page/contact-us"] {
    background-color: #6c3f2b !important;  /* brown background */
    color: #f6e0a0 !important;  /* cream text */
    font-weight: 700 !important;
    border-radius: 5px;
    text-decoration: none !important;
}


/* === Custom 3x2 Category Grid (UNUSED unless you add the HTML) === */
.custom-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
    max-width: 1100px;
}

.custom-category-grid .custom-cat {
    width: calc(33.33% - 40px);
    text-align: center;
    text-decoration: none;
    color: #000;
}

.custom-category-grid .custom-cat img {
    width: 100%;
    height: auto;
    border: 8px solid #6c3f2b;
    border-radius: 25px;
    display: block;
}

.custom-category-grid .custom-cat span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

/* Welcome banner center alignment */
.custom-welcome-banner img {
    display: block;
    margin: 0 auto 40px auto;
    max-width: 1000px;
    width: 100%;
    height: auto;
}


/* Hide the original HOME button in the navigation */
a[href="/"],
a[href="https://macks-emporium.my-online.store"],
a[href^="/index.aspx"],
a[href^="https://macks-emporium.my-online.store/index.aspx"] {
    display: none !important;
}


/* Style the HOME PAGE tab in the navigation */
a[href*="home-page"] {
    background-color: #6c3f2b !important; /* brown */
    color: #f6e0a0 !important;            /* cream text */
    font-weight: 700 !important;
    border-radius: 5px;
    text-decoration: none !important;
}


/* Move the search box next to the CONTACT button */
.header_container .search {
    position: relative !important;
    border-radius: 5px;
    top: -260px !important;
    right: 0px !important;
}


/* Move HOME PAGE button up/down */
a[href*="home-page"] {
    position: relative !important;
    top: 22px !important;   /* change this number only */
}


/* Move CONTACT button up/down */
a[href*="/page/contact-us"] {
    position: relative !important;
    top: 22px !important;   /* change this number only */
}

/* Search box height */
.header_container .search input#txtQuickSearch {
    height: 40px !important;   /* change this number */
    
}


/* === SEARCH BOX FULL CONTROL === */

/* Size of the INPUT FIELD (typing area) */
.header_container .search input#txtQuickSearch {
    width: 220px !important;   /* change to make LONGER/SHORTER */
    height: 40px !important;   /* change to make TALLER/SHORTER */
    font-size: 16px !important; /* text size inside the box */
}

/* Size of the BUTTON (rectangle on the right) */
.header_container .search button {
    width: 60px !important;    /* button width */
 
    height: 40px !important;    /* button height (match input height) */
    font-size: 16px !important; /* affects icon spacing */
}

/* Size of the ICON (magnifying glass) */
.header_container .search button i {
    font-size: 16px !important;  /* icon size */
}

/* ✅ LEFT SECTION SIZE (Search Bar Wrapper) */
.header_container .search {
    width: 250px !important;   /* change this to make it wider/narrower */
    height: 40px !important;   /* change this to make it taller/shorter */
}


/* Remove the thin turquoise divider line under the category navigation */
.category_clearfix,
.category_divider,
#category_divider,
.header3:after,
.category_navigation:after {
    border: none !important;
    background: none !important;
    border-top: 0 !important;
    height: 0 !important;
}


/* Force-disable ANY line directly under the category bar */
.category_images_container2 {
    border-top: none !important;
}


/* Replace thin turquoise header line with thick brown divider */
.header_container {
    border-bottom: 4px solid #3A150C !important;  /* thick brown line */
}


* Force a thick brown line under the top header */
.header_container {
  box-shadow: 0 4px 0 0 #6c3f2b !important;  /* draws a 4px brown line */
}


html body .menu_bar,
html body .nav_wrapper,
html body .header_bottom {
  border-bottom: 4px solid #6c3f2b !important;  /* thick brown line */
  background-image: none !important;            /* kill turquoise gradient */
}


main.border_top {
  border-top: var(--line-thickness, 4px) solid var(--line-color, #6c3f2b) !important;
}


* Keep main full-width and remove the original full-width border */
main.border_top {
  border-top: none !important;
  position: relative; /* enables pseudo-element positioning */
}



main.border_top {
  border-top: none !important;   /* remove the full-width turquoise */
  position: relative;
}

main.border_top::before {
  content: "";
  position: absolute;
  top: var(--line-offset, -50px);   /* adjust this value to move up/down */
  left: 50%;
  transform: translateX(-50%);   /* keep it centered horizontally */
  width: 1065px;                 /* adjust length here */
  border-top: 5px solid #6c3f2b; /* thickness + colour */
}


.category {
  text-align: center !important;
}

.category a {
  display: inline-block !important;
  margin: 0 8px; /* optional spacing between links */
}





/* Center to the viewport, not the container */
:root {
  --half: 860px;     /* half of the bar width (960px / 2) */
  --nudge: 0px;      /* fine-tune left/right (+right, -left) */
}

.category {
  width: 960px;                              /* set your bar width */
  margin-left: calc(50vw - var(--half) + var(--nudge));
  margin-right: 0;
  display: flex;
  flex-wrap: wrap;                           /* two lines */
  justify-content: center;                   /* center items on each line */
  gap: 12px;
  float: none !important;
}


.category a {
  display: inline-block;
  margin: 0 8px;
  font-size: 18px;   /* increase text size here */
  font-weight: 600;  /* optional: make text bolder */
}