/* Coffee Popup Premium Styles ---------------------------------------------- */
:root {
  --cpp-brown: #dfce89;
  --cpp-brown-dark: #5a3e2a;
  --cpp-brown-focus: #d3c6bc;
  --cpp-font-heading: 'Playfair Display', serif;
  --cpp-font-body: 'Poppins', sans-serif;
}

.cpp-overlay {
  z-index: 1000;
  font-family: var(--cpp-font-body, sans-serif);
}

.cpp-modal {
  /* initial states handled in JS w/ classes, just fallback */
}

.cpp-card {
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}

.cpp-heading {
  font-family: var(--cpp-font-heading, serif);
}

.cpp-btn-submit {
  background: linear-gradient(135deg, var(--cpp-brown) 0%, var(--cpp-brown-dark) 100%);
  color: #fff;
}
.cpp-btn-submit:hover {
  background: linear-gradient(135deg, var(--cpp-brown-dark) 0%, var(--cpp-brown) 100%);
}

.cpp-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--cpp-brown-focus);
  border-color: var(--cpp-brown-focus) !important;
}

/* Background overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Thoda transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup container */
.popup-content {
  background: #fff; /* Safed background */
  padding: 20px;
  border-radius: 8px;
  max-width: 90vw; /* Mobile ke liye responsive width */
  max-height: 90vh; /* Height control */
  overflow-y: auto; /* Agar content bada hua toh scroll mile */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive tweaks for small devices */
@media (max-width: 480px) {
  .popup-content {
    width: 95vw;
    padding: 15px;
    font-size: 16px;
  }
}

header, .site-header {
  box-sizing: content-box !important;
  height: auto !important;
  width: auto !important;
}


.ast-site-header-cart .ast-addon-cart-wrap {
    display: flex;
    align-items: center; /* Vertical center alignment */
    gap: 5px; /* Icon aur count ke beech ka space */
}

.ast-site-header-cart .ast-icon-shopping-bag {
    font-size: 20px; /* Icon size fix */
    line-height: 1;   /* Extra space remove */
}

.ast-site-header-cart .count,
.ast-site-header-cart .ast-cart-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    min-width: 16px;
    height: 16px;
    background: #000; /* Count background color */
    color: #fff;
    border-radius: 50%;
    line-height: 1;
    padding: 0;
}

#cppOverlay {
	z-index : 100000 !important;
}