/* =================================================================
   PAGE-SPECIFIC STYLES - Front Page, etc.
   ================================================================= */

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero-section img {
  max-width: 500px;
  width: 100%;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Philosophy Section */
.philosophy-section h2 {
  font-size: 2.5rem;
  line-height: 1.4;
  max-width: 800px;
  margin: auto;
  font-weight: normal;
}

/* assets/css/pages.css */

/* Teljes képernyős Hero Szekció IMG taggel és Overlay-jel */

/* Raw Fashion hero (front-page.php) */
.raw-hero {
  position: relative;
}

.raw-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Video styling for hero section */
.raw-hero__video {
  object-position: center;
}

.raw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.raw-hero__content {
  position: relative;
  z-index: 2;
}

.raw-hero__logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-inline: auto;
}

.hero-section-img-overlay {
  position: relative; /* Ez a "horgony" az abszolút pozicionált gyerek elemeknek */
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Biztosítja, hogy semmi ne lógjon ki */
}

/* 1. Alsó réteg: A háttérkép */
.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ez az <img> tag megfelelője a background-size: cover-nek. Megakadályozza a torzulást. */
  z-index: 1; /* Legalsó réteg */
}

/* 2. Középső réteg: Az overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* Fekete, 40%-os átlátszósággal. Ezt a színt és értéket módosíthatod! */
  z-index: 2; /* A kép felett, de a tartalom alatt */
}

/* 3. Felső réteg: A tartalom */
.hero-content {
  position: relative; /* Szükséges a z-index helyes működéséhez */
  z-index: 3; /* Legfelső réteg */
}

.hero-content h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* =================================================================
   Login / Register Page Styles
   ================================================================= */
.login-register-container {
  border: 1px solid #333;
  padding: 3rem;
}

/* Tabok stílusa */
.login-register-container .nav-tabs {
  border-bottom: 1px solid #333;
}

.login-register-container .nav-tabs .nav-link {
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #dddddd;
  border-radius: 0;
  text-transform: uppercase;
  font-family: sans-serif;
  letter-spacing: 1px;
  font-size: 1rem;
  padding: 1rem 0;
  margin-right: 2rem;
}

.login-register-container .nav-tabs .nav-link:hover {
  border-color: transparent;
  color: #fff;
}

.login-register-container .nav-tabs .nav-link.active {
  border-color: #fff;
  color: #fff;
  background-color: transparent;
}

/* Form stílusok */
.auth-form {
  padding-top: 3rem;
}

.auth-form .form-label {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.auth-form .form-control {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.8rem 1rem;
}

.auth-form .form-control:focus {
  background-color: #111;
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

.auth-form .form-control:-webkit-autofill,
.auth-form .form-control:-webkit-autofill:hover,
.auth-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #111 inset;
  box-shadow: 0 0 0 1000px #111 inset;
  border: 1px solid #333;
  transition: background-color 9999s ease-in-out 0s;
}

.auth-form .form-check-input {
  background-color: transparent;
  border: 1px solid #333;
}

.auth-form .form-check-input:checked {
  background-color: #fff;
  border-color: #fff;
}

.auth-form .form-check-label,
.auth-form .forgot-password-link,
.auth-form .lost_password a {
  font-size: 0.9rem;
  font-family: sans-serif;
}

.auth-form .form-check-label {
  white-space: nowrap;
}

.auth-form .forgot-password-link,
.auth-form .lost_password a {
  text-decoration: underline;
}

.auth-form .form-row.d-flex {
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.auth-form .lost_password {
  margin: 0;
}

/* Social login (Nextend) – make button full width */
.login-register-container .nsl-container-buttons,
.login-register-container .nsl-container-buttons a,
.login-register-container .nsl-container-buttons .nsl-button {
  width: 100%;
  box-sizing: border-box;
}

.login-register-container .nsl-container-buttons a {
  display: block;
}

.login-register-container .nsl-container-buttons .nsl-button-label {
  white-space: normal;
}

@media (max-width: 575.98px) {
  .login-register-container {
    padding: 1.5rem;
  }

  .auth-form {
    padding-top: 1.5rem;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 1rem;
  }

  .login-register-container .nav-tabs {
    flex-wrap: nowrap;
  }

  .login-register-container .nav-tabs .nav-link {
    margin-right: 1rem;
    font-size: 0.9rem;
    padding: 0.75rem 0;
  }

  .auth-form .form-row.d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* =================================================================
   WooCommerce - My Account Page Styles
   ================================================================= */

/* Page title hierarchy: demote WP page title, elevate endpoint title */
body.woocommerce-account .entry-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

body.woocommerce-account .entry-title {
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

body.woocommerce-account .bonjour-account-wrapper .page-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: normal;
  color: #fff;
  margin: 0 0 2.5rem;
  line-height: 1.2;
}

/* Általános konténer a Fiókom oldalon */
body.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce {
  display: block;
}

body.woocommerce-account .bonjour-account-wrapper {
  max-width: 100%;
}

body.woocommerce-account .bonjour-account-wrapper > .row.g-5 {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
  align-items: flex-start;
  clear: both;
}

/* Navigációs menü – bordered sidebar card */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin-bottom: 0;
  background-color: #0a0a0a;
  border: 1px solid #333;
  padding: 0.5rem 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.9rem 1.5rem;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #222;
  border-left: 3px solid transparent;
  color: #aaa;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active > a {
  color: #fff;
  font-weight: 600;
  background-color: #111;
  border-left-color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: #fff;
  background-color: #111;
}

/* Tartalmi rész – bordered content card */
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  flex-grow: 1;
  background-color: #0a0a0a;
  border: 1px solid #333;
  padding: 2rem;
  font-family: sans-serif;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.7;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  margin-bottom: 1.25rem;
}

body.woocommerce-account .woocommerce-MyAccount-content p:last-of-type {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover {
  color: #ccc;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: "Times New Roman", serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Formok (cím, fiók adatai) */
body.woocommerce-account .woocommerce-MyAccount-content form {
  border: 1px solid #333;
  padding: 2rem;
  background-color: #111;
}

/* My Account – tablet / mobile stacking */
@media (max-width: 991.98px) {
  body.woocommerce-account .bonjour-account-wrapper .page-title {
    margin-bottom: 2rem;
  }

  body.woocommerce-account .bonjour-account-wrapper > .row.g-5 {
    --bs-gutter-y: 1.5rem;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 0;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 1.5rem;
  }
}

/* =================================================================
   WooCommerce - Cart & Checkout (Blocks)
   ================================================================= */

/* General layout: give Blocks sections clearer cards and spacing. */
body.bonjour-has-checkout .wc-block-cart,
body.bonjour-has-checkout .wc-block-checkout {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

body.bonjour-has-checkout .wc-block-components-checkout-step,
body.bonjour-has-checkout .wc-block-cart__totals,
body.bonjour-has-checkout .wc-block-cart-items,
body.bonjour-has-checkout .wc-block-components-panel {
  background-color: #1c1c1c;
  border: 1px solid #333;
  padding: 1.5rem;
}

/* Slight highlight for the active step (Blocks checkout steps). */
body.bonjour-has-checkout .wc-block-components-checkout-step.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
}

body.bonjour-has-checkout {
  --wc-blocks-components-color-text: #ffffff;
  --wc-blocks-components-color-text-muted: rgba(255, 255, 255, 0.7);
  --wc-blocks-components-color-background: #2a2a2a;
  --wc-blocks-components-color-border: #444444;
}

/* Form field backgrounds for better hierarchy. */
body.bonjour-has-checkout .wc-block-components-text-input input,
body.bonjour-has-checkout .wc-block-components-combobox input,
body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-combobox-control__input,
body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-form-token-field__input,
body.bonjour-has-checkout .wc-block-components-select select,
body.bonjour-has-checkout .wc-block-components-address-card,
body.bonjour-has-checkout .wc-block-components-textarea textarea,
body.bonjour-has-checkout .woocommerce form .input-text,
body.bonjour-has-checkout .woocommerce form select,
body.bonjour-has-checkout .woocommerce form textarea,
body.bonjour-has-checkout
  .wc-block-components-radio-control-accordion-content
  input[type="text"],
body.bonjour-has-checkout
  .wc-block-components-radio-control-accordion-content
  input[type="email"],
body.bonjour-has-checkout
  .wc-block-components-radio-control-accordion-content
  input[type="tel"],
body.bonjour-has-checkout
  .wc-block-components-totals-coupon
  input[type="text"] {
  background-color: #2a2a2a !important;
  border-color: #444 !important;
  color: #ffffff !important;
  text-transform: none !important;
  cursor: text !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
}

body.bonjour-has-checkout .wc-block-components-text-input input:focus,
body.bonjour-has-checkout .wc-block-components-combobox input:focus,
body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-combobox-control__input:focus,
body.bonjour-has-checkout .wc-block-components-select select:focus,
body.bonjour-has-checkout .wc-block-components-textarea textarea:focus,
body.bonjour-has-checkout .woocommerce form .input-text:focus,
body.bonjour-has-checkout .woocommerce form select:focus,
body.bonjour-has-checkout .woocommerce form textarea:focus,
body.bonjour-has-checkout
  .wc-block-components-radio-control-accordion-content
  input:focus,
body.bonjour-has-checkout
  .wc-block-components-totals-coupon
  input[type="text"]:focus {
  border-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

body.bonjour-has-checkout
  .wc-block-components-text-input
  input:-webkit-autofill,
body.bonjour-has-checkout
  .wc-block-components-text-input
  input:-webkit-autofill:hover,
body.bonjour-has-checkout
  .wc-block-components-text-input
  input:-webkit-autofill:focus,
body.bonjour-has-checkout
  .wc-block-components-textarea
  textarea:-webkit-autofill,
body.bonjour-has-checkout
  .wc-block-components-textarea
  textarea:-webkit-autofill:hover,
body.bonjour-has-checkout
  .wc-block-components-textarea
  textarea:-webkit-autofill:focus,
body.bonjour-has-checkout .woocommerce form .input-text:-webkit-autofill,
body.bonjour-has-checkout .woocommerce form .input-text:-webkit-autofill:hover,
body.bonjour-has-checkout .woocommerce form .input-text:-webkit-autofill:focus,
body.bonjour-has-checkout .woocommerce form textarea:-webkit-autofill,
body.bonjour-has-checkout .woocommerce form textarea:-webkit-autofill:hover,
body.bonjour-has-checkout .woocommerce form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px #2a2a2a inset;
  box-shadow: 0 0 0 1000px #2a2a2a inset;
  border-color: #444;
  transition: background-color 9999s ease-in-out 0s;
}

/* Error state: inline validation feedback. */
body.bonjour-has-checkout .wc-block-components-validation-error,
body.bonjour-has-checkout .woocommerce-invalid .input-text,
body.bonjour-has-checkout .woocommerce-invalid select,
body.bonjour-has-checkout .woocommerce-invalid textarea {
  border-color: #c0392b !important;
}

body.bonjour-has-checkout .wc-block-components-validation-error {
  color: #ffb3b3;
  font-size: 0.85rem;
}

/* Express checkout: make it clearly secondary, with explanation. */
body.bonjour-has-checkout .wc-block-checkout__express-payment {
  border: 1px dashed #444;
  background-color: #111111;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

body.bonjour-has-checkout .wc-block-checkout__express-payment button,
body.bonjour-has-checkout
  .wc-block-checkout__express-payment
  .components-button {
  background-color: transparent !important;
  color: #c0ffc0 !important;
  border: 1px solid #2f5132 !important;
  text-transform: none;
  font-size: 0.9rem;
}

body.bonjour-has-checkout .wc-block-checkout__express-payment::after {
  content: "Gyors fizetés adatok megadása nélkül";
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #dddddd;
}

/* Totals: emphasize the final total and improve hierarchy. */
body.bonjour-has-checkout
  .wc-block-components-totals-item.wc-block-components-totals-item--order-total {
  font-weight: 700;
  border-top: 1px solid #555;
  margin-top: 1rem;
  padding-top: 1rem;
}

body.bonjour-has-checkout
  .wc-block-components-totals-item.wc-block-components-totals-item--order-total
  .wc-block-components-totals-item__value {
  font-size: 1.2rem;
}

/* Mobile sticky summary for cart/checkout totals. */
@media (max-width: 991.98px) {
  body.bonjour-has-checkout .wc-block-cart__totals,
  body.bonjour-has-checkout
    .wc-block-checkout
    .wc-block-components-order-summary {
    position: sticky;
    bottom: 0;
    z-index: 900;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.6);
  }
}

/* Billing / address copy cues */
body.bonjour-has-checkout .wc-block-components-address-card__actions a {
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Delivery method toggle (Ship / Pickup). */
body.bonjour-has-checkout .wc-block-checkout__shipping-method-container {
  gap: 0.75rem;
}

body.bonjour-has-checkout .wc-block-checkout__shipping-method-option {
  background-color: #111 !important;
  border: 1px solid #444 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.bonjour-has-checkout .wc-block-checkout__shipping-method-option:hover {
  border-color: #666 !important;
}

body.bonjour-has-checkout .wc-block-checkout__shipping-method-option--selected,
body.bonjour-has-checkout
  .wc-block-checkout__shipping-method-option[aria-checked="true"] {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
}

body.bonjour-has-checkout
  .wc-block-checkout__shipping-method-option--selected
  .wc-block-checkout__shipping-method-option-icon,
body.bonjour-has-checkout
  .wc-block-checkout__shipping-method-option[aria-checked="true"]
  .wc-block-checkout__shipping-method-option-icon {
  fill: #000;
}

body.bonjour-has-checkout .wc-block-checkout__shipping-method-option-icon {
  fill: #fff;
}

/* Radio controls (pickup options, payment methods). */
body.bonjour-has-checkout .wc-block-components-radio-control__option {
  background-color: #111 !important;
  border: 1px solid #444 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.bonjour-has-checkout .wc-block-components-radio-control__option:hover {
  border-color: #666 !important;
}

body.bonjour-has-checkout .wc-block-components-radio-control__option--checked,
body.bonjour-has-checkout
  .wc-block-components-radio-control__option--checked-option-highlighted,
body.bonjour-has-checkout
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  background-color: #1c1c1c !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.bonjour-has-checkout .wc-block-components-radio-control__label,
body.bonjour-has-checkout .wc-block-components-radio-control__secondary-label,
body.bonjour-has-checkout .wc-block-formatted-money-amount {
  color: inherit;
}

body.bonjour-has-checkout .wc-block-components-radio-control__input {
  accent-color: #fff;
}

/* Pickup plugin (vp-woo-pont). */
body.bonjour-has-checkout .vp-woo-pont-block-list-item {
  background-color: transparent;
}

body.bonjour-has-checkout .vp-woo-pont-block-list-item-details {
  background-color: #111;
  border: 1px solid #444;
  border-top: none;
  padding: 1rem;
}

body.bonjour-has-checkout .vp-woo-pont-block-list-item-search input,
body.bonjour-has-checkout .vp-woo-pont-block-list-item-search .wrapper input {
  background-color: #2a2a2a !important;
  border: 1px solid #444 !important;
  color: #fff !important;
  border-radius: 0 !important;
  text-transform: none !important;
  cursor: text !important;
}

body.bonjour-has-checkout .vp-woo-pont-show-map.contained,
body.bonjour-has-checkout .vp-woo-pont-show-map {
  background-color: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

body.bonjour-has-checkout .vp-woo-pont-show-map.contained:hover,
body.bonjour-has-checkout .vp-woo-pont-show-map:hover {
  background-color: #fff !important;
  color: #000 !important;
}

body.bonjour-has-checkout .vp-woo-pont-show-map svg {
  stroke: currentColor;
}

/* Select dropdowns inside blocks checkout. */
body.bonjour-has-checkout .wc-blocks-components-select__select {
  background-color: #2a2a2a !important;
  border-color: #444 !important;
  color: #fff !important;
}

body.bonjour-has-checkout .wc-blocks-components-select__label {
  color: rgba(255, 255, 255, 0.7);
}

body.bonjour-has-checkout .wc-blocks-components-select__expand {
  fill: #fff;
}

/* Country / state combobox dropdown. */
body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-form-token-field__suggestions-list,
body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-form-token-field__suggestion {
  background-color: #2a2a2a !important;
  border-color: #444 !important;
  color: #fff !important;
}

body.bonjour-has-checkout
  .wc-block-components-combobox
  .components-form-token-field__suggestion.is-selected {
  background-color: #444 !important;
  color: #fff !important;
}

/* Payment method expanded content (non-iframe fields). */
body.bonjour-has-checkout .wc-block-components-radio-control-accordion-content {
  background-color: #111 !important;
  border-color: #444 !important;
  color: #fff;
}

/* Checkbox controls. */
body.bonjour-has-checkout .wc-block-components-checkbox__input {
  background-color: #2a2a2a;
  border-color: #444;
  accent-color: #fff;
}

body.bonjour-has-checkout .wc-block-components-checkbox__label {
  color: #fff;
}

/* Place order button. */
body.bonjour-has-checkout .wc-block-components-checkout-place-order-button {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

body.bonjour-has-checkout
  .wc-block-components-checkout-place-order-button:hover {
  background-color: transparent !important;
  color: #fff !important;
}

/* Trust block (added via PHP footer hook). */
.bonjour-checkout-trust {
  border-top: 1px solid #333;
}

.bonjour-checkout-trust__label {
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.bonjour-checkout-trust__list li + li {
  margin-top: 0.25rem;
}

.bonjour-checkout-trust__list li {
  color: rgba(255, 255, 255, 0.85);
}

.bonjour-checkout-trust__icons .bonjour-pay-badge {
  display: inline-block;
  background-color: #111;
  border: 1px solid #444;
  color: #fff;
  font-family: sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}

.woocommerce-MyAccount-content label {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-content .woocommerce-input-wrapper {
  margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"] {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.8rem 1rem;
  width: 100%;
}
.woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-MyAccount-content input[type="password"]:focus {
  background-color: #111;
  border-color: #fff;
  box-shadow: none;
  outline: none;
}

/* Rendelések táblázat */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  border: 1px solid #333;
  padding: 1rem;
  text-align: left;
  font-family: sans-serif;
}

.woocommerce-orders-table th {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Gombok */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-Button {
  /* Ugyanaz a stílus, mint a többi gombunknak */
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff !important; /* Fontos, hogy felülírja a WooCommerce stílusát */
  padding: 0.8rem 2.5rem;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content .woocommerce-Button:hover {
  background-color: #ffffff;
  color: #000000 !important;
}

/* Értesítések (pl. "A fiók adatai sikeresen módosítva.") */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 3px solid #fff;
  background-color: #111;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-family: sans-serif;
}
.woocommerce-error {
  border-top-color: #ff4141;
}

/* =================================================================
   Contact Page & Contact Form 7 Styles
   ================================================================= */

/* Wrapper box (matches theme's boxed sections) */
.contact-content-box {
  border: 1px solid #333;
  background-color: #0a0a0a;
}

/* General text formatting inside contact page */
.contact-text-formatting {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.6;
}

/* Contact Form 7 basic layout */
.contact-content-box .wpcf7-form p {
  margin-bottom: 1.5rem;
}

.contact-content-box .wpcf7-form label {
  display: block;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Inputs & textarea styling (match login/account forms) */
.contact-content-box .wpcf7-form input[type="text"],
.contact-content-box .wpcf7-form input[type="email"],
.contact-content-box .wpcf7-form input[type="tel"],
.contact-content-box .wpcf7-form input[type="url"],
.contact-content-box .wpcf7-form textarea {
  width: 100%;
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.8rem 1rem;
}

.contact-content-box .wpcf7-form input[type="text"]:focus,
.contact-content-box .wpcf7-form input[type="email"]:focus,
.contact-content-box .wpcf7-form input[type="tel"]:focus,
.contact-content-box .wpcf7-form input[type="url"]:focus,
.contact-content-box .wpcf7-form textarea:focus {
  background-color: #111;
  border-color: #fff;
  color: #fff;
  box-shadow: none;
  outline: none;
}

.contact-content-box .wpcf7-form textarea {
  min-height: 150px;
}

/* Submit button styling (aligned with .btn-outline-light) */
.contact-content-box .wpcf7-form input[type="submit"] {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.8rem 2.5rem;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.contact-content-box .wpcf7-form input[type="submit"]:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Validation + response messages */
.contact-content-box .wpcf7-not-valid-tip {
  color: #ff4141;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.contact-content-box .wpcf7-response-output {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-width: 1px;
  border-style: solid;
  font-family: sans-serif;
}

.contact-content-box .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #ffffff;
}

.contact-content-box .wpcf7-response-output.wpcf7-validation-errors,
.contact-content-box .wpcf7-response-output.wpcf7-spam-blocked {
  border-color: #ff4141;
}

/* Üzenetek, értesítések (pl. "Nincs rendelés") */
.woocommerce-info,
.woocommerce-message {
  border: 1px solid #333 !important;
  padding: 2rem !important;
  background-color: #0a0a0a !important;
}
.woocommerce-info::before,
.woocommerce-message::before {
  display: none !important;
}

/* Gombok */
.woocommerce-Button,
.woocommerce-button {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 0.8rem 2.5rem !important;
  text-transform: uppercase !important;
  font-family: sans-serif !important;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
}
.woocommerce-Button:hover,
.woocommerce-button:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Social Login Stílusok */
.social-login-separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #555;
  margin: 2.5rem 0;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.social-login-separator::before,
.social-login-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
}

.social-login-separator:not(:empty)::before {
  margin-right: 0.25em;
}

.social-login-separator:not(:empty)::after {
  margin-left: 0.25em;
}

/* A Nextend gomb felülírása */
.social-login-buttons .nsl-container-block {
  display: block;
}

.social-login-buttons .nsl-button {
  width: 100%;
  border-radius: 0;
  border: 1px solid #555;
  background: transparent;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.social-login-buttons .nsl-button:hover {
  border-color: #fff;
  background-color: #111;
}

.social-login-buttons .nsl-button-label {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #fff;
}

/* =================================================================
   WooCommerce - Cart / Checkout (Bonjour)
   ================================================================= */

/* Keep typography consistent with the theme body font */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-cart table,
.woocommerce-checkout table,
.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
  font-family: inherit;
}

/* Page headings */
.woocommerce-cart h1,
.woocommerce-cart h2,
.woocommerce-checkout h1,
.woocommerce-checkout h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}

/* Layout: stack on mobile, split form/totals on desktop (classic templates) */
.woocommerce-cart .woocommerce {
  display: block;
}

@media (min-width: 992px) {
  .woocommerce-cart .woocommerce {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
  }

  .woocommerce-cart .woocommerce-cart-form {
    flex: 1 1 auto;
  }

  .woocommerce-cart .cart-collaterals {
    flex: 0 0 360px;
  }
}

/* Panels */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-checkout {
  border: 1px solid #333;
  padding: 2rem;
}

/* Cart table */
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  border: 1px solid #333;
  padding: 1rem;
  text-align: left;
  font-family: sans-serif;
}

.woocommerce-cart table.shop_table th {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Inputs (coupon, shipping, checkout fields) */
.woocommerce-cart input[type="text"],
.woocommerce-cart input[type="email"],
.woocommerce-cart input[type="tel"],
.woocommerce-cart input[type="password"],
.woocommerce-cart select,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 0;
}

.woocommerce-cart input:focus,
.woocommerce-cart select:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #fff;
  box-shadow: none;
  outline: none;
}

/* Buttons (match theme buttons) */
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-checkout input.button {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff !important;
  padding: 0.8rem 2.5rem;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart input.button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout input.button:hover {
  background-color: #ffffff;
  color: #000000 !important;
}

/* IMPORTANT: quantity is hidden globally in style.css; re-enable it on cart/checkout */
.woocommerce-cart div.quantity,
.woocommerce-checkout div.quantity {
  display: inline-flex !important;
}

/* Totals table spacing */
.woocommerce-cart .cart_totals h2 {
  margin-bottom: 1.5rem;
}

.woocommerce-cart .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
  border: 1px solid #333;
  padding: 1rem;
  font-family: sans-serif;
}

/* WooCommerce Blocks (Cart / Checkout blocks) */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-main,
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-title,
.wc-block-components-totals-item,
.wc-block-components-notice-banner {
  font-family: inherit;
}

.wp-block-woocommerce-cart .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}

.wp-block-woocommerce-cart .wc-block-components-notice-banner,
.wp-block-woocommerce-checkout .wc-block-components-notice-banner {
  border: 1px solid #333;
  background-color: #111;
}

.wp-block-woocommerce-cart .wc-block-components-button,
.wp-block-woocommerce-checkout .wc-block-components-button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  font-family: sans-serif;
  letter-spacing: 1px;
}

.wp-block-woocommerce-cart .wc-block-components-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-button:hover {
  background: #fff;
  color: #000;
}

/* =============================
   Checkout (classic templates)
   ============================= */

/* Two-column layout on desktop */
.woocommerce-checkout form.checkout {
  display: block;
}

@media (min-width: 992px) {
  .woocommerce-checkout form.checkout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
  }

  .woocommerce-checkout #customer_details {
    flex: 1 1 auto;
  }

  .woocommerce-checkout #order_review {
    flex: 0 0 360px;
  }
}

/* Section titles */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}

/* Labels */
.woocommerce-checkout form.checkout label {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border: 1px solid #333;
  padding: 1rem;
  font-family: sans-serif;
}

.woocommerce-checkout-review-order-table th {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Payment box */
.woocommerce-checkout #payment {
  background: #0a0a0a;
  border: 1px solid #333;
  padding: 1.5rem;
}

.woocommerce-checkout #payment .payment_methods {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.woocommerce-checkout #payment .payment_methods li {
  border-bottom: 1px solid #222;
  padding: 1rem 0;
}

.woocommerce-checkout #payment .payment_methods li:last-child {
  border-bottom: none;
}

.woocommerce-checkout #payment .payment_method_title,
.woocommerce-checkout #payment label {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Place order button */
.woocommerce-checkout #place_order {
  width: 100%;
  display: block;
  margin-top: 1rem;
}

/* =============================
   Coupon open animation
   ============================= */

/* Classic checkout: coupon form is toggled with display:none/block; animation runs on open */
@keyframes bonjour-slide-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-cart .woocommerce-form-coupon {
  animation: bonjour-slide-fade-in 220ms ease;
}

/* Blocks: animate the coupon panel content when a helper class is toggled by JS */
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 240ms ease,
    opacity 240ms ease,
    transform 240ms ease;
}

.wc-block-components-totals-coupon.bonjour-coupon-open
  .wc-block-components-totals-coupon__form {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   WooCommerce - Single Product (Custom Template)
   ================================================================= */

/* Allow the custom template to go full-bleed (it uses .container-fluid p-0). */
.woocommerce-single-product {
  padding: 0;
}

.woocommerce-single-product .product-container {
  background: #000;
  color: #fff;
}

/* Keep form controls readable on dark background */
.woocommerce-single-product .quantity .qty,
.woocommerce-single-product select,
.woocommerce-single-product input[type="number"],
.woocommerce-single-product input[type="text"] {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 0;
}

.woocommerce-single-product .quantity .qty:focus,
.woocommerce-single-product select:focus,
.woocommerce-single-product input[type="number"]:focus,
.woocommerce-single-product input[type="text"]:focus {
  border-color: #fff;
  box-shadow: none;
  outline: none;
}

/* Accordion readability */
.woocommerce-single-product .accordion-button {
  color: #fff;
}

.woocommerce-single-product .accordion-button::after {
  filter: invert(1);
}

.woocommerce-single-product .accordion-button:focus {
  box-shadow: none;
}

/* Add to cart (single product) */
.woocommerce-single-product .bonjour-add-to-cart .single_add_to_cart_button,
.woocommerce-single-product
  .bonjour-add-to-cart
  button.single_add_to_cart_button {
  width: 100%;
  display: block;
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 0.95rem 1.25rem !important;
  text-transform: uppercase !important;
  font-family: sans-serif !important;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  .single_add_to_cart_button:hover,
.woocommerce-single-product
  .bonjour-add-to-cart
  button.single_add_to_cart_button:hover {
  background: #fff !important;
  color: #000 !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  .single_add_to_cart_button:focus,
.woocommerce-single-product
  .bonjour-add-to-cart
  button.single_add_to_cart_button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  .single_add_to_cart_button:disabled,
.woocommerce-single-product
  .bonjour-add-to-cart
  button.single_add_to_cart_button:disabled,
.woocommerce-single-product
  .bonjour-add-to-cart
  .single_add_to_cart_button.disabled,
.woocommerce-single-product
  .bonjour-add-to-cart
  button.single_add_to_cart_button.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Size / variations chooser (single product) */
.woocommerce-single-product .bonjour-add-to-cart form.variations_form.cart {
  margin: 0;
}

.woocommerce-single-product .bonjour-add-to-cart table.variations {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
}

.woocommerce-single-product .bonjour-add-to-cart table.variations tr {
  display: block;
  margin: 0 0 1rem;
}

.woocommerce-single-product .bonjour-add-to-cart table.variations td {
  display: block;
  padding: 0;
  border: 0;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.label
  label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: #fff;
}

.woocommerce-single-product .bonjour-add-to-cart table.variations td.value {
  position: relative;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.value
  select {
  width: 100%;
  display: block;
  background: #000 !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 0.95rem 3rem 0.95rem 1.25rem;
  border-radius: 0 !important;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.value::after {
  content: "▾";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
  font-size: 0.95rem;
  opacity: 0.9;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.value
  select:focus {
  border-color: #fff !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.value
  select
  option {
  color: #000 !important;
  background: #fff !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  table.variations
  td.value
  select
  optgroup {
  color: #000 !important;
  background: #fff !important;
}

/* If a plugin/theme replaces selects with Select2/SelectWoo, force readable option colors */
.woocommerce-single-product .bonjour-add-to-cart .select2-dropdown {
  background: #fff !important;
  color: #000 !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  .select2-container--default
  .select2-results__option {
  background: #fff !important;
  color: #000 !important;
}

.woocommerce-single-product
  .bonjour-add-to-cart
  .select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background: #000 !important;
  color: #fff !important;
}

.woocommerce-single-product a.reset_variations,
.woocommerce-single-product a[aria-label="Clear options"] {
  display: none !important;
  visibility: hidden !important;
}

/* =================================================================
   WooCommerce - Shop / Archive Product Page
   ================================================================= */

.woocommerce-products-header {
  margin-bottom: 2rem;
}

.woocommerce-products-header .page-title {
  margin: 0;
}

.bonjour-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.bonjour-shop-toolbar .woocommerce-result-count,
.bonjour-shop-toolbar .woocommerce-ordering {
  float: none;
  margin: 0;
}

.bonjour-shop-toolbar .woocommerce-result-count {
  font-family: sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonjour-shop-toolbar .woocommerce-ordering {
  margin-left: auto;
}

/* Order by / Sorting dropdown */
.orderby {
  padding: 0.75rem 1rem !important;
  background-color: #333333 !important;
  color: #ffffff !important;
  border: 1px solid #555555 !important;
  border-radius: 0;
  font-family: sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

label {
  color: #ffffff;
}

input[type="submit"],
input[type="button"],
input[type="reset"] {
  background-color: #111 !important;
  color: #ffffff !important;
  border: 1px solid #333 !important;
  border-radius: 0 !important;
  padding: 0.8rem 1rem !important;
  font-family: sans-serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
