/* ==========================================================================
   Dharniya — Custom Header v2 (Font Awesome icons, mobile nav, cart drawer)
   ========================================================================== */

.dp-site-header {
  background: #fdfcfb !important;
  border-bottom: 1px solid #e7e2de !important;
  font-family: 'Manrope', sans-serif !important;
  position: relative !important;
  z-index: 100 !important;
}

.dp-header-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 12px 32px !important; /* was 20px — this was most of the excess height */
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

.dp-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* ---------- Mobile hamburger (hidden on desktop) ---------- */
.dp-mobile-toggle {
  display: none !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
  color: #461310 !important;
}

/* ---------- Nav ---------- */
.dp-header-nav {
  min-width: 0 !important;
}
.dp-header-menu {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.dp-header-menu li {
  margin: 0 !important;
}
.dp-header-menu a {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #461310 !important; /* was #1a1a1a */
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.dp-header-menu a:hover {
  color: #2e0c0a !important; /* darker shade of the brand color for hover */
}

/* ---------- Logo ---------- */
.dp-header-logo {
  flex: 0 0 auto !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.dp-header-logo a {
  display: inline-block !important;
  font-size: 38px !important; /* was 30px */
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: #461310 !important;
  text-decoration: none !important;
}
.dp-header-logo img {
  max-height: 80px !important; /* was 62px */
  width: auto !important;
  display: block !important;
}

/* ---------- Icons ---------- */
.dp-header-icons {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  min-width: 0 !important;
}
.dp-icon-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border: none !important;
  background: transparent !important;
  color: #461310 !important; /* was #1a1a1a */
  cursor: pointer !important;
  padding: 0 !important;
  font-size: 18px !important;
  transition: color 0.2s ease !important;
}
.dp-icon-btn:hover {
  color: #2e0c0a !important;
}

.dp-cart-count {
  position: absolute !important;
  top: -4px !important;
  right: -6px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  border-radius: 50% !important;
  background: #461310 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-family: 'Manrope', sans-serif !important;
}
.dp-cart-count[data-count="0"] {
  display: none !important;
}

/* ==========================================================================
   Mobile off-canvas nav
   ========================================================================== */
.dp-mobile-nav[hidden] {
  display: none !important;
}
.dp-mobile-nav {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
}
.dp-mobile-nav-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.4) !important;
}
.dp-mobile-nav-panel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: min(320px, 84vw) !important;
  background: #fdfcfb !important;
  padding: 24px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}
.dp-mobile-close {
  align-self: flex-end !important;
  font-size: 22px !important;
  color: #461310 !important;
}
.dp-mobile-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}
.dp-mobile-menu a {
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #461310 !important; /* was #1a1a1a */
  text-decoration: none !important;
}
.dp-mobile-menu a:hover {
  color: #2e0c0a !important;
}
.dp-mobile-nav-footer {
  margin-top: auto !important;
  padding-top: 20px !important;
  border-top: 1px solid #e7e2de !important;
}
.dp-mobile-nav-footer a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  color: #461310 !important; /* was #1a1a1a */
  text-decoration: none !important;
}

/* ==========================================================================
   Search overlay
   ========================================================================== */
.dp-search-overlay[hidden] {
  display: none !important;
}
.dp-search-overlay {
  border-top: 1px solid #e7e2de !important;
  background: #fdfcfb !important;
  padding: 24px 32px !important;
}
.dp-search-overlay-inner {
  max-width: 640px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}
.dp-search-form {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-bottom: 1.5px solid #461310 !important;
  padding-bottom: 8px !important;
  transition: border-color 0.2s ease !important;
}
.dp-search-form:focus-within {
  border-color: #461310 !important;
}
.dp-search-form i {
  color: #6b6b6b !important;
  font-size: 15px !important;
}
.dp-search-input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  font-size: 17px !important;
  font-family: 'Manrope', sans-serif !important;
  padding: 6px 0 !important;
  color: #1a1a1a !important;
}
.dp-search-input:focus {
  outline: none !important;
}
.dp-search-input::placeholder {
  color: #9c9691 !important;
}

/* ==========================================================================
   Cart drawer shell
   ========================================================================== */
.dp-cart-drawer[hidden] {
  display: none !important;
}
.dp-cart-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
}
.dp-cart-drawer-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.4) !important;
}
.dp-cart-drawer-panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(400px, 90vw) !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
}
.dp-cart-drawer-head {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 22px 24px !important;
  border-bottom: 1px solid #e7e2de !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #461310 !important; /* was #1a1a1a */
}
.dp-cart-drawer-head .dp-cart-drawer-close {
  flex-shrink: 0 !important;
  width: 32px !important;
  height: 32px !important;
  color: #461310 !important;
}
.dp-cart-drawer-content {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 8px 24px 24px !important;
}

/* ==========================================================================
   Elementor "Menu Cart" widget internals — this is what's ACTUALLY rendering.
   (Not the classic .woocommerce-mini-cart-item markup — Elementor Pro
   intercepts woocommerce_mini_cart() and swaps in its own template.)
   ========================================================================== */
body .dp-cart-drawer-content .elementor-menu-cart__products {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product {
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  column-gap: 14px !important;
  align-items: start !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #f0ece9 !important;
  position: relative !important;
  font-size: 13px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-image img {
  width: 64px !important;
  height: 80px !important;
  max-width: 64px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding-right: 20px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name > a {
  display: block !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  margin-bottom: 6px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name > a:hover {
  color: #461310 !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name dl.variation {
  margin: 0 !important;
  font-size: 11px !important;
  color: #6b6b6b !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 10px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name dl.variation dt,
body .dp-cart-drawer-content .elementor-menu-cart__product-name dl.variation dd {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-name dl.variation dd p {
  display: inline !important;
  margin: 0 !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-price {
  font-size: 12px !important;
  color: #6b6b6b !important;
  margin-top: 6px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-price .woocommerce-Price-amount {
  color: #6b6b6b !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-remove {
  position: absolute !important;
  top: 16px !important;
  right: 0 !important;
}
/* Elementor outputs a duplicate legacy remove link alongside its own — hide it */
body .dp-cart-drawer-content .elementor-menu-cart__product-remove a.remove_from_cart_button:not(.elementor_remove_from_cart_button) {
  display: none !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  color: #6b6b6b !important;
  font-size: 0 !important;
  text-decoration: none !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button::before {
  content: "\f00d" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button:hover {
  color: #461310 !important;
}

body .dp-cart-drawer-content .elementor-menu-cart__subtotal {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 0 !important;
  border-top: 1px solid #e7e2de !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__subtotal .woocommerce-Price-amount {
  color: #461310 !important;
}

body .dp-cart-drawer-content .elementor-menu-cart__footer-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 12px !important;
}
body .dp-cart-drawer-content .elementor-menu-cart__footer-buttons a.elementor-button {
  display: block !important;
  text-align: center !important;
  padding: 14px !important;
  border-radius: 6px !important; /* rounded corners, as requested */
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
body .dp-cart-drawer-content a.elementor-button.elementor-button--checkout {
  background: #461310 !important;
  color: #fff !important;
  border: 1px solid #461310 !important;
}
body .dp-cart-drawer-content a.elementor-button.elementor-button--checkout:hover {
  background: #2e0c0a !important;
  border-color: #2e0c0a !important;
}
body .dp-cart-drawer-content a.elementor-button.elementor-button--view-cart {
  background: transparent !important;
  color: #461310 !important;
  border: 1px solid #461310 !important;
}
body .dp-cart-drawer-content a.elementor-button.elementor-button--view-cart:hover {
  background: #461310 !important;
  color: #fff !important;
}
body .dp-cart-drawer-content .woocommerce-mini-cart__empty-message,
body .dp-cart-drawer-content p.woocommerce-mini-cart__empty-message {
  font-size: 13px !important;
  color: #6b6b6b !important;
  text-align: center !important;
  padding: 48px 0 !important;
}

/* Prevent body scroll when a panel is open */
body.dp-panel-open {
  overflow: hidden !important;
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .dp-mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .dp-header-inner {
    padding: 10px 20px !important;
  }
  .dp-mobile-toggle {
    display: inline-flex !important;
  }
  .dp-header-nav {
    display: none !important;
  }
  .dp-header-left {
    flex: 0 0 auto !important;
  }
  .dp-header-logo a {
    font-size: 24px !important;
  }
  .dp-header-logo img {
    max-height: 52px !important;
  }
  .dp-header-icons {
    gap: 14px !important;
  }
  .dp-cart-drawer-panel,
  .dp-mobile-nav-panel {
    width: 88vw !important;
  }
}