/*
Theme Name: Jabeenz
Theme URI: https://jabeenz.co.uk
Author: Qastco Ltd
Author URI: https://qastco.com
Description: Heritage luxury bridal & party wear theme for Jabeenz — Asian & South Asian bridal boutique, Manchester. Custom WooCommerce dual-mode (Enquire/Buy/Both) theme with cultural design elements.
Version: 1.3.1
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
License URI: https://jabeenz.co.uk
Text Domain: jabeenz
Tags: woocommerce, bridal, luxury, custom-theme
*/

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-base);
  font-weight: var(--jbz-font-weight-body);
  line-height: var(--jbz-line-height-body);
  color: var(--jbz-dark);
  background-color: var(--jbz-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--jbz-primary); text-decoration: none; transition: color var(--jbz-transition-fast); }
a:hover { color: var(--jbz-primary-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jbz-font-heading);
  line-height: var(--jbz-line-height-heading);
  font-weight: var(--jbz-font-weight-heading);
  letter-spacing: var(--jbz-letter-spacing-heading);
  color: var(--jbz-dark);
}
h1 { font-size: var(--jbz-font-size-5xl); }
h2 { font-size: var(--jbz-font-size-4xl); }
h3 { font-size: var(--jbz-font-size-3xl); }
h4 { font-size: var(--jbz-font-size-2xl); }

button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.jbz-header {
  position: sticky;
  top: 0;
  z-index: var(--jbz-z-sticky);
  background: var(--jbz-dark);
  color: var(--jbz-white);
  transition: transform var(--jbz-transition-base);
}

.jbz-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--jbz-space-4) 0;
  gap: var(--jbz-space-4);
}

.jbz-header__logo a {
  color: var(--jbz-white);
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-2xl);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jbz-header__logo img {
  max-height: 50px;
  width: auto;
}

.jbz-nav { display: none; }
@media (min-width: 1024px) {
  .jbz-nav { display: block; flex: 1; }
}

.jbz-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--jbz-space-6);
}

.jbz-nav__list li a {
  color: var(--jbz-grey-300);
  font-size: var(--jbz-font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--jbz-space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--jbz-transition-fast), border-color var(--jbz-transition-fast);
}

.jbz-nav__list li a:hover,
.jbz-nav__list li.current-menu-item > a {
  color: var(--jbz-white);
  border-bottom-color: var(--jbz-primary);
}

.jbz-header__actions {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-2);
}

.jbz-header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--jbz-grey-300);
  cursor: pointer;
  border-radius: var(--jbz-radius-md);
  transition: color var(--jbz-transition-fast), background var(--jbz-transition-fast);
}

.jbz-header__action-btn:hover {
  color: var(--jbz-white);
  background: rgba(255, 255, 255, 0.1);
}

.jbz-header__action-btn svg { width: 22px; height: 22px; }

.jbz-header__whatsapp:hover { color: var(--jbz-whatsapp); }

.jbz-header__cart { position: relative; }
.jbz-header__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--jbz-white);
  background: var(--jbz-primary);
  border-radius: var(--jbz-radius-full);
}

.jbz-header__hamburger { display: flex; }
@media (min-width: 1024px) {
  .jbz-header__hamburger { display: none; }
}

/* Footer */
.jbz-footer {
  background: var(--jbz-dark);
  color: var(--jbz-grey-300);
  padding: var(--jbz-space-16) 0 var(--jbz-space-8);
}

.jbz-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--jbz-space-8);
}
@media (min-width: 768px) {
  .jbz-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .jbz-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--jbz-space-10); }
}

.jbz-footer__widget-title {
  color: var(--jbz-white);
  font-size: var(--jbz-font-size-lg);
  margin-bottom: var(--jbz-space-4);
  font-family: var(--jbz-font-heading);
}

.jbz-footer__widget a {
  color: var(--jbz-grey-300);
  transition: color var(--jbz-transition-fast);
}
.jbz-footer__widget a:hover { color: var(--jbz-secondary); }

.jbz-footer__bottom {
  margin-top: var(--jbz-space-12);
  padding-top: var(--jbz-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.jbz-footer__copyright {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
}

.jbz-footer__tagline {
  font-family: var(--jbz-font-heading);
  font-style: italic;
  color: var(--jbz-secondary);
  font-size: var(--jbz-font-size-sm);
  margin-top: var(--jbz-space-2);
}

.jbz-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--jbz-space-4);
  margin-top: var(--jbz-space-4);
  font-size: var(--jbz-font-size-sm);
}

.jbz-footer__legal a,
.jbz-footer__manage-cookies {
  color: var(--jbz-grey-500);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.jbz-footer__legal a:hover,
.jbz-footer__manage-cookies:hover {
  color: var(--jbz-secondary);
  text-decoration: underline;
}

.jbz-footer__manage-cookies:focus-visible {
  outline: 2px solid var(--jbz-secondary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Footer: BEM class styles ── */
.jbz-footer__bismillah {
  text-align: center;
  padding: var(--jbz-space-6) var(--jbz-container-padding);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jbz-footer__bismillah-text {
  font-size: 24px;
  color: var(--jbz-secondary);
  opacity: 0.7;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.jbz-footer__heading {
  color: var(--jbz-white);
  font-size: var(--jbz-font-size-lg);
  font-family: var(--jbz-font-heading);
  font-weight: 700;
  margin-bottom: var(--jbz-space-4);
}

.jbz-footer__text {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-300);
  line-height: var(--jbz-line-height-body);
  margin-bottom: var(--jbz-space-4);
}

.jbz-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jbz-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--jbz-grey-300);
  background: rgba(255, 255, 255, 0.08);
  transition: color var(--jbz-transition-fast), background var(--jbz-transition-fast), transform var(--jbz-transition-fast);
}

.jbz-footer__social-link:hover {
  color: var(--jbz-white);
  background: var(--jbz-primary);
  transform: translateY(-2px);
}

.jbz-footer__social-link svg {
  width: 18px;
  height: 18px;
}

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

.jbz-footer__links li {
  margin-bottom: var(--jbz-space-2);
}

.jbz-footer__links a {
  color: var(--jbz-grey-300);
  font-size: var(--jbz-font-size-sm);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-footer__links a:hover {
  color: var(--jbz-secondary);
}

.jbz-footer__address {
  font-style: normal;
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-300);
  margin-bottom: var(--jbz-space-4);
}

.jbz-footer__address p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--jbz-space-2);
}

.jbz-footer__address a {
  color: var(--jbz-grey-300);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-footer__address a:hover {
  color: var(--jbz-secondary);
}

.jbz-footer__address svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--jbz-secondary);
}

.jbz-footer__column .jbz-btn--whatsapp {
  margin-top: var(--jbz-space-2);
}

/* WhatsApp Floating Button */
.jbz-whatsapp-float {
  position: fixed;
  bottom: var(--jbz-space-6);
  right: var(--jbz-space-6);
  z-index: var(--jbz-z-whatsapp-float);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--jbz-whatsapp);
  color: var(--jbz-white);
  border-radius: var(--jbz-radius-full);
  box-shadow: var(--jbz-shadow-lg);
  transition: transform var(--jbz-transition-fast), box-shadow var(--jbz-transition-fast);
}

.jbz-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--jbz-shadow-xl);
  color: var(--jbz-white);
}

.jbz-whatsapp-float svg { width: 28px; height: 28px; }

/* Page layout */
.jbz-page { padding: var(--jbz-space-12) 0; }
.jbz-page__title {
  margin-bottom: var(--jbz-space-8);
  text-align: center;
}
.jbz-page__content {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--jbz-font-size-lg);
}

/* Archive */
.jbz-archive { padding: var(--jbz-space-12) 0; }
.jbz-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--jbz-space-6);
}
@media (min-width: 768px) {
  .jbz-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .jbz-archive__grid { grid-template-columns: repeat(3, 1fr); }
}

.jbz-header__logo-img {
  max-height: 55px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── Footer: Payments & Registration ── */
.jbz-footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--jbz-space-4);
  flex-wrap: wrap;
}

.jbz-footer__payments-label {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.jbz-footer__payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jbz-footer__payment-icons svg {
  opacity: 0.7;
  transition: opacity var(--jbz-transition-fast);
}

.jbz-footer__payment-icons svg:hover {
  opacity: 1;
}

.jbz-footer__registration {
  text-align: center;
  margin-top: var(--jbz-space-4);
  font-size: 11px;
  color: var(--jbz-grey-500);
  opacity: 0.7;
  line-height: 1.5;
}

.jbz-footer__registration p {
  margin: 0;
}
