
body {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

html, body {
    overflow-x: hidden;
}


header, footer {
  width: 100%;
  background: #0B6B6A;
  color: #fff;
  text-align: center;

}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}


/*.....footer......*/

footer p {
  margin: 0;
  font-size: 0.9rem;
}

.s4l-footer {
  color: #fff;
  padding: 0;
  font-size: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 2rem; /* flexible spacing */
  width: 100%; /* scales with screen width */
  height: 350px;
  margin: 3rem auto; /* centers it horizontally */
  text-align: left;
  padding-left: 20px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col p {
  padding-top: 20px;
}


.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-col ul li a {
  color: #d7e6e6;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  text-decoration: underline 0.8px #f18c28;
  margin: 3px;
  font-size: 18px;
  font-weight: 800;
}


.footer-top {
  width: 100%;
  background: #378188; /* slightly darker shade */
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease; /* <-- transition here */
 
}

.footer-top .back-to-top {
  color: #fff;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}


.footer-top:hover {
  background: #086160; /* hover color for full width */
}



.footer-logo {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 3px;
  text-decoration: none;
  display: inline-block;
  padding-top: 15px;
}

.logo-orange { color: #f28c28; }
.logo-white  { color: #fdf4e7; }
.logo-blue   { color: #00bfff; }





/*......header...........*/




.s4l-header {
  width: 100%;  
  position: relative;
  display: flex;
  justify-content: center;
  color: #fff;
  padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.header-container {
  width: 100%;
  display: flex;
  height: 150px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
   /* only small inner padding */
  margin: 0; /* remove the 40px margins */
  box-sizing: border-box;
  z-index: 5000;
}


.desktop-header{
     width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
  padding-bottom: 40px;
}


.header-logo {
  display: flex;
  align-items: left;    
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 3px;
  text-decoration: none;
  padding-left: 20px;
}

.header-nav a {
  margin: 0 15px;
  color: #fdf4e7;
  text-decoration: none;
  font-weight: 500;
}

.header-nav a:hover {
    text-decoration: underline 0.8px #f18c28;
    
}

/* SEARCH BAR - main container */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: visible;   /* ← Let the dropdown breathe */
  z-index: 9999;       /* ← Make sure it sits above other layout */
}


/* INPUT */
.header-search input {
  border: none;
  outline: none;
  width: 700px;
  height: 36px;
  border-radius: 5px 0 0 5px;
  padding: 0 10px;
  font-size: 15px;
  color: #094949;
}

/* SEARCH BUTTON */
.header-search button {
  background: #f18c28;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 5px 5px 0;
  height: 36px;    /* matches input */
  width: 40px;     /* keeps size consistent */
}

.header-search button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* SEARCH AUTOCOMPLETE DROPDOWN */
.search-autocomplete {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* SHOW CLASS */
.search-autocomplete.show {
    display: block;
}

/* ONE RESULT ITEM */
.ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
}

.ac-item:hover {
    background: #f7f7f7;
}

/* THUMBNAIL */
.ac-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* TEXT BLOCK */
.ac-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ac-name {
    font-size: 14px;
    font-weight: 500;
    color: #094949;
}

.ac-cat {
    font-size: 12px;
    color: #777;
}



.search-autocomplete div {
  color: #094949;
  padding: 10px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid #f3f3f3;
}

.search-autocomplete div:hover {
  background: #f7f7f7;
}


/* SIGN IN + ICONS */
.header-icons {
  width: 150px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icons a {
  color: #fdf4e7;
  text-decoration: none;
  font-weight: 500;
}

/* SIGN-IN LINK */
.sign-in-link {
  color: #fdf4e7;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.sign-in-link:hover {
  border-color: #f18c28;
}


/* -------------------------------------------------------
   MINI CART
------------------------------------------------------- */

.mini-cart {
  position: absolute;
  top: 50px;
  right: -20px;
  width: 280px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 16px 14px 18px 14px;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: auto;
}

.mini-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* <- centers both vertically */
  padding: 14px 0;
  border-bottom: 1px solid #e6e6e6;
  min-height: 52px;
}

.mini-cart-items li {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;

}

.mini-cart-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.3;
}

.mini-cart-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.3;
  justify-content: flex-end;

}

.mini-cart-name {
  font-weight: 600;
  color: #094949;
  font-size: 15px; /* tiny bump helps a lot */
}

.mini-cart-details {
  font-size: 13px;
  color: #666;
  text-align: left;
  display: block;
  margin: 0;
  padding: 0;
}


.mini-cart-sub {
  font-weight: 700;
  color: #094949;
  min-width: 80px;
  text-align: right;
  
}

.mini-cart-qty {
  opacity: 0;          /* or visibility: hidden; */
  font-size: 14px;     /* same as before */
  line-height: 1.4;    /* keeps a nice gap */
  margin-bottom: 0;    /* adjust if needed */
}


.mini-cart-total {
  margin-top: 8px;
  font-weight: 600;
  color: #0b6b6a;
  text-align: right;
}

.mini-cart-total-value {
  color: #ff8a2a;
}

.view-cart-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 8px 0;
  background: #0b6b6a;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.view-cart-btn:hover {
  background: #095754;
}

.basket-wrapper:hover .mini-cart,
.mini-cart:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}



/* FINAL overflow kill-switch for all pages */
* {
    box-sizing: border-box;
}

.no-scroll {
    overflow-x: hidden !important;
}

/* GLOBAL overflow kill-switch */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* ANY element that overflows sideways will now be clipped */
* {
    box-sizing: border-box;
}

/* special fix for ANY sliding / wide container */
.s4l-hero-slider,
#featured-list,
#subcategory-cards,
#category-product-grid {
    overflow-x: hidden !important;
}
