/* Import base layout styles */
@import url('./base-layout.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

/* Additional font fallback */
html * {
  font-family: "Dosis", sans-serif;
}

/* Navbar styles are now handled in base-layout.css */

/* ==========================================================================
   Shopping Cart Container - Match Filter Container Structure
   ========================================================================== */

/* Cart container - match filter container structure */
.shopping-cart-container {
  display: flex;
  position: fixed;
  right: 0;
  z-index: 1040;
  background-color: white;
  height: 100vh;
  width: 20vw;
  min-width: 400px;
  max-width: 500px;
  flex-direction: column;
  align-items: start;
  padding-top: 3vh;
  padding-bottom: 0;
  padding-left: 25px;
  padding-right: 25px;
  border-left: 1px solid black;
  font-family: "Akzidenz-Grotesk BQ", Arial, sans-serif;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.shopping-cart-container.active {
  transform: translateX(0);
}

/* Cart title wrapper - match filter title wrapper */
.shopping-cart-container .cart-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
  width: calc(100% - 17px);
  margin-bottom: 3vh;
}

.shopping-cart-container .cart-title {
  position: relative;
  font-weight: 400;
  font-size: large;
}

.shopping-cart-container .cart-close {
  position: relative;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #888;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopping-cart-container .cart-close:hover {
  color: #333;
  background-color: #f5f5f5;
}

/* Scrollable cart wrapper - match scrollable filter wrapper */
.scrollable-cart-wrapper {
  height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  width: 100%;
  border-bottom: 1px solid #999;
  border-top: 1px solid #999;
  flex: 1;
}

.scrollable-cart-wrapper::-webkit-scrollbar {
  width: 17px;
}

/* Cart Items */
.shopping-cart-container .cart-item-wrapper {
  padding: 0;
}

.shopping-cart-container .cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}

.shopping-cart-container .cart-item:first-child {
  border-top: none;
}

.shopping-cart-container .cart-item:hover {
  background-color: #fafafa;
}

/* Product Image - Enhanced */
.shopping-cart-container .product-image-wrapper {
  width: 80px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.shopping-cart-container .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #f0f0f0;
}

/* Product Info */
.shopping-cart-container .product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.shopping-cart-container .product-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #222;
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
}

.shopping-cart-container .product-details {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.shopping-cart-container .product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.shopping-cart-container .quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.shopping-cart-container .quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.shopping-cart-container .quantity-btn:hover {
  background-color: #f8f8f8;
  color: #222;
  border-color: #ccc;
}

.shopping-cart-container .quantity-input {
  width: 45px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.85rem;
  background-color: #fafafa;
}

.shopping-cart-container .remove-item {
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
}

.shopping-cart-container .remove-item:hover {
  color: #d32f2f;
  text-decoration: underline;
}

/* Fixed bottom section - match apply-filter structure */
.cart-summary-fixed {
  position: relative;
  width: 100%;
  background-color: white;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #999;
  margin-top: auto;
}

.cart-summary-fixed .subtotal {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.cart-summary-fixed .shipping,
.cart-summary-fixed .total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.cart-summary-fixed .shipping {
  color: #666;
}

.cart-summary-fixed .total-price {
  font-weight: 600;
  color: #222;
  font-size: 1rem;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.cart-summary-fixed .checkout {
  margin-bottom: 3vh;
}

/* Checkout button - match apply-filter-button exactly */
.cart-summary-fixed .checkout-button {
  border: 1px solid #555;
  width: 100%;
  background-color: #fff;
  color: black;
  font-size: medium;
  font-family: "Akzidenz-Grotesk BQ";
  letter-spacing: 0.5px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s; 
  margin-top: 10px;
  border-radius: 1px;
  outline: 0;
  cursor: pointer;
}

.cart-summary-fixed .checkout-button:hover {
  background-color: black;
  color: white;
}

/* Empty Cart State - Enhanced */
.shopping-cart-container .empty-cart {
  padding: 80px 30px;
  text-align: center;
  color: #777;
}

.shopping-cart-container .empty-cart-icon {
  font-size: 3.5rem;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.shopping-cart-container .empty-cart-message {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #555;
  font-weight: 500;
}

.shopping-cart-container .empty-cart-submessage {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.4;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .shopping-cart-container {
    width: 80%;
    max-width: 350px;
    height: 100vh;
    right: 0;
    min-width: 300px;
  }
  
  /* Add padding below checkout button */
  .cart-summary-fixed .checkout {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  
  .shopping-cart-container:not(.active) {
    transform: translateX(100%);
  }
  
  .shopping-cart-container .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 15px 0;
  }
  
  .shopping-cart-container .product-image-wrapper {
    width: 70px;
    height: 105px;
  }
}

@media (max-width: 480px) {
  .shopping-cart-container .cart-title-wrapper,
  .shopping-cart-container .cart-item,
  .shopping-cart-container .cart-summary {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .shopping-cart-container .product-image-wrapper {
    width: 70px;
    height: 105px;
    margin-right: 12px;
  }
  
  .shopping-cart-container .product-name {
    font-size: 0.9rem;
  }
  
  .shopping-cart-container .cart-title {
    font-size: 1.2rem;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* Cart overlay functionality now handled by main .overlay */

/* ==========================================================================
   Filter Bar and Items Grid Styles
   ========================================================================== */

/* Filter bar sticky positioning handled in items-layout.css */

/* Ensure items grid starts below sticky filter bar */
.items-grid {
  margin-top: 10px;
}

/* Container and navigation styles are now handled in base-layout.css */

/* ==========================================================================
   Cart Styles
   ========================================================================== */

.cart-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85%;
  margin-left: 20px;
  margin-right: 20px;
}

.cart-wrapper .cart-title {
  font-size: x-large;
  font-weight: 400;
  width: 100%;
  text-align: left;
  margin: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
  color: #333;
}

.cart-wrapper .cart-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 95%;
}

.cart-wrapper .cart-item-wrapper .cart-column-header {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "Product Price Remove Quantity Total";
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 2px solid #cccccc;
  font-weight: 500;
  font-size: 1.1em;
  color: #555;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "Product Price Remove Quantity Total";
  border-bottom: 1px solid #dddddd;
  padding: 20px 10px;
  align-items: center;
  gap: 15px;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-detail-info {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-image-wrapper {
  width: 100px;
  height: 120px;
  position: relative;
  display: flex;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-info-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-weight: 300;
  flex: 1;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-info-wrapper .product-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-info-wrapper .product-size-color {
  font-size: 0.95em;
  color: #666;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-detail-remove {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 1em;
  color: #333;
  text-align: center;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-detail-remove a {
  font-weight: 200;
  font-size: 0.9em;
  color: #888888;
  cursor: pointer;
  text-decoration: underline;
}

.cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-detail-remove a:hover {
  color: #333;
}

.cart-wrapper .cart-item-wrapper .cart-items .item-count {
  max-height: none;
  min-height: 0;
  border: 1px solid #ccc;
  background: #f9f9f9;
  width: 45px;
  text-align: center;
  font-size: 14px;
  color: #000;
  padding: 0;
  border-radius: 4px;
  margin: 0;
  outline: none;
  transition: border-color 0.3s;
}

.cart-wrapper .cart-item-wrapper .cart-items .item-count input:focus {
  border-color: #333;
}

.cart-wrapper .subtotal {
  position: relative;
  width: 100%;
  height: 12vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  font-size: large;
  font-weight: 400;
  padding-top: 2vh;
  border-top: 1px solid #dddddd;
  color: #333;
}

.cart-wrapper .subtotal .shipping,
.cart-wrapper .subtotal .total-price {
  position: relative;
  width: 35%;
  height: 10vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.cart-wrapper .subtotal .shipping .shipping-detail {
  color: #888888;
}

.cart-wrapper .checkout {
  position: relative;
  bottom: 0%;
  width: 100%;
  height: 6vh;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  background-color: white;
}

.cart-wrapper .checkout .checkout-button {
  border: 1px solid #555;
  width: 35%;
  background-color: #fff;
  color: #222;
  font-size: medium;
  font-family: "Akzidenz-Grotesk BQ";
  letter-spacing: 0.5px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0 10px;
  border-radius: 1px;
  outline: 0;
  cursor: pointer;
}

.cart-wrapper .checkout .checkout-button:hover {
  background-color: black;
  color: white;
}

/* ==========================================================================
   Profile Page Styles
   ========================================================================== */

.profile-nav-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  border-bottom: 1px solid black;
}

.profile-nav {
  margin-top: 100px;
  width: 100%;
  height: 55px;
  position: relative;
  width: 500px;
  padding-top: 1vh;
  padding-bottom: 1vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.profile-nav .profile-nav-item {
  text-decoration: none;
  color: black;
  font-size: medium;
  font-weight: 200;
  cursor: pointer;
}

.profile-nav .profile-nav-item:hover {
  text-decoration: underline;
}

.slide-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: start;
  justify-content: center;
}

.slide-wrapper .profile-detail-wrapper,
.slide-wrapper .orders-history-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  transition: 0.3s ease;
}

.slide-wrapper .profile-detail-wrapper {
  left: 0px;
}

.slide-wrapper .orders-history-wrapper {
  right: -100%;
  display: none;
}

.slide-wrapper .profile-detail-wrapper .profile-detail {
  width: 650px;
  position: relative;
  display: flex;
  margin: 20px;
  align-items: center;
  flex-direction: column;
  justify-content: start;
}

.slide-wrapper .orders-history-wrapper .orders-history {
  width: 900px;
  position: relative;
  display: flex;
  margin: 20px;
  align-items: center;
  flex-direction: column;
  justify-content: start;
}

.slide-wrapper .profile-detail-wrapper .profile-detail *,
.slide-wrapper .orders-history-wrapper .orders-history * {
  width: 100%;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .profile-title,
.slide-wrapper .profile-detail-wrapper .profile-detail .password-title,
.slide-wrapper .profile-detail-wrapper .profile-detail .address-title,
.slide-wrapper .profile-detail-wrapper .profile-detail .address-add-title,
.slide-wrapper .profile-detail-wrapper .profile-detail .log-out-title,
.slide-wrapper .orders-history-wrapper .orders-history .orders-title {
  position: relative;
  font-size: large;
  font-weight: 400;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .person-info {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  font-size: medium;
  margin-bottom: 20px;
  margin-top: 20px;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .person-info .name-wrapper,
.slide-wrapper .profile-detail-wrapper .profile-detail .person-info .email-wrapper {
  background-color: #f8f8f8;
  border-radius: 2px;
  padding: 10px;
  margin-bottom: 10px;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .person-info * {
  position: relative;
  display: flex;
  flex-direction: row;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .address-add-wrapper,
.slide-wrapper .profile-detail-wrapper .profile-detail .log-out-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .address-add,
.slide-wrapper .profile-detail-wrapper .profile-detail .log-out,
.slide-wrapper .profile-detail-wrapper .profile-detail .password-info .change-pass {
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .password-info .change-pass-button,
.slide-wrapper .profile-detail-wrapper .profile-detail .log-out-wrapper .log-out-button,
.slide-wrapper .profile-detail-wrapper .profile-detail .address-add-wrapper .address-add-button {
  border: 1px solid #555;
  width: 100%;
  background-color: #fff;
  color: #222;
  font-size: medium;
  letter-spacing: 0.5px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0 10px;
  border-radius: 1px;
  outline: 0;
  cursor: pointer;
}

.slide-wrapper .profile-detail-wrapper .profile-detail .log-out-wrapper .log-out-button:hover,
.slide-wrapper .profile-detail-wrapper .profile-detail .address-add-wrapper .address-add-button:hover,
.slide-wrapper .profile-detail-wrapper .profile-detail .password-info .change-pass-button:hover {
  background-color: black;
  color: white;
}

/* ==========================================================================
   Sign-in/Register Form Styles
   ========================================================================== */

.form-value-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 450px;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.form-value-wrapper .form-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 2vh;
  padding-bottom: 2vh;
}

.form-value-wrapper .form-wrapper .form-title {
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: x-large;
}

.form-value-wrapper .form-wrapper .login-form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 2vh;
}

.form-value-wrapper .form-wrapper .login-form .form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.form-value-wrapper .form-wrapper .login-form .form-field .form-label {
  margin-bottom: 0;
  font-weight: 200;
  font-size: small;
}

.form-value-wrapper .form-wrapper .login-form .form-field .form-input {
  transition: border-color 0.1s ease-out;
  width: 100%;
  display: block;
  appearance: none;
  background-color: #fff;
  border: 1px solid #222;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 0;
  color: #111;
  font-size: 0.9em;
  font-weight: 300;
  letter-spacing: 0.25px;
  line-height: 30px;
  outline: none;
}

.form-value-wrapper .form-wrapper .login-form .form-field .form-input.is-invalid {
  border-color: red;
}

.form-value-wrapper .form-wrapper .login-form .form-field .form-inlineMessage {
  color: red;
  font-size: 0.8em;
  margin-top: 5px;
  display: none;
}

.form-value-wrapper .form-wrapper .login-form .form-field.is-invalid .form-inlineMessage {
  display: block;
}

.form-value-wrapper .form-wrapper .login-form .form-submit {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-value-wrapper .btn-hollow {
  border: 1px solid #555;
  background-color: #fff;
  color: #222;
  font-size: medium;
  letter-spacing: 0.5px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0 10px;
  border-radius: 1px;
  outline: 0;
  cursor: pointer;
}

.form-value-wrapper .btn-hollow:hover {
  background-color: black;
  color: white;
}

.alternative-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.alternative-question {
  margin-bottom: 10px;
  font-weight: 300;
}

.our-value {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 20px;
  line-height: 1.4;
}

/* ==========================================================================
   Footer - Updated to match actual HTML structure
   ========================================================================== */

.footer {
  background-color: #f8f9fa;
  padding: 40px 0 20px 0;
  margin-top: auto;
  width: 100%;
  display: block;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-title {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-list li a:hover {
  color: #333;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.social-icons li a {
  color: #666;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-icons li a:hover {
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #ddd;
}

.footer-logo {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(244, 228, 230, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 228, 230, 0.4);
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */

@media screen and (max-width: 991px) {
  .cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-image-wrapper {
    width: 120px;
  }

  .cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-info-wrapper {
    margin: 20px;
  }
  
  .cart-wrapper .cart-item-wrapper .cart-column-header {
    grid-template-columns: repeat(5, 1fr);
    grid-template-areas: "Product Product Product Quantity Total";
  }

  .cart-wrapper .cart-item-wrapper .cart-items .product-detail {
    grid-template-columns: repeat(5, 1fr);
    grid-template-areas: "Product Product Product Quantity Total";
  }

  .cart-wrapper .cart-item-wrapper .cart-items .product-detail .product-detail-price {
    display: none;
  }

  .cart-wrapper .cart-item-wrapper .cart-column-header .cart-header-price {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-col {
    margin-bottom: 20px;
    min-width: auto;
  }

  .social-icons {
    justify-content: center;
  }

  .footer {
    padding: 30px 0 15px 0;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .shop-nav {
    width: 50vw;
  }
  
  .cart-wrapper {
    width: 96%;
  }
  
  .cart-wrapper .subtotal .shipping,
  .cart-wrapper .subtotal .total-price {
    width: 55%;
  }
  
  .cart-wrapper .checkout .checkout-button {
    width: 55%;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 0 10px 0;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-list li a {
    font-size: 0.85rem;
  }

  .social-icons li a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.3rem;
  }

  .footer-logo {
    font-size: 0.9rem;
  }
  
  .cart-wrapper .cart-title {
    font-size: large;
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
  }
  
  .cart-wrapper .cart-item-wrapper .cart-column-header {
    font-size: small;
  }
}

@media screen and (max-width: 510px) {
  .navbar {
    height: 60px;
    padding: 0 20px;
  }

  .navbar-brand {
    font-size: 1.3em;
  }
}