/* ==========================================================================
   Retrobörse — WooCommerce Dark Overrides
   Styles WooCommerce elements to match the dark theme
   ========================================================================== */

/* ── General ─────────────────────────────────────────────────────────────── */

.woocommerce,
.woocommerce-page {
  color: var(--text-secondary);
}

/* ── Notices ─────────────────────────────────────────────────────────────── */

.woocommerce-notices-wrapper { margin-bottom: 32px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid var(--accent);
  list-style: none;
}

.woocommerce-error { border-left-color: #e55; }
.woocommerce-message::before,
.woocommerce-info::before { display: none; }

/* ── Product loop ────────────────────────────────────────────────────────── */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 188, 15, 0.3);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s;
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 20px 8px;
  line-height: 1.3;
}

.woocommerce ul.products li.product .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--text);
  padding: 0 20px 20px;
  display: block;
}

.woocommerce ul.products li.product .price del { opacity: 0.4; font-size: 18px; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--accent); }

/* ── Badges ──────────────────────────────────────────────────────────────── */

.woocommerce span.onsale {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: #000;
  border-radius: 100px;
  padding: 4px 10px;
  top: 12px;
  left: 12px;
  min-height: auto;
  min-width: auto;
  line-height: 1.2;
}

/* ── Add to cart button ──────────────────────────────────────────────────── */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--surface);
  border-color: rgba(155, 188, 15, 0.4);
  color: var(--text);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #payment #place_order {
  background: var(--accent);
  color: #000;
  border-color: transparent;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #payment #place_order:hover {
  background: var(--accent);
  opacity: 0.85;
  box-shadow: 0 0 24px var(--accent-glow);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */

.woocommerce .woocommerce-breadcrumb,
.rb-breadcrumb {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.woocommerce .woocommerce-breadcrumb a,
.rb-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.rb-breadcrumb a:hover { color: var(--accent); }

/* WooCommerce outputs breadcrumb twice on some setups — hide the duplicate */
.woocommerce .woocommerce-breadcrumb ~ .woocommerce-breadcrumb {
  display: none;
}

/* ── Single product ──────────────────────────────────────────────────────── */

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 48px 0;
  /* prevent overflow on small screens */
  min-width: 0;
}

/* ── Product gallery ─────────────────────────────────────────────────────── */

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-width: 0;
}

/* Main image */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  display: block;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
  display: block;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Thumbnails: horizontal strip below main image */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  list-style: none;
  margin: 0;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
  width: calc(25% - 6px);
  flex-shrink: 0;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s;
  border: 1px solid transparent;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: var(--accent);
}

.woocommerce div.product .summary {
  padding-top: 8px;
}

.woocommerce div.product .product_title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 24px;
}

.woocommerce div.product p.price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}

.woocommerce div.product p.price del { opacity: 0.4; font-size: 32px; }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product .product_meta {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.woocommerce div.product .product_meta a { color: var(--text-secondary); transition: color 0.2s; }
.woocommerce div.product .product_meta a:hover { color: var(--accent); }

/* ── Variation dropdowns ─────────────────────────────────────────────────── */

.woocommerce div.product table.variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.woocommerce div.product table.variations tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.woocommerce div.product table.variations td,
.woocommerce div.product table.variations th {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  vertical-align: top;
  border: none;
}

.woocommerce div.product table.variations .label label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.woocommerce div.product table.variations td.value select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}

.woocommerce div.product table.variations td.value select:focus {
  border-color: var(--accent);
}

.woocommerce div.product .reset_variations {
  display: inline-block;
  font-size: 11px;
  font-family: 'Syne Mono', monospace;
  color: var(--text-muted);
  margin-top: 4px;
  transition: color 0.2s;
}

.woocommerce div.product .reset_variations:hover { color: var(--accent); }

/* ── Quantity input */
.woocommerce .quantity input.qty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  width: 80px;
  outline: none;
}

/* ── Tabs ────────────────────────────────────────────────────────────────── */

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs .tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs .tabs li {
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs .tabs li a {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.woocommerce div.product .woocommerce-tabs .tabs li.active a {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs .tabs li a:hover {
  color: var(--text);
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── Reviews ─────────────────────────────────────────────────────────────── */

.woocommerce #reviews #comments ol.commentlist {
  list-style: none;
  padding: 0;
}

.woocommerce #reviews #comments ol.commentlist .comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.woocommerce #reviews #comments ol.commentlist .meta {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
}

/* Stars */
.woocommerce .star-rating span::before { color: var(--accent); }
.woocommerce .star-rating::before      { color: rgba(155, 188, 15, 0.2); }

/* ── Cart ────────────────────────────────────────────────────────────────── */

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.woocommerce table.shop_table td {
  padding: 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.woocommerce table.shop_table td.product-name a:hover { color: var(--accent); }

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--text);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #000;
  background: var(--accent);
  border-radius: 100px;
  padding: 16px 40px;
  display: block;
  text-align: center;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  opacity: 0.88;
  box-shadow: 0 0 28px var(--accent-glow);
}

/* Cart totals */
.woocommerce .cart_totals h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── Checkout ────────────────────────────────────────────────────────────── */

.woocommerce-checkout form.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-areas:
    "details review-heading"
    "details review";
  gap: 0 48px;
  align-items: start;
}

.woocommerce-checkout form.woocommerce-checkout #customer_details {
  grid-area: details;
}

.woocommerce-checkout form.woocommerce-checkout #order_review_heading {
  grid-area: review-heading;
}

.woocommerce-checkout form.woocommerce-checkout #order_review {
  grid-area: review;
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Section headings */
.woocommerce-checkout h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Form rows */
.woocommerce form .form-row {
  margin-bottom: 16px;
}

.woocommerce form .form-row label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: rgba(155, 188, 15, 0.5) !important;
}

/* Select2 dropdown (country/state) */
.woocommerce .select2-container .select2-selection--single {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  height: 46px !important;
  display: flex;
  align-items: center;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--text) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 0 16px !important;
  line-height: 46px !important;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 12px !important;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: var(--text-muted) transparent transparent transparent !important;
}

.select2-dropdown {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5) !important;
}

.select2-results__option {
  color: var(--text-secondary) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 16px !important;
}

.select2-results__option--highlighted,
.select2-results__option[aria-selected="true"] {
  background: var(--surface2) !important;
  color: var(--text) !important;
}

.select2-search--dropdown .select2-search__field {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px;
  color: var(--text) !important;
  padding: 8px 12px;
  outline: none;
}

/* ── Order review (right column) ─────────────────────────────────────────── */

#order_review_heading {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

#order_review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

table.shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  text-align: left;
}

table.shop_table.woocommerce-checkout-review-order-table th {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.shop_table.woocommerce-checkout-review-order-table .product-name {
  color: var(--text);
}

table.shop_table.woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr td,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr th {
  color: var(--text-secondary);
}

table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total th,
table.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
}

/* ── Payment methods ─────────────────────────────────────────────────────── */

#payment {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#payment ul.payment_methods li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.2s;
}

#payment ul.payment_methods li:has(input:checked) {
  border-color: var(--accent);
}

#payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

#payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#payment ul.payment_methods li img {
  height: 24px;
  width: auto;
  opacity: 0.8;
}

#payment .payment_box {
  background: var(--surface2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

#payment .payment_box p { margin: 0; }

/* ── Order confirm ───────────────────────────────────────────────────────── */

.woocommerce-order-received .woocommerce-thankyou-order-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

/* ── My Account ──────────────────────────────────────────────────────────── */

/* Flex row: sidebar left, content right */
.woocommerce-account .woocommerce {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.woocommerce-MyAccount-navigation {
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
}

/* Hide Downloads tab */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads {
  display: none;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  color: var(--text);
  background: var(--surface2);
}

.woocommerce-MyAccount-navigation li:last-child a { border-bottom: none; }

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

/* ── Shop toolbar (sorting, result count) ────────────────────────────────── */

.woocommerce-ordering select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}

.woocommerce-ordering select:hover { border-color: rgba(155, 188, 15, 0.3); }

.woocommerce-result-count {
  font-family: 'Syne Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Prevent any WooCommerce content from causing horizontal scroll */
  .woocommerce,
  .woocommerce-page,
  .rb-main--woo,
  .rb-main--single-product {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .rb-main--woo .rb-container,
  .rb-main--single-product .rb-container {
    padding: 0 20px;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 0;
  }

  .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(33.333% - 6px);
  }

  .woocommerce-checkout form.woocommerce-checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "details"
      "review-heading"
      "review";
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received .woocommerce-thankyou-order-details {
    grid-template-columns: 1fr 1fr;
  }

  /* My Account: stack on mobile */
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }
}
