#cart {
  background-color: #fff; /* لو عايز خلفية بيضاء عشان الخط يبان */
  color: #000; /* كل النصوص جوه الكارت تبقى سوداء */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#cart h3 {
  color: #000; /* عنوان الكارت أسود */
}

#cart p, #cart span, #cart-items {
  color: #000; /* باقي النصوص كمان أسود */
}






/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  background: #f9f6f1;
  color: #333;
}


:root {
   --color-white-100: hsl(206, 5%, 100%);
   --color-white-200: hsl(206, 5%, 96%);
   --color-white-300: hsl(206, 5%, 80%);
   --color-white-400: hsl(206, 5%, 65%);
   --color-white-500: hsl(206, 5%, 50%);
   --color-black-100: hsl(213, 20%, 9%);
   --color-black-200: hsl(213, 23%, 8%);
   --color-black-300: hsl(214, 21%, 6%);
   --color-black-400: hsl(210, 21%, 6%);
   --color-black-500: hsl(216, 22%, 4%);
   --color-red-100: hsl(349, 100%, 90%);
   --color-red-200: hsl(349, 100%, 80%);
   --color-red-300: hsl(349, 100%, 70%);
   --color-red-400: hsl(349, 100%, 60%);
   --color-red-500: hsl(349, 100%, 45%);
   --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
      0 1px 2px 0 rgba(0, 0, 0, 0.06);
   --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
   --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
   padding: 0;
   margin: 0;
   box-sizing: border-box;
   list-style: none;
   list-style-type: none;
   text-decoration: none;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-rendering: optimizeLegibility;
}


  #lg-bag{
    display: none
  }


html {
   font-size: 100%;
   box-sizing: inherit;
   scroll-behavior: smooth;
   height: -webkit-fill-available;
}

body {
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.5;
   color: var(--color-black-500);
   background-color: var(--color-white-100);
}

main {
   overflow: hidden;
}


a,
button {
   cursor: pointer;
   user-select: none;
   border: none;
   outline: none;
   background: none;
   box-shadow: none;
}

img,
video {
   display: block;
   max-width: 100%;
   height: auto;
   object-fit: cover;
}

.section {
   margin: 0 auto;
   padding: 5rem 0 2rem;
}

.container {
   max-width: 80rem;
   height: auto;
   margin: 0 auto;
   padding: 0 1.25rem;
}

.centered {
   text-align: center;
   vertical-align: middle;
   margin-bottom: 1rem;
}

.btn {
   display: inline-block;
   font-family: inherit;
   font-size: 1rem;
   font-weight: 500;
   line-height: 1.5;
   text-align: center;
   vertical-align: middle;
   white-space: nowrap;
   user-select: none;
   outline: none;
   border: none;
   border-radius: 0.25rem;
   text-transform: unset;
   transition: all 0.3s ease-in-out;
}

.btn-darken {
   padding: 0.75rem 2rem;
   color: var(--color-white-100);
   background-color: var(--color-black-200);
   box-shadow: var(--shadow-medium);
}

.btn-neutral {
   padding: 0.75rem 2rem;
   color: var(--color-black-500);
   background-color: var(--color-white-100);
   box-shadow: var(--shadow-medium);
}

.header {
   position: fixed;
   top: 0;
   left: 0;
   z-index: 100;
   width: 100%;
   height: auto;
   margin: 0 auto;
   background: var(--color-white-100);
   box-shadow: var(--shadow-medium);
}

.navbar {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   align-items: center;
   align-content: center;
   height: auto;
   padding-top: 0.5rem;
}

@media only screen and (min-width: 62rem) {
   .navbar {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 100%;
      height: 4.25rem;
      padding-top: 0;
      margin: 0 auto;
   }
}

.brand {
   justify-self: start;
   font-family: inherit;
   font-size: 1.6rem;
   font-weight: 700;
   line-height: 1.25;
   letter-spacing: -1px;
   text-transform: uppercase;
   color: var(--color-red-500);
}

.search {
   grid-column: span 2;
   order: 3;
   width: 100%;
   height: auto;
   margin: 0 auto;
   padding-block: 1rem;
}

.search-form {
   display: flex;
   align-items: center;
   justify-content: space-between;
   max-width: 100%;
   width: 100%;
   height: auto;
   padding-inline: 1.5rem;
   border-radius: 3rem;
   background: var(--color-white-200);
}

.search-input {
   display: block;
   font-family: inherit;
   font-size: 1rem;
   font-weight: normal;
   line-height: inherit;
   width: 100%;
   height: 100%;
   padding-block: 0.75rem;
   border: none;
   outline: none;
   color: var(--color-black-500);
   background: transparent;
}

.search-submit {
   display: block;
   font-size: 1.25rem;
   line-height: 1.5;
   margin-top: 0.25rem;
   color: var(--color-white-500);
   background: transparent;
}

@media only screen and (min-width: 62rem) {
   .search {
      justify-self: center;
      grid-column: initial;
      order: initial;
      width: 100%;
      height: auto;
   }
   .search-form {
      max-width: 30rem;
   }
}

.menu {
   position: fixed;
   top: -100%;
   left: 0;
   width: 100%;
   height: auto;
   overflow: hidden;
   padding-block: 3rem 2rem;
   background: var(--color-white-100);
   box-shadow: var(--shadow-medium);
   transition: all 0.45s ease-in-out;
}



.menu-link.active {
  color: var(--color-red-500);
  font-weight: 600;
}



.menu.is-active {
   top: 0;
   width: 100%;
   height: inherit;
}

.menu-inner {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   row-gap: 1.25rem;
}

.menu-link {
   font-family: inherit;
   font-size: 1rem;
   font-weight: 500;
   line-height: inherit;
   text-transform: uppercase;
   color: var(--color-black-500);
   transition: all 0.35s ease-in-out;
}

.menu-link:hover {
   outline: none;
   color: var(--color-red-400);
}

@media only screen and (min-width: 36rem) {
   .menu {
      position: relative;
      justify-self: end;
      top: 0;
      left: inherit;
      width: auto;
      height: auto;
      padding-block: 0;
      background: none;
      box-shadow: none;
      transition: none;
   }
   .menu-inner {
      display: flex;
      flex-direction: row;
      column-gap: 1.25rem;
      margin: 0 auto;
   }
   .menu-link {
      text-transform: capitalize;
   }
}

.burger {
   position: relative;
   justify-self: end;
   cursor: pointer;
   user-select: none;
   z-index: 10;
   width: 1.6rem;
   height: 1.15rem;
   border: none;
   outline: none;
   background: none;
   visibility: visible;
   transform: rotate(0deg);
   transition: 0.35s ease;
}

@media only screen and (min-width: 36rem) {
   .burger {
      display: none;
      visibility: hidden;
   }
}

.burger-line {
   position: absolute;
   display: block;
   right: 0;
   width: 100%;
   height: 2.1px;
   border: none;
   outline: none;
   opacity: 1;
   border-radius: 1rem;
   transform: rotate(0deg);
   background-color: var(--color-black-100);
   transition: 0.25s ease-in-out;
}

.burger-line:nth-child(1) {
   top: 0px;
}

.burger-line:nth-child(2) {
   top: 0.5rem;
   width: 70%;
}

.burger-line:nth-child(3) {
   top: 1rem;
}

.burger.is-active .burger-line:nth-child(1) {
   top: 0.5rem;
   transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
   opacity: 0;
   visibility: hidden;
}

.burger.is-active .burger-line:nth-child(3) {
   top: 0.5rem;
   transform: rotate(-135deg);
}

.search-form {
   position: relative;
}

.search-icon {
   position: absolute;
   left: 1rem;
   font-size: 1.2rem;
   color: var(--color-black-400);
   pointer-events: none; /* عشان الضغط ميأثرش */
}

.search-input {
   padding-left: 2.5rem; /* مسافة عشان الأيقونة */
}



/* Header */
.header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
}




/* Slider */
.carousel-item {
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}






.logo {
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.header nav ul li a:hover {
  color: #ff4b2b;
}
























/* 🎨 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* 🏷️ Section Titles */
h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 60px 0 25px;
  text-align: center;
  position: relative;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: hsl(349, 100%, 45%);
  border-radius: 2px;
}

/* 🛒 Products Grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 0 40px 60px;
}

/* 📦 Product Card */
.product-card {
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* 🖼️ Product Image */
.product-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* ℹ️ Product Info */
.product-info {
  padding: 15px;
  text-align: left;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.product-info p {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.rating {
  font-size: 13px;
  color: #ff9800;
  margin-left: 5px;
}

/* 🛍️ Add to Cart Button */
.add-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: hsl(349, 100%, 45%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.add-btn:hover {
  background: #333;
}









.product-card {
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 10px;
      margin: 10px;
      text-align: center;
      transition: 0.3s;
    }
    .product-card:hover {
      box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    }
    .product-card img {
      max-height: 250px;
      object-fit: contain;
    }
    .img-in-cart {
      height: 50px;
    }
    .cart-box {
      border-left: 2px solid #eee;
      height: 10vh;
      overflow-y: auto;
      padding: 10px;
    }











/* Footer */

body {
  font-family: "Rubik", sans-serif;
  color: #ffffff;
  line-height: 1.5;
}
h2 {
  font-size: 40px;
  font-weight: 700;
}
h6 {
  font-size: 16px;
}
p {
  font-size: 16px;
  line-height: 26px;
  color: #afb4b9;
  font-weight: normal;
}
a {
  color: #ef3636;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
a:hover,
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
  outline-offset: 0;
}
a:hover {
  color: #ef3636;
}
i {
  vertical-align: middle;
}
ul {
  padding: 0 !important;
}
li {
  list-style: none;
}
.color-base {
  color: #ffffff;
}
.bg-one-dark {
  background: #000 !important;
}
.p-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.mt-50 {
  margin-top: 50px;
}
.btn {
  text-transform: uppercase;
}
.btn:focus {
  box-shadow: none;
}
.btn:hover {
  color: #fff;
}
.btn-medium {
  font-family: "Rubik", sans-serif;
  background: transparent;
  color: #ebebeb;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 45px;
  border-radius: 4px;
  border: 1px solid #fdfdfd;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.btn-medium:hover {
  background: #f8f8f8;
  color: #222;
  -webkit-box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
}
.btn-fill {
  background: #ef3636 !important;
  color: #222 !important;
}
.btn-fill:hover {
  background: #fdfdfd;
  border-color: #ffffff;
}
.about-info {
  border: 2px solid rgba(255, 255, 255, 0.2);
}
#about-section img {
  position: relative;
  z-index: 1;
}
.inline-social ul li {
  display: inline-block;
  margin-right: 10px;
}
.bullet-check li {
  position: relative;
  padding-left: 30px;
  padding-bottom: 10px;
  color: #fff;
}
.bullet-check li:last-child {
  padding-bottom: 0;
}
.bullet-check li:before {
  position: absolute;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 15px;
  left: 0;
}


/*end of Footer */

/* ============================================
   MOBILE / TABLET RESPONSIVE FIXES (appended)
   Only adjustments for smaller screens.
   Desktop layout above is untouched.
   ============================================ */

/* Prevent any accidental horizontal scrollbar on small screens */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 575px) {
  .header {
    padding: 12px 15px;
  }
}

@media (max-width: 430px) {
  .header {
    padding: 10px 12px;
  }
}

/* Grid/flex children default to min-width:auto (their content's intrinsic
   size), which can fight the minmax(0, 1fr) track on .navbar and force
   overflow at very narrow widths. Neutralize that explicitly. */
.brand,
.search {
  min-width: 0;
}
.search-input {
  min-width: 0;
}

@media (max-width: 430px) {
  /* Let the brand shrink fluidly instead of wrapping to two lines
     on the smallest phones (320-375px). */
  .brand {
    font-size: clamp(1.1rem, 5.5vw, 1.6rem);
  }
}

/* ============================================
   MOBILE CARD LAYOUT: "2 up, 1 underneath"
   Contact Now / Address / Social Media row.
   Desktop 3-column layout (col-md-4) is unchanged.
   ============================================ */
@media (max-width: 767px) {
  .about-info-wrap .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .about-info-wrap .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }
  .about-info-wrap .row > [class*="col-"]:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .about-info-wrap .row {
    gap: 12px;
  }
  .about-info-wrap .row p,
  .about-info-wrap .row a {
    font-size: 14px;
  }
}

/* ============================================
   MOBILE: per-category horizontal product sliders
   Each <h1 id="..."> + its following .products div
   is one category. On mobile, .products switches
   from a grid to a swipeable horizontal scroller.
   Desktop grid layout (auto-fit minmax) is unchanged.
   Product cards themselves are untouched.
   ============================================ */
@media (max-width: 767px) {
  .products {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 15px;
    padding: 0 15px 25px;
    gap: 15px;
  }
  .products .product-card {
    flex: 0 0 auto;
    width: 66%;
    max-width: 260px;
    scroll-snap-align: start;
  }
  h1 {
    font-size: 22px;
    margin: 40px 0 18px;
    padding: 0 15px;
  }
}

@media (max-width: 430px) {
  .products .product-card {
    width: 76%;
  }
}

/* ============================================
   Scale down oversized desktop spacing on mobile
   for the shared dark "About/Contact" footer block.
   Only spacing changes; content/design untouched.
   ============================================ */
@media (max-width: 767px) {
  #about-section.p-100 {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .about-info-wrap.p-100 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 430px) {
  #about-section.p-100 {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .about-info-wrap.p-100 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* ============================================
   SHOPPING CART CONTROLS
   Quantity +/-, remove, and clear-cart buttons.
   Styled with the site's existing red accent to
   match the "Add to cart" pills already in use.
   ============================================ */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cart-item-name {
  flex: 1 1 100%;
  font-weight: 600;
  font-size: 14px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  line-height: 1;
  border-radius: 4px;
  background: hsl(349, 100%, 45%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.qty-btn:hover {
  background: #333;
}
.cart-item-qty {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}
.cart-item-price {
  font-weight: 600;
  font-size: 14px;
}
.remove-btn {
  color: #d32f2f;
  font-size: 15px;
  padding: 4px 6px;
  cursor: pointer;
}
.remove-btn:hover {
  color: #900;
}
#checkout-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px 16px;
  background: hsl(349, 100%, 45%);
  color: #fff;
  border: 1px solid hsl(349, 100%, 45%);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
#checkout-btn:hover {
  background: #333;
  border-color: #333;
}
#clear-cart-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 16px;
  background: transparent;
  color: hsl(349, 100%, 45%);
  border: 1px solid hsl(349, 100%, 45%);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
#clear-cart-btn:hover {
  background: hsl(349, 100%, 45%);
  color: #fff;
}

#search-no-results {
  text-align: center;
  padding: 30px 15px;
  font-size: 16px;
  color: #666;
}

@media (max-width: 575px) {
  .cart-item-name {
    font-size: 13px;
  }
}

/* ============================================
   FOOTER TEXT OVERFLOW FIX
   Long unbroken strings (e.g. the e-mail address)
   have no spaces to wrap on, so in the 2-up mobile
   grid they can overflow their ~140px column.
   Let them break instead.
   ============================================ */
.about-info-wrap .row a,
.about-info-wrap .row p,
.about-info-wrap .row span {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============================================
   SHOPPING CART — icon toggle
   The cart is now a floating icon; tapping it
   opens the order panel (existing #cart styling
   is kept as-is), tapping again closes it.
   ============================================ */
.cart-toggle-btn {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 150;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: hsl(349, 100%, 45%);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: 0.3s;
}
.cart-toggle-btn:hover {
  background: #333;
}
.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fff;
  color: hsl(349, 100%, 45%);
  border: 2px solid hsl(349, 100%, 45%);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

#cart.cart-sidebar {
  position: fixed;
  top: 148px;
  right: 20px;
  width: 300px;
  max-width: calc(100vw - 40px);
  max-height: 65vh;
  overflow-y: auto;
  z-index: 149;
  display: none;
}
#cart.cart-sidebar.cart-open {
  display: block;
}

@media (max-width: 575px) {
  .cart-toggle-btn {
    top: 80px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
  #cart.cart-sidebar {
    top: 132px;
    right: 14px;
    width: 260px;
    max-width: calc(100vw - 28px);
  }
}
