/**
 * Beats By Hina — main stylesheet
 * Distilled to match the mirrored Elementor/WooCommerce frontend.
 */

:root {
  --bbh-black: #111111;
  --bbh-white: #ffffff;
  --bbh-muted: #666666;
  --bbh-border: #e5e5e5;
  --bbh-bg-soft: #f7f7f7;
  --bbh-font: "Poppins", "Roboto", sans-serif;
  --bbh-heading: "Poppins", sans-serif;
  --bbh-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bbh-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bbh-black);
  background: var(--bbh-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.screen-reader-text,
.bbh-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.bbh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bbh-border);
}

.bbh-header-inner {
  max-width: var(--bbh-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.bbh-header-logo {
  justify-self: center;
}

.bbh-header-logo img,
.custom-logo-link img {
  max-height: 48px;
  width: auto;
}

.bbh-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bbh-nav-toggle {
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.bbh-login-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.bbh-search-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bbh-black);
}

.bbh-search-field {
  border: 0;
  background: transparent;
  padding: 4px 8px;
  min-width: 90px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.bbh-search-submit {
  border: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-weight: 600;
}

.bbh-cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.bbh-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--bbh-black);
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

/* Mobile nav */
.bbh-mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 1100;
  padding: 48px 28px 28px;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
}

.bbh-mobile-nav.is-open {
  transform: translateX(0);
}

.bbh-mobile-nav[hidden] {
  display: block;
  pointer-events: none;
}

.bbh-nav-close,
.bbh-side-cart-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.bbh-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bbh-menu-link {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--bbh-border);
}

body.bbh-nav-open::before,
.bbh-side-cart-overlay {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1050;
}

.bbh-side-cart-overlay[hidden] {
  display: none !important;
}

/* Side cart */
.bbh-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 1200;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.bbh-side-cart.is-open {
  transform: translateX(0);
}

.bbh-side-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--bbh-border);
}

.bbh-side-cart-contents {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}

/* Hero */
.bbh-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 20px;
  position: relative;
}

.bbh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
}

.bbh-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.bbh-hero-heading {
  font-family: var(--bbh-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.bbh-hero-text {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--bbh-muted);
  margin-bottom: 28px;
}

.bbh-scroll-down {
  display: inline-block;
  animation: bbh-bounce 2s infinite;
}

@keyframes bbh-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Collection bands */
.bbh-beats-sec {
  position: relative;
  overflow: hidden;
}

.bbh-beats-sec .bbh-band-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 70vh;
}

.bbh-band-title {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.bbh-beats-sec.up-beat .bbh-band-title {
  right: 6%;
  bottom: 12%;
  text-align: right;
}

.bbh-beats-sec.desi-beat .bbh-band-title {
  left: 6%;
  bottom: 12%;
  text-align: left;
}

.bbh-beats-sec.angraiji-beat .bbh-band-title {
  left: 6%;
  bottom: 14%;
}

.bbh-anim {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.bbh-anim[data-anim="fadeInLeft"] {
  transform: translateX(-40px);
}

.bbh-anim.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
.bbh-info-sec {
  padding: 48px 20px;
  border-top: 1px solid var(--bbh-border);
}

.bbh-info-grid {
  max-width: var(--bbh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bbh-info-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bbh-info-box h3 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.bbh-info-box p {
  margin: 0;
  font-size: 13px;
  color: var(--bbh-muted);
}

.bbh-insta-feed-sec {
  padding: 0;
}

.bbh-insta-feed-sec img {
  width: 100%;
}

.bbh-contact-sec {
  background: var(--bbh-bg-soft);
  padding: 56px 20px;
}

.bbh-contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.bbh-contact-sec h2 {
  margin: 0 0 24px;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.bbh-form input,
.bbh-form textarea {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bbh-border);
  background: #fff;
  font: inherit;
}

.bbh-form button {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: var(--bbh-black);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.bbh-form-message {
  margin-top: 10px;
  font-size: 13px;
}

.bbh-form-message.is-success {
  color: #0a7a3e;
}

.bbh-form-message.is-error {
  color: #b00020;
}

.bbh-latest-sec {
  padding: 48px 20px 32px;
  text-align: center;
}

.bbh-latest-sec h4 {
  margin: 0 0 20px;
  letter-spacing: 0.12em;
  font-size: 16px;
}

.bbh-newsletter-form {
  max-width: 560px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.bbh-newsletter-form input {
  margin: 0;
}

.bbh-newsletter-form button {
  width: auto;
  white-space: nowrap;
}

.bbh-social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bbh-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bbh-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background: #fff;
}

.bbh-social::before {
  font-size: 12px;
  font-weight: 700;
  content: attr(aria-label);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0 2px;
  text-align: center;
  line-height: 1.1;
}

.bbh-ftr-area {
  padding: 40px 20px;
  border-top: 1px solid var(--bbh-border);
}

.bbh-ftr-grid {
  max-width: var(--bbh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bbh-ftr-col h5 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.bbh-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bbh-footer-menu li {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--bbh-muted);
}

.bbh-copyright {
  text-align: center;
  padding: 16px 20px 28px;
  font-size: 12px;
  color: var(--bbh-muted);
  border-top: 1px solid var(--bbh-border);
}

.bbh-page-content,
.bbh-collection-page,
.bbh-contact-page,
.bbh-shop-archive,
.bbh-single-product {
  max-width: var(--bbh-max);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.bbh-page-header {
  margin-bottom: 28px;
}

.bbh-page-title,
.bbh-collection-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.bbh-contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bbh-view-all {
  text-align: center;
  margin-top: 28px;
}

.bbh-view-all .button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--bbh-black);
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 991px) {
  .bbh-info-grid,
  .bbh-ftr-grid,
  .bbh-contact-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bbh-header-actions .bbh-login-label {
    display: none;
  }
}

@media (max-width: 767px) {
  .bbh-header-inner {
    padding: 10px 14px;
  }

  .bbh-header-logo img,
  .custom-logo-link img {
    max-height: 36px;
  }

  .bbh-search-form {
    display: none;
  }

  .bbh-info-grid,
  .bbh-ftr-grid,
  .bbh-contact-page-grid {
    grid-template-columns: 1fr;
  }

  .bbh-band-title {
    font-size: 23px !important;
    line-height: 1.1 !important;
    top: 120px;
    bottom: auto !important;
  }

  .bbh-newsletter-form {
    grid-template-columns: 1fr;
  }

  .bbh-hero {
    min-height: 70vh;
  }
}
