
body {
  min-height: 100vh;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

/* For hero section, if not already in your stylesheet */
.explore-btn {
  background: linear-gradient(90deg, #e76d2c, #0e91c6);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 1.5px 12px rgba(14,145,198,0.14);
  transition: background .2s, box-shadow .23s, transform .16s;
}

.explore-btn:hover,
.explore-btn:focus {
  background: linear-gradient(90deg, #0e91c6 70%, #e76d2c 120%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px rgba(14,145,198,.10);
}


/* Brand, Navbar, and Padding */
.navbar-brand span {
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #e76d2c, #0e91c6);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.navbar {
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #0e91c6 !important;
  font-weight: 500;
}


/* Dropdown menu style matches design */
.dropdown-menu {
  border-radius: .5rem;
  border: none;
  min-width: 220px;
  font-size: 0.97rem;
  box-shadow: 0 8px 32px rgba(14,145,198,0.08);
  padding: 0.35rem 0;
}
.dropdown-item {
  padding: 0.6rem 1.1rem;
  border-radius: .3rem;
  transition: background 0.22s, color 0.22s;
}

/* Loader and Transitions (unchanged) */
#loader-bg {
  position: fixed;
  width: 100vw; height: 100vh;
  top: 0; left: 0;
  background: linear-gradient(135deg, #e76d2c, #0e91c6 85%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s;
}
#loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loader-spin {
  width: 60px;
  height: 60px;
  border: 5px solid #fff;
  border-top: 5px solid #e76d2c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg);}
}
.site-content {
  opacity: 0;
  transition: opacity .5s;
}
.show-content {
  opacity: 1 !important;
}
.explore-btn {
  background: linear-gradient(90deg,#e76d2c,#0e91c6);
  color: #fff !important;
  border: none;
}


/*footer above line css*/
.footer-hr {
  border: none;
  border-top: 1.8px solid #e6e6e6;
  width: 1024px;
  max-width: 90%;        /* Ensures it looks good on mobile */
  margin: 0 auto 1.5rem auto;
  opacity: 0.85;
  border-radius: 3px;
}


/* Footer links: normal and gradient on hover */
.footer-link {
  color: #0e91c6;
  text-decoration: none;
  transition: color 0.22s, background 0.22s;
  padding: 2px 4px;
  border-radius: 4px;
}
.footer-link:hover, .footer-link:focus {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #e76d2c 40%, #0e91c6 100%);
  /* optional: for a "shine" effect */
  box-shadow: 0 1px 8px #0e91c630;
}

/* Social icon style */
.footer-social {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 10px; /* consistent gap for all viewports */
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 4px;
  font-size: 1.2rem;
  background: #fff;
  border: 2px solid #e76d2c;      /* Orange border */
  border-radius: 50%;
  transition: border-color 0.22s, background 0.23s;
}
.footer-social-icon i {
  color: #e76d2c;                 /* Orange icon by default */
  transition: color 0.18s;
}
.footer-social-icon:hover,
.footer-social-icon:focus {
  background: #fff;
  border-color: #0e91c6;          /* Blue border on hover */
  text-decoration: none;
}
.footer-social-icon:hover i,
.footer-social-icon:focus i {
  color: #0e91c6;                 /* Blue icon on hover */
}


/* MOBILE FOOTER (centered text and links) */
@media (max-width: 767.98px) {
  .footer-social,
  .footer-social-icon,
  .footer-link,
  .footer-link:visited,
  .footer-link:active,
  .footer-link:focus,
  .footer-link:hover {
    text-align: center !important;
    display: inline-block;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .footer-link {
    width: 90%;
    margin: 3px auto;
    font-size: 1.08em;
  }
  .row.text-center > div,
  .row > div {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .footer-social {
    justify-content: center !important;
    display: flex;
  }
}

/* =========================
   GAMING HOVER EFFECTS 
   ========================= */

/* Navbar and Dropdown Menus */
.gaming-effect, .gaming-dropdown .dropdown-item {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: transparent;
  transition: color .24s cubic-bezier(.36,1.5,.56,1), background .23s cubic-bezier(.36,1.5,.56,1);
}

/* Bar slide gradient background for nav and dropdown */
.gaming-effect::before,
.gaming-dropdown .dropdown-item::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #e76d2c 15%, #0e91c6 90%);
  transition: width 0.36s cubic-bezier(.36,1.65,.74,1), opacity 0.27s;
  opacity: 0.6;
  border-radius: 0.3em;
}

.gaming-effect:hover::before,
.gaming-effect:focus::before,
.gaming-dropdown .dropdown-item:hover::before,
.gaming-dropdown .dropdown-item:focus::before {
  width: 100%;
}

.gaming-effect:hover,
.gaming-effect:focus {
  color: #fff !important;
  background: transparent;
}

.gaming-dropdown .dropdown-item:hover,
.gaming-dropdown .dropdown-item:focus {
  color: #fff !important;
  background: transparent;
}
.gaming-dropdown .dropdown-item:active {
  color: #fff !important;
  background: linear-gradient(90deg,#e76d2c 30%,#0e91c6 100%) !important;
}

/* Show dropdown arrow and gradient on active */
.nav-link.active, .dropdown-item.active,
.nav-link:focus, .dropdown-item:focus {
  background: linear-gradient(90deg, #e76d2c 40%, #0e91c6 110%);
  color: #fff !important;
}

/* Responsive fix: keeps navbar compact on all sizes */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link, .navbar-nav .dropdown-toggle {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    padding-top: 0.67rem;
    padding-bottom: 0.67rem;
    font-size: 1.01rem;
  }
  .dropdown-menu {
    min-width: 98vw;
    padding: 0.13rem 0;
  }
}


/* Fix navbar overflow issue for all screens */
.navbar .container-fluid, .navbar .container {
  max-width: 100vw;
  width: 100vw;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
  padding-left: 0.48rem;
  padding-right: 0.48rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.95rem;
  margin-left: 0.02rem;
  margin-right: 0.02rem;
}
.nav-user-name {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
  font-size: 0.95em;
}
@media (max-width: 600px) {
  .navbar .container-fluid, .navbar .container { padding-left:4px; padding-right:4px;}
  .nav-user-name { max-width: 41px; font-size: 0.89em;}
}


/* Prevent any content from pushing the page horizontally */
body, html {
  overflow-x: hidden;
}

/* Prevent user menu dropdown from overflowing outside the screen (right-aligned) */
@media (min-width: 992px) {
  .navbar .dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
    /* If dropdown goes past window, pull it left */
    transform: translateX(0);
    min-width: 220px;
    max-width: 260px;
    word-break: break-word;
  }
  .navbar .dropdown-menu-end:after {
    display: none;
  }
}

/* Smart auto-position if it might overflow the window on desktop */
@media (min-width: 992px) {
  .navbar .dropdown-menu-end.show {
    right: 0 !important;
    left: auto !important;
    transform: translateX(0);
  }
  /* Prevent overflow on very small screens or with long usernames */
  .navbar .dropdown-menu-end {
    right: 0;
    left: auto;
    min-width: 220px;
    max-width: calc(100vw - 16px); /* Always fits inside the viewport */
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
}

/* For extra long menus, enable scrolling inside dropdown */
.dropdown-menu {
  max-height: 60vh;
  overflow-y: auto;
}



/*search css*/
#modalSuggestions {
  margin-top: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 2px 16px rgba(14,145,198,0.09);
}

.suggestion-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: background 0.14s;
}
.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover {
  background: linear-gradient(90deg, #e76d2c33, #0e91c615 80%);
}


/*cart icon css*/

.cart-badge {
  position: absolute;
  top: 3px;
  right: 0px;
  min-width: 20px;
  height: 20px;
  line-height: 18px;
  background: linear-gradient(90deg, #e76d2c, #0e91c6 110%);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 50%;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 8px rgba(14,145,198,0.13);
  z-index: 2;
  pointer-events: none;
  padding: 0 5px;
  display: inline-block;
  transition: background .18s;
}


/*featured products css*/
.product-card {
  border: none;
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .22s, transform .18s;
  cursor: pointer;
  box-shadow: 0 1px 12px #0e91c612;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 5px 32px #e76d2c21, 0 1.5px 8px #0e91c62c;
  transform: translateY(-7px) scale(1.02);
}
.product-card .quick-view-btn {
  display: block !important;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  pointer-events: auto;
}
.product-card img {
  object-fit: contain;
  max-height: 150px;
}
@media (max-width: 991.98px) {
  .product-card img { max-height: 120px; }
}


/*featured products cart style*/

.product-card {
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .22s, transform .18s;
  cursor: pointer;
  box-shadow: 0 1px 12px #0e91c612;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 5px 32px #e76d2c21, 0 1.5px 8px #0e91c62c;
  transform: translateY(-7px) scale(1.02);
}
.add-cart-btn, .cart-qty-controls button {
  box-shadow: 0 1.5px 7px #0e91c613;
  transition: background .18s, color .18s;
}
.add-cart-btn:hover {
  background: linear-gradient(90deg, #0e91c6, #e76d2c 90%);
  color: #fff !important;
}
.cart-qty-controls .minus-btn:hover {
  color: #c94600;
}
.cart-qty-controls .plus-btn:hover {
  color: #076394;
}

/* Fix for cart controls over stretched-link issues */
.cart-qty-controls,
.add-cart-btn {
  position: relative !important;
  z-index: 2 !important;
}
.cart-qty-controls button {
  position: relative !important;
  z-index: 3 !important;
}


/*feature products wishlist*/
.wishlist-btn {
  position: absolute !important;
  top: 8px;
  right: 8px;
  z-index: 10;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    border-color 0.19s,
    background 0.19s,
    box-shadow 0.17s,
    color 0.15s,
    transform 0.15s;
  box-shadow: 0 2px 12px #e76d2c13;
  font-size: 1.25rem;
  padding: 0;
  outline: none;
}

.wishlist-btn:focus {
  border-color: #0e91c6;
}
.wishlist-btn:hover {
  border-color: #e76d2c;
  background: #fff3ee;
  box-shadow: 0 7px 24px #e76d2c20;
  transform: scale(1.09);
}

.wishlist-btn .bi-heart {
  color: #9aa2b0;
  transition: color 0.18s;
}
.wishlist-btn .bi-heart-fill {
  color: #e76d2c;
  text-shadow: 0 2px 9px #e76d2c33;
  filter: drop-shadow(0 2px 7px #e76d2c15);
}

.wishlist-btn[disabled] {
  cursor: not-allowed !important;
  opacity: 0.44;
  filter: grayscale(34%);
  pointer-events: none;
}


/* Shop by Brand Card Styling */
.brand-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  height: 150px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Gradient Border on Hover */
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #e76d2c, #0e91c6);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

.brand-card:hover::before {
  opacity: 1;
}

/* Logo Styling */
.brand-img {
  max-height: 100px;
  width: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-img {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 575.98px) {
  .brand-card {
    height: 130px;
    padding: 15px;
  }
  .brand-img {
    max-height: 80px;
  }
}


/*Highlight section above the footer css*/

.highlights-section {
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.highlights-item {
    min-height: 80px;
}

/* Gradient Icon (ALWAYS gradient, no hover needed) */
.highlight-icon i {
    color: transparent !important;
    background: linear-gradient(90deg, #e76d2c 30%, #0e91c6 80%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px #0e91c633);
}

@media (max-width: 768px) {
    .highlights-section .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .highlight-icon {
        margin-bottom: 5px;
    }
}

/*why Shop with ASR CSS*/

.highlights-section {
    background: #fff;
    border-radius: 12px;
}

.highlights-item { min-height: 75px; }

.highlight-icon i {
    color: transparent !important;
    background: linear-gradient(90deg, #e76d2c 28%, #0e91c6 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px #e76d2c22);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .highlights-section .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .highlight-icon { margin-bottom: 5px; }
}


/*Shop by Category CSS*/

.category-card2 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0e91c60d;
  border: 1.5px solid #f0f0f0;
  padding: 22px 28px 22px 22px;
  min-height: 130px;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition:
    box-shadow .18s, border-color .16s, background .18s, transform .16s;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.category-card2:hover,
.category-card2:focus {
  border-color: #e76d2c;
  box-shadow: 0 8px 34px #e76d2c18, 0 1.5px 16px #0e91c62c;
  background: linear-gradient(90deg, #e76d2c0e 0%, #0e91c610 80%, #fff 100%);
  transform: translateY(-2px) scale(1.015);
}

.category-img2 {
  width: 92px;
  height: 92px;
  max-width: 30vw;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
  box-shadow: none;
  margin-right: 0;
  transition: transform 0.16s;
}
.category-card2:hover .category-img2 {
  transform: scale(1.06);
}

.category-card-body2 {
  flex: 1;
  min-width: 0;
}
.category-title2 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #212529;
  letter-spacing: 0.3px;
}
.category-desc2 {
  font-size: 1rem;
  color: #7f8590;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .category-card2 { padding: 17px 13px; }
  .category-img2 { width: 70px; height: 70px; }
}
@media (max-width: 767.98px) {
  .category-card2 {
    flex-direction: column;
    align-items: center;
    padding: 14px 7px 12px 7px;
    min-height: 0;
    text-align: center;
  }
  .category-img2 {
    width: 65px; height: 65px; margin-right: 0; margin-bottom: 10px;
  }
  .category-card-body2 {
    width: 100%;
    min-width: 0;
  }
}


/*ASR Blogs CSS*/

.asr-blog-card {
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .17s;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 1px 9px #0e91c60c;
    background: #fff;
}
.asr-blog-card:hover, .asr-blog-card:focus {
    box-shadow: 0 8px 28px #e76d2c1c;
    border-color: #e76d2c;
    transform: translateY(-6px) scale(1.017);
    text-decoration: none;
}
.asr-blog-img {
    width: 100%;
    display: block;
    border-radius: 14px 14px 0 0;
    object-fit: cover;
}
.text-gradient {
    background: linear-gradient(90deg, #e76d2c 35%, #0e91c6 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color .12s;
}
.asr-blog-summary {
    font-size: 1rem;
    min-height: 54px;
}
@media (max-width: 767.98px) {
    .asr-blog-img { height: 134px;}
}


/*Login page CSS*/
.login-card {
  border-radius: 14px;
  max-width: 370px;
  width: 97%;
  border: 1.2px solid #eee;
  margin: 8vh auto;
  box-shadow: 0 4px 32px #e76d2c14, 0 2px 8px #0e91c635;
  background: #fff;
  padding: 26px 18px 24px 18px;
  position: relative;
}

.login-logo-box {
  text-align: center;
  margin-bottom: 1.3rem;
}
.login-logo-box img {
  width: 62px;
  border-radius: 13px;
  margin-bottom: 3px;
}

.login-btn {
  background: linear-gradient(93deg, #e76d2c 12%, #0e91c6 100%) !important;
  color: #fff !important;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  letter-spacing: .25px;
  transition: background .18s, transform .13s;
}
.login-btn:hover, .login-btn:focus {
  background: linear-gradient(90deg, #0e91c6 10%, #e76d2c 100%) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
}

input.form-control:focus {
  border-color: #0e91c6;
  box-shadow: 0 0 0 .08rem #0e91c630;
}

@media (max-width: 575px) {
  .login-card {
    padding: 18px 5vw 16px 5vw;
    margin: 5.5vh auto;
  }
}

.stock-pill {
  display: inline-block;
  padding: 0.4em 1.1em;
  font-weight: 600;
  border-radius: 9999px; /* fully rounded */
  font-size: 1rem;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.1);
  user-select: none;
  margin-left: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.stock-pill.sold-out {
  background-color: #d32f2f;
  color: #fff;
  box-shadow: 0 3px 10px #d32f2faa;
}

.stock-pill.critical {
  background: linear-gradient(90deg, #ff9800, #f44336);
  color: #fff;
  box-shadow: 0 3px 10px #f4433688;
}

.stock-pill.limited {
  background-color: #ffca28;
  color: #5d4037;
  box-shadow: 0 3px 10px #ffca2888;
}

.stock-pill.available {
  background-color: #4caf50;
  color: #fff;
  box-shadow: 0 3px 10px #4caf5088;
}


/*product description page css*/

.product-title-wrapper {
  display: flex;
  flex-wrap: wrap;            /* allow wrapping */
  justify-content: space-between; /* distribute space between title and button */
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.product-title-wrapper h1 {
  flex: 1 1 auto;             /* allow to grow and shrink */
  white-space: normal;        /* allow wrapping */
  margin-bottom: 0;
  font-size: 1.75rem;         /* adjust as needed */
  min-width: 0;               /* to allow flex truncation */
}

.wishlist-icon-btn {
  flex-shrink: 0;             /* prevent shrinking */
  background: transparent;
  border: none;
  color: #9aa2b0;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.15s ease;
  position: static !important;
  margin-left: auto;          /* push button to far right on the line */
}

    #mainImageContainer {
      box-sizing: border-box; /* Include border in width */
      width: 100%; 
      max-width: 400px; 
      aspect-ratio: 1 / 1;
      margin: 0 auto;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      cursor: zoom-in;
      position: relative;
    }

    #mainImage {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    @media (max-width: 575px) {
      #mainImageContainer {
        max-width: 100%; /* full width of parent */
        width: 100%;
        padding: 0 10px; /* optional horizontal padding to prevent touching edges */
        border-radius: 6px;
      }
    }