/* ==============================================
   YaZooll Theme — Main CSS
   ============================================== */

/* ---- HEADER ---- */
.yz-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--yz-header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yz-border);
  transition: box-shadow var(--yz-dur) var(--yz-ease);
}
.yz-header.yz-scrolled { box-shadow: var(--yz-shadow); }

.yz-header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.yz-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.yz-logo .custom-logo-link,
.yz-logo-text-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.yz-logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 136px;
  max-height: 40px;
  object-fit: contain;
}
.yz-logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--yz-grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Navigation */
.yz-nav { flex: 1; }
.yz-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.yz-nav-list > li > a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--yz-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yz-text);
  transition: all var(--yz-dur) var(--yz-ease);
  white-space: nowrap;
  position: relative;
}
.yz-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--yz-grad-btn);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--yz-dur) var(--yz-ease);
}
.yz-nav-list > li > a:hover,
.yz-nav-list > li.current-menu-item > a,
.yz-nav-list > li.current-page-ancestor > a {
  color: var(--yz-primary);
  background: var(--yz-bg-warm);
}
.yz-nav-list > li > a:hover::after,
.yz-nav-list > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.yz-nav-list li { position: relative; }
.yz-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--yz-white);
  border: 1px solid var(--yz-border);
  border-radius: var(--yz-radius);
  box-shadow: var(--yz-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--yz-dur) var(--yz-ease);
  z-index: 100;
  padding: 8px;
}
.yz-nav-list li:hover > .sub-menu,
.yz-nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.yz-nav-list .sub-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--yz-radius-sm);
  transition: all var(--yz-dur) var(--yz-ease);
}
.yz-nav-list .sub-menu a:hover { background: var(--yz-bg-warm); color: var(--yz-primary); }

/* Header Actions */
.yz-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.yz-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--yz-radius-sm);
  color: var(--yz-text);
  cursor: pointer;
  transition: all var(--yz-dur) var(--yz-ease);
  text-decoration: none;
}
.yz-icon-btn:hover { background: var(--yz-bg-warm); color: var(--yz-primary); }

/* Cart Badge */
.yz-cart-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--yz-accent);
  color: var(--yz-white);
  border-radius: var(--yz-radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.yz-cart-badge.yz-hidden { display: none; }

/* Hamburger */
.yz-menu-toggle { display: none; }
.yz-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.yz-hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--yz-dur) var(--yz-ease);
}
.yz-menu-toggle.yz-active .yz-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.yz-menu-toggle.yz-active .yz-hamburger span:nth-child(2) { opacity: 0; }
.yz-menu-toggle.yz-active .yz-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search Bar */
.yz-search-bar {
  background: var(--yz-bg-warm);
  border-top: 1px solid var(--yz-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--yz-ease), padding 0.35s var(--yz-ease);
}
.yz-search-bar.yz-open { max-height: 90px; padding-block: 14px; }
.yz-search-bar .search-form { display: flex; gap: 8px; }
.yz-search-bar .search-field {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid var(--yz-border);
  border-radius: var(--yz-radius-pill);
  font-family: var(--yz-font);
  font-size: 0.95rem;
  background: var(--yz-white);
  color: var(--yz-text);
  outline: none;
  transition: border-color var(--yz-dur) var(--yz-ease);
}
.yz-search-bar .search-field:focus { border-color: var(--yz-primary); }
.yz-search-bar .search-submit {
  padding: 10px 22px;
  background: var(--yz-grad-btn);
  color: var(--yz-white);
  border: none;
  border-radius: var(--yz-radius-pill);
  font-family: var(--yz-font);
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--yz-dur);
}
.yz-search-bar .search-submit:hover { opacity: 0.9; }

/* =====================================================
   HERO
   ===================================================== */
.yz-hero {
  position: relative;
  min-height: calc(100vh - var(--yz-header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.yz-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--yz-grad-hero);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.yz-hero-bg.yz-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,87,34,0.88) 0%, rgba(236,64,122,0.72) 60%, rgba(171,71,188,0.6) 100%);
}

/* Geometric decorations */
.yz-hero-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation: yz-float 8s ease-in-out infinite;
}

@keyframes yz-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.yz-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding-block: 80px;
  width: 100%;
}

.yz-hero-text { max-width: 620px; }

.yz-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--yz-radius-pill);
  color: var(--yz-white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.yz-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--yz-white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.yz-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 480px;
}

.yz-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.yz-btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: var(--yz-white);
}
.yz-btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  color: var(--yz-white);
}

/* Hero Stats */
.yz-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.yz-hero-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--yz-radius);
  padding: 20px 24px;
  text-align: center;
  min-width: 110px;
  color: var(--yz-white);
}
.yz-hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.yz-hero-stat span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* Scroll hint */
.yz-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yz-white);
  z-index: 1;
  animation: yz-bounce 2s ease-in-out infinite;
}
@keyframes yz-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   CATEGORIES
   ===================================================== */
.yz-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}
.yz-categories-grid .yz-cat-card:first-child {
  grid-row: span 2;
  /* Tall first card */
}

.yz-cat-card {
  position: relative;
  display: block;
  border-radius: var(--yz-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--yz-dur) var(--yz-ease), box-shadow var(--yz-dur) var(--yz-ease);
}
.yz-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--yz-shadow-lg);
}

.yz-cat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--yz-ease);
}
.yz-cat-card:hover .yz-cat-img { transform: scale(1.06); }

.yz-cat-overlay {
  position: absolute;
  inset: 0;
  background: var(--yz-grad-card);
  transition: opacity var(--yz-dur) var(--yz-ease);
}
.yz-cat-card:hover .yz-cat-overlay { opacity: 1.2; }

.yz-cat-info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  z-index: 1;
}
.yz-cat-name {
  color: var(--yz-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.yz-cat-count {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: var(--yz-radius-pill);
  padding: 2px 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
}

/* =====================================================
   PROMO BANNER
   ===================================================== */
.yz-promo-banner {
  background: var(--yz-grad-hero);
  padding-block: 60px;
  position: relative;
  overflow: hidden;
}
.yz-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.yz-promo-text { color: var(--yz-white); }
.yz-promo-text .yz-badge-sale { background: rgba(255,255,255,0.2); color: var(--yz-white); margin-bottom: 14px; }
.yz-promo-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--yz-white);
  margin-bottom: 10px;
}
.yz-promo-text p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.yz-promo-decoration { position: relative; width: 200px; flex-shrink: 0; }
.yz-promo-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.yz-promo-circle-1 { width: 200px; height: 200px; top: -60px; right: -20px; }
.yz-promo-circle-2 { width: 130px; height: 130px; top: -20px; right: 20px; background: rgba(255,255,255,0.05); }
.yz-promo-circle-3 { width: 70px;  height: 70px;  top:  20px; right: 60px; background: rgba(255,255,255,0.08); }

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.yz-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.yz-section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Product Card */
.yz-product-card {
  position: relative;
  background: var(--yz-white);
  border-radius: var(--yz-radius);
  overflow: hidden;
  border: 1px solid var(--yz-border);
  transition: transform var(--yz-dur) var(--yz-ease), box-shadow var(--yz-dur) var(--yz-ease);
}
.yz-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--yz-shadow-lg);
  border-color: transparent;
}

.yz-product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--yz-bg-warm);
}
.yz-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--yz-ease);
}
.yz-product-card:hover .yz-product-img { transform: scale(1.06); }

.yz-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity var(--yz-dur) var(--yz-ease);
}
.yz-product-card:hover .yz-product-overlay { opacity: 1; }

.yz-quick-view-btn {
  background: var(--yz-white);
  color: var(--yz-primary);
  border: none;
  border-radius: var(--yz-radius-pill);
  padding: 9px 20px;
  font-family: var(--yz-font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(10px);
  transition: transform 0.3s var(--yz-ease);
}
.yz-product-card:hover .yz-quick-view-btn { transform: translateY(0); }

/* Badges */
.yz-product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

/* Wishlist */
.yz-wishlist-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  background: var(--yz-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--yz-muted);
  box-shadow: var(--yz-shadow-sm);
  transition: all var(--yz-dur) var(--yz-ease);
  z-index: 2;
}
.yz-wishlist-btn:hover { color: var(--yz-accent); transform: scale(1.1); }
.yz-wishlist-btn.yz-active { color: var(--yz-accent); }
.yz-wishlist-btn.yz-active svg { fill: currentColor; }

/* Product Info */
.yz-product-info { padding: 14px 16px 16px; }

.yz-product-cats {
  font-size: 0.75rem;
  color: var(--yz-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.yz-product-cats a:hover { color: var(--yz-primary); }

.yz-product-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yz-product-title a { color: var(--yz-dark); }
.yz-product-title a:hover { color: var(--yz-primary); }

/* Stars */
.yz-product-rating { display: flex; gap: 2px; margin-bottom: 8px; }
.yz-star { color: var(--yz-border); font-size: 0.85rem; }
.yz-star.yz-filled { color: var(--yz-gold); }

.yz-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.yz-product-price { font-size: 1rem; font-weight: 800; color: var(--yz-primary); }
.yz-product-price del { color: var(--yz-muted); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }
.yz-product-price ins { text-decoration: none; }

.yz-out-of-stock {
  font-size: 0.8rem;
  color: var(--yz-muted);
  background: var(--yz-bg-warm);
  border-radius: var(--yz-radius-pill);
  padding: 4px 10px;
}

/* Add to cart feedback */
.yz-add-to-cart.yz-loading { opacity: 0.6; pointer-events: none; }
.yz-add-to-cart.yz-added {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  box-shadow: 0 4px 16px rgba(76,175,80,0.3);
}

/* =====================================================
   WHY US
   ===================================================== */
.yz-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.yz-why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--yz-radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--yz-dur) var(--yz-ease);
}
.yz-why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.yz-why-icon {
  width: 64px;
  height: 64px;
  background: var(--yz-grad-btn);
  border-radius: var(--yz-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--yz-white);
}
.yz-why-card h3 { color: var(--yz-white); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.yz-why-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.5; }

/* =====================================================
   FOOTER
   ===================================================== */
.yz-footer { background: var(--yz-bg-section); }

.yz-footer-wave {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px;
}
.yz-footer-wave svg { width: 100%; }

.yz-footer-main { background: var(--yz-dark); padding-block: 60px; }

.yz-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand */
.yz-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.yz-footer-logo .custom-logo-link,
.yz-footer-logo .yz-logo-text-link { display: inline-flex; align-items: center; text-decoration: none; }
.yz-footer-logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 108px;
  max-height: 48px;
  object-fit: contain;
  filter: brightness(1.08);
}
.yz-footer-logo .yz-logo-text { color: var(--yz-white); -webkit-text-fill-color: var(--yz-white); }

.yz-footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
}

.yz-footer-highlights {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
}

.yz-footer-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

.yz-footer-highlights li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--yz-gold);
  box-shadow: 0 0 0 4px rgba(255,193,7,0.12);
}

/* Social */
.yz-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.yz-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--yz-dur) var(--yz-ease);
  text-decoration: none;
}
.yz-social-link:hover { background: var(--yz-primary); border-color: var(--yz-primary); color: var(--yz-white); transform: translateY(-2px); }

/* Footer headings */
.yz-footer-heading {
  color: var(--yz-white);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yz-primary);
  display: inline-block;
}

/* Footer nav */
.yz-footer-nav { padding: 0; }
.yz-footer-nav li { margin-bottom: 10px; }
.yz-footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--yz-dur) var(--yz-ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.yz-footer-nav a:hover { color: var(--yz-white); padding-right: 4px; }
.yz-footer-nav a::before {
  content: '‹';
  color: var(--yz-primary);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
}

/* Contact */
.yz-footer-contact { padding: 0; }
.yz-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.yz-footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--yz-primary); }
.yz-footer-contact a { color: inherit; }
.yz-footer-contact a:hover { color: var(--yz-white); }

/* Widget title */
.yz-widget-title {
  color: var(--yz-white);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yz-primary);
  display: inline-block;
}

/* Footer bottom */
.yz-footer-bottom {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.yz-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  flex-wrap: wrap;
}
.yz-footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}
.yz-footer-bottom a { color: rgba(255,255,255,0.6); }
.yz-footer-bottom a:hover { color: var(--yz-primary); }

/* =====================================================
   PAGES
   ===================================================== */
.yz-page-main { padding-block: 60px; }
.yz-page-hero-img { border-radius: var(--yz-radius-lg); overflow: hidden; margin-bottom: 40px; }
.yz-page-hero-img img { width: 100%; max-height: 400px; object-fit: cover; }
.yz-page-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 28px; }
.yz-page-body { max-width: 780px; line-height: 1.9; }
.yz-page-body p { margin-bottom: 1.25em; }
.yz-page-body h2, .yz-page-body h3 { margin-block: 1.5em 0.5em; }
.yz-page-body a { color: var(--yz-primary); text-decoration: underline; }

/* =====================================================
   ARCHIVE / BLOG
   ===================================================== */
.yz-archive-header { margin-bottom: 40px; }
.yz-archive-title { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.yz-archive-desc { color: var(--yz-muted); margin-top: 8px; }

.yz-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.yz-post-card {
  border-radius: var(--yz-radius);
  overflow: hidden;
  background: var(--yz-white);
  border: 1px solid var(--yz-border);
  transition: transform var(--yz-dur) var(--yz-ease), box-shadow var(--yz-dur) var(--yz-ease);
}
.yz-post-card:hover { transform: translateY(-4px); box-shadow: var(--yz-shadow); }
.yz-post-card > a img, .yz-post-card > a { display: block; }
.yz-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.yz-post-body { padding: 20px; }
.yz-post-meta { font-size: 0.82rem; color: var(--yz-muted); margin-bottom: 8px; }
.yz-post-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.45; }
.yz-post-title a:hover { color: var(--yz-primary); }
.yz-post-excerpt { font-size: 0.88rem; color: var(--yz-muted); margin-bottom: 14px; }

/* =====================================================
   404
   ===================================================== */
.yz-404 { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.yz-404-inner { text-align: center; }
.yz-404-number {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: var(--yz-grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.yz-404-inner h1 { font-size: 1.8rem; margin-bottom: 12px; }
.yz-404-inner p  { color: var(--yz-muted); margin-bottom: 32px; }
.yz-404-inner .yz-btn { margin-inline: 8px; }

/* =====================================================
   SINGLE POST
   ===================================================== */
.yz-single-post { padding-block: 60px; }
.yz-article-header { margin-bottom: 30px; }
.yz-article-cats { font-size: 0.82rem; color: var(--yz-primary); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.yz-article-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.yz-article-meta { display: flex; align-items: center; gap: 8px; color: var(--yz-muted); font-size: 0.88rem; }
.yz-dot { font-size: 0.5rem; }
.yz-article-img { border-radius: var(--yz-radius-lg); overflow: hidden; margin-bottom: 36px; }
.yz-article-img img { width: 100%; max-height: 480px; object-fit: cover; }
.yz-article-body { max-width: 740px; line-height: 1.9; }
.yz-article-body p { margin-bottom: 1.25em; }
.yz-article-body h2, .yz-article-body h3 { margin-block: 1.5em 0.5em; }

/* =====================================================
   PAGINATION
   ===================================================== */
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 14px;
  border-radius: var(--yz-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--yz-border);
  color: var(--yz-text);
  background: var(--yz-white);
  transition: all var(--yz-dur) var(--yz-ease);
  text-decoration: none;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--yz-grad-btn);
  color: var(--yz-white);
  border-color: transparent;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .yz-logo .custom-logo { max-width: 124px; max-height: 36px; }
  .yz-products-grid { grid-template-columns: repeat(3, 1fr); }
  .yz-why-grid { grid-template-columns: repeat(2, 1fr); }
  .yz-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .yz-hero-content { grid-template-columns: 1fr; }
  .yz-hero-stats { flex-direction: row; justify-content: flex-start; }
  .yz-hero-stat { min-width: 90px; }
  .yz-categories-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .yz-categories-grid .yz-cat-card:first-child { grid-row: span 1; }
  .yz-promo-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .yz-logo .custom-logo { max-width: 108px; max-height: 32px; }
  .yz-footer-logo .custom-logo { max-width: 92px; max-height: 40px; }
  /* Mobile header */
  .yz-menu-toggle { display: flex; }
  .yz-nav {
    position: fixed;
    top: var(--yz-header-h);
    right: 0; left: 0;
    background: var(--yz-white);
    box-shadow: var(--yz-shadow-lg);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.35s var(--yz-ease);
    z-index: 999;
    max-height: calc(100vh - var(--yz-header-h));
    overflow-y: auto;
  }
  .yz-nav.yz-nav-open { transform: translateX(0); }
  .yz-nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .yz-nav-list > li > a { padding: 12px 16px; font-size: 1rem; }
  .yz-nav-list .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--yz-bg-warm);
    border-radius: var(--yz-radius-sm);
    margin-top: 4px;
    padding: 4px;
  }

  .yz-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .yz-blog-grid { grid-template-columns: 1fr; }
  .yz-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .yz-footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .yz-hero-stats { flex-direction: column; align-items: flex-start; }
  .yz-hero-btns { flex-direction: column; align-items: flex-start; }
  .yz-categories-grid { grid-template-columns: 1fr; }
  .yz-why-grid { grid-template-columns: 1fr; }
  .yz-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* =====================================================
   MOBILE RESPONSIVE FINAL v2
   ===================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .yz-header-inner {
    gap: 12px;
    min-width: 0;
  }

  .yz-header-actions {
    gap: 2px;
    flex-shrink: 0;
  }

  .yz-icon-btn {
    width: 36px;
    height: 36px;
  }

  .yz-nav {
    padding: 16px;
  }

  .yz-nav-list > li > a {
    white-space: normal;
  }

  .yz-search-bar .search-form {
    flex-direction: column;
  }

  .yz-search-bar .search-submit {
    width: 100%;
  }

  .yz-hero {
    min-height: auto;
  }

  .yz-hero-content {
    gap: 24px;
    padding-block: 44px 72px;
  }

  .yz-hero-text,
  .yz-hero-subtitle,
  .yz-page-body,
  .yz-article-body,
  .yz-footer-desc {
    max-width: none;
  }

  .yz-hero-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .yz-hero-subtitle {
    margin-bottom: 24px;
  }

  .yz-hero-btns {
    width: 100%;
  }

  .yz-hero-btns .yz-btn,
  .yz-hero-btns a {
    width: 100%;
    justify-content: center;
  }

  .yz-hero-stat {
    width: 100%;
    min-width: 0;
  }

  .yz-page-main,
  .yz-single-post {
    padding-block: 40px;
  }

  .yz-page-title,
  .yz-article-title {
    margin-bottom: 18px;
  }

  .yz-article-meta {
    flex-wrap: wrap;
  }

  .yz-footer-main {
    padding-block: 42px;
  }

  .yz-footer-highlights li,
  .yz-footer-contact li,
  .yz-footer-nav a,
  .yz-footer-bottom p {
    word-break: break-word;
  }
}

@media (max-width: 560px) {
  .yz-products-grid,
  .yz-blog-grid,
  .yz-categories-grid {
    grid-template-columns: 1fr;
  }

  .yz-post-body {
    padding: 16px;
  }

  .yz-hero-btns {
    align-items: stretch;
  }
}

/* =====================================================
   WP CORE OVERRIDES
   ===================================================== */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}
.aligncenter { display: block; margin-inline: auto; }
.alignright  { float: left; margin-right: 1.5em; }
.alignleft   { float: right; margin-left: 1.5em; }

/* WP admin bar */
.admin-bar .yz-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .yz-header { top: 46px; }
}
