/*
Theme Name: Astra Child
Template: astra
*/

header.site-header, .elementor-location-header {
  background: rgba(255, 255, 255, 0.213);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* PRODUCT GRID IMAGES – keep layout intact, contain images */
.woocommerce ul.products li.product img,
.shopengine-product img {
  width: 100%;
  height: auto;              /* let WooCommerce handle height */
  max-height: 260px;         /* limit tall images */
  object-fit: contain;       /* keep full image visible */
  object-position: center;
  display: block;
  margin: 0 auto;
  background: #ffffff;
  padding: 8px;              /* optional – white frame */
}

/* SINGLE PRODUCT MAIN IMAGE – mildly constrained */
.shopengine-single-product-images .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  max-height: 480px;         /* adjust as you like */
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
}
/* Remove dotted outline from Astra menu items */
.main-header-menu .menu-link:focus,
.main-header-menu .menu-link:active,
.main-header-menu .menu-link:hover {
    outline: none !important;
    box-shadow: none !important;
}

.main-header-menu .menu-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Card link wrapper */
.card-link * {
  position: relative;
  z-index: 2 !important;
}

.card-link {
  position: relative;
  z-index: 1;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9999;
  cursor: pointer;
  background: transparent;
}

/* SHOP PAGE & ALL WOOCOMMERCE ARCHIVE BANNERS — BLUR ONLY BACKGROUND */
.woocommerce-shop .ast-archive-entry-banner,
.post-type-archive-product .ast-archive-entry-banner,
.tax-product_cat .ast-archive-entry-banner,
.tax-product_tag .ast-archive-entry-banner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

/* Background image + blur applied ONLY here */
.woocommerce-shop .ast-archive-entry-banner::before,
.post-type-archive-product .ast-archive-entry-banner::before,
.tax-product_cat .ast-archive-entry-banner::before,
.tax-product_tag .ast-archive-entry-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background-image: url("https://vteam.gr/wp-content/uploads/2025/11/fd7c9e7b-c575-4a37-81d3-d2b4edacd466.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(4px);       /* blur applied only to background */
    transform: scale(1.05);  /* prevents blur edge clipping */
}

/* Dark overlay */
.woocommerce-shop .ast-archive-entry-banner::after,
.post-type-archive-product .ast-archive-entry-banner::after,
.tax-product_cat .ast-archive-entry-banner::after,
.tax-product_tag .ast-archive-entry-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background: rgba(0,0,0,0.4); /* adjust */
}

/* Keep H1 text sharp above the overlays */
.woocommerce-shop .ast-archive-entry-banner h1,
.post-type-archive-product .ast-archive-entry-banner h1,
.tax-product_cat .ast-archive-entry-banner h1,
.tax-product_tag .ast-archive-entry-banner h1 {
    position: relative;
    z-index: 3;
}


.woocommerce ul.products li.product .star-rating {
    display: none !important;
}

/* Text color inside WPC Filters widget */
.wpc-filters-widget-wrapper,
.wpc-filters-widget-wrapper a,
.wpc-filters-widget-wrapper label,
.wpc-filters-widget-wrapper li {
    color: #666666 !important;   /* medium grey */
}

/* Search input styling */
.wpc-filter-layout-search-field input[type="search"],
.wpc-filter-layout-search-field input[type="text"] {
    border-radius: 5px !important;
    border: 1px solid #cccccc !important;
    padding: 6px 10px;
    color: #444444;
}

/* Optional: focus effect */
.wpc-filter-layout-search-field input:focus {
    outline: none;
    border-color: #888888;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}


/* Force uniform image size in product grids */
.woocommerce ul.products li.product img,
.shopengine-product img {
  width: 100%;
  height: 250px !important; /* adjust to your preferred height */
  object-fit: contain;
  object-position: center;
}

/* Fix ShopEngine Single Product Image scale for Astra */
.woocommerce div.product div.images img,
.shopengine-single-product-images img {
  width: 100%;
  height: 200px;
  max-width: 400px; /* adjust to fit your layout */
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Ensure gallery thumbnails keep consistent sizing */
.woocommerce div.product div.thumbnails img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Prevent Elementor or Astra global image rules from stretching it */
.elementor-widget-woocommerce-product-images img {
  height: 200px !important;
  max-width: 100% !important;
}

/* --- Fix ShopEngine image wrapper size --- */
.shopengine-single-product-images,
.shopengine-single-product-images .woocommerce-product-gallery,
.shopengine-single-product-images .woocommerce-product-gallery__wrapper {
  width: 100%;
  max-width: 400px; /* adjust as needed */
  margin: 0 auto;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Make sure the image scales inside the wrapper --- */
.shopengine-single-product-images img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* --- Prevent Elementor editor from reserving huge space --- */
.elementor-edit-mode .shopengine-single-product-images {
  min-height: auto !important;
  height: auto !important;
}

/* Force font size for archive banner H1 */
.ast-archive-entry-banner[data-post-type="product"] .ast-container h1 {
  font-size: 30px !important; /* adjust as needed */
  line-height: 1.2;
  font-weight: 700;
}

/* Subtle scale-up effect on product hover */
.woocommerce ul.products li.product {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*Scale product items on hover */
.woocommerce ul.products li.product:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 2;
  position: relative;
}

/*Fix astra container override on Accounts page */


/* Force full-width layout for pages 1315, 1316, 1317, 1318 */
body.page-id-1314 .site-content > .ast-container,
body.page-id-1315 .site-content > .ast-container,
body.page-id-1316 .site-content > .ast-container,
body.page-id-1317 .site-content > .ast-container,
body.page-id-1318 .site-content > .ast-container,
body.page-id-3 .site-content > .ast-container,
body.page-id-1793 .site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page-id-1314 .site-content .entry-content,
body.page-id-1315 .site-content .entry-content,
body.page-id-1316 .site-content .entry-content,
body.page-id-1317 .site-content .entry-content,
body.page-id-3 .site-content .entry-content,
body.page-id-1793 .site-content .entry-content{
  padding: 0 !important;
  margin: 0 !important;
}

/* Stretch only Elementor top section (not the Astra header) */
body.page-id-1314 .site-content .elementor-section.elementor-top-section,
body.page-id-1315 .site-content .elementor-section.elementor-top-section,
body.page-id-1316 .site-content .elementor-section.elementor-top-section,
body.page-id-1317 .site-content .elementor-section.elementor-top-section,
body.page-id-3 .site-content .elementor-section.elementor-top-section,
body.page-id-1793 .site-content .elementor-section.elementor-top-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

/* ============================================================
   V TEAM USER DASHBOARD – SIDEBAR LAYOUT
   ============================================================ */

/* Overall Page Background */
body.page-id-218,
.user-registration-MyAccount-content {
  background: linear-gradient(180deg, rgba(7, 36, 73, 0.08) 0%, rgba(255, 255, 255, 0.95) 40%, #ffffff 100%);
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--ast-global-color-2);
  min-height: 100vh;
  padding: 2rem 0;
}

/* Wrapper Layout */
.ur-dashboard-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  align-items: stretch;
  min-height: 100%;
  backdrop-filter: blur(6px);
}

/* ============================================================
   SIDEBAR MENU
   ============================================================ */
.ur-dashboard-menu {
  width: 260px;
  background: linear-gradient(180deg, #0b2c5a 0%, #104072 100%);
  color: var(--ast-global-color-5);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  border-radius: 14px 0 0 14px;
}

.ur-dashboard-menu h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.ur-dashboard-menu button {
  background: transparent;
  border: none;
  color: var(--ast-global-color-5);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.ur-dashboard-menu button i,
.ur-dashboard-menu button svg {
  font-size: 1.1rem;
  color: var(--ast-global-color-5);
  opacity: 0.8;
}

.ur-dashboard-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ur-dashboard-menu button.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Logout button at bottom */
.ur-dashboard-menu .logout {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ast-global-color-5);
}
.ur-dashboard-menu .logout:hover {
  background: var(--ast-global-color-1);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.ur-dashboard-content {
  flex: 1;
  padding: 2.5rem 3rem;
  display: block;
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.95);
}

.ur-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ur-tab-inner > * {
  width: 100%;
  max-width: 100%;
}

/* Center form elements */
.ur-tab form,
.ur-tab .user-registration-EditProfileForm,
.ur-tab .user-registration-EditPasswordForm {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.ur-tab form .form-row,
.ur-tab .user-registration-EditProfileForm .form-row,
.ur-tab .user-registration-EditPasswordForm .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.ur-tab form label,
.ur-tab .user-registration-EditProfileForm label,
.ur-tab .user-registration-EditPasswordForm label {
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.ur-tab form input[type="text"],
.ur-tab form input[type="email"],
.ur-tab form input[type="password"],
.ur-tab .user-registration-EditProfileForm input,
.ur-tab .user-registration-EditPasswordForm input {
  text-align: center;
}

.ur-tab form button[type="submit"],
.ur-tab .user-registration-EditProfileForm button[type="submit"],
.ur-tab .user-registration-EditPasswordForm button[type="submit"] {
  display: block;
  margin: 1rem auto 0;
}

/* Section content */
.ur-tab {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.ur-tab.active {
  display: block;
}

.ur-tab h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0b2c5a;
  border-bottom: 2px solid rgba(11, 44, 90, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Address cards */
.ur-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.ur-address-card {
  background: var(--ast-global-color-4);
  border: 1px solid var(--ast-global-color-6);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.ur-address-card:hover {
  transform: translateY(-2px);
  border-color: var(--ast-global-color-0);
  box-shadow: 0 3px 10px rgba(0, 103, 255, 0.1);
}

.ur-address-form-wrapper {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(11, 44, 90, 0.04);
  border-radius: 12px;
  display: none;
}

.ur-address-form-wrapper.is-open {
  display: block;
}

.ur-address-form {
  display: grid;
  gap: 1rem;
}

.ur-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ur-form-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b2c5a;
}

.ur-form-field input,
.ur-form-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ast-global-color-6);
  border-radius: 8px;
  background: var(--ast-global-color-5);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ur-form-field input:focus,
.ur-form-field select:focus {
  border-color: var(--ast-global-color-0);
  box-shadow: 0 0 0 2px rgba(0, 103, 255, 0.18);
  outline: none;
}

.ur-required {
  color: #dc3545;
  margin-left: 0.2rem;
}

.ur-field-error {
  display: none;
  font-size: 0.8rem;
  color: #dc3545;
}

.ur-address-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: stretch;
}

.ur-address-form .ur-btn-primary,
.ur-address-form .ur-btn-secondary {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.ur-address-form .ur-btn-primary {
  background: var(--ast-global-color-0);
  color: #fff;
  border: none;
  box-shadow: 0 6px 12px rgba(0, 103, 255, 0.2);
}

.ur-address-form .ur-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 103, 255, 0.25);
  background: var(--ast-global-color-1);
}

.ur-address-form .ur-btn-secondary {
  background: var(--ast-global-color-5);
  color: var(--ast-global-color-0);
  border: 1px solid var(--ast-global-color-0);
  box-shadow: none;
}

.ur-address-form .ur-btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(0, 103, 255, 0.08);
  box-shadow: 0 6px 12px rgba(0, 103, 255, 0.15);
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ast-global-color-6);
  border-radius: 8px;
  background: var(--ast-global-color-5);
  font-size: 0.95rem;
  transition: all 0.2s;
}
input:focus {
  border-color: var(--ast-global-color-0);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 103, 255, 0.1);
}

/* Save buttons */
button[type="submit"],
.ur-btn-link {
  background: var(--ast-global-color-0);
  color: var(--ast-global-color-5) !important;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
button[type="submit"]:hover,
.ur-btn-link:hover {
  background: var(--ast-global-color-1);
  box-shadow: 0 3px 10px rgba(0, 103, 255, 0.3);
}

/* Orders list */
.ur-orders {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.ur-order-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 44, 90, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 44, 90, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ur-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11, 44, 90, 0.12);
}

.ur-order-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ur-order-card__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: #0f2f56;
  font-weight: 500;
}

.ur-order-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ur-order-toggle {
  background: #0b2c5a;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 44, 90, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ur-order-toggle:hover {
  transform: translateY(-1px);
  background: #11437d;
  box-shadow: 0 10px 24px rgba(17, 67, 125, 0.25);
}

.ur-order-details {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(11, 44, 90, 0.1);
  padding-top: 1.25rem;
  display: none;
}

.ur-order-details[hidden] {
  display: none !important;
}

.ur-order-details__inner {
  display: grid;
  gap: 1.5rem;
}

.ur-order-items {
  display: grid;
  gap: 0.75rem;
}

.ur-order-items__head,
.ur-order-items__row {
  display: grid;
  grid-template-columns: 2.5fr 0.8fr 1fr;
  gap: 0.75rem;
  align-items: center;
}

.ur-order-items__head {
  font-weight: 600;
  color: #0b2c5a;
  border-bottom: 1px solid rgba(11, 44, 90, 0.15);
  padding-bottom: 0.5rem;
}

.ur-order-items__row {
  background: rgba(15, 47, 86, 0.04);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-weight: 500;
  color: #1d2d3f;
}

.ur-order-totals {
  display: grid;
  gap: 0.6rem;
}

.ur-order-totals__row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #0f2f56;
}

.ur-order-address address {
  font-style: normal;
  line-height: 1.6;
  color: #1d2d3f;
}

.ur-order-note p {
  margin: 0;
  color: #1d2d3f;
}

.ur-sidenav-logo {
  width: 100%;
  padding: 0 0 1.5rem;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.ur-sidenav-logo img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

.ur-dashboard-cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem auto 2.5rem;
  width: 100%;
}

.ur-dashboard-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: #0b2c5a;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(11, 44, 90, 0.2);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.ur-dashboard-cta:hover {
  background: #11437d;
  box-shadow: 0 12px 28px rgba(17, 67, 125, 0.25);
  transform: translateY(-1px);
}

.ur-dashboard-cta--ghost {
  background: transparent;
  color: #0b2c5a !important;
  border-color: rgba(11, 44, 90, 0.3);
  box-shadow: 0 4px 16px rgba(11, 44, 90, 0.08);
}

.ur-dashboard-cta--ghost:hover {
  background: rgba(11, 44, 90, 0.08);
  border-color: rgba(11, 44, 90, 0.45);
  color: #0b2c5a !important;
}

/* Payment methods */
.ur-payment-methods {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.ur-payment-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(11, 44, 90, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(11, 44, 90, 0.08);
}

.ur-payment-method__info h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0b2c5a;
}

.ur-payment-method__info p {
  margin: 0.35rem 0 0;
  color: #1d2d3f;
}

.ur-payment-method__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 67, 125, 0.12);
  color: #11437d;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.ur-payment-method__remove {
  background: none;
  border: 1px solid rgba(200, 24, 24, 0.65);
  color: #c81818;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ur-payment-method__remove:hover {
  background: rgba(200, 24, 24, 0.08);
  color: #a01010;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 900px) {
  .ur-dashboard-wrapper {
    flex-direction: column;
  }
  .ur-dashboard-menu {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ur-dashboard-content {
    padding: 2rem;
  }
}

/* ============================================================
   ADDRESS MODALS
   ============================================================ */
.ur-address-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.ur-address-modal.active {
  display: block;
}

.ur-address-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.ur-address-modal__content {
  position: relative;
  background: var(--ast-global-color-5);
  max-width: 500px;
  width: 90%;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  max-height: 90vh;
  overflow-y: auto;
}

.ur-address-modal__content h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.ur-address-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #777;
  transition: color 0.2s;
  z-index: 10001;
}

.ur-address-modal__close:hover {
  color: #000;
}

.ur-address-modal .ur-form-field {
  margin-bottom: 1rem;
}

.ur-address-modal .ur-form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.ur-address-modal input[type="text"],
.ur-address-modal input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  text-align: center;
  box-sizing: border-box;
}

.ur-address-modal input[type="text"]:focus,
.ur-address-modal input[type="email"]:focus {
  outline: none;
  border-color: var(--ast-global-color-0);
  box-shadow: 0 0 0 2px rgba(0, 103, 255, 0.1);
}

.ur-address-modal input[type="text"].error,
.ur-address-modal input[type="email"].error {
  border-color: #dc3545;
}

.ur-address-modal .ur-field-error {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  text-align: center;
  font-weight: 500;
}

.ur-address-modal .ur-field-error:not(:empty) {
  display: block;
}

/* ============================================================
   6. SMALL IMPROVEMENTS
   ============================================================ */
.ur-tab p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
}

.ur-addresses h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.ur-notice {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.ur-notice-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.ur-notice-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.ur-dashboard-wrapper h2,
.ur-dashboard-wrapper h3,
.ur-dashboard-wrapper h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

@media (max-width: 768px) {
  .ur-dashboard-menu {
    flex-direction: column;
    align-items: center;
  }
  .ur-dashboard-wrapper {
    padding: 1.5rem;
  }
}


/* Κρύψε το default navigation του plugin */
.user-registration-MyAccount-navigation { display: none; }

.ur-frontend-form.login {
  width: 30em;
  max-width: 100%;
  margin: 3rem auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* Remove the extra outer box from User Registration's wrapper */
.user-registration-MyAccount-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

body.page-id-1316 {
  background: linear-gradient(180deg, #f8fbff 0%, #e8eef9 100%);
}

/* Let the MyAccount wrapper follow content height (no fixed/min-height) */
.user-registration-MyAccount-content {
  height: auto !important;
  min-height: 0 !important;
}

/* Also ensure our inner dashboard wrapper is not forced taller than its content */
.user-registration-MyAccount-content .ur-dashboard-wrapper {
  height: auto !important;
  min-height: 0 !important;
}




