/*
Theme Name: Joelle Mbede
Theme URI: https://example.com/joelle-mbede
Author: Joelle Mbede
Author URI: https://joelleportfolio.com
Description: Joelle Mbede portfolio and shop theme, built for a refined visual editing workflow.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: joelle-mbede
Tags: portfolio, ecommerce, elementor, woocommerce, custom-logo, custom-menu, featured-images, full-width-template
*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Teko", sans-serif;
  color: #111111;
  background: #ffffff;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-main {
  min-height: 60vh;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #000000;
  color: #ffffff;
}

.site-header .custom-logo-link,
.site-header .site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ap-nav-menu,
.ap-mobile-nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ap-nav-menu a,
.ap-mobile-nav-menu a {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ap-nav-menu a:hover,
.ap-mobile-nav-menu a:hover {
  opacity: 0.55;
}

.ap-mobile-nav {
  display: none;
}

.ap-mobile-nav.is-open {
  display: block;
}

.ap-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-menu-toggle .ap-menu-close {
  display: none;
}

.ap-menu-toggle[aria-expanded="true"] .ap-menu-open {
  display: none;
}

.ap-menu-toggle[aria-expanded="true"] .ap-menu-close {
  display: inline;
}

.ap-section-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
}

.ap-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ap-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #f24822;
  border-color: #f24822;
  color: #ffffff;
  transform: translateY(-2px);
}

.ap-button--outline,
.woocommerce .return-to-shop .button,
.woocommerce .cart .button,
.woocommerce .cart input.button {
  background: transparent;
  color: #000000;
}

.ap-button--outline:hover,
.woocommerce .return-to-shop .button:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover {
  color: #ffffff;
}

.ap-dot {
  width: 0.75rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #ffc943;
  position: relative;
}

.ap-dot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #f24822;
  transform: translateY(-50%);
}

.ap-divider {
  height: 0.25rem;
  background: #000000;
}

.ap-divider-colors {
  display: flex;
  gap: 0.25rem;
}

.ap-divider-colors span {
  width: 2rem;
  height: 0.25rem;
}

.ap-card-shell {
  position: relative;
  overflow: hidden;
}

.ap-card-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid #000000;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ap-card-shell:hover::after,
.ap-card-shell:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.ap-work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.ap-card-shell:hover .ap-work-image,
.ap-card-shell:focus-within .ap-work-image {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.ap-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ap-card-shell:hover .ap-image-overlay,
.ap-card-shell:focus-within .ap-image-overlay {
  opacity: 1;
}

.ap-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 2px solid #000000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ap-chip:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.ap-filter-button.is-active {
  background: #ffffff;
  color: #000000;
}

.ap-filter-button[hidden],
.ap-filter-item[hidden],
.ap-modal[hidden] {
  display: none !important;
}

.ap-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ap-modal-panel {
  position: relative;
  width: min(100%, 72rem);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: #111111;
}

.ap-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  background: #000000;
  color: #ffffff;
  border: 0;
  cursor: pointer;
}

.ap-modal-open {
  cursor: pointer;
}

.ap-corner {
  position: absolute;
  width: 6rem;
  height: 6rem;
  pointer-events: none;
}

.ap-corner--top-left {
  top: 0;
  left: 0;
}

.ap-corner--top-right {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.ap-corner--bottom-right {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

.ap-corner--bottom-left {
  left: 0;
  bottom: 0;
  transform: rotate(270deg);
}

.ap-floating-symbol {
  animation: apFloat 5s ease-in-out infinite;
}

.ap-floating-symbol--slow {
  animation-duration: 6.5s;
}

.ap-scroll-strip {
  width: max-content;
  animation: apScroll 30s linear infinite;
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ap-entry-content > * + * {
  margin-top: 1.25rem;
}

.ap-prose {
  font-size: 1.2rem;
  line-height: 1.8;
}

.ap-prose ul,
.ap-prose ol {
  margin-left: 1.5rem;
  list-style: initial;
}

.ap-prose ol {
  list-style: decimal;
}

.ap-generic-card {
  border: 4px solid #000000;
  padding: 2rem;
  background: #ffffff;
}

.ap-shop-hero,
.ap-page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
}

.ap-woocommerce-shell .woocommerce-result-count,
.ap-woocommerce-shell .woocommerce-ordering {
  margin-bottom: 2rem;
}

.ap-woocommerce-shell ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.ap-woocommerce-shell ul.products::before,
.ap-woocommerce-shell ul.products::after {
  display: none;
}

.ap-woocommerce-shell ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ap-woocommerce-shell ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 0 1rem;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.ap-woocommerce-shell ul.products li.product:hover a img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.ap-woocommerce-shell .woocommerce-loop-product__title,
.ap-woocommerce-shell .product_title {
  font-family: "Righteous", sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ap-woocommerce-shell span.price {
  color: #111111 !important;
  font-size: 1.4rem !important;
}

.ap-woocommerce-shell .quantity .qty {
  min-height: 3rem;
  border: 2px solid #000000;
}

.ap-woocommerce-shell div.product div.images img,
.ap-woocommerce-shell div.product div.summary {
  margin-bottom: 2rem;
}

.ap-woocommerce-shell .woocommerce-message,
.ap-woocommerce-shell .woocommerce-info,
.ap-woocommerce-shell .woocommerce-error {
  border-top-color: #000000;
}

.ap-woocommerce-shell .woocommerce-message::before,
.ap-woocommerce-shell .woocommerce-info::before,
.ap-woocommerce-shell .woocommerce-error::before {
  color: #000000;
}

.ap-woocommerce-shell .related.products {
  margin-top: 4rem;
}

.ap-search-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ap-search-form input[type="search"] {
  flex: 1 1 16rem;
  min-height: 3.5rem;
  border-bottom: 2px solid #000000;
  padding: 0.75rem 0;
  outline: none;
}

.ap-contact-field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #d1d5db;
  padding: 0.9rem 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.ap-contact-field:focus {
  border-color: #000000;
}

.ap-social-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ap-social-link {
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ap-social-link:hover {
  background: #000000;
  color: #ffffff;
  transform: rotate(5deg) scale(1.05);
}

.ap-footer-note {
  color: #6b7280;
}

@keyframes apFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

@keyframes apScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .ap-nav-menu {
    display: none;
  }
}
