/* Ap Basic / Bridey-inspired styles — complements Elementor layouts */

:root {
  --ap-font-body: "Outfit", system-ui, sans-serif;
  --ap-font-heading: "Cormorant Garamond", Georgia, serif;
  --ap-color-text: #1a1a1a;
  --ap-color-muted: #767676;
  --ap-color-border: #e8e8e8;
  --ap-color-announcement: #f5f3f0;
  --ap-color-btn: #1a1a1a;
  --ap-container: min(1200px, 92vw);
}

body.ap-basic-theme {
  font-family: var(--ap-font-body);
  color: var(--ap-color-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

body.ap-basic-theme .elementor-widget-text-editor a,
body.ap-basic-theme .elementskit-navbar-nav > li > a,
body.ap-basic-theme .elementskit-megamenu-panel a {
  color: inherit;
  text-decoration: none;
}

/* Photo blocks use a black overlay; keep it light so the image stays visible. */
body.ap-basic-theme .elementor .e-con::before {
  opacity: 0.28 !important;
}

body.ap-basic-theme .ap-basic-announce {
  background: #f6f4f1;
  position: relative;
  z-index: 50;
}

body.ap-basic-theme .ap-basic-overlay-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 52px;
  z-index: 50;
  background: transparent !important;
}

body.ap-basic-theme .ap-basic-overlay-header > .e-con-inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: transparent !important;
}

body.ap-basic-theme .ap-basic-header-tools,
body.ap-basic-theme .ap-basic-header-tools > .e-con-inner {
  display: flex !important;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

body.ap-basic-theme .ap-basic-header-icons,
body.ap-basic-theme .ap-basic-header-icons > .e-con-inner {
  display: flex !important;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}

body.ap-basic-theme .ap-basic-hero-slider {
  margin-top: -72px;
}

body.ap-basic-theme .elementskit-navbar-nav {
  display: none !important;
}

body.ap-basic-theme .elementskit-menu-hamburger {
  background: transparent;
  border: 0;
}

body.ap-basic-theme .ap-basic-header-tools,
body.ap-basic-theme .ap-basic-header-icons {
  gap: 14px;
}

body.ap-basic-theme .ap-basic-header-icons {
  position: relative;
}

body.ap-basic-theme .ap-basic-header-icons .elementor-icon {
  position: relative;
}

body.ap-basic-theme .ap-basic-header-icons .elementor-widget-icon::after {
  content: "0";
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6b6258;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.ap-basic-hero-slider {
  position: relative;
  min-height: 100vh;
}

.ap-basic-hero-slider > .e-con-inner > .e-con.ap-basic-hero-slide {
  display: none;
  min-height: 100vh;
}

.ap-basic-hero-slider > .e-con-inner > .e-con.ap-basic-hero-slide.is-active {
  display: flex;
}

.ap-basic-slider-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.ap-basic-slider-nav button {
  width: 28px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.ap-basic-slider-nav button.is-active {
  background: #fff;
}

.ap-basic-h-slider {
  position: relative;
}

.ap-basic-h-slider > .e-con-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scrollbar-width: none;
}

.ap-basic-h-slider > .e-con-inner > .e-con {
  flex: 0 0 24%;
  scroll-snap-align: start;
}

.ap-basic-slider-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
}

.ap-basic-slider-arrows button {
  width: 36px;
  height: 36px;
  border: 1px solid #1a1a1a;
  background: #fff;
  cursor: pointer;
}

.ap-basic-promo-row > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.ap-basic-quote-slider .elementor-widget-testimonial {
  display: none;
}

.ap-basic-quote-slider .elementor-widget-testimonial.is-active {
  display: block;
}

.ap-basic-footer-row > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .ap-basic-promo-row > .e-con-inner,
  .ap-basic-footer-row > .e-con-inner {
    grid-template-columns: 1fr 1fr;
  }

  .ap-basic-h-slider > .e-con-inner > .e-con {
    flex-basis: 78%;
  }
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--ap-font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ap-basic-announcement {
  background: var(--ap-color-announcement);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  margin: 0;
}

.ap-basic-announcement p {
  margin: 0;
}

.ap-basic-header {
  border-bottom: 1px solid var(--ap-color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ap-basic-header__inner {
  max-width: var(--ap-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.ap-basic-header__logo {
  grid-column: 2;
  text-align: center;
}

.ap-basic-logo-text {
  text-decoration: none;
  color: var(--ap-color-text);
  font-family: var(--ap-font-heading);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.ap-basic-nav-toggle {
  grid-column: 1;
  justify-self: start;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.ap-basic-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ap-color-text);
  margin: 5px 0;
}

.ap-basic-header__icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ap-basic-icon-link {
  color: inherit;
  text-decoration: none;
}

.ap-basic-header__nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--ap-color-border);
  display: none;
  padding: 24px;
}

.ap-basic-header__nav.is-open {
  display: block;
}

.ap-basic-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.ap-basic-menu a {
  text-decoration: none;
  color: var(--ap-color-text);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Elementor + ElementsKit mega menu tuning */
.elementskit-navbar-nav > li > a {
  font-size: 13px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.elementskit-megamenu-panel {
  border-top: 1px solid var(--ap-color-border) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

.ap-basic-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.ap-basic-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ap-basic-hero-slide.is-active {
  opacity: 1;
}

.ap-basic-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.ap-basic-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 20px;
}

.ap-basic-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ap-basic-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 24px;
  line-height: 1.1;
}

.ap-basic-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.ap-basic-btn:hover {
  background: #fff;
  color: var(--ap-color-text);
}

.ap-basic-btn--dark {
  border-color: var(--ap-color-text);
  color: var(--ap-color-text);
}

.ap-basic-btn--dark:hover {
  background: var(--ap-color-text);
  color: #fff;
}

.ap-basic-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 100%;
}

@media (max-width: 991px) {
  .ap-basic-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ap-basic-promo-tile {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
}

.ap-basic-promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55));
}

.ap-basic-promo-tile > * {
  position: relative;
  z-index: 1;
}

.ap-basic-section {
  padding: 72px 0;
}

.ap-basic-section--muted {
  background: #faf9f7;
}

.ap-basic-container {
  width: var(--ap-container);
  margin: 0 auto;
}

.ap-basic-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.ap-basic-section-title span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ap-color-muted);
  margin-bottom: 8px;
}

.ap-basic-section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ap-font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.ap-basic-footer {
  background: #fff;
  border-top: 1px solid var(--ap-color-border);
  padding: 64px 24px 32px;
}

.ap-basic-footer__grid {
  max-width: var(--ap-container);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ap-basic-footer h4 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0;
}

.ap-basic-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ap-basic-footer a {
  color: var(--ap-color-muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
}

.ap-basic-footer__copy {
  text-align: center;
  color: var(--ap-color-muted);
  font-size: 13px;
}

.ap-basic-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-basic-popup[hidden] {
  display: none !important;
}

.ap-basic-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.ap-basic-popup__dialog {
  position: relative;
  background: #fff;
  max-width: 420px;
  width: 92vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.ap-basic-popup__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.ap-basic-cookie {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 320px;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 20px;
  font-size: 13px;
  z-index: 9998;
}

.ap-basic-cookie a {
  color: #fff;
}

.ap-basic-cookie button {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border: 0;
  background: #c4b5a3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.ap-basic-compare-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 50;
}
