/* Unified sidecart styles for Pages/*.html */

#cart-icon-link .cart-circle {
  width: 54px !important;
  height: 54px !important;
  background: #2980b9;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#cart-icon {
  width: 32px !important;
  height: 32px !important;
  display: block;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-side-menu {
  position: fixed;
  top: 0;
  right: -460px;
  width: 460px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-side-menu.active {
  right: 0;
}

.cart-header {
  background: #2c3e50;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
}

.cart-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-content {
  flex: 1;
  min-height: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-y: auto;
}

.cart-icon-large {
  font-size: 4em;
  margin-bottom: 20px;
  color: #bdc3c7;
}

.cart-message {
  font-size: 1.3em;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.cart-description {
  font-size: 1em;
  color: #7f8c8d;
  margin-bottom: 30px;
  line-height: 1.5;
}

.cart-signup-btn {
  background: #2980b9;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cart-signup-btn:hover {
  background: #1c598a;
}

.cart-items-list {
  width: 100%;
  max-width: 390px;
  margin: 0 auto 18px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.cart-group {
  width: 100%;
  background: #eef5fb;
  border: 1px solid #d3e4f3;
  border-radius: 14px;
  padding: 10px 3px 10px 5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.cart-group-header {
  background: #dfeffc;
  color: #2c3e50;
  font-weight: 700;
  font-size: 0.92em;
  border-radius: 8px;
  padding: 8px 12px;
  letter-spacing: 0.01em;
  margin-right: 8px;
}

.cart-item {
  background: #f8faff;
  border: 2px solid #5fa8dd;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  padding: 18px 18px 14px 18px;
  width: calc(100% - 46px);
  margin-right: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s, border-color 0.18s;
  text-align: left;
}

.cart-item:hover {
  border-color: #2f7fbd;
  box-shadow: 0 8px 20px rgba(41, 128, 185, 0.18);
  transform: translateY(-2px) scale(1.01);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.cart-item-title {
  font-weight: 700;
  color: #22334a;
  font-size: 1.13em;
  margin-bottom: 2px;
  text-align: left;
}

.cart-item-county {
  font-size: 0.98em;
  color: #153a5b;
  margin-bottom: 2px;
  text-align: left;
}

.cart-item-price {
  color: #38d39f;
  font-weight: 700;
  font-size: 1.08em;
  text-align: left;
}

.remove-item {
  background: #ff5a5f;
  color: #fff;
  border: none;
  padding: 7px 13px 7px 11px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(255, 90, 95, 0.10);
}

.remove-item:hover {
  background: #d32f2f;
}

.remove-item svg {
  margin-right: 0;
  margin-left: 2px;
}

.cart-summary {
  margin: 18px auto 0 auto;
  background: linear-gradient(90deg, #38d39f 0%, #4f8cff 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
  padding: 20px 12px 14px 12px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.summary-label {
  font-size: 1.18em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.total-amount {
  font-size: 2.1em;
  font-weight: 800;
  margin: 2px 0 0 0;
  letter-spacing: 0.01em;
}

.cart-summary-checkout-btn {
  background: #ffffff;
  color: #1f4f7a;
  border: 2px solid #cde8ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1.03em;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 240px;
  box-shadow: 0 4px 12px rgba(18, 73, 116, 0.22);
  transition: background 0.18s, transform 0.18s, border-color 0.18s, color 0.18s;
}

.cart-summary-checkout-btn:hover {
  background: #eaf6ff;
  border-color: #9fd1ff;
  color: #173b5c;
  transform: translateY(-1px);
}

.cart-checkout-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .cart-side-menu {
    width: 100%;
    right: -100%;
  }
  .cart-content {
    padding: 20px;
  }
  .cart-items-list, .cart-summary {
    max-width: 98vw;
  }
  .cart-message {
    font-size: 1.1em;
  }
  /* Mobile footer – matches index.html (applies to all Pages) */
  .pro-footer-col.nav-col {
    display: none !important;
  }
  .pro-footer {
    gap: 20px !important;
    padding: 30px 20px 15px 20px !important;
  }
  .pro-footer-col.address-col {
    padding-right: 0 !important;
  }
  .pro-footer-col.company-col {
    padding-left: 20px !important;
  }
  .pro-footer-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .pro-footer-contact a {
    margin-right: 0 !important;
    font-size: 0.78em !important;
  }
  footer {
    padding-bottom: 30px !important;
  }
}
