/*
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.0.0
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);
  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: 700;
  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: repeat(4, 1fr); }
}

.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);
}

/* 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); }
}
