:root {
    --main-color: #133a5e;
    --secondary-color: #eeeeee59;
    --third-color : #d4af37 ; 
    --section-padding: 15px 45px;
}

/* ================= Global ================= */
* {
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: Arial, Helvetica, sans-serif;
}

/* ================= Navbar ================= */
nav {
    position: sticky;
    top: 0;
    padding: 15px 45px 5px;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* ---------- Nav Above ---------- */
nav .nav_above {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    opacity: 0.7;
    position: relative;
}

nav .nav_above::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #aeaeae;
}

nav .nav_above .nav_above_right i {
    margin-right: 10px;
    cursor: pointer;
}

nav .nav_above .nav_above_right i:nth-child(3) {
  position: relative;
}

nav .nav_above .nav_above_right i:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: red;
}

/* ---------- Cart ---------- */
.cart-icon-wrapper {
  position: relative;
  display: inline-block;
  transition: transform 0.2s ease;
}

.bump {
  animation: zoom 0.4s ease-out;
  -webkit-animation: zoom 0.4s ease-out;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(3);
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -ms-transform: scale(3);
    -o-transform: scale(3);
}
  100% {
    transform: scale(1);
  }
}

#cart-count {
  position: absolute;
  top: -10px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  background-color: #ff9934;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
}

/* ---------- Nav Under ---------- */
.nav_under {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_under .nav_under_left img {
  width: 70px;
  height: 70px;
  margin-bottom: -10px;
}

.nav_under .nav_under_right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav_under .nav_under_right .links ul {
  display: flex;
  list-style: none;
  gap: 20px;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.nav_under .nav_under_right .links ul li a {
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}


.nav_under .nav_under_right .links ul li a::after
{
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color:var(--third-color) ;
    bottom: -5px ;
    left: 0;
    display: block;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.4s ease;
    -webkit-transition: transform 0.4s ease;
    -moz-transition: transform 0.4s ease;
    -ms-transition: transform 0.4s ease;
    -o-transition: transform 0.4s ease;
}

.nav_under .nav_under_right > a {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ---------- Hover ---------- */
nav:hover {
    transition:transform 0.4s ease;
    -webkit-transition:transform 0.4s ease;
    -moz-transition:transform 0.4s ease;
    -ms-transition:transform 0.4s ease;
    -o-transition:transform 0.4s ease;
}

.nav_under .nav_under_right .links ul li a:hover
{
    color: var(--third-color);
}


.nav_under .nav_under_right .links ul li a:hover::after
{
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
}


.nav_under .nav_under_right > a:hover 
{
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);

    background-color: #1a4d7c;
}



.section_one {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url(images/product_images/section_one.jpg);
    background-position: center; background-size: cover; height: 560px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
}
.section_one .shop { color: white; font-size: 50px; font-weight: bolder; }
.section_one .home_Shop span 
{
    color: white;
}
.section_two { padding: var(--section-padding); display: flex; flex-direction: column; align-items: center; margin-top: 50px; }
.section_two .header { font-size: xx-large; font-weight: bold; }
.section_two p { color: #3C3C3D; line-height: 3; text-align: center; }

/* =======================
   SHOP PAGE & FILTER (THE NEW PART)
   ======================= */
.Shop_Page {
    padding: var(--section-padding);
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.Shop_Page .filter {
    width: 260px;
    flex-shrink: 0;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px; 
    height: fit-content; 
}

.Shop_Page .filter .input input {
    width: 90%;
    border-color: transparent transparent #ababab transparent;
    border-style: solid;
    padding: 8px;
    margin-bottom: 20px;
    outline: none;

}

.Shop_Page .filter .header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
}

.Shop_Page .filter p {
    font-size: 18px;
    color: var(--main-color);
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 15px 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.categories ul, .color ul {
    list-style: none;
    padding: 0;
}

.categories ul li, .color ul li {
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #666;
}

.categories ul li:hover, .color ul li:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.categories ul li.active, .color ul li.active {
    color: var(--accent-color);
    font-weight: bold;
}

#productsContainer {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product_card {
    border: 1px solid #eeeeee;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product_card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product_card .underimg {
    background-color: white;
    padding: 20px;
    margin: -40px 15px 15px 15px;
    position: relative;
    z-index: 2;
    border-radius: 15px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.product_card .underimg p {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    height: 40px; /* توحيد الطول */
    overflow: hidden;
}

.underelement {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.AddToCartBtn {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
}

.AddToCartBtn:hover {
    background-color: var(--third-color);
}



.main-footer {
    background-color: #f9f9f9;
    padding: 15px 45px ; 
    position: relative;
    margin-top: 150px;
    height : auto;
}

.footer-container {
    width: 90%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;

}

.footer-col h3 {
    color: #000;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: orange;
}



.footer-logo {
    width: 100px;
}

.brand-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: #000;
}

.categories-list {
    display: flex;
    gap: 40px;
}




.scroll-up-btn {
    position: absolute;
    right: 0;
    top: 76%;
    background-color: #FF9934;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}






.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid orange;
    height: 50px;
}

.bottom-container {
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
}

.social-links a {
    color: #000;
    font-size: 20px;
    margin-left: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--main-orange);
}



















/* :root
{
    --main-color:#133A5E ;
    --secondary-color:#EEEEEE59;
    --section-padding:15px 45px ; 
}
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: Arial, Helvetica, sans-serif;
}
body
{
    padding: 0;
    margin: 0;
}
nav
{
    padding: var(--section-padding);
}
nav .nav_above
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
    opacity: 0.7;
    padding-bottom: 10px;
    position: relative;
}

nav .nav_above::after
{
    content: "";
    position: absolute;
    width:100%;
    height: 2px;         
    background-color: #aeaeae; 
    bottom: 0;
}
nav .nav_above .nav_above_right i:nth-child(3)
{
    position: relative;

}
nav .nav_above .nav_above_right i:nth-child(3)::after
{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50% ;
    -webkit-border-radius: 50% ;
    -moz-border-radius: 50% ;
    -ms-border-radius: 50% ;
    -o-border-radius: 50% ;
    background-color: red;
    top: -2px;
    right: -2px;
}

.nav_under
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}


.nav_under .nav_under_left img
{
    width: 100px;
    height: 100px;
    margin-bottom: -10px;
}

.nav_under .nav_under_right
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav_under .nav_under_right .links ul
{
    display: flex;
    flex-direction: row; 
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav_under .nav_under_right a
{
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50%;
    -webkit-border-radius:30px;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
}


.section_one
{
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),url(images/product_images/section_one.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 560px;
    margin-top: -25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    object-fit: contain;
}

.section_one .shop 
{
    color: white;
    font-size: 50px;
    font-weight: bolder;
}

.section_one .home_Shop
{
    font-size: small;
    opacity: 1;
}

.section_one .home_Shop span
{
    color: white;
    opacity: 1;
}


.section_two
{
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}
.section_two .header
{
    font-size: xx-large;
    font-weight: bold;
}
.section_two p 
{
    color: #3C3C3D ;
    line-height: 3;
    text-align: center;
    font-size: small;
}







.Shop_Page
{
    padding: var(--section-padding);
    display: flex;
    flex-direction: row;
    gap: 40px;
}


.Shop_Page .filter 
{
    width: 260px;
    flex-shrink: 0;
}


.Shop_Page .filter .input input
{
    border-color : transparent transparent #ababab transparent ; 
    border-style: solid;
    padding: 5px;
    margin-bottom: 20px;
}
.Shop_Page .filter .input > i 
{
    opacity: 0.5;
}

.Shop_Page .filter .header 
{
    font-size: larger;
    padding-left: 20px;
    font-weight: bold;
    
}
.Shop_Page .filter p 
{
    font-size: large;
    padding-left: 20px;
    color: var(--main-color);
}

.Shop_Page .filter .range 
{
    color: black;
}



.Shop_Page .filter .categories ul 
{
    list-style: none;
}

.Shop_Page .filter .categories ul li 
{
    padding-bottom:15px ; 
}

.Shop_Page .filter .categories ul li:first-child
{
    color: #FF9934;
}

.Shop_Page .filter .color ul li 
{
    padding-bottom:15px ; 
}

.Shop_Page .filter .color ul li:first-child
{
    color: #FF9934;
}








.Shop_Page .products {
    flex: 1;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.Shop_Page .products  .product_card
{
    border: 1px solid #eeeeee;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;     
}


.Shop_Page .products .product_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12); 

}


.Shop_Page .products  .product_card img
{
    width: 250px;
    height: 260px;
    object-fit: cover; 
    width: 100%;
    object-fit: cover;

}

.Shop_Page .products  .product_card .underimg
{
    background-color: white;
    padding: 15px;
    margin-top: -30px;
    margin-right: 15px;
    margin-left: 15px;
    z-index: 2;
    box-shadow: 0 -5px 15px rgba(0,0,0, 0.05);
    border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -ms-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;
}

.Shop_Page .products  .product_card .underelement
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.Shop_Page .products  .product_card .underimg p
{
    margin-bottom: 30px;
}



.Shop_Page .products  .product_card .underelement .left_underelement .AddToCartBtn
{
    
background-color: var(--main-color);
    color: white;
    border: none;
    padding:5px 15px;
    border-radius:20px ;
    -webkit-border-radius:20px ;
    -moz-border-radius:20px ;
    -ms-border-radius:20px ;
    -o-border-radius:20px ;
}


.Shop_Page .products  .product_card .underelement .right_underelement span 
{
    font-weight: bolder;
} 






.footer
{
    margin-top: 100px;
    padding: var(--section-padding); 
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    position: relative;
}
.footer::after
{
    position: absolute;
    content: "";
    height: 2px; 
    background-color: #CFB7A0;
    width: 90%;
    bottom: 0;
}

.footer > i 
{
    position: absolute;
    right: 2.3%;
    bottom: -5%;
    background-color:#FF9934 ;
    font-size: xx-large;
    padding: px;
    color: white;
}
.footer .elements 
{
    padding: 10px;
}
.footer .one 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer .one img
{
    width: 100px;
    height: 100px;
}
.footer .one div 
{
    text-transform: capitalize;
    font-size: small;
}

.footer .one ul li 
{
    list-style: none;
    padding: 5px;
}
.footer .two ul
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
}

.footer .two li
{
    list-style: none;
    color: #5F6D7E;
}
.footer .two li:nth-child(1)
{
    color: black;
    font-size: x-large;
}





.footer .three ul
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
}

.footer .three li
{
    list-style: none;
    color: #5F6D7E;
}
.footer .three li span 
{
    margin-left: 20px ;
}

.footer .three li:nth-child(1)
{
    color: black;
    font-size: x-large;
}



.footer .two li
{
    list-style: none;
    color: #5F6D7E;
}
.footer .two li:nth-child(1)
{
    color: black;
    font-size: x-large;
}





.footer .four ul
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

}

.footer .four li
{
    list-style: none;
    color: #5F6D7E;
}
.footer .four li:nth-child(1)
{
    color: black;
    font-size: x-large;
}


.afterfooter 
{
    background-color: var(--secondary-color);
    margin-top: 0px;
    padding:25px 45px ;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.afterfooter .left
{
    color: #5F6D7E;
}




/* 

/* =======================
   SHOP PAGE LAYOUT
======================= 

.Shop_Page {
    padding: var(--section-padding);
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* FILTER 
.Shop_Page .filter {
    width: 260px;
    flex-shrink: 0;
}

/* =======================
   PRODUCTS GRID
======================= 

.Shop_Page .products {
    flex: 1;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}

/* =======================
   PRODUCT CARD
======================= 

.Shop_Page .products .product_card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover Animation 
.Shop_Page .products .product_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* PRODUCT IMAGE 
.Shop_Page .products .product_card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* =======================
   CARD CONTENT
======================= 

.Shop_Page .products .product_card .underimg {
    padding: 16px;
    background-color: #ffffff;
}

/* TITLE 
.Shop_Page .products .product_card p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 14px;
}

/* =======================
   CARD BOTTOM
======================= 

.Shop_Page .products .product_card .underelement {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ADD TO CART BUTTON 
.Shop_Page .products .product_card .underelement .left_underelement button {
    background-color: var(--main-color);
    color: #ffffff;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.Shop_Page .products .product_card .underelement .left_underelement button:hover {
    background-color: #0f2d4a;
}

/* PRICE 
.Shop_Page .products .product_card .underelement .right_underelement {
    text-align: right;
}

.Shop_Page .products .product_card .underelement .right_underelement span {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
}


 */ 