@font-face {
    font-family: "AxcylFont";
    src: url("fonts/APOLLO.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: "AxcylFont", sans-serif;
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    margin-left: -20px;
}

.nav-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    display: inline-block;
    width: 150px;
    height: 55px;
    background-image: url("../images/YAN\ XANDER\ logo\ white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.search-icon {
    display: flex;
    width: 40px;
    height: 40px;
    background-image: url("../images/search\ icon\ white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    overflow: hidden;
    transition: opacity .2s ease;
    align-items: center;
    justify-content: center;
}

.cart {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("../images/cart\ white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}

.search-container {
    width: 200px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Navigation bar elements */

.menu-icon-placeholder {
    flex: 0 0 40px;
    width: 40px; /* same as icon width */
    height: 40px;
    display: inline-block;
}

.menu-icon-overlay {
    position: fixed;
    top: 10px;     /* adjust to match navbar spacing */
    left: 20px;    /* adjust to where you want it */
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 99999;  /* higher than sidebar + navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.icons span {
    padding-left: 5px;
    padding-right: 5px;
    border: 20px;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100%;
    width: 300px;
    background: rgb(248, 248, 248);
    backdrop-filter: blur(8px);
    transition: right 0.3s ease;
    padding: 10px 10px;
    z-index: 3000;
}

.sidebar.show {
    right: 0;
    padding: 10px 10px;
}

.sidebar.show .exit {
    display: inline-block;
    margin-bottom: 5px;
    margin-left: 250px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.sb-items {
    border: thin solid black;
    overflow-y: scroll;
}

.sub-description {
    color:rgb(112, 112, 112);
    font-size: 12px;
}

.sb-checkout button{
    width: 100%;
    border: none;
    background-color: #69a9ad;
    color: white;
}

.sb-info {
    position: absolute;
    bottom: 30px;
    margin-right: 10px;
    font-size: 14px;
    border-top: thin solid black;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* White with 30% opacity */
    backdrop-filter: blur(4px); /* Blur effect */
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Don't block clicks when hidden */
    transition: opacity 0.3s ease;
    z-index: 2999; /* Just below sidebar (which is 3000) */
}

.sidebar-overlay.show {
    opacity: 1; /* Visible when shown */
    pointer-events: auto; /* Enable clicks to close sidebar */
}

/* Search Bar Items */

.sb-items {
    text-transform: uppercase;
    padding: 10px;
    border: none;
    overflow-y: scroll;
    height: 75%;
}

.cart-item-info p {
    margin: 5px 0;
}

.cart-item {
    font-size: 12px;
    display: flex;
    margin-bottom: 10px;
    position: relative;
}

.cart-item-info {
    margin: 5px;
    width: 127px;
}

.cart-item-info p {
    font-size: 11px;
}

.cart-item-header {
    display: flex;
}

.remove-item {
    padding: 2px 2px;
    position: absolute; 
    right: 1px;
    top: 1px;
    border: none;
    background-color: rgb(248, 248, 248);
    color: #8a8a8a;
}

.sb-items img {
    width: 140px;
    height: auto;
    object-fit: cover;
}

.decrease-qty, .increase-qty{
    padding: 3px 7px;
    position: absolute;
    bottom: 0;
    display: flex;
    border: none;
}

.increase-qty {
    margin-left: 40px;
    
}

.increase-qty.double-digit {
    margin-left: 50px;
}

.quantity {
    padding: 5px 5px;
    margin-left: 23px;
    position: absolute;
    bottom: 0;
    display: flex;
}

.sb-info {
    position: absolute;
    bottom: 25px;
    height: 17%;
    background-color: rgb(248, 248, 248);
}

.cart-item-header {
    margin-bottom: 10px;
}

.sb-checkout button {
    position: absolute;
    bottom: 1%;
}

/* Search Bar */

.search-bar {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;
    transition: width 0.3s ease, opacity .5s ease;
    font-size: 14px;
    outline: none;
}

.icons-right {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 260px;
    justify-content: flex-end;
    margin-right: 20px;
}

.icons-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 260px;
    justify-content: flex-start;
    margin-left: 20px;
}

.search-container {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.25s ease;
    width: 40px;
}

.search-container:hover {
    width: 200px;
}

.search-container:hover .search-bar {
    width: 100%;
    opacity: 1;
}

.search-container:hover .search-icon {
    opacity: 0;
    width: 20px;
    transition: width 0.5s ease, opacity .2s ease-in-out;
}

@media (max-width: 768px) {
    .search-container:hover {
        width: 120px;
    }
    
    .logo {
        width: 110px;
    }
}

/* FOOTER */

.footer {
  width: 100%;
  padding: 40px 0px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  text-align: center;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer .links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.footer .links li {
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}

.links {
    width: 70%;
    position: center;
    margin: 0 auto;
}

.footer p {
    margin-top: 20px;
    font-size: 10px;
}


@media (max-width: 480px) {
    .links {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        width: 70%;
        padding-left: 50px;
    }

    .footer .links ul {
        justify-content: left;
    }

    .links::-webkit-scrollbar {
        display: none;
    }

    .links {
        -webkit-mask-image: linear-gradient(to right, transparent, black 50px, black calc(100% - 50px), transparent);
        mask-image: linear-gradient(to right, transparent, black 50px, black calc(100% - 50px), transparent);
    }
}

@media (min-width: 481px) {

    .links {
        overflow-x: auto;
        padding-bottom: 10px;
        }
        
    .links::-webkit-scrollbar {
        height: 8px; /* Make it visible with a height */
    }
    
    .links::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3); /* Light scrollbar */
        border-radius: 4px;
    }
    
    .links::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .footer .links ul {
    justify-content: flex-start; /* Instead of center */
    }
}

@media (min-width: 1101px) {
    .footer .links ul {
        justify-content: center; /* Only center when there's enough space */
    }
    
    .links {
        overflow-x: visible; /* No scroll needed */
    }
}

/* Privacy */

.privacy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    font-size: 15px;
    text-transform: uppercase;
    padding-top: 60px;
}

.privacy ul,
.privacy ol {
    display: inline-block;
    text-align: left;
    padding-left: 0;
    margin: 0 auto 1em auto;
}

.privacy h1,
.privacy h2,
.privacy p {
    text-align: center;
}

/* Refund */

.refund {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    font-size: 15px;
    text-transform: uppercase;
    padding-top: 60px;
}

.refund ul,
.refund ol {
    display: inline-block;
    text-align: left;
    padding-left: 0;
    margin: 0 auto 1em auto;
}

.refund h1,
.refund h2,
.refund p {
    text-align: center;
}

/* SHIPPING */

.shipping {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    font-size: 15px;
    text-transform: uppercase;
    padding-top: 60px;
}

.shipping ul,
.shipping ol {
    display: inline-block;
    text-align: left;
    padding-left: 0;
    margin: 0 auto 1em auto;
}

.shipping h1,
.shipping h2,
.shipping p {
    text-align: center;
}

/* TOS */

.tos {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    font-size: 15px;
    text-transform: uppercase;
    padding-top: 60px;
}

.tos ul,
.tos ol {
    display: inline-block;
    text-align: left;
    padding-left: 0;
    margin: 0 auto 1em auto;
}

.tos h1,
.tos h2,
.tos p {
    text-align: center;
}

/* CONTACT */

.contact {
    text-transform: uppercase;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 200px;
    padding-top: 60px;
    font-size: 15px;
}

/* Index */

.shop {
    padding-top: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    text-transform: uppercase;
    color: white;
}

.shop a {
    padding: 10px;
    border: thin solid white;
    text-decoration: none;
}

.shop a:visited {
    color: white;
}

.background {
    background-image: url("../images/brick\ wall\ ex.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* STORE */

.product-page {
    margin-top: 60px;
    text-transform: uppercase;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product img {
    width: 100%;
    display: block;
}

.products-container a {
    text-decoration: none;
    color:#000000;
}

.product-info-home {
    text-align: left;
    margin-top: 8px;
    margin-left: 12px;
    font-size: 12px;
}

.filters ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 40px 0px;
    font-size: 12px;
    font-weight: 500;
}

.filters li {
    cursor: pointer;
}

@media (max-width: 768px) {

.filters ul {
    overflow-x: scroll;
    padding-right: 40px;
    gap: 20px;
    padding-bottom: 10px;
}

.filters {
    -webkit-mask-image: linear-gradient(to right, transparent, black 50px, black calc(100% - 50px), transparent);
    mask-image: linear-gradient(to right, transparent, black 50px, black calc(100% - 50px), transparent);
}

.filters li {
    flex-shrink: 0;
}

.filters ul::-webkit-scrollbar {
    height: 6px;
}

.filters ul::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); /* Light scrollbar */
    border-radius: 4px;
}

}

.route ul {
    display: flex;
    list-style: none;
    font-size: 14px;
    margin-bottom: 30px;
}

.route li a {
    text-decoration: none;
    color:#000000;
    font-size: 12px;
}

/*Product page*/

.breadcrumb {
    padding-left: 16px;
    display: inline-block;
}

.breadcrumb a {
    text-decoration: none;
    color: #000000;
    font-size: 12px;
}

.breadcrumb .separator {
    margin: 0 16px;
}

.breadcrumbs {
    position: absolute;
    top: 80px;
    left: 45px;
    z-index: 50;
    font-size: 12px;
}

.breadcrumbs a {
    text-decoration: none;
    color: #000000;
    user-select: none;
}

.breadcrumbs .seperator {
    margin: 0 20px;
    user-select: none;
}

/* Product Section */
.product-purchase {
    margin-top: 60px;
    display: flex;
    gap: 40px;
}

.product-purchase-img {
    width: 50%;
}

.product-purchase-img img {
    display: block;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-info {
    width: 40%;
    position: relative;
    text-align: left;
    margin: 75px;
}

.product-info-inner {
    position: sticky;
    top: 155px;
    margin-top: 10px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    text-transform: uppercase;
}

.prod-name {
    font-size: 14px;
    margin-bottom: 10px;
}

.prod-price {
    font-size: 14px;
    margin-bottom: 70px;
}

.no-products {
    display: none; /* hidden by default */
    text-align: center;
    font-size: 12px;
    color: #333;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

/* Buttons */
button {
    border: 1px solid #000;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.color button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid transparent;
}

.color button.selected {
    border: 1px solid #000;
}

.size button {
    background-color: #ffffff;
    color: #000000;
}

.size button.selected {
    background-color: #1a1a1a;
    color: #fff;
}

/* Add to Cart Button */
.add-to-cart {
    background-color: #000000;
    color: #fff;
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.add-to-cart:hover {
    background-color: #69a9ad;
    border: thin solid #69a9ad;
}

/* Layout for color and size selectors */
.color-buttons, .size-buttons {
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.color span, .size span {
    display: block;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Product Description */
.description li {
    margin-bottom: 5px;
    text-transform: none;
    font-size: 14px;
}

.dropdown {
    width: 100%;

    padding: 10px 0;
    margin-top: 20px;
}

.dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
    border-top: 1px solid #ccc;
}

.dropdown-content {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1;
    display: none;
}

@media(max-width:831px) {

.product-purchase {
    flex-direction: column;
    margin-right: 40px;
}

.product-purchase-img {
    width: 100%;
}

.product-info {
    width: 100%;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 3cqw;
}

.add-to-cart {
    width: 95%;
}
}

.notification {
  position: fixed;
  top: 80px; /* Below navbar */
  left: 50%;
  transform: translateX(-50%);
  background: #ff4444;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
  opacity: 1;
  pointer-events: auto;
}

.notification.success {
  background: #4CAF50;
}

.notification.error {
  background: #ff4444;
}
