.pre-header {
  z-index: 9999999 !important;
}

@media screen and (min-width: 1024px) and (max-width: 1490px) {
  footer#colophon.site-footer {
    border-top: 0px solid #fff !important;
  }

  .site-footer .newsletter {
    margin-top: -105px !important;
  }

  .footer-widget-area {
    padding: 60px 0 0px !important;
  }

  .pre-header__contact {
    display: none !important;
  }


  .pre-header__contact.freeshippingsection {
    display: block !important;
  }

  .col-full.site-header__wrapper.p-r.menu-shifting-desktop ul#menu-primary-menu-1 {
    gap: 15px !important;
  }

  .col-full.hero-banner-section .two-banners-sidebar img {
    height: 155px !important;
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-banner-section {
    margin: 10px auto !important;
  }
}

/* Combined class styling */
/* Default: hide on desktop */
.pre-header.mobile_short_menu {
  display: none;
}

/* Show only on screens smaller than 768px (mobile) */
@media (max-width: 1000px) {
  .pre-header.mobile_short_menu {
    display: block;
  }

  header#masthead.site-header {
    margin-bottom: 0px !important;
  }

  .site-header__wrapper {
    padding: 8px 0 !important;
  }

  .custom-search {
    display: none !important;
  }

  .mobile_search_box {
    display: block !important;
  }

  .menu-shifting-desktop {
    display: none;
    ;
  }

  li.nav-complementary__item a.sell_to_us_button_topbar {
    display: none !important;
  }

  li.nav-complementary__item.phone_number_section_bar {
    display: none !important;
  }

  .nav-complementary__item.cart_desktop_styling {
    margin-top: 0px !important;
  }

  .nav-complementary__item.p-r.myaccount-desktop-styling {
    margin-top: 0px !important;
  }

  .nav-complementary.desktop_nav_right_bar {
    gap: inherit !important;
  }

  #masthead.site-header {
    z-index: 2 !important;
  }

  a[href="https://aubullion.ca/sell-gold-to-us/"] {
    color: red !important;
    font-weight: bold;
    border: 1px solid;
    padding: 2px 10px;
    animation: flicker 1s infinite;
  }

  @keyframes flicker {

    0%,
    100% {
      opacity: 1;
    }

    50% {
      opacity: 0.4;
    }
  }
}

.nav-complementary.desktop_nav_right_bar {
  gap: 15px;
}

.nav-complementary__item.cart_desktop_styling {
  margin-top: 10px;
}

.nav-complementary__item.p-r.myaccount-desktop-styling {
  margin-top: 10px;
}

.pre-header.mobile_short_menu {
  background: linear-gradient(to right, #cc8a21, #b86e00);
  padding: 14px 0px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.4);
}

.pre-header.mobile_short_menu .pre-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pre-header.mobile_short_menu .pre-header__marketsummary .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.pre-header.mobile_short_menu .menu-item a {
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  padding: 4px 10px;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.pre-header.mobile_short_menu .menu-item a:hover,
.pre-header.mobile_short_menu .menu-item.current a {
  background: #a56e17;
  border-radius: 4px;
}

/* Menu shifting */
.col-full.site-header__wrapper.p-r.menu-shifting-desktop {
  background: #cc8a21;
}

.col-full.site-header__wrapper.p-r.menu-shifting-desktop ul#menu-primary-menu-1 {
  gap: 50px;
}

.col-full.site-header__wrapper.p-r.menu-shifting-desktop #menu-primary-menu-1>.menu-item>a {
  color: white;
  font-size: 16px;
}

.custom-search {
  display: flex;
  /* border-radius: 20px; */
  overflow: hidden;
  width: 400px;
  box-shadow: 0 0px 10px 6px rgba(0, 0, 0, 0.1);
}

.custom-search input {
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  flex: 1;
  outline: none;
}

.custom-search button {
  background-color: #cc8a21;
  /* your golden color */
  border: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-search button svg {
  fill: white;
}

li.nav-complementary__item a.sell_to_us_button_topbar {
  background: #cc8a21;
  padding: 3px 5px;
  border-radius: 4px;
  padding: 0.5rem 0.5rem;
  font-weight: bold;
  font-size: 0.875rem;
  line-height: 1.3;
  border-radius: 0.1875rem;
  color: white;
}

#menu-primary-menu-1>.current-menu-item>a::before,
#menu-primary-menu-1>.current-product_cat-ancestor>a::before {
  bottom: -26px;
  background-color: #303232;
}

.variation__name {
  color: #ffffff;
}

#masthead.site-header {
  z-index: 999999;
}

@media screen and (min-width: 1400px) {
  footer#colophon.site-footer {
    border-top: 0px solid #fff !important;
  }

  .site-footer .newsletter {
    margin-top: -105px !important;
  }

  .footer-widget-area {
    padding: 60px 0 0px !important;
  }

  .col-full.pre-header__wrapper.top-col-price-row {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .col-full.site-header__wrapper.p-r.logo-search-contact-information {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .col-full.site-header__wrapper.p-r.menu-shifting-desktop {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  #menu-primary-menu-1 .menu-item.menu-item-type-taxonomy>a {
    text-transform: uppercase;
  }

  #menu-primary-menu-1 .menu-item.menu-item-type-custom>a {
    text-transform: uppercase;
  }

  #menu-primary-menu-1 .menu-item.menu-item-type-post_type>a {
    text-transform: uppercase;
  }

  .variation__name {
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 5px;
    font-size: 0.9rem !important;
  }

  .variation__price {
    color: #ffffff;
    font-weight: 500;
    display: flex;
    font-size: 0.9rem !important;
  }

  .variation__item {
    flex-direction: row;
  }

  .site-branding img {
    width: 270px !important;
    border-right: none !important;
  }

  #pre-header__currency a.dd-selected {
    font-size: 0.9rem !important;
  }

  .site-header-menu-section {
    margin-bottom: 10px !important;
  }

  #nmx .pre-header .button-sm {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .store-contact__hours {
    color: black;
  }

  .variation .is-negative {
    color: #ff2828;
  }

  div.outer-footer-new-design {
    background: #303232;
  }

  div.outer-footer-new-design .col-full {
    max-width: 1500px;
  }

  body.archive.tax-product_cat div.col-full.main-full-screen {
    max-width: 1500px;
  }

  .footer-copyright .col-full {
    max-width: 1500px;
  }

  .charts-price-history__chart.js-charts-price-history__chart canvas {
    height: 390px !important;
  }

  body.page-id-208.woocommerce-cart div.entry-content .woocommerce {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  /* Cart form (cart items table) styling */
  body.page-id-208.woocommerce-cart div.entry-content .woocommerce .woocommerce-cart-form {
    flex: 1 1 65%;
    min-width: 300px;
  }

  /* Cart totals (sidebar) styling */
  body.page-id-208.woocommerce-cart div.entry-content .woocommerce .cart-collaterals {
    flex: 1 1 30%;
    min-width: 280px;
  }

  .woocommerce .cart-collaterals .cart_totals,
  .woocommerce-page .cart-collaterals .cart_totals {
    width: 100%;
  }

  body.page-id-208.woocommerce-cart#nmx.woocommerce-cart .woocommerce-cart-form .product-name a {
    font-size: 16px !important;
  }

  body.page-id-208.woocommerce-cart#nmx table.cart img {
    width: 150px;
  }

  body.page-id-208.woocommerce-cart td .amount {
    font-weight: 600 !important;
    font-size: 14px;
  }

  body.page-id-208.woocommerce-cart .cart-collaterals .cart_totals {
    background: white;
    padding: 5px 15px;
  }

  body.page-id-208.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents .product-name {
    font-size: 14px;
  }

  .woocommerce-account .page {
    max-width: 1500px;
  }

  .order-page-details-tracking-order-status {
    max-width: 1500px !important;
  }

  body.page-template.page.page-id-1127 .ps-intro--shipping {
    max-width: 1500px;
  }

  body.page-template.page.page-id-1127 .ps-info h2 {
    color: #2c3e50;
  }

  body.page-template.page.page-id-1127 .ps-info p {
    color: #555;
  }

  body.page-template.page.page-id-1127 .ps-info__footer {
    border-top: 1px dashed #ccc;
    padding-top: 20px;
    margin-top: 0px;
  }

  body.page-template.page.page-id-1127 .ps-info__header {
    margin-bottom: 0px;
  }

  .col-full.site-header__wrapper.p-r.search-results-wrapper-header.show-search-section-results {
    max-width: 1500px !important;
  }

  nav.woocommerce-breadcrumb {
    max-width: 1500px !important;
  }

  body#nmx.page.page-id-51894 .col-full.main-full-screen,
  body#nmx.page.page-id-131728 .col-full.main-full-screen,
  body#nmx.page.page-id-129393 .col-full.main-full-screen,
  body#nmx.page.page-id-116752 .col-full.main-full-screen,
  body#nmx.page.page-id-119249 .col-full.main-full-screen,
  body#nmx.page.page-id-139710 .col-full.main-full-screen,
  body#nmx.page.page-id-127330 .col-full.main-full-screen,
  body#nmx.page.page-id-139427 .col-full.main-full-screen,
  body#nmx.page.page-id-1120 .col-full.main-full-screen,
  body#nmx.page.page-id-126914 .col-full.main-full-screen,
  body#nmx.page.page-id-75 .col-full.main-full-screen,
  body#nmx.page.page-id-2313 .col-full.main-full-screen,
  body#nmx.page.page-id-2342 .col-full.main-full-screen,
  body#nmx.page.page-id-6534 .col-full.main-full-screen,
  body#nmx.page.page-id-2313 .col-full.main-full-screen,
  body#nmx.page.page-id-1122 .col-full.main-full-screen,
  body#nmx.page.page-id-85556 .col-full.main-full-screen,
  body#nmx.page.page-id-1122 .col-full.main-full-screen,
  body#nmx.page.page-id-2332 .col-full.main-full-screen,
  body#nmx.page.page-id-30430 .col-full.main-full-screen,
  body#nmx.page.page-id-3 .col-full.main-full-screen,
  body#nmx.page.page-id-91023 .col-full.main-full-screen,
  body#nmx.page.page-id-126914 .col-full.main-full-screen,
  body#nmx.page.page-id-1122 .col-full.main-full-screen,
  body#nmx.page.page-id-55 .col-full.main-full-screen,
  body#nmx.page.page-id-12631 .col-full.main-full-screen,
  body#nmx.page.page-id-2208 .col-full.main-full-screen,
  body#nmx.page.page-id-91018 .col-full.main-full-screen,
  body#nmx.page.page-id-106469 .col-full.main-full-screen,
  body#nmx.page.page-id-138128 .col-full.main-full-screen,
  body#nmx.page.page-id-37308 .col-full.main-full-screen,
  body#nmx.page.page-id-37306 .col-full.main-full-screen,
  body#nmx.page.page-id-37304 .col-full.main-full-screen,
  body#nmx.page.page-id-117676 .col-full.main-full-screen,
  body#nmx.page.page-id-134634 .col-full.main-full-screen,
  body#nmx.page.page-id-114247 .col-full.main-full-screen,
  body#nmx.page.page-id-43071 .col-full.main-full-screen,
  body#nmx.page.page-id-140834 .col-full.main-full-screen {
    width: 1300px !important;
  }

  body#nmx.page.page-id-51894 .woocommerce-breadcrumb,
  body#nmx.page.page-id-131728 .woocommerce-breadcrumb,
  body#nmx.page.page-id-129393 .woocommerce-breadcrumb,
  body#nmx.page.page-id-116752 .woocommerce-breadcrumb,
  body#nmx.page.page-id-119249 .woocommerce-breadcrumb,
  body#nmx.page.page-id-139710 .woocommerce-breadcrumb,
  body#nmx.page.page-id-127330 .woocommerce-breadcrumb,
  body#nmx.page.page-id-139427 .woocommerce-breadcrumb,
  body#nmx.page.page-id-1120 .woocommerce-breadcrumb,
  body#nmx.page.page-id-126914 .woocommerce-breadcrumb,
  body#nmx.page.page-id-75 .woocommerce-breadcrumb,
  body#nmx.page.page-id-2313 .woocommerce-breadcrumb,
  body#nmx.page.page-id-2342 .woocommerce-breadcrumb,
  body#nmx.page.page-id-6534 .woocommerce-breadcrumb,
  body#nmx.page.page-id-2313 .woocommerce-breadcrumb,
  body#nmx.page.page-id-1122 .woocommerce-breadcrumb,
  body#nmx.page.page-id-85556 .woocommerce-breadcrumb,
  body#nmx.page.page-id-1122 .woocommerce-breadcrumb,
  body#nmx.page.page-id-2332 .woocommerce-breadcrumb,
  body#nmx.page.page-id-30430 .woocommerce-breadcrumb,
  body#nmx.page.page-id-3 .woocommerce-breadcrumb,
  body#nmx.page.page-id-91023 .woocommerce-breadcrumb,
  body#nmx.page.page-id-126914 .woocommerce-breadcrumb,
  body#nmx.page.page-id-1122 .woocommerce-breadcrumb,
  body#nmx.page.page-id-55 .woocommerce-breadcrumb,
  body#nmx.page.page-id-12631 .woocommerce-breadcrumb,
  body#nmx.page.page-id-2208 .woocommerce-breadcrumb,
  body#nmx.page.page-id-91018 .woocommerce-breadcrumb,
  body#nmx.page.page-id-106469 .woocommerce-breadcrumb,
  body#nmx.page.page-id-138128 .woocommerce-breadcrumb,
  body#nmx.page.page-id-37308 .woocommerce-breadcrumb,
  body#nmx.page.page-id-37306 .woocommerce-breadcrumb,
  body#nmx.page.page-id-37304 .woocommerce-breadcrumb,
  body#nmx.page.page-id-117676 .woocommerce-breadcrumb,
  body#nmx.page.page-id-134634 .woocommerce-breadcrumb,
  body#nmx.page.page-id-114247 .woocommerce-breadcrumb,
  body#nmx.page.page-id-43071 .woocommerce-breadcrumb,
  body#nmx.page.page-id-140834 .woocommerce-breadcrumb {
    width: 1300px !important;
  }

  body#nmx.page.page-template-common-sell-gold .col-full.main-full-screen {
    width: 1300px !important;
  }

  body.page-id-210.logged-in.woocommerce-account.woocommerce-page nav.woocommerce-MyAccount-navigation {
    float: left !important;
    width: 20% !important;
  }

  body.page-id-210.logged-in.woocommerce-account.woocommerce-page nav.woocommerce-MyAccount-navigation ul {
    flex-direction: column !important;
    text-align: left !important;
  }

  body.page-id-210.logged-in.woocommerce-account.woocommerce-page nav.woocommerce-MyAccount-navigation ul li {
    line-height: 60px;
  }
}

body.home.page-template .section__header.entry-header.section__header.entry-header.entry-header--static h2.entry-title {
  font-weight: 700;
  font-size: 1.775rem;
  color: #505252 !important;
}

body.home.page-template .section__header.entry-header.section__header.entry-header.entry-header--static {
  margin-bottom: 40px;
}

body.home.page-template .section+.section {
  margin-top: 90px;
}

/* from footer file */
/* sec 1 */
div.newsletterdesktopsection div#newsletter-subscribe-section {
  background: #cc8a21;
  width: 400px;
}

div#newsletter-subscribe-section {
  background: #cc8a21;
}

form#ctct_form_2 {
  background: #cc8a21;
}

p.ctct-gdpr-text {
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 22px !important;
}

.ctct-form-embed.form_2 .ctct-form-custom .ctct-form-button {
  background: white!important;
  color: #626262 !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}

div.ctct-form-embed div.ctct-form-defaults p.ctct-form-footer {
  background: #cc8a21;
}

div.ctct-form-embed form.ctct-form-custom .ctct-form-errorMessage {
  color: #95231c !important;
}

/* sec 2 */
div.secure-shopping {
  display: flex;
  gap: 110px;
}

.secure-shopping {
  font: 400 14px / 1 Open Sans, sans-serif;
  float: left;
  width: 100%;
  font-weight: 600;
  text-transform: uppercase;
  padding: 30px 3px 20px;
  float: left;
  width: 100%;
}

.assurance {
  display: inline-block;
  float: left;
}

.app-download-links {
  float: right;
}

@media only screen and (max-width: 600px) {
  div.secure-shopping {
    display: block !important;
    gap: 0px !important;
  }

  .app-download-links {
    float: left;
  }

  .app-store-sprite {
    float: left !important;
    width: 150px !important;
  }

  .app-playstore-sprite {
    float: left !important;
    width: 150px !important;
  }
}

.app-store-sprite {
  display: inline-block;
  float: left;
  background-image: url("https://aubullion.ca/wp-content/uploads/2022/05/applestoreicon.jpg");
  background-repeat: no-repeat;
  background-position: -230px -9px;
  width: 182px;
  height: 57px;
  margin-right: 10px;
}

.app-playstore-sprite {
  display: inline-block;
  float: left;
  background-image: url("http://aubullion.ca/wp-content/uploads/2022/05/googleplayicon.jpg");
  background-repeat: no-repeat;
  background-position: -426px -8px;
  width: 182px;
  height: 57px;
  font: 400 14px / 1 Open Sans, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.textwidget.custom-html-widget .contact-info .contact-info__email {
  word-break: break-word;
}

/* section 3 */
/* Hide sub-menus initially on mobile */
@media (max-width: 1024px) {
  #menu-primary-menu .sub-menu {
    display: none;
    padding-left: 15px;
  }

  /* Add indicator for items with sub-menu */
  #menu-primary-menu li.menu-item-has-children>a::after {
    content: "▼";
    float: right;
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  /* Rotate indicator when open */
  #menu-primary-menu li.menu-item-has-children.open>a::after {
    transform: rotate(180deg);
  }

  .flyout ul#menu-primary-menu {
    padding-left: 0px !important;
    line-height: 25px;
  }

  .flyout ul.menu {
    padding-left: 0px !important;
    line-height: 25px;
  }

  .flyout a {
    padding: 12px 15px !important;
    color: white !important;
  }

  .flyout ul li .sub-menu {
    list-style: none !important;
  }

}

/* section 4 */
@media only screen and (max-width: 768px) {
  .woof_show_mobile_filter img {
    display: none !important;
  }

  .woof_show_mobile_filter {
    width: 100%;
  }

  .woof_hide_mobile_filter span,
  .woof_show_mobile_filter span {
    font-size: 15px;
    display: inline-block;
    vertical-align: top;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid lightgray;
    padding: 5px 10px;
    background: #cc8a21;
    color: white;
  }

  body.archive #sidebar.site-sidebar.sidebar-widget-area {
    display: contents !important;
  }

  .woof_show_filter_for_mobile.woof {
    top: 0px !important;
  }
}


/* from header */
@media only screen and (max-width: 768px) {
  .DesktopSideBarSearch {
    display: none;
  }

  .DesktopSideBarSearchright {
    width: 100% !important;
  }
}

.DesktopSideBarSearch {
  float: left;
  width: 20%;
}

.DesktopSideBarSearchright {
  float: left;
  width: 80%;
}

.DesktopSideBarSearch ul.metal-list {
  list-style-type: none;
  /* remove bullets */
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  display: contents;
}

.DesktopSideBarSearch ul.metal-list.metal-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background-color: #f8f8f8;
  border-left: 4px solid #cc8a21;
  /* highlight color */
  transition: background-color 0.3s;
  cursor: pointer;
  max-width: 96%;

}

.metal-list li:hover {
  background-color: #eaeaea;
}

div.search-results-wrapper-header li {
  max-width: 24.7%;
}

 @media only screen and (max-width: 768px) {
          .DesktopSideBarSearch
          {
            display: none;
          }
          .DesktopSideBarSearchright
          {
            width:100%!important;
          }
        }
        .DesktopSideBarSearch
        {
          float: left;
          width:20%;
        }
        .DesktopSideBarSearchright
        {
          float: left;
          width:80%;
        }

        .DesktopSideBarSearch ul.metal-list {
          list-style-type: none;
          /* remove bullets */
          padding: 0;
          margin: 0;
          font-family: Arial, sans-serif;
          display: contents;
        }

        .DesktopSideBarSearch ul.metal-list.metal-list li {
          padding: 12px 16px;
          margin-bottom: 8px;
          background-color: #f8f8f8;
          border-left: 4px solid #cc8a21;
          /* highlight color */
          transition: background-color 0.3s;
          cursor: pointer;
          max-width: 96%;
          
        }

        .metal-list li:hover {
          background-color: #eaeaea;
        }
        div.search-results-wrapper-header li
        {
          max-width: 24.7%;
        }