body {
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    padding: 30px;
}
form {
    background: white;
    padding: 20px;
    max-width: 300px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* input, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
} */

.sizes-block {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.size-design {
  position: relative;
}

.size-quantity {
  border-radius: 50%;
  color: #ea0d0d;
  display: block;
  font-size: 10px;
  height: 16px;
  left: 0;
  line-height: 16px;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: center;
  bottom: -12px;
}

.size-quantity[data-stock-status="in-stock"] {
  color: #155724;
}
.size-quantity[data-stock-status="out-of-stock"] {
  color: #92111e;
}
.card-image{
    position: relative;
}
.card-image .switch{
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1;
    opacity: .4;
    &:hover,:focus {
        opacity: 1;
    }
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fe3737;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* Wrapper spinner */
.input-spinner {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  height: 40px;
}

/* Input numeric */
.input-spinner input[type="number"] {
  width: 30px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 6px 0;
  -moz-appearance: textfield; /* Firefox */
}

/* Ascundem săgețile browserului */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Butoane increment/decrement */
.input-spinner button {
  /* width: 35px;
  height: 35px; */
  border: none;
  background-color: #fff;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.input-spinner button:hover {
  background-color: #ccc;
}

.input-spinner button:active {
  background-color: #ccc;
}

/* Mică separare între input și butoane */
.input-spinner input[type="number"] {
  margin: 0 2px;
  border-radius: 0;
}
.input-spinner .increment,
.input-spinner .decrement {
    margin: 0;
}

.card-actions{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

small{
    font-size: .65rem;
    color: #555;
}

/* Dacă lista este goală, ascunde butoanele */
#cartItems:empty ~ .export-list,
#cartItems:empty ~ .clear-list {
    display: none;
}

/* Dacă lista are elemente, butoanele apar */
#cartItems:not(:empty) ~ .export-list,
#cartItems:not(:empty) ~ .clear-list {
    display: block;
}

/* Fix vertical alignment și mărimea iconițelor */
.navbar .btn i {
    font-size: 1rem;
}

/* Reduce distanța între icon și text */
.navbar .text-muted i {
    margin-right: 0.25rem;
}

/* Logo mobil să nu fie prea mare */
.navbar-brand img {
    max-height: 45px; /* pentru mobil */
}
