@view-transition {
    navigation: auto;
}

.cart-container {
    max-width: 1000px;
    margin: 40px auto 50px;
    padding: 0 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cart-item img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-right: 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cart-item img:hover {
    opacity: 0.8;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-family: 'Special Gothic Expanded One', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cart-item-name:hover {
    opacity: 0.7;
}

.cart-item a {
    text-decoration: none;
    color: inherit;
}

.cart-item-price {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    color: #333;
}

.cart-item-quantity {
    width: 80px;
    padding: 5px 10px;
    margin: 0 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px 10px;
    font-family: Montserrat, sans-serif;
}

.cart-summary {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0px;
}


.empty-cart {
    text-align: center;
    padding: 50px 20px;
    font-family: Montserrat, sans-serif;
}

body {
    background-color: #f7f7f7;
}

.vertical-footer {
    position: fixed;
    top: 50%;
    left: 0; /* Ensure the footer is aligned to the left side */
    right: auto; /* Reset the right alignment */
    transform: translateY(-50%);
    color: #333; /* Change text color to match the design */
    padding: 0; /* Remove padding */
    z-index: 1000;
  }
  
  .vertical-footer ul {
    list-style: none;
    margin:5px;
    padding: 0;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-family: Montserrat, sans-serif;
  }
  
  .vertical-footer ul li {
    margin: 0; /* Remove margin between items */
  }
  
  .vertical-footer ul li a {
    margin-bottom: 10px; /* Add 10px space between each <a> element */
    display: inline-block; /* Ensure spacing applies correctly */
    text-decoration: underline; /* Underline text by default */
    color: black; /* Set text color to black in all states */
    font-size: 14px;
    font-family: Montserrat, sans-serif;
  }
  
  .vertical-footer ul li a:hover {
    text-decoration: none; /* Remove underline on hover */
    color: black; /* Maintain black color on hover */
  }
  
  .checkout-button:disabled {
    pointer-events: none;
  }
  
  .checkout-button:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }
  
  .checkout-button::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    background-color: #333;
    border-radius: 30px;
    visibility: hidden;
    height: 10px;
    width: 10px;
    z-index: -1;
  }
  
  .checkout-button:hover {
    box-shadow: 1px 1px 20px #252525;
    color: #fff;
    border: 2px solid #252525;
  }
  
  .checkout-button:hover::after {
    visibility: visible;
    transform: scale(100) translateX(2px);
  }
  
  .checkout-button {
    position: relative;
    background-color: transparent;
    cursor: pointer;
    border: 2px solid #252525;
    overflow: hidden;
    border-radius: 30px;
    color: #333;
    transition: all 0.5s ease-in-out;
    font-family: Montserrat, sans-serif;
    width: 260px;
    font-size: 18px;
    padding: 8px 16px;
    margin-top: 20px;
  }

.shipping-form {
  margin-top: 30px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.shipping-form.visible {
    display: block;
    opacity: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Montserrat, sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}