*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.body{
    background-color: #F0F3F4;
    margin: 0;
    padding: 0%;
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  margin: 0;
  padding: 0;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.list-container {
    display: flex;
    align-items: center;
    list-style-type: none;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    font-size: larger;
    border: 2px solid #333333;
    box-shadow: 2px 2px 2px black;
    font-weight: bolder;
    font-family: "Ubuntu", serif;
    justify-content: center;
    width: 100%;
  }
    .Home, .Search, .Cart {
    border-right: 4px solid #333333;
    padding: 10px 20px;
    margin: 0;
  }
    .Home:last-child, .Search:last-child, .Cart:last-child {
    border-right: none;
  }
    .Home:hover, .Search:hover, .Cart:hover {
    background-color: #f5f5f5;
  }
  
  .header-pngs {
    width: 20px;
    object-fit: contain;
    vertical-align: middle;
  }
.list-container:hover{
    color: #E67E22;
}
.list-container a{
    text-decoration: none;
    color: #3498DB;
}
.list-container a:hover{
    color: #2874A6;
}
.original-price{
    color: #ffffff;
    text-decoration: line-through;
}
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.products > * {
    display: flex;
    flex: 1 1 22%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2%;
    max-width: 280px;
}
.images{
  margin-bottom: 35px;
    max-width: 70%;
    height: auto;
    width: 100%; /* or whatever size fits your layout */
    position: relative; /* ensures images appear above the sale card */
z-index: 1;
    transform: scale(1.2);
  border-radius: 10px; /* optional – smooth edges */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.image-text-container {
  position: relative;
  display: inline-block;
}

.images {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.8); /* optional: darken image so text pops */
}

.price-overlay {
  position: absolute;
  bottom: 15px; /* move to bottom of image */
  left: 15px;
  z-index: 999; /* ensures it's above everything */
  font-size: 2rem; /* makes text larger */
  font-weight: bold;
  color: white; /* stands out on image */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8); /* adds readability */
}

.original-price {
  text-decoration: line-through;
  margin-right: 10px;
  opacity: 0.8;
  font-size: 1.5rem;
}

.sale-price {
  color: #ff5555;
  font-size: 2rem;
  text-align: center;
}

<style>
.images {
  width: 300px; /* or whatever size you want */
  position: relative; /* ensures images appear above the sale card */
z-index: 1;
  transition: transform 0.3s ease; /* smooth zoom */
}

.images:hover {
  transform: scale(1.3); /* zoom to 130% */
}
</style>

<img src="sword of inverted spear.jpg" alt="apple" class="images">


h1{
  transform: scale(1.6);
  color: #ffffff;
  font-family: "Playwrite IT Moderna", serif;
  font-weight: bolder;
  text-shadow: 0px 1px 3px darkgrey;
  font-variant: normal;
  position: relative;
}
.sale-price{
  color: rgb(0, 255, 0);
}
.to-border{
  padding: 1%;
}
.spear-image {
    transform: scale(1.5);
    transform-origin: center center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds depth */
    border-radius: 12px; /* <-- This gives you the smooth, rounded edge */
}
.product-name{
  font-size: 1.2rem;
  color: #000000;
}
.headings{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0%;
  padding: 0px;
  transform: scale(0.33);
  margin: -18%;
  margin-bottom: -20%;
  position: relative;
}
.search-container{
  display: flex;
  justify-content: center;
  margin-top: 5%;
  display: none;
}
.search-container.visible {
  display: flex;
}
.search-bar{
  scale: 2;
  border-radius: 20px;
  padding: 0.2%;
  border-color: rgb(255, 255, 255, 0);
  filter: drop-shadow(0px 0px 2px black);
  width: 20%;
}
@media (max-width: 768px) {
  .products > * {
    flex-basis: 100% !important;
    max-width: 100% !important;
    margin: -20% 0 !important; /* Reduced from 10px */
  }

  .products {
    gap: 200px;
    padding: 10px 0 !important;
    scale: 0.9;
  }
  .headings{
    scale: 0.7;
    margin: -80%;
  }
  .search-bar{
    scale: 1.5;
    border-radius: 20px;
    padding: 0.6%;
    border-color: rgba(255, 255, 255, 0);
    filter: drop-shadow(0px 0px 2px black);
    width: 40%;
  }
  .search-container{
    display: flex;
    justify-content: center;
    margin-top: 10%;
    display: none;
    padding: 0.4%;
  }
}
.Home{
  border-left: 4px solid #333333;
}
<style>
  .images {
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .images:hover { 
    position: relative; /* ensures images appear above the sale card */
z-index: 1;
    transform: scale(1.3); }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }
  .lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
  }
  .nav-btn {
    position: absolute;
    top: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
  }
  .prev { left: 5%; }
  .next { right: 5%; }
  .close {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
</style>
/* Universal fullscreen image slider */
.img-slider {
  display: none;
  position: fixed;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Prevent scrolling */
}

.img-slider img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.img-slider .close-slider {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.img-slider .prev,
.img-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 15px;
  user-select: none;
  z-index: 10000;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.img-slider .prev { left: 40px; }
.img-slider .next { right: 40px; }

@media (max-width: 768px) {
  .img-slider img {
    max-width: 95vw;
    max-height: 80vh;
  }
  .img-slider .prev,
  .img-slider .next {
    font-size: 2.2rem;
    padding: 10px;
  }
  .img-slider .close-slider {
    font-size: 2rem;
    top: 20px;
    right: 25px;
  }
}


.sale-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #00d9ff, #0099ff);
  color: white;
  text-align: center;
  font-family: " Playwrite Italia Moderna", cursive;
  font-weight: 800;
  font-size: 2rem;
  padding: 0.15%;
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px; /* adds space before images */
}

.images {
position: relative;
z-index: 1;
}
.price-container {
  display: flex;
  flex-direction: column;  /* stack name above prices */
  align-items: stretch;    /* let children stretch if needed */
  gap: 4px;                /* optional spacing */
}

.product-name {
  display: block;           /* always on its own line */
  text-align: center;       /* center the product name too (optional) */
}

.price-row {
  display: flex; /* Make prices appear side by side */
  gap: 8px; /* Space between sale and original price */
  justify-content: center;
}
.sale-card {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #00d9ff, #0099ff);
color: white;
text-align: center;
font-family: "Playwrite Italia Moderna", cursive;
font-weight: 800;
font-size: 2rem;
padding: 0.15%;
width: 100%;
border-radius: 2px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
margin-bottom: 40px;
white-space: nowrap;
}


.marquee {
display: inline-block;
white-space: nowrap;
padding-left: 100%;
animation: marquee 25s linear infinite;
}


.marquee span {
display: inline-block;
margin-right: 3rem;
}


@keyframes marquee {
0% { transform: translateX(0%); }
100% { transform: translateX(-100%); }
}
#refundLightbox {
display: none;
position: fixed;
top: 0;
right: -400px;
width: 400px;
height: 100%;
background: rgba(0,0,0,0.95);
box-shadow: -2px 0 5px rgba(0,0,0,0.5);
z-index: 10000;
transition: right 0.3s ease;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}


#refundLightbox.active {
right: 0;
}


#refundLightbox img {
max-width: 100%;
max-height: 90%;
border-radius: 10px;
}


.closeRefund {
position: absolute;
top: 10px;
right: 15px;
font-size: 30px;
color: white;
cursor: pointer;
z-index: 10001;
}
.refund-policy {
  color: #F0F3F4;
  display: flex;
  text-align: center;
  justify-content: center; /* horizontal centering */
  align-items: center;     /* vertical centering */
  height: 200px;           /* needed for vertical centering */
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.cart-item img {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cart-item .remove-item {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    color: red;
    cursor: pointer;
}
.Cart {
    position: relative; /* required for the badge to position properly */
}

.cart-count {
    position: absolute;
    top: 2px; /* move it down slightly */
    right: -8px;
    background-color: orange;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    display: none; /* hidden when cart is empty */
}
.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.quantity-controls button {
    width: 25px;
    height: 25px;
    font-size: 18px;
    cursor: pointer;
}

.quantity-controls .quantity {
    min-width: 20px;
    text-align: center;
}

#countrySelect {
    display: block;      /* makes it start on its own line */
    margin-bottom: 10px; /* space below the dropdown */
    padding: 5px;        /* optional: a little padding inside */
    width: 100%;         /* optional: make it full width of the container */
    box-sizing: border-box;
}

#checkoutBtn {
    display: block;
    margin-top: 10px;    /* space above the button */
    padding: 10px 20px;  /* makes the button bigger and clickable */
    cursor: pointer;     /* changes cursor on hover */
}

/* Side Cart */
.side-cart {
    position: fixed;
    top: 0;
    right: -400px; /* hidden initially */
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.side-cart.active {
    right: 0;
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 25px; /* move left by 10px */
    cursor: pointer;
    font-size: 30px; /* bigger */
    color: grey; /* optional: ensure color is grey */
}


/* Mobile-friendly adjustments */
@media (max-width: 480px) {
    .side-cart {
        width: 90%;
        padding: 20px 15px;
        right: -100%; /* hide completely off-screen initially */
        transition: right 0.3s ease; /* smooth slide */
    }
    .side-cart.active {
        right: 0; /* slide in */
    }
    .side-cart .cart-items,
    .side-cart .checkout-container {
        padding-left: 5px;
    }
}
/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #111;
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #333;
}

.contact-section h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #00e1ff;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  text-align: left;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #222;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1900ff;
}

.contact-form button {
  background: #00d9ff;
  color: #111;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #33e0ff;
}