/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for the Hello Elementor theme.
Author: Your Name
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* =============================================================================
   0. CSS VARIABLES
   ============================================================================= */

:root {
  --primary-pink: #e16fa3;
  --secondary-purple: #7d49a6;

  --lighter-pink: #e1b2c7;
  --lighter-purple: #aa84c7;

  /* Nav: hover + active / ancestor link & caret color (black at 80% opacity) */
  --nav-text-accent: var(--secondary-purple);

  /* Hello Elementor mobile sheet: horizontal rule between rows */
  --nav-mobile-row-divider: rgba(0, 0, 0, 0.102);

  /* Shop mobile sub-menu: 15% lighter than primary */
  --shop-submenu-bg: color-mix(in srgb, var(--primary-pink) 85%, white);

  /*
   * Main content min-height: viewport minus “chrome” below the paint area.
   * Tune --layout-footer-reserve to match your real footer (tall footers / mobile wrap).
   * If the column runs under the header, add --layout-header-reserve (e.g. 6rem) to the calc.
   */
  --layout-footer-reserve: 10rem;
  --layout-header-reserve: 7.75rem;
}

/* =============================================================================
   1. SITE LAYOUT — content column fills viewport minus reserved footer (and optional header)
   * ============================================================================= */

main#content,
main.site-main,
#primary.content-area,
#primary > .content-area {
  min-height: calc(
    100vh - var(--layout-footer-reserve) - var(--layout-header-reserve)
  );
  min-height: calc(
    100dvh - var(--layout-footer-reserve) - var(--layout-header-reserve)
  );
}

/* Cart: short/empty cart — WC’s inner .woocommerce often doesn’t inherit the full main height */
body.woocommerce-cart .woocommerce {
  min-height: calc(
    100vh - var(--layout-footer-reserve) - var(--layout-header-reserve)
  );
  min-height: calc(
    100dvh - var(--layout-footer-reserve) - var(--layout-header-reserve)
  );
}

/* =============================================================================
      2. SITE HEADER, BRANDING & NAVIGATION
      ============================================================================= */

#site-header {
  background-color: var(--primary-pink);
  padding: 0.75rem 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  position: relative;
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/*
    * Many themes center the header row between ~992px and ~1200px (narrow “desktop”).
    * Keep branding left + nav right like wide screens. Does not apply at ≤992px where
    * the hamburger layout should win, or at ≥1200px where the theme is usually fine.
    */
@media screen and (min-width: 993px) and (max-width: 1199.98px) {
  #site-header {
    justify-content: space-between !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
  }

  #site-header .header-inner {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  .site-branding {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto;
    text-align: left !important;
  }

  #site-header .site-navigation {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* If the theme wraps the header row in a centered max-width container */
  #site-header .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-logo img {
  height: 100px;
  width: auto;
}

/* Stack title + slogan vertically */
.site-description.show {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  line-height: 1.2;
}

/* \A = line break in CSS content; pre-line makes it render (same string, wrap after ...) */
.site-description.show::after {
  content: "For the love of cats...\A And all the stuff they inspire!";
  display: block;
  white-space: pre-line;
  font-size: 12px;
  margin-top: 0.2rem;
  max-width: 200px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/*
    * ALEX HERE
    * ≤1023px: themes often shrink header title/tagline — restore readable size & rhythm.
    * Scoped to .site-branding only; does not target .site-navigation-toggle / dropdown.
    */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  #site-header .site-branding .site-title,
  #site-header .site-branding .site-title a,
  #site-header .site-branding .wp-block-site-title,
  #site-header .site-branding .wp-block-site-title a {
    font-size: clamp(1.35rem, 2.8vw, 1.7rem) !important;
    line-height: 1.2 !important;
  }

  /* Undo WP's 1024px breakpoint shrink for the main tagline */
  #site-header .site-branding .site-description,
  #site-header .site-branding .wp-block-site-tagline {
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  #site-header .site-description.show::after {
    font-size: 12px !important;
    margin-top: 0.2rem !important;
    max-width: 200px;
    letter-spacing: 0 !important;
  }
}

/* Mobile: tighten branding (title 18px, logo 80x80, hide injected tagline) */
@media screen and (max-width: 600px) {
  #site-header .site-branding .site-title,
  #site-header .site-branding .site-title a,
  #site-header .site-branding .wp-block-site-title,
  #site-header .site-branding .wp-block-site-title a {
    font-size: 18px !important;
  }

  #site-header {
    padding: 1rem 0.5rem;
  }

  .site-logo img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
  }

  #site-header .site-description.show::after {
    display: none !important;
    content: none !important;
  }
}

.site-navigation {
  flex-shrink: 0;
}

/* Main menu (desktop) — gap = even spacing between items; li flex = link + caret aligned */
#site-header .site-navigation.show ul.menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Main menu (desktop) - adjust space between caret and link dropdown */
.menu-item-has-children a {
  padding-right: 1rem !important;
}

/* Top-level row: link + dropdown caret (::after) share one flex item group */
#site-header .site-navigation.show ul.menu > li {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  column-gap: 0.35rem;
}

#site-header .site-navigation.show ul.menu > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
}

#site-header .site-navigation.show ul.menu li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

#site-header .site-navigation.show ul.menu li a:hover {
  color: var(--secondary-purple);
}

#site-header .site-navigation.show ul.menu li.current-menu-item > a,
#site-header .site-navigation.show ul.menu li.current_page_item > a,
#site-header .site-navigation.show ul.menu li.current-menu-ancestor > a {
  color: var(--secondary-purple);
  /* Underline bar — reads clearly without relying on font-weight */
  box-shadow: inset 0 -3px 0 0 var(--secondary-purple);
}

/* Desktop: caret matches active / ancestor link color */
#site-header .site-navigation.show ul.menu > li.menu-item-has-children.current-menu-ancestor::after,
#site-header .site-navigation.show ul.menu > li.menu-item-has-children.current-menu-item::after {
  color: var(--secondary-purple) !important;
}

#site-header .site-navigation.show ul.menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-pink);
  padding: 0.5rem 0;
  border-radius: 0;
  box-shadow: none;
}

#site-header .site-navigation.show ul.menu li ul.sub-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: white;
  font-weight: bold;
}

#site-header .site-navigation.show ul.menu li ul.sub-menu li.current-menu-item > a,
#site-header .site-navigation.show ul.menu li ul.sub-menu li.current_page_item > a,
#site-header .site-navigation.show ul.menu li ul.sub-menu li.current-menu-ancestor > a {
  color: var(--secondary-purple);
  box-shadow: inset 6px 0 0 0 var(--secondary-purple);
}

/* Caret sits beside the link; flex column-gap on li separates label from caret */
.site-navigation ul.menu > li.menu-item-has-children::after {
  color: white !important;
  flex-shrink: 0;
  line-height: 1;
  pointer-events: none;
}

#site-header .site-navigation.show ul.menu li:hover ul.sub-menu {
  display: block;
}

#site-header .site-navigation.show ul.menu li ul.sub-menu li a:hover {
  color: var(--secondary-purple);
}

.site-navigation-toggle {
  display: block;
  color: white !important;
}

.site-navigation-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--primary-pink) !important;
}

.site-navigation-dropdown ul.menu li a {
  display: block;
  padding: 1rem 0;
  color: var(--primary-pink);
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 990px) {
  .site-navigation-dropdown.show {
    display: block;
    margin: unset !important;
  }

  /* Ensure dropdown menu text is centered (override theme defaults) */
  .site-navigation-dropdown.show ul.menu,
  .site-navigation-dropdown.show ul.menu li,
  .site-navigation-dropdown.show ul.menu li a {
    text-align: center;
  }

  /*
   * Hello Elementor uses scaleY() on each nested <li> — looks like “blinds”.
   * Disable that and expand the whole .sub-menu with max-height instead.
   */
  #site-header .site-navigation-dropdown ul.menu > li li {
    max-height: none !important;
    transform: none !important;
    transition: none !important;
  }

  #site-header .site-navigation-dropdown ul.menu li.elementor-active > ul > li {
    max-height: none !important;
    transform: none !important;
    transition: none !important;
  }

  #site-header .site-navigation-dropdown .menu-item-has-children > .sub-menu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
  }

  #site-header .site-navigation-dropdown .menu-item-has-children.elementor-active > .sub-menu {
    max-height: 100vh;
  }
}
/* ALEX HERE */



/* All mobile menu items (same row dividers as Hello theme default) */
#site-header .site-navigation-dropdown .menu .menu-item a {
  background-color: var(--primary-pink) !important;
  color: white !important;
  box-shadow: inset 0 -1px 0 var(--nav-mobile-row-divider);
}

/* Mobile sheet: hover (keyboard / fine pointer) */
#site-header .site-navigation-dropdown .menu .menu-item a:hover {
  color: var(--secondary-purple) !important;
}

/* Mobile sheet: active / current trail — row divider + thick left bar */
#site-header .site-navigation-dropdown .menu li.current-menu-item > a,
#site-header .site-navigation-dropdown .menu li.current_page_item > a,
#site-header .site-navigation-dropdown .menu li.current-menu-ancestor > a {
  color: var(--secondary-purple) !important;
  box-shadow:
    inset 0 -1px 0 var(--nav-mobile-row-divider),
    inset 6px 0 0 0 var(--secondary-purple);
}

#site-header .site-navigation-dropdown .menu-item-has-children.current-menu-ancestor > a::after,
#site-header .site-navigation-dropdown .menu-item-has-children.current-menu-item > a::after,
#site-header .site-navigation-dropdown .menu-item-has-children.current_page_item > a::after {
  color: var(--secondary-purple) !important;
}

#site-header .site-navigation-dropdown .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 0.5rem;
  color: white !important;
  flex-shrink: 0;
  line-height: 1;
  pointer-events: none;

}

/* Mobile nested dropdown (Shop) — lighter band + same row dividers */
#site-header .site-navigation-dropdown .menu .menu-item .sub-menu li a {
  background-color: var(--shop-submenu-bg) !important;
  color: white !important;
  transition: background-color 0.3s ease-in-out;
  box-shadow: inset 0 -1px 0 var(--nav-mobile-row-divider);
}

#site-header .site-navigation-dropdown .menu .menu-item .sub-menu li a:hover {
  color: var(--secondary-purple) !important;
}

/* Submenu active — match specificity of .sub-menu li a white rule above */
#site-header .site-navigation-dropdown .menu .menu-item .sub-menu li.current-menu-item > a,
#site-header .site-navigation-dropdown .menu .menu-item .sub-menu li.current_page_item > a,
#site-header .site-navigation-dropdown .menu .menu-item .sub-menu li.current-menu-ancestor > a {
  color: var(--secondary-purple) !important;
  box-shadow:
    inset 0 -1px 0 var(--nav-mobile-row-divider),
    inset 6px 0 0 0 var(--secondary-purple);
}

/* =============================================================================
      3. WOOCOMMERCE — GLOBAL (applies wherever these classes appear)
      ============================================================================= */

.woocommerce-breadcrumb {
  display: none;
}

.woocommerce-products-header__title {
  font-size: 38px !important;
}

/* Broad: every .price on the site unless a more specific rule wins */
.price {
  color: black !important;
}

/* Notices & messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.woocommerce-message {
  background-color: #f9f0f6;
  border-color: var(--primary-pink);
  color: #333;
}

.woocommerce-error {
  background-color: #fff1f3;
  border-color: #d63638;
  color: #333;
}

.woocommerce-info {
  background-color: #f4f0ff;
  border-color: #9b6fc0;
  color: #333;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none;
}

.woocommerce-notices-wrapper {
  margin-top: 0.5rem;
}

.added_to_cart {
  padding: 1rem;
}

/* =============================================================================
      4. SHOP / ARCHIVE — PRODUCT LOOP
      ============================================================================= */

ul.products.columns-6 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  flex: 1 1 calc(20% - 1.6rem);
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-bottom: 1rem !important;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0;
  width: 100%;
  height: 100%;
}

ul.products li.product img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0.8rem;
}

ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0.4rem 0;
  min-height: 3rem;
}

ul.products li.product .price {
  color: var(--primary-pink);
  font-weight: bold;
  margin-top: auto;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product a img {
  margin: unset !important;
}

.woocommerce ul.products li.product .onsale {
  background-color: var(--primary-pink) !important;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 0.25rem 0.9rem;
  border-top-right-radius: 12px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
}

.product .add_to_cart_button {
  width: 100%;
  background-color: #9b6fc0 !important;
  color: white !important;
  transition: background-color 0.3s ease;
}

.product .add_to_cart_button:hover {
  background-color: #bb85e6 !important;
}

.add_to_cart_button {
  text-align: center;
}

/* =============================================================================
      5. PRODUCT CATEGORIES (ARCHIVE)
      ============================================================================= */

ul.products li.product > a .count {
  background-color: transparent;
}

/*
    * Horizontal category strip: WooCommerce shortcode "columns" adds % widths + row margins
    * on li (e.g. .columns-4 → last-in-row margins). That breaks even gaps when you force
    * nowrap + scroll. Reset margins/width here; spacing comes only from gap — not from
    * cranking the shortcode column count.
    */
.woocommerce ul.products:has(li.product-category),
ul.products:has(li.product-category) {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.woocommerce ul.products:has(li.product-category) li.product-category,
ul.products:has(li.product-category) li.product-category {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  float: none !important;
  clear: none !important;
  width: 220px !important;
  min-width: 220px;
  max-width: 220px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Match product card: full-width column link, image bleeds to card edges */
ul.products li.product-category > a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  text-decoration: none;
  text-align: center;
}

ul.products li.product-category img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  flex-shrink: 0;
}

.woocommerce ul.products li.product-category a img {
  margin: unset !important;
}

ul.products li.product-category h2.woocommerce-loop-category__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0.75rem 0.75rem 1rem !important;
}

.product-category {
  margin-top: 1rem !important;
}

ul.products li.product-category:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

ul.products::-webkit-scrollbar {
  height: 8px;
}

ul.products::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 6px;
}

/* =============================================================================
      6. SINGLE PRODUCT PAGE
      ============================================================================= */

.woocommerce div.product {
  margin-top: 2rem;
}

.woocommerce div.product .product_title {
  font-size: 38px;
}

.single-product .onsale {
  background-color: var(--primary-pink) !important;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 0.5rem 0.75rem !important;
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 0;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: auto;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
}

.woocommerce-tabs .wc-tabs-wrapper h2,
#tab-additional_information h2,
.woocommerce-tabs h2 {
  display: none !important;
}

.tabs.wc-tabs {
  margin: unset !important;
}

.woocommerce-tabs #tab-description {
  padding-top: 1rem !important;
}

.woocommerce-product-attributes tbody {
  border-bottom: 1px solid #cfc8d8;
}

.woocommerce-product-attributes td {
  vertical-align: middle;
  padding-left: 0.5rem !important;
  font-style: unset !important;
}

/* =============================================================================
      7. CART
      ============================================================================= */

.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  background: #ffffff;
}

.woocommerce table.shop_table thead th {
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.woocommerce table.shop_table td {
  padding: 12px !important;
  vertical-align: middle;
}

.woocommerce table.shop_table tbody tr:hover {
  background: #fafafa;
}

.woocommerce .product-thumbnail {
  text-align: center;
}

.woocommerce .product-thumbnail img {
  width: 100px !important;
  height: auto;
}

.woocommerce .product-name a {
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 18px !important;
}

.woocommerce .product-price,
.woocommerce .product-subtotal {
  font-weight: 500 !important;
  font-size: 16px !important;
}

.woocommerce .quantity input.qty {
  width: 55px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ddd;
}

.woocommerce .actions .button {
  padding: 10px 16px;
  font-weight: 600;
}

.woocommerce a.remove {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px;
  line-height: 0 !important;
  color: #888 !important;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce a.remove:hover {
  color: #fff !important;
  background: #d63638;
  border-color: #d63638;
}

@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr.cart_item td {
    background: #fff !important;
  }

  .woocommerce table.shop_table_responsive tr.cart_item td:first-child {
    background: hsla(0, 0%, 50%, 0.102) !important;
  }
}

.cart-collaterals {
  display: flex !important;
}

.cart_totals h2 {
  font-size: 38px !important;
}

.cart_totals td,
.cart_totals th {
  font-weight: 500 !important;
  font-size: 18px !important;
}

@media (max-width: 767px) {
  .cart_totals h2 {
    font-size: 20px !important;
  }
}

/* =============================================================================
      8. CHECKOUT (WOOCOMMERCE BLOCKS)
      ============================================================================= */

.wc-block-components-product-name {
  font-size: 20px !important;
}

.wc-block-components-product-price__value {
  font-weight: bold;
}

/* =============================================================================
      9. MY ACCOUNT
      ============================================================================= */

.woocommerce-account .woocommerce {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 220px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin-bottom: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  background: #f7f7f7;
  color: inherit;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  transition:
    color 0.25s ease-in-out,
    background-color 0.25s ease-in-out;
  color: white !important;
  background-color: var(--primary-pink) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active {
  font-weight: bold;
}

.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1;
}

.woocommerce-account table.shop_table {
  border-collapse: collapse;
  width: 100%;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.woocommerce-account .button {
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
}

.woocommerce-account form .form-row {
  margin-bottom: 1rem;
}

.woocommerce-account input,
.woocommerce-account select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  width: 100%;
}

.woocommerce-orders-table__cell-order-actions a {
  margin-right: 0.3rem !important;
  margin-bottom: 0.3rem !important;
}

.woocommerce-orders-table tr:hover {
  background-color: unset !important;
}

@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

  .woocommerce-account .woocommerce::before {
    content: unset !important;
  }

  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
    margin-top: 0.6rem;
  }

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

/* =============================================================================
      10. ORDER RECEIVED / THANK YOU
      ============================================================================= */

.woocommerce-order {
  max-width: 900px;
  margin: 0 auto;
}

.woocommerce-order .woocommerce-notice {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #f6f6f6;
  margin-bottom: 1.5rem;
}

.woocommerce-order .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  list-style: none;
  background: #fafafa;
  border-radius: 6px;
}

.woocommerce-order .woocommerce-order-overview li {
  font-size: 0.9rem;
}

.woocommerce-order .woocommerce-order-overview strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.woocommerce-order section {
  margin-top: 2rem;
}

.woocommerce-order h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.woocommerce-order table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
  padding: 0.6rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.woocommerce-order table.shop_table td:last-child,
.woocommerce-order table.shop_table th:last-child {
  text-align: right;
}

.woocommerce-order .woocommerce-bacs-bank-details {
  padding: 1rem;
  background: #fafafa;
  border-radius: 6px;
}

.woocommerce-order .woocommerce-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.woocommerce-order .woocommerce-column {
  flex: 1;
  min-width: 250px;
}

.woocommerce-order address {
  font-style: normal;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .woocommerce-order .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

.woocommerce-order-overview::before {
  display: none !important;
}

.woocommerce-bacs-bank-details ul.order_details {
  margin-bottom: 0.5rem !important;
  padding-left: unset !important;
}

/* =============================================================================
     11. SITE FOOTER
     ============================================================================= */

#site-footer.site-footer {
  width: 100%;
}

#site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  flex-wrap: nowrap;
}

/* Center column takes available space between left and right */
#site-footer nav.site-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

#site-footer nav.site-navigation ul.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

/* Drop-in 3-zone footer layout without HTML changes:
   * - li[1] ("Email Us") stays left via margin-right:auto
   * - li[2..4] are centered as a group via auto-margins on first/last of the group
   * - .copyright is right aligned in its own flex item
   */
#site-footer nav.site-navigation ul.menu > li:first-child {
  margin-right: auto;
}

#site-footer nav.site-navigation ul.menu > li:nth-child(2) {
  margin-left: auto;
}

#site-footer nav.site-navigation ul.menu > li:nth-child(4) {
  margin-right: auto;
}

#site-footer nav.site-navigation ul.menu a {
  text-decoration: none;
}

#site-footer .copyright {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

#site-footer .copyright p {
  margin: 0;
}

/* Responsive: stack and center on small screens */
@media (max-width: 700px) {
  #site-footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
  }

  #site-footer nav.site-navigation {
    width: 100%;
  }

  #site-footer nav.site-navigation ul.menu {
    width: auto;
    justify-content: center;
  }

  #site-footer nav.site-navigation ul.menu > li:first-child,
  #site-footer nav.site-navigation ul.menu > li:nth-child(2),
  #site-footer nav.site-navigation ul.menu > li:nth-child(4) {
    margin-left: 0;
    margin-right: 0;
  }

  #site-footer .copyright {
    margin-left: 0;
    text-align: center;
  }
}
