/* :root {
    --color-1: #1d1d1d;
    --color-2: #303030;
    --color-3: #ff8800;
    --color-4: #b8b8b8;
    --color-5: #fdfdfd;
} */

:root {
    --color-1: #fff;
    --color-2: #b4b4b4;
    /* --color-3: #46413b; */
    --color-3: #001d0b;
    --color-4: #22232a;
    --color-5: #020104;
    --box-shadow: #08003840;
}

html {
  scroll-behavior: smooth;
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/Poppins-Medium.otf');
}

@font-face {
    font-family: 'Poppins-Light';
    src: url('../fonts/Poppins-Light.ttf');
}

@font-face {
    font-family: 'PirataOne-Regular';
    src: url('../fonts/PirataOne-Regular.ttf');
}

* {
    box-sizing: border-box;
    font-family: 'Poppins-Light';
}

@media only screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }
}

body {
    background-color: var(--color-1);
    color: var(--color-5);
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items:center;
    justify-content:center;
    background-color: var(--color-1);
    z-index: 999
}

hr {
    border: 1px solid var(--color-2);
}

nav {
    padding: 8px;
    display: flex;
    justify-content: space-around;
    background-color: var(--color-3);
    width: 100%;
    color: var(--color-1);
    text-align: center;
}


nav a {
    color: var(--color-1);
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    nav {
        font-size: 15px;
    }

    nav div:nth-child(1), nav div:nth-child(3) {
        display: none;
    }
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
}

header div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 15px;
    width: 30%;
}

header img {
    height: 80px;
    width: auto;
    margin: 10px;
    border-radius: 999px;
}

header a, header button {
    background-color: transparent;
    color: var(--color-5);
    text-decoration: none;
    transition: .1s;
    padding: 7px 15px;
    border-radius: 3px;
}

header a:hover, header button:hover {
    background-color: var(--color-2);
}

header .mobile-logo {
    display: none;
}

@media only screen and (max-width: 600px) {
    header div:nth-child(1) {
        gap: 0;
        width: 70%;
    }

    header div:nth-child(2) {
        gap: 0;
        width: 30%;
    }

    header {
        font-size: 15px;
    }

    header img {
        display: none;
    }

    header a:nth-child(1) {
        background: transparent;
    }

    header a:nth-child(1):hover {
        background: transparent;
    }

    header a:nth-child(2) {
        display: none;
    }

    header .mobile-logo {
        display: block;
    }
}

h1 {
    /* font-family: 'Poppins-Medium'; */
    text-decoration: underline;
    text-underline-offset: 15px;
    text-decoration-color: var(--theme-color);
    text-align: center;
    color: var(--secondary-color);
    margin-top: 80px;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.banner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: calc(100vh - 250px);
    margin-top: 50px;
    border-radius: 5px;
}

@media only screen and (max-width: 600px) {
    .banner  {
        width: 100%;
        height: auto;
        border-radius: 0;
    }
}

.button {
    color: var(--color-1);
    background-color: var(--color-5);
    text-decoration: none;
    transition: .1s;
    padding: 7px 15px;
    border-radius: 3px;
    transition: .1s;
    font-size: 17px;
    cursor: pointer;
    width: auto;
    border: none;
}

.button:hover {
    background-color: var(--color-4);
} 

.disableButton {
    color: var(--color-2);
    background-color: var(--color-4);
    text-decoration: none;
    transition: .1s;
    padding: 7px 15px;
    border-radius: 3px;
    transition: .1s;
    font-size: 17px;
    width: auto;
    border: none;
    font-family: 'Poppins-Medium';
}

/* Full-width input fields */
input[type=text], input[type=password], input[type=email], select, textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid var(--color-2);
    box-sizing: border-box;
    background-color: transparent;
    color: var(--color-5);
    outline: none;
    border-radius: 3px;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, select:focus, textarea:focus {
    border: 1px solid var(--color-3);
    box-shadow: 0;
    box-shadow: 0 0 30px var(--box-shadow);
}

/* Set a style for all buttons */

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    color: var(--color-1);
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 30%;
    border-radius: 50%;
    margin-top: 10px;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 6px;
}

span.psw a {
    color: var(--color-4);
    text-decoration: none;
}

span.psw a:hover {
    text-decoration: underline;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: var(--color-1);
    margin: 8% auto 0 auto; /* 5% from the top, 15% from the bottom and centered */
    width: 500px; /* Could be more or less, depending on screen size */
    border-radius: 3px;
}

@media only screen and (max-width: 600px) {
    .modal-content  {
        width: 90%;
        margin: 20% 5%;
    }
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: var(--color-5);
    font-size: 35px;
    font-weight: bold;
    transition: .1s;
}

.close:hover,
.close:focus {
    color: var(--color-4);
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

@media only screen and (max-width: 600px) {
    span.psw {
        display: block;
        float: none;
    }
}

/* Change styles for span and cancel button on extra small screens */

@media screen and (max-width: 300px) {
    .cancelbtn {
        width: 100%;
    }
}

.register-image-area {
    width: 70%;
    position: relative;
}

.register-image-area img {
    width: 100%;
    height: 100vh;
    position: absolute;
}

.register-image-area h1 {
    text-transform: uppercase;
    letter-spacing: 20px;
    font-size: 100px;
    margin-bottom: 30px;
    position: absolute;
    margin: 50vh 0 0 50%;
    transform: translateX(-50%) translateY(-100px);
}

.register-container {
    position: absolute;
    background-color: var(--color-1);
    color: var(--color-5);
    width: 40%;
    margin-top: 0;
    margin-left: 60%;
    height: 100vh;
    padding: 20px;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
}

@media only screen and (max-width: 600px) {
    .register-image-area {
        display: none;
    }
    .register-container {
        width: 100%;
        margin: 0;
    }
}

.register-container img {
    width: 30%;
    margin-left: 35%;
}

/* Responsive Product Grid Container */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card Styling */
.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Hover Micro-interactions */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.disabled-product-card:hover {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Image Container with Badge Layout */
.product-image {
  position: relative;
  background-color: #f7f7f7;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.disabled-product-card:hover .product-image img {
  transform: scale(1);
}

/* Sale Badge */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ff3838;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
}

/* Typography & Content Layout */
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category {
  font-size: 0.8rem;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.title {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 600;
}

.title a {
    color: #1a1a1a;
    text-decoration: none;
}

/* Price Section Styles */
.price-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-sale {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
}

.price-original {
  font-size: 1rem;
  color: #a0a0a0;
  text-decoration: line-through;
}

/* Animated Interactive Button */
.add-to-cart-btn {
  width: calc(100% - 40px);
  padding: 12px;
  margin-left: 20px;
  margin-bottom: 20px;
  background-color: #111111;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover {
  background-color: #333333;
}

.disabled-product-card .add-to-cart-btn:hover {
    background-color: #111111;
    cursor: default;
}

.link-container {
    width: 95%;
    margin: 50px 2.5% 50px 2.5%;
    gap: 15px 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.link-container a {
    color: var(--color-4);
    margin: 0 10px;
    transition: .1s;
    padding: 7px;
    border: 2px solid var(--color-5);
    text-decoration: none;
    border-radius: 5px;
}

.link-container a:hover {
    border: 2px solid var(--color-3);
    background-color: var(--color-3);
    color: var(--color-1);
}

details {
    width: 70%;
    margin: 0 auto ;
    background: var(--color-1);
    margin-bottom: .5rem;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
}

summary {
    padding: 1rem;
    display: block;
    color: var(--color-5);
    background: var(--color-1);
    position: relative;
    cursor: pointer;
    /* font-family: 'Poppins-Medium'; */
}

summary:before {
    content: '';
    border-width: .4rem;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-3);
    position: absolute;
    top: 1.3rem;
    right: 1rem;
    transform: rotate(90deg);
    transform-origin: .2rem 50%;
    transition: .25s all ease;
}

details[open] {
    padding: 1rem;
}

details[open] summary {
    margin: -1rem 0 1rem -1rem;
    width: calc(100% + 2rem);
    background-color: var(--color-3);
    color: var(--color-1);
}

/* THE MAGIC 🧙‍♀️ */
details[open] > summary:before {
    border-color: transparent transparent transparent var(--color-1);
    transform: rotate(270deg);
}


details summary::-webkit-details-marker {
    display:none;
}

.main-container {
    margin: 50px 20% 80px 20%;
    display: flex;
    justify-content: space-around;
    gap: 50px 5%;
    flex-wrap: wrap;
}

.question-container {
    width: 100%;
    background-image: linear-gradient(to right, var(--color-3), var(--color-1));
    color: var(--color-1);
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    margin: 75px 0;
    padding: 40px 100px 40px 40px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
}

.question-container a {
    font-size: 45px;
    color: var(--color-5);
}

@media only screen and (max-width: 600px) {
    .main-container {
        margin: 50px 5% 80px 5%;
    }

    .question-container {
        display: block;
        padding: 30px;
        background-image: none;
        background-color: var(--color-3);
        text-align: center;
    }

    .question-container a {
        color: var(--color-1);
    }
}

.category-image {
    width: 80%;
    margin: 30px 10% 0 10%;
    height: auto;
    text-align: center;
}

.category-name {
    font-size: 25px;
    margin: 50px;
    /* text-transform: uppercase; */
}

#notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    padding: 10px 10px 0 10px;
    border-radius: 5px;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    z-index: 99;
}

#notification-bottom {
    height: 3px;
    width: 345px;
    border-radius: 5px;
    margin-left: -7px;
    margin-top: 7px;
    transition: 7s;
}

#notification:hover .notification-bottom {
    width: 0;
}

.error {
    background-color: rgba(139, 0, 0, 0.5);
}

.error-bottom {
    background-color: rgb(139, 0, 0);
}

.successfully {
    background-color: rgba(14, 121, 0, 0.5);
}

.successfully-bottom {
    background-color: rgb(14, 121, 0);
}

.user {
    font-size: 20px;
    border-radius: 100px;
    padding: 6px 13px;
    cursor: pointer;
    border: none;
}

#userLinks {
    position: absolute;
    width: auto;
    height: auto;
    background-color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 3px;
    top: 120px;
    right: 325px;
}

@media only screen and (max-width: 600px) {
    #userLinks {
        top: 160px;
        right: 0;
    }
}

#userLinks div {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

#userLinks div i {
    color: var(--color-1);
    background-color: var(--color-5);
    padding: 10px 12px;
    font-size: 20px;
    border-radius: 100px;
}

#userLinks a {
    color: var(--color-5);
    text-decoration: none;
    display: block;
    padding: 7px 15px;
    border-radius: 3px;
    transition: .2s;
}

#userLinks a:hover {
    background-color: var(--color-2);
}

.product-container {
    margin: 50px 0;
    margin-left: 50%;
    transform: translateX(-50%);
    /* background-color: var(--color-1); */
    border-radius: 3px;
}

.product-container .flex {
    display: flex;
}

@media only screen and (max-width: 600px) {
    .product-container {
        width: 90%;
        margin: 50px 5%;
        transform: none;
    }

    .product-container .flex {
        display: block;
    }
}

.product-container .slide {
    margin-right: 30px;
}

.product-description {
    margin-top: 50px;
}

.product-description img {
    width: 100%;
}

.product-quantity {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    background-color: var(--color-5);
    color: var(--color-1);
    padding: 7px 2px;
    border-radius: 3px;
}

.product-quantity a {
    padding: 0 3px;
}

.product-quantity input {
    text-align: center;
    background-color: transparent;
    border: none;
    color: var(--color-1);
    width: 30px;
}

.product-quantity input:focus {
    border: none;
    outline: none;
}

.product-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

@media only screen and (max-width: 600px) {
    .basket-container .product-quantity {
        padding: 5px 2px;
        font-size: 12px;
    }

    .product-quantity input {
        width: 30px;
    }
}

@media only screen and (max-width: 600px) {
    #userLinks {
        top: 160px;
        right: 0;
    }
}

.slide {
    height: auto;
    width: 350px;
    margin: 0;
    border-radius: 3px 0;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    position: relative;
    color: var(--color-3);
}

.slide img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.slide-image {
    display: none;
}

#slide-button-left {
    font-size: 30px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    cursor: pointer;
    transition: .2s;
}

#slide-button-right {
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    cursor: pointer;
    transition: .2s;
}

#slide-button-left:hover, #slide-button-right:hover {
    opacity: 1;
}

#slide-bottom {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

table {
    width: 60%;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 3px;
    background-color: var(--color-1);
}

table td, th {
    text-align: center;
    padding: 10px;
}

table td {
    border-top: 1px solid var(--color-2);
}

table tr:nth-child(2) td {
    border: none;
}

#basket table tr:nth-child(2) td {
    border-top: 1px solid var(--color-2);
}

#basket table tr:nth-last-child(1) td {
    border-bottom: 1px solid var(--color-2);
}

.basket-container {
    width: 80%;
    display: flex;
    margin: 25px 10%;
    gap: 0 30px;
    align-items: flex-start;
}

@media only screen and (max-width: 600px) {
    .basket-container {
        width: 96%;
        margin: 25px 2%; 
        display: block;
    }

    .basket-container table {
        width: 100%;
        padding: 2px;
    }

    .basket-container table td:nth-child(1) {
        width: 5px;
    }

    .basketproductnamexx {
        display: none;
    }

    .basket-container table td:nth-child(1) {
        padding: 0;
        gap: 0;
        font-size: 10px;
        width: 7px;
    }

    .basket-container table td {
        padding: 4px;
    }

    /* .basket-container table img {
        height: calc(100% - 20px);
        margin: 0;
    } */

    .basket-container .basket-product {
        height: 60px;
        gap: 0;
    }

    .basket-container .button {
        font-size: 14px;
    }
}

.basket-product {
    height: 75px;
    width: 100%;
    display: flex;
    gap: 0 15px;
    position: relative;
}

.basket-product img {
    height: 100%;
    width: auto;
    border-radius: 3px;
}

.basket-product a {
    text-decoration: none;
    color: var(--color-5);
}

.basket-product-delete {
    font-size: 20px;
    color: var(--color-5);
    border-radius: 100px;
    padding: 6px 13px;
    margin: 0;
}

.basket-product-delete:hover {
    background-color: var(--color-2);
}

.basket-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 5px;
}

.basket-confirm-container {
    width: 40%;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 3px;
    background-color: var(--color-1);
}

@media only screen and (max-width: 600px) {
    .basket-confirm-container {
        width: 100%;
        margin: 25px 0;
        display: block;
    }
}

.basket-price {
    color: var(--color-4);
}

.responsive-table {
    overflow-x: auto;
    padding: 10px;
    width: 80%;
    margin: 50px 10%;
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    border-radius: 3px;
}

.responsive-table table {
    box-shadow: none;
}

@media only screen and (max-width: 600px) {
    .basket-product-name {
        display: none;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    margin-top: 315px;
    padding: 50px 10px;
    gap: 0 100px;
}

footer h1 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
}

footer img {
    width: 200px;
    height: auto;
}

footer a {
    color: var(--color-4);
    text-decoration: none;
    display: block;
    margin: 3px 0;
}

footer a:hover {
    text-decoration: underline;
}

.form-container {
    background-color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    border-radius: 3px;
    padding: 25px;
    width: 800px;
    margin: 100px 0;
    margin-left: 50%;
    transform: translateX(-50%);
}

.form-container h1 {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 600px) {
    .form-container {
        width: 96%;
        margin: 70px 2%;
        transform: none;
    }
}

#basket {
    width: auto;
    height: 100vh;
    position: fixed;
    background-color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    right: -415px;
    top: 0;
    padding: 15px 30px;
    overflow-y: scroll;
    transition: 0.5s;
}

#cookie-consent-container {
    position: fixed;
    border-radius: 3px;
    padding: 20px;
    width: 50%;
    margin: 0 25%;
    bottom: 10px;
    background-color: var(--color-4);
    color: var(--color-1);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.4);
    z-index: 100;
    text-align: center;
    border: 3px solid var(--color-5);
    font-family: 'Poppins-Light';
}

#cookie-consent-container button {
    background-color: var(--color-1);
    color: var(--color-5);
    margin-top: 20px;
}

#cookie-consent-container button:hover {
    background-color: var(--color-2);
}

#yukari{
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--color-3);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 35px;
    transition: .2s;
    z-index: 999;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}
#yukari i{
    color: var(--color-1);
    font-size: 20px;
}
#yukari:hover{
    box-shadow: 0 0 20px var(--theme-color);
}
