/*
 * AMUI Product Fix + Account Upgrade v1.3.0
 * Ostatnia warstwa CSS. Nie rusza działającego koszyka, ale naprawia kartę produktu
 * i dodaje profesjonalny panel użytkownika WooCommerce.
 */

:root {
  --amui-account-gradient: linear-gradient(135deg, #fff7ed 0%, #ffffff 58%, #f8fafc 100%);
}

/* =========================================================
   KARTA PRODUKTU – naprawa układu Opis / Informacje dodatkowe
   ========================================================= */

body.single-product.woocommerce div.product {
  display: block !important;
  margin-top: 8px;
  overflow: visible !important;
}

body.single-product.woocommerce div.product::before,
body.single-product.woocommerce div.product::after,
body.single-product.woocommerce .amui-product-main::before,
body.single-product.woocommerce .amui-product-main::after {
  content: none !important;
  display: none !important;
}

body.single-product.woocommerce .amui-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
  gap: 24px;
  align-items: start;
  width: 100%;
  clear: both;
}

body.single-product.woocommerce .amui-product-main > .onsale {
  z-index: 5;
}

body.single-product.woocommerce .amui-product-main > div.images,
body.single-product.woocommerce .amui-product-main > div.summary {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  grid-area: auto !important;
}

body.single-product.woocommerce .amui-product-main > div.images {
  position: relative !important;
  top: auto !important;
  align-self: start;
  z-index: 1;
}

body.single-product.woocommerce .amui-product-main > div.summary {
  position: sticky !important;
  top: 98px !important;
  align-self: start;
  z-index: 2;
}

/* Galeria: karta bez wchodzenia w sekcję opisu */
body.single-product.woocommerce .amui-product-main > div.images .woocommerce-product-gallery {
  margin-bottom: 0 !important;
}

body.single-product.woocommerce .amui-product-main > div.images .flex-viewport {
  border-radius: 20px;
  background: #ffffff;
}

body.single-product.woocommerce .amui-product-main > div.images .flex-control-thumbs {
  position: relative;
  z-index: 2;
  margin-top: 14px !important;
}

/* Zakładki zawsze pod górną sekcją produktu, a nie nad zdjęciem */
body.single-product.woocommerce div.product .woocommerce-tabs {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
  grid-area: auto !important;
  position: relative !important;
  z-index: 0;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
  padding: 10px 10px 0 !important;
  border: 1px solid var(--amui-product-line, #e5e7eb) !important;
  border-bottom: 0 !important;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  overflow: visible !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  content: none !important;
  display: none !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
  float: none !important;
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: transparent !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: none !important;
  display: none !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center;
  min-height: 42px;
  padding: 0 14px !important;
  border-radius: 14px 14px 0 0;
  color: var(--amui-muted, #6b7280) !important;
  font-size: 14px;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  background: var(--amui-accent-soft, #fff3eb);
  color: var(--amui-accent-dark, #e04f00) !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs .panel,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: clamp(20px, 3vw, 34px) !important;
  border: 1px solid var(--amui-product-line, #e5e7eb) !important;
  border-radius: 0 0 24px 24px;
  background: #ffffff !important;
  box-shadow: var(--amui-product-soft-shadow, 0 14px 42px rgba(15, 23, 42, .08));
  color: #374151;
  line-height: 1.75;
  overflow: hidden;
}

body.single-product.woocommerce div.product .woocommerce-tabs .panel > *:first-child,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel > *:first-child {
  margin-top: 0 !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs .panel > *:last-child,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel > *:last-child {
  margin-bottom: 0 !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs .panel h2,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel h2 {
  margin: 0 0 14px !important;
  color: var(--amui-text, #1f2937);
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.15;
  letter-spacing: -.025em;
}

body.single-product.woocommerce div.product table.shop_attributes {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product.woocommerce div.product table.shop_attributes tr {
  background: #f8fafc;
}

body.single-product.woocommerce div.product table.shop_attributes th,
body.single-product.woocommerce div.product table.shop_attributes td {
  padding: 14px 16px !important;
  border: 0 !important;
  background: #f8fafc !important;
  vertical-align: middle;
}

body.single-product.woocommerce div.product table.shop_attributes th {
  width: 34%;
  border-radius: 14px 0 0 14px;
  color: var(--amui-text, #1f2937);
  font-weight: 950;
}

body.single-product.woocommerce div.product table.shop_attributes td {
  border-radius: 0 14px 14px 0;
  color: #4b5563;
  font-style: normal !important;
}

body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description ul,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description ol {
  padding-left: 20px;
}

body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description li + li {
  margin-top: 5px;
}

/* =========================================================
   PANEL UŻYTKOWNIKA – profesjonalny layout konta WooCommerce
   ========================================================= */

body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .ast-woocommerce-container > .woocommerce {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

body.woocommerce-account .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .amui-account-hero,
body.woocommerce-account .u-columns,
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
  grid-column: 1 / -1;
}

.amui-account-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--amui-line, #e5e7eb);
  border-radius: 26px;
  background: var(--amui-account-gradient);
  box-shadow: var(--amui-shadow, 0 10px 30px rgba(15, 23, 42, .08));
}

.amui-account-hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--amui-accent-soft, #fff3eb);
  color: var(--amui-accent-dark, #e04f00);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.amui-account-hero__title {
  margin: 0;
  color: var(--amui-text, #1f2937);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.amui-account-hero__text {
  max-width: 640px;
  margin: 9px 0 0;
  color: var(--amui-muted, #6b7280);
  font-size: 14px;
}

.amui-account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.amui-account-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--amui-line, #e5e7eb);
  border-radius: 999px;
  background: #ffffff;
  color: var(--amui-text, #1f2937) !important;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.amui-account-hero__btn--primary {
  border-color: transparent;
  background: var(--amui-accent, #ff5a00);
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(255, 90, 0, .24);
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  grid-column: 1;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid var(--amui-line, #e5e7eb) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: var(--amui-shadow, 0 10px 30px rgba(15, 23, 42, .08)) !important;
  position: sticky;
  top: 96px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: grid !important;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 10px !important;
  border-radius: 16px !important;
  color: var(--amui-text, #1f2937) !important;
  font-size: 14px;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--amui-muted, #6b7280);
  font-size: 16px;
  line-height: 1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "⌂"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "📦"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before { content: "↓"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "📍"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a::before { content: "💳"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "👤"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "↪"; }

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--amui-accent-soft, #fff3eb) !important;
  color: var(--amui-accent-dark, #e04f00) !important;
  transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover::before {
  background: #ffffff;
  color: var(--amui-accent-dark, #e04f00);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  grid-column: 2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid var(--amui-line, #e5e7eb) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: var(--amui-shadow, 0 10px 30px rgba(15, 23, 42, .08)) !important;
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  color: #4b5563;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.amui-account-tile) {
  color: var(--amui-accent-dark, #e04f00);
  font-weight: 800;
}

.amui-account-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.amui-account-tile {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--amui-line, #e5e7eb);
  border-radius: 18px;
  background: #ffffff;
  color: var(--amui-text, #1f2937) !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.amui-account-tile:hover {
  border-color: rgba(255, 90, 0, .28);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}

.amui-account-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--amui-accent-soft, #fff3eb);
  color: var(--amui-accent-dark, #e04f00);
  font-size: 20px;
}

.amui-account-tile__body strong {
  display: block;
  color: var(--amui-text, #1f2937);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.amui-account-tile__body small {
  display: block;
  margin-top: 3px;
  color: var(--amui-muted, #6b7280);
  font-size: 12px;
  line-height: 1.35;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content legend {
  color: var(--amui-text, #1f2937);
  font-weight: 950;
  letter-spacing: -.02em;
}

body.woocommerce-account table.shop_table {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  background: transparent !important;
}

body.woocommerce-account table.shop_table thead th {
  padding: 0 14px 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--amui-muted, #6b7280);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
}

body.woocommerce-account table.shop_table tbody tr,
body.woocommerce-account table.shop_table tfoot tr {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

body.woocommerce-account table.shop_table td,
body.woocommerce-account table.shop_table th {
  padding: 14px !important;
  border-top: 1px solid var(--amui-line, #e5e7eb) !important;
  border-bottom: 1px solid var(--amui-line, #e5e7eb) !important;
  background: #ffffff !important;
}

body.woocommerce-account table.shop_table tbody tr td:first-child,
body.woocommerce-account table.shop_table tfoot tr th:first-child,
body.woocommerce-account table.shop_table tfoot tr td:first-child {
  border-left: 1px solid var(--amui-line, #e5e7eb) !important;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

body.woocommerce-account table.shop_table tbody tr td:last-child,
body.woocommerce-account table.shop_table tfoot tr td:last-child,
body.woocommerce-account table.shop_table tfoot tr th:last-child {
  border-right: 1px solid var(--amui-line, #e5e7eb) !important;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--amui-accent-soft, #fff3eb);
  color: var(--amui-accent-dark, #e04f00) !important;
  font-weight: 950;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-Button.button {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.woocommerce-account .woocommerce-Address {
  padding: 18px;
  border: 1px solid var(--amui-line, #e5e7eb);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

body.woocommerce-account .woocommerce-Address header.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.woocommerce-account .woocommerce-Address header.title h3 {
  margin: 0;
  font-size: 18px;
}

body.woocommerce-account address {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #4b5563;
  line-height: 1.65;
}

body.woocommerce-account form.edit-account,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account .woocommerce-EditAccountForm {
  max-width: 820px;
}

body.woocommerce-account fieldset {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--amui-line, #e5e7eb);
  border-radius: 20px;
  background: #f8fafc;
}

body.woocommerce-account fieldset legend {
  padding: 0 8px;
  color: var(--amui-text, #1f2937);
}

/* Logowanie / rejestracja konta */
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
body.woocommerce-account:not(.logged-in) .ast-woocommerce-container > .woocommerce {
  display: block;
}

body.woocommerce-account:not(.logged-in) .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.woocommerce-account:not(.logged-in) .u-column1,
body.woocommerce-account:not(.logged-in) .u-column2,
body.woocommerce-account:not(.logged-in) form.login,
body.woocommerce-account:not(.logged-in) form.register {
  float: none !important;
  width: auto !important;
}

body.woocommerce-account:not(.logged-in) form.login,
body.woocommerce-account:not(.logged-in) form.register {
  height: 100%;
  border-radius: 24px !important;
  box-shadow: var(--amui-shadow, 0 10px 30px rgba(15, 23, 42, .08)) !important;
}

body.woocommerce-account:not(.logged-in) h2 {
  margin-top: 0;
  color: var(--amui-text, #1f2937);
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.03em;
}

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 1120px) {
  body.single-product.woocommerce .amui-product-main {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 18px;
  }

  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .ast-woocommerce-container > .woocommerce {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 921px) {
  body.single-product.woocommerce .amui-product-main {
    display: block !important;
  }

  body.single-product.woocommerce .amui-product-main > div.images,
  body.single-product.woocommerce .amui-product-main > div.summary {
    position: relative !important;
    top: auto !important;
    margin-bottom: 16px !important;
  }

  body.single-product.woocommerce div.product .woocommerce-tabs {
    margin-top: 16px !important;
  }

  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .ast-woocommerce-container > .woocommerce {
    display: block;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    position: relative;
    top: auto;
    width: 100% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 16px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amui-account-hero {
    grid-template-columns: 1fr;
  }

  .amui-account-hero__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
  }

  body.single-product.woocommerce div.product table.shop_attributes,
  body.single-product.woocommerce div.product table.shop_attributes tbody,
  body.single-product.woocommerce div.product table.shop_attributes tr,
  body.single-product.woocommerce div.product table.shop_attributes th,
  body.single-product.woocommerce div.product table.shop_attributes td {
    display: block !important;
    width: 100% !important;
  }

  body.single-product.woocommerce div.product table.shop_attributes th,
  body.single-product.woocommerce div.product table.shop_attributes td {
    border-radius: 14px !important;
  }

  body.single-product.woocommerce div.product table.shop_attributes td {
    margin-top: -6px;
    padding-top: 0 !important;
  }

  .amui-account-dashboard-grid,
  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account:not(.logged-in) .u-columns {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account table.shop_table,
  body.woocommerce-account table.shop_table tbody,
  body.woocommerce-account table.shop_table tr,
  body.woocommerce-account table.shop_table td {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-account table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-account table.shop_table tbody tr {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--amui-line, #e5e7eb);
    border-radius: 20px;
    background: #ffffff;
  }

  body.woocommerce-account table.shop_table td,
  body.woocommerce-account table.shop_table th {
    padding: 8px 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-account table.shop_table td::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 3px;
    color: var(--amui-muted, #6b7280);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .02em;
  }

  body.woocommerce-account table.shop_table tbody tr td:first-child,
  body.woocommerce-account table.shop_table tbody tr td:last-child {
    border: 0 !important;
    border-radius: 0;
  }
}

@media (max-width: 544px) {
  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 8px 8px 0 !important;
    border-radius: 18px 18px 0 0;
  }

  body.single-product.woocommerce div.product .woocommerce-tabs .panel,
  body.single-product.woocommerce div.product .woocommerce-Tabs-panel,
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content,
  .amui-account-hero {
    border-radius: 18px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .amui-account-hero__actions,
  .amui-account-hero__btn {
    width: 100%;
  }

  .amui-account-tile {
    grid-template-columns: 42px 1fr;
    padding: 13px;
  }

  .amui-account-tile__icon {
    width: 42px;
    height: 42px;
  }
}
