body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dcd2d283;
}

.header {
    background-color: #6e0f0f;
    color: white;
}

.header .top-bar {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
}

.header .top-menu a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0.9em;
}

.header .main-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

.header .main-menu a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 1em;
}

.header .search-bar input {
    padding: 5px;
    font-size: 0.9em;
}

.header .search-bar button {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 2px 5px;
    cursor: pointer;
}

.banner {
    overflow: hidden;
}

.carousel {
    display: flex;
    animation: slide 10s infinite;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    width: 1684px;
}

@keyframes slide {
    0%, 50% { transform: translateX(0); }
    51%, 100% { transform: translateX(-100%); }
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: white;
    margin: 20px 0;
}

.category-item {
    background-color: #000000;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.category-item h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.category-item ul {
    list-style: none;
    padding: 0;
}

.category-item ul li {
    font-size: 0.9em;
    color: #555;
    margin: 5px 0;
}

.sponsored-products,
.categories {
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 20px;
}

.sponsored-products h2,
.categories h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.product-card,
.category-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover,
.category-item:hover {
    transform: scale(1.05);
}

.product-card img,
.category-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-card p,
.category-item p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.featured-categories {
    padding: 20px;
    background-color: #f9f9f9;
}

.featured-heading {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    display: block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.category-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding:10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.category-item p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.featured-categories {
    padding: 20px;
    background-color: #f9f9f9;
}

.featured-heading-wrapper {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.featured-heading {
    font-size: 28px;
    color: #333;
}
 
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.category-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.category-item p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.search-bar {
    border: none;
    padding: 1rem;
    border-radius: 1rem;
    background: #e8e8e8;
    box-shadow: 20px 20px 60px #c5c5c5,
           -20px -20px 60px #ffffff;
    transition: 0.3s;
   }
   
   .search-bar:focus {
    outline-color: #e8e8e8;
    background: #e8e8e8;
    box-shadow: inset 20px 20px 60px #c5c5c5,
           inset -20px -20px 60px #ffffff;
    transition: 0.3s;
   }
  

.container2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .container2 .glass {
    position: relative;
    width: 180px;
    height: 200px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
  }
  
  .container2:hover .glass {
    transform: rotate(0deg);
    margin: 0 10px;
  }
  
  .container2 .glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9a98ae;
  }
  .container2 .glass svg {
    font-size: 2.5em;
    fill: #423434;
  }
  

.button {
    --width: 100px;
    --height: 35px;
    --tooltip-height: 35px;
    --tooltip-width: 90px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: #222;
    --tooltip-color: #fff;
    width: var(--width);
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 0.5em;
    font-family: "Arial";
    transition: background 0.7s;
  }
  
  .button::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: #555;
    font-size: 0.9rem;
    color: #fff;
    border-radius: 0.25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
  }
  
  .button::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #555;
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
  }
  
  .button::after,
  .button::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
  }
  
  .text {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .button-wrapper,
  .text,
  .icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
  }
  
  .text {
    top: 0;
  }
  
  .text,
  .icon {
    transition: top 0.5s;
  }
  
  .icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .icon svg {
    width: 24px;
    height: 24px;
  }
  
  .button:hover {
    background: #222;
  }
  
  .button:hover .text {
    top: -100%;
  }
  
  .button:hover .icon {
    top: 0;
  }
  
  .button:hover:before,
  .button:hover:after {
    opacity: 1;
    visibility: visible;
  }
  
  .button:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
  }
  
  .button:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
  }
  
  footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    position: relative;
    bottom: 0;
    width: 100%;
}