:root {
  --duration: 1.5s;
  --container-size: 250px;
  --box-size: 33px;
  --box-border-radius: 15%;
}


.loading-screen {
  position: fixed; /* Set to fixed position */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffe1a9;
  z-index: 9999; /* Ensure it's on top of other content */
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
/* Content Container */
.content-container {
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
}
/* Total Container */
.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  font-family: 'Roboto', sans-serif;
}

/* Total Title */
.total-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Discount Container */
.discount-container {
  text-align: right;
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #000;
  padding-bottom: 1.5rem;
}

/* Discount Input */
.discount-input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.3s;
}

.discount-input:focus {
  border-color: #007BFF;
}

/* Apply Discount Button */
.apply-discount {
  padding: 0.5rem 1rem;
  background-color: #ff8400;
  color: white;
  border-radius: 2rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.apply-discount:hover {
  background-color: #e67300;
}

/* Total Price */
.total-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff9151;
}
/* Cart Heading */
.cart-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.logo-container3 {
    text-align: center;
    animation: pulse 2s infinite; /* Apply the pulse animation */
}
/* Logo Container */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #000;;
}
/* Styled Title */
.styled-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(to right, #000000, #1b1b1b);
  -webkit-background-clip: text;
  color: transparent;
}
/* Hide .leftside on mobile devices */
@media (max-width: 768px) {
  .leftside {
      display: none;
  }
}
/* Logo Link */
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.logo {
  max-width: 70%;
  height: auto;
  display: block;
}
/* Define the pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1); /* Start with normal size */
    }
    50% {
        transform: scale(1.2); /* Pulse to 120% size halfway through */
    }
    100% {
        transform: scale(1); /* Back to normal size */
    }
}
.container3 {
  width: var(--container-size);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.stylish-heading {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.stylish-heading::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #333;
  bottom: -10px;
  left: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
}

.stylish-heading:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.📦 {
  width: var(--box-size);
  height: var(--box-size);
  position: relative;
  display: block;
  transform-origin: -50% center;
  border-radius: var(--box-border-radius);
}
.📦:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgb(230, 221, 173);
  border-radius: var(--box-border-radius);
  box-shadow: 0px 0px 10px 0px rgba(255, 62, 28, 0.4);
}
.📦:nth-child(1) {
  animation: slide var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(1):after {
  animation: color-change var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(2) {
  animation: flip-1 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(2):after {
  animation: squidge-1 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(3) {
  animation: flip-2 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(3):after {
  animation: squidge-2 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(4) {
  animation: flip-3 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(4):after {
  animation: squidge-3 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(5) {
  animation: flip-4 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(5):after {
  animation: squidge-4 var(--duration) ease-in-out infinite alternate;
}
.📦:nth-child(2):after {
  background-color: #ff641c;
}
.📦:nth-child(3):after {
  background-color: rgb(253, 120, 31);
}
.📦:nth-child(4):after {
  background-color: #fbaf22;
}
.📦:nth-child(5):after {
  background-color: #fbe523;
}

@keyframes slide {
  0% {
    background-color: #ffd417;
    transform: translatex(0vw);
  }
  100% {
    background-color: #fbc923;
    transform: translatex(
      calc(var(--container-size) - (var(--box-size) * 1.25))
    );
  }
}

@keyframes color-change {
  0% {
    background-color: #ff4d17;
  }
  100% {
    background-color: #fbc123;
  }
}

@keyframes flip-1 {
  0%,
  15% {
    transform: rotate(0);
  }
  35%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-1 {
  5% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  15% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  25%,
  20% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  55%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  40% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-2 {
  0%,
  30% {
    transform: rotate(0);
  }
  50%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-2 {
  20% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  30% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  40%,
  35% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  70%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  55% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-3 {
  0%,
  45% {
    transform: rotate(0);
  }
  65%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-3 {
  35% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  45% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  55%,
  50% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  85%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  70% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}

@keyframes flip-4 {
  0%,
  60% {
    transform: rotate(0);
  }
  80%,
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes squidge-4 {
  50% {
    transform-origin: center bottom;
    transform: scalex(1) scaley(1);
  }
  60% {
    transform-origin: center bottom;
    transform: scalex(1.3) scaley(0.7);
  }
  70%,
  65% {
    transform-origin: center bottom;
    transform: scalex(0.8) scaley(1.4);
  }
  100%,
  100% {
    transform-origin: center top;
    transform: scalex(1) scaley(1);
  }
  85% {
    transform-origin: center top;
    transform: scalex(1.3) scaley(0.7);
  }
}
body {
    font-family: 'Roboto', sans-serif!important;
	margin:0;
	padding:0;
	box-sizing: border-box;
}

.buton-date{
  display:block;
  text-align:center;
  background: linear-gradient(135deg, #ffc219f8 0%, #f59300 100%);
  padding: 7px;
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: 400;
  font-size: 1.2rem;
  width:97%;
  letter-spacing: .11rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.buton-date:hover{
  background: linear-gradient(135deg, #298096 0%, #299641 100%);
}

.contul-meu{
  background-color:#ececec;
  padding: 2px;
}
.mainscreen
{
	min-height: 100vh;
	width: 100%;
	display: flex;
    flex-direction: column;
    background-color: #DFDBE5;
    background-image: url('https://artitech.ro:85/assets/bgmain.webp');
    color:#ff0000;
}
.mainscreen h4
{
    background-color: #f0f0f0;
    color:#000000;
    border-bottom: 2px solid #797979;
    border-radius: 2px;
    }
    
.card {
	width: 60rem;
    margin: auto;
    background: white;
    position:center;
    align-self: center;
    top: 50rem;
    border-radius: 1.5rem;
    box-shadow: 4px 3px 20px #3535358c;
    display:flex;
    flex-direction: row;
    
}
/*cart*/
.cart{
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    min-height: 100vh;
    padding:20px;
    background: var(--bg-color);
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    transition: 0.3s;
  }
  .cart.active{
    right:0;
  }
  .cart-title{
    text-align: center;
    font-size:1.5rem;
    font-weight: 600;
    margin-top: 2rem;
  }
  .cart-content{
    background-color: #fff2e9;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-radius: 2rem;
  }
  .cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    background-color: #ffece3;
    border-bottom: 1px solid #000;
  }
  
  .cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding:5px;
    border-radius: 1rem;
    border: 2px solid #000;
  }
  .detail-box{
    display: grid;
    row-gap: 0.5rem;
  }

  .cart-product-title {
    font-family: 'Roboto', sans-serif; /* Use the imported font */
    font-size: 1rem; /* Increase the font size for more impact */
    text-transform: uppercase; /* Keeps the text in uppercase */
    font-weight: 700; /* Bold weight for a more prominent look */
    color: #333; /* Dark gray color for contrast */
    letter-spacing: 0.1em; /* Slightly spaced letters for a modern feel */
    margin: 0; /* Remove default margins */
    padding: 0.5em 0; /* Add some vertical padding */
    border-bottom: 3px solid #333; /* More pronounced underline */
    transition: color 0.3s, border-color 0.3s; /* Smooth transitions */
}

.cart-product-title:hover {
    color: #000000; /* Change color on hover */
    border-color: #000000; /* Match border color to the hover text color */
}
 /* Cart Price */
.cart-price {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem; /* Slightly larger for emphasis */
  font-weight: 700; /* Match the boldness of the title */
  color: #333; /* Same color for consistency */
  margin: 0;
  padding: 0.2em 0;
}

/* Cart Quantity Container */
.cart-quantity1 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600; /* Bold to match other elements */
  color: #333; /* Text color */
  margin: 0.5em 0; /* Space around the container */
  display: flex; /* Align items in a row */
  align-items: center; /* Center items vertically */
  gap: 0.5rem; /* Space between label and input */
}

/* Cart Quantity Input */
.cart-quantity {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600; /* Slightly bold */
  color: #333; /* Text color */
  border: 2px solid #000; /* Black border for contrast */
  outline-color: var(--main-color); /* Outline color from your theme */
  width: 3rem; /* Adjusted width for better usability */
  text-align: center;
  border-radius: 0.5rem;
  padding: 0.2rem; /* Padding for better text alignment */
  transition: border-color 0.3s; /* Smooth border color transition */
}

.cart-quantity:focus {
  border-color: var(--main-color); /* Highlight border on focus */
}
  .cart-remove{
    font-size:24px;
    color: var(--main-color);
    cursor: pointer;
  }

.leftside {
	background: #030303;
	width: 25rem;
	display: inline-flex;
    align-items: center;
    justify-content: center;
	border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.product {
    object-fit: cover;
	width: 20em;
    height: 20em;
    border-radius: 100%;
}

.rightside {
    background-color: #ffffff;
	width: 35rem;
	border-bottom-right-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    padding: 1rem 2rem 3rem 3rem;
}

p{
    display:block;
    font-size: 1.1rem;
    font-weight: 400;
    margin: .8rem 0;
}

.inputbox
{
    color:#030303;
	width: 100%;
    padding: 0.5rem;
    border: none;
    border-bottom: 1.5px solid #ccc;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
    font-family: 'Roboto', sans-serif;
    color: #615a5a;
    font-size: 1.1rem;
    font-weight: 500;
  outline:none;
}

.expcvv {
    display:flex;
    justify-content: space-between;
    padding-top: 0.6rem;
}

.expcvv_text{
    padding-right: 1rem;
}
.expcvv_text2{
    padding:0 1rem;
}

.button{
    background: linear-gradient(
135deg
, #ff5e00 0%, #15ff00 100%);
    padding: 15px;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 10px;
    width:100%;
    letter-spacing: .11rem;
    outline:none;
}

.button:hover
{
	transform: scale(1.05) translateY(-3px);
    box-shadow: 3px 3px 6px #38373785;
}

@media only screen and (max-width : 1535px ){
    .card{
        flex-direction: column;
        width: auto;
      
    }

    .leftside{
        width: 100%;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
      border-top-right-radius:0;
      border-radius:0;
      display:none;
    }

    .rightside{
        width:auto;
        border-bottom-left-radius: 1.5rem;
        padding:1rem 2rem 2rem 2rem;
      border-radius:0;
    }
}
