/* Scope everything to this wrapper */
article > .woocommerce {
  font-family: "TestSohne-Kraftig", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* -----------------------------
   NAVIGATION
------------------------------ */

.woocommerce-MyAccount-navigation {
  flex-shrink: 0;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
}

/* Hide default scrollbar on WebKit (optional) */
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
  height: 4px;
}
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar-thumb {
  background: #d3d3d3;
  border-radius: 9999px;
}

/* Each nav item */
.woocommerce-MyAccount-navigation-link {
  white-space: nowrap;
}

/* Links style */
.woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: #222222;
  background-color: #f7f7f7;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

.woocommerce-MyAccount-navigation-link a:hover,
.woocommerce-MyAccount-navigation-link a:focus {
  background-color: #eaeaea;
  border-color: #dddddd;
  outline: none;
  transform: translateY(-1px);
}

/* Active / current link */
.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation-link a[aria-current="page"] {
  background-color: #262626;
  color: #ffffff;
  border-color: #000000;
}

/* -----------------------------
   CONTENT AREA
------------------------------ */

.woocommerce-MyAccount-content {
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
  padding: 20px 18px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.6;
  color: #222222;
}

.woocommerce-MyAccount-content a {
  color: #000000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.woocommerce-MyAccount-content a:hover {
  text-decoration-thickness: 2px;
}

/* Optional: spacing for paragraphs */
.woocommerce-MyAccount-content p {
  margin-top: 0;
  margin-bottom: 12px;
}

/* -----------------------------
   DESKTOP / LARGER SCREENS
------------------------------ */

@media (min-width: 768px) {
  .woocommerce {
    /* flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 20px; */
  }

  .woocommerce-MyAccount-navigation {
    width: 230px;
  }

  .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    overflow-x: visible;
  }

  .woocommerce-MyAccount-navigation-link a {
    width: 100%;
  }

  .woocommerce-MyAccount-content {
    flex: 1;
    padding: 24px 24px;
  }
}

/* -----------------------------
   Page title
------------------------------ */
.entry-header {
  text-align: center;
}

.entry-header .entry-title {
  margin: 0 auto;
  font-size: 2rem;
  font-family: RightGrotesk-Medium;
  text-transform: capitalize;
  text-align: inherit; /* inherits center from parent */
}



/* -----------------------------
   Orders Table
------------------------------ */
.woocommerce-orders-table, .woocommerce-table {
	width: 100%;
}

.woocommerce-orders-table td, .woocommerce-orders-table th, .woocommerce-table td, .woocommerce-table th {
	text-align: left;
}


/* -----------------------------
   Ajax
------------------------------ */
.added_to_cart {
	display: none;
}


/* Woocommerce Shop Page Pagination */

/* Center the pagination */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

/* UL styling */
.woocommerce-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Center LI items */
.woocommerce-pagination .page-numbers li {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base square buttons */
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid #d6d6d6;
    border-radius: 4px; /* slight rounding for modern feel */

    background-color: #fff;
    color: #222;

    font-size: 14px;
    font-family: TestSohne-Kraftig, sans-serif;

    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

/* Hover effect */
.woocommerce-pagination .page-numbers a:hover {
    background-color: #fafafa;
    border-color: #262626;
    color: #262626;
}

/* Current page */
.woocommerce-pagination .page-numbers .current {
    background-color: #262626;
    border-color: #262626;
    color: #fff;
}

/* Next arrow */
.woocommerce-pagination .page-numbers .next {
    font-size: 18px;
    font-weight: bold;
}

/* Woocommerce Wrapper */
/* Wrapper spacing */
.woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

/* Base notice styles */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    display: flex;
    align-items: center;
    padding: 14px 18px;

    border: 1px solid #e0e0e0;
    border-radius: 6px;

    font-size: 14px;
    font-family: TestSohne-Kraftig, sans-serif;

    background-color: #f9f9f9;
    color: #1e1e1e;

    margin-bottom: 12px;
    line-height: 1.5;

    animation: fadeIn 0.3s ease forwards;
}

/* Success */
.woocommerce-notices-wrapper .woocommerce-message {
    border-color: #2ecc71;
    background-color: #effff4;
    color: #1f8c4a;
}

/* Error */
.woocommerce-notices-wrapper .woocommerce-error {
    border-color: #e74c3c;
    background-color: #fff1f0;
    color: #c0392b;
}

/* Info */
.woocommerce-notices-wrapper .woocommerce-info {
    border-color: #3498db;
    background-color: #eef7ff;
    color: #216a94;
}

/* Remove default list bullets (Woo adds UL for errors) */
.woocommerce-notices-wrapper ul {
    margin: 0;
    padding-left: 0;
}

.woocommerce-notices-wrapper ul li {
    list-style: none;
}

/* Dismiss button (if used by plugins) */
.woocommerce-notices-wrapper .woocommerce-notice__dismiss {
    margin-left: auto;
    cursor: pointer;
    padding-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.woocommerce-notices-wrapper .woocommerce-notice__dismiss:hover {
    opacity: 1;
}

/* Smooth fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* Checkout page */
.wc-block-components-button {
  background-color: #FC7643;
  color: #ffffff;
}