/*
Theme Name: Azrooz
Theme URI: https://azrooz.com
Author: Azrooz
Author URI: https://azrooz.com
Description: Premium electric massage and wellness storefront WordPress theme with WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azrooz
Tags: e-commerce, woocommerce, responsive, custom-menu, custom-logo, featured-images
*/

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

button {
  font-family: inherit;
}

/* Container */
.az-container {
  width: 100%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header */
.az-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 42, 87, 0.08);
}

.az-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.az-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.az-logo span {
  color: #2563eb;
}

.az-nav {
  display: none;
}

.az-nav ul {
  display: flex;
  gap: 2rem;
}

.az-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s ease;
}

.az-nav a:hover {
  color: #2563eb;
}

.az-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.az-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.2s ease;
}

.az-icon-btn:hover {
  background: #eff6ff;
  color: #2563eb;
}

.az-mobile-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.az-mobile-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: #0f172a;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .az-nav {
    display: block;
  }
  .az-mobile-toggle {
    display: none;
  }
}

.az-cart-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.az-header-actions .az-icon-btn {
  position: relative;
}

/* Mobile menu */
.az-mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid rgba(15, 42, 87, 0.08);
}

.az-mobile-menu.is-open {
  display: block;
}

.az-mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid rgba(15, 42, 87, 0.06);
}

/* Buttons */
.az-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.az-btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 20px 60px -20px rgba(37, 99, 235, 0.35);
}

.az-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.az-btn-ghost {
  background: #f1f5f9;
  color: #0f172a;
}

.az-btn-ghost:hover {
  background: #eff6ff;
}

.az-btn-outline {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.az-btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* Hero */
.az-hero {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 42, 87, 0.08);
}

.az-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .az-hero-grid {
    grid-template-columns: 1fr 1fr;
    padding: 6rem 0;
  }
}

.az-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2563eb;
}

.az-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .az-hero h1 {
    font-size: 3.5rem;
  }
}

.az-hero p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #475569;
  max-width: 32rem;
}

.az-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.az-hero-media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 24px 48px -16px rgba(15, 42, 87, 0.14);
}

.az-hero-media img {
  width: 100%;
  object-fit: cover;
}

/* Trust bar */
.az-trust {
  border-bottom: 1px solid rgba(15, 42, 87, 0.08);
  padding: 2rem 0;
}

.az-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .az-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.az-trust-item strong {
  display: block;
  font-size: 1.125rem;
  color: #0f172a;
}

.az-trust-item span {
  font-size: 0.875rem;
  color: #64748b;
}

/* Section titles */
.az-section {
  padding: 4rem 0;
}

.az-section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.az-section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.az-section-head p {
  margin-top: 0.5rem;
  color: #64748b;
}

/* Category grid */
.az-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .az-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .az-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.az-category-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.az-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(15, 42, 87, 0.14);
}

.az-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.az-category-card:hover img {
  transform: scale(1.05);
}

.az-category-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
}

.az-category-label h3 {
  font-size: 1rem;
  font-weight: 600;
}

.az-category-label span {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Product cards */
.az-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .az-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .az-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .az-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.az-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.az-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(15, 42, 87, 0.14);
  border-color: rgba(37, 99, 235, 0.25);
}

.az-product-card .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.az-badge-sale {
  background: #dc2626;
  color: #fff;
}

.az-badge-new {
  background: #0f172a;
  color: #fff;
}

.az-badge-best {
  background: #2563eb;
  color: #fff;
}

.az-badge-limited {
  background: #f59e0b;
  color: #fff;
}

.az-product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8fafc;
}

.az-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.az-product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.az-product-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.az-product-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
  flex: 1;
}

.az-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.az-product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.az-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.az-compare {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.az-rating {
  font-size: 0.85rem;
  color: #f59e0b;
}

/* Product detail */
.az-product-detail {
  padding: 3rem 0;
}

.az-product-detail-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .az-product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.az-gallery-main {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 4 / 3;
}

.az-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.az-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.az-gallery-thumbs img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.az-gallery-thumbs img:hover,
.az-gallery-thumbs img.active {
  opacity: 1;
  border-color: #2563eb;
}

.az-product-detail .az-price {
  font-size: 2rem;
}

.az-product-detail .short {
  margin-top: 1rem;
  color: #475569;
  font-size: 1.05rem;
}

.az-product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.az-quantity {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.az-quantity button {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.az-quantity input {
  width: 2.5rem;
  text-align: center;
  border: none;
  font-weight: 600;
}

.az-specs {
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.az-specs h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.az-specs dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.az-specs dt {
  color: #64748b;
}

.az-specs dd {
  font-weight: 600;
  color: #0f172a;
}

.az-benefits {
  margin-top: 1.5rem;
}

.az-benefits h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.az-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #334155;
}

.az-benefits li::before {
  content: "✓";
  color: #2563eb;
  font-weight: 700;
}

/* Reviews */
.az-reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .az-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .az-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.az-review-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.az-review-card .stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.az-review-card p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

.az-review-card .author {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* Newsletter */
.az-newsletter {
  background: #0f172a;
  color: #fff;
  padding: 3.5rem 0;
  border-radius: 1.5rem;
  margin: 3rem 0;
}

.az-newsletter-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .az-newsletter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.az-newsletter h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.az-newsletter p {
  margin-top: 0.5rem;
  color: #94a3b8;
}

.az-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.az-newsletter-form input {
  flex: 1;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.875rem 1.25rem;
  font-size: 0.95rem;
}

.az-newsletter-form input::placeholder {
  color: #94a3b8;
}

/* Footer */
.az-footer {
  border-top: 1px solid rgba(15, 42, 87, 0.08);
  background: #f8fafc;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.az-footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .az-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.az-footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.az-footer a {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.az-footer a:hover {
  color: #2563eb;
}

.az-footer p {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 24rem;
}

.az-footer-bottom {
  border-top: 1px solid rgba(15, 42, 87, 0.08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Page shell */
.az-page-hero {
  border-bottom: 1px solid rgba(15, 42, 87, 0.08);
  background: #f8fafc;
  text-align: center;
  padding: 4rem 0;
}

.az-page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.az-page-hero p {
  margin-top: 0.75rem;
  color: #64748b;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.az-page-content {
  padding: 3rem 0;
}

.az-page-content h2,
.az-page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.az-page-content p {
  margin-bottom: 1rem;
  color: #334155;
}

/* Shop layout */
.az-shop-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .az-shop-layout {
    grid-template-columns: 240px 1fr;
  }
}

.az-shop-sidebar h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.az-shop-sidebar ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
  transition: background 0.2s ease;
}

.az-shop-sidebar ul li a:hover,
.az-shop-sidebar ul li a.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.az-shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.az-shop-bar select {
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Forms */
.az-form input,
.az-form textarea,
.az-form select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.az-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #334155;
}

/* 404 */
.az-404 {
  text-align: center;
  padding: 6rem 0;
}

.az-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: #e2e8f0;
}

.az-404 h2 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* Utility */
.az-text-center {
  text-align: center;
}

.az-mt-1 {
  margin-top: 0.25rem;
}

.az-mt-2 {
  margin-top: 0.5rem;
}

.az-mt-4 {
  margin-top: 1rem;
}

.az-mt-6 {
  margin-top: 1.5rem;
}

.az-mb-4 {
  margin-bottom: 1rem;
}

.az-flex {
  display: flex;
}

.az-items-center {
  align-items: center;
}

.az-gap-2 {
  gap: 0.5rem;
}

.az-justify-center {
  justify-content: center;
}

.az-wrap {
  flex-wrap: wrap;
}

/* WhatsApp button */
.az-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.az-whatsapp:hover {
  transform: scale(1.05);
}

/* WordPress content alignment */
.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.wp-block-image img {
  border-radius: 1rem;
}
