/**
 * WooCommerce — full carbon-ink brand surface
 * Shop · product · cart · checkout · account
 */

/* ——— Page shell ——— */
body.sr-woo-surface,
body.woocommerce-page,
body.woocommerce {
  background: #0e1013;
  color: #fff;
}

.sr-woo .sr-container {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.sr-woo .woocommerce-products-header__title,
.sr-woo .page-title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 1.25rem;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
  color: #6e747b;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: #ffd200;
}

/* ——— Notices ——— */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews {
  background: #121417 !important;
  color: #fff !important;
  border-top: 3px solid #ffd200 !important;
  border-radius: 2px;
}

.woocommerce-error {
  border-top-color: #c44 !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  color: #ffd200 !important;
}

.woocommerce-info a,
.woocommerce-message a {
  color: #ffd200;
}

/* ——— Buttons ——— */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
  background: #ffd200 !important;
  color: #121417 !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
  box-shadow: none !important;
  padding: 0.75rem 1.25rem !important;
  opacity: 1 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  filter: brightness(1.06);
}

.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled {
  opacity: 0.45 !important;
}

.woocommerce a.remove {
  color: #6e747b !important;
}

.woocommerce a.remove:hover {
  color: #c44 !important;
  background: transparent !important;
}

/* ——— Shop grid ——— */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto !important;
  margin: 0 !important;
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 2px;
}

.woocommerce ul.products li.product a img {
  margin: 0 0 0.85rem;
  border-radius: 2px;
  background: #0e1013;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #ffd200;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  font-weight: 400;
}

.woocommerce span.onsale {
  background: #ffd200;
  color: #121417;
  border-radius: 2px;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  min-height: auto;
  line-height: 1.2;
  padding: 0.35rem 0.5rem;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 1px solid #20242a;
  background: #121417;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: #fff;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #ffd200;
  color: #121417;
}

@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ——— Single product ——— */
.woocommerce div.product {
  margin-bottom: 2rem;
}

.woocommerce div.product .product_title {
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1rem;
  border-bottom: 1px solid #20242a;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0 1rem 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #6e747b;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: #ffd200;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: transparent;
  border-bottom: 2px solid #ffd200;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  border: 1px solid #20242a;
  opacity: 0.7;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: #ffd200;
}

.woocommerce div.product form.cart {
  margin: 1.25rem 0;
}

.woocommerce div.product form.cart .quantity .qty {
  background: #0e1013;
  border: 1px solid #20242a;
  color: #fff;
  border-radius: 2px;
  width: 4rem;
  padding: 0.55rem;
}

.woocommerce div.product .product_meta {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #6e747b;
  border-top: 1px solid #20242a;
  padding-top: 1rem;
}

.woocommerce div.product .product_meta a {
  color: #c9ccd1;
}

.sr-woo-specs {
  margin: 1.25rem 0 1.5rem;
  max-width: 28rem;
}

.sr-woo-specs dt {
  color: #6e747b;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sr-woo-specs dd {
  color: #fff;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

/* Related */
.woocommerce .related > h2,
.woocommerce .upsells > h2 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.35rem;
}

/* ——— Forms / fields ——— */
.woocommerce form .form-row label,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  color: rgba(255, 255, 255, 0.85);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection,
.select2-container--default .select2-selection--single {
  background: #0e1013 !important;
  border: 1px solid #20242a !important;
  color: #fff !important;
  border-radius: 2px !important;
  min-height: 42px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  line-height: 40px !important;
}

.select2-dropdown {
  background: #121417 !important;
  border-color: #20242a !important;
  color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: #ffd200 !important;
  color: #121417 !important;
}

/* ——— Cart ——— */
.woocommerce table.shop_table {
  border: 1px solid #20242a;
  border-radius: 2px;
  background: #121417;
  color: #fff;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: #20242a !important;
  color: #fff;
}

.woocommerce table.shop_table th {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e747b !important;
  font-weight: 400;
}

.woocommerce-cart table.cart img {
  width: 64px;
  border-radius: 2px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: #121417;
  border: 1px solid #20242a;
  padding: 1.25rem;
  border-radius: 2px;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.woocommerce-cart .cart-collaterals .cart_totals .order-total .amount {
  color: #ffd200;
  font-family: "Space Mono", ui-monospace, monospace;
}

/* ——— Checkout ——— */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  color: #fff;
}

.woocommerce-checkout #order_review {
  background: #121417;
  border: 1px solid #20242a;
  padding: 1.25rem;
  border-radius: 2px;
}

.woocommerce-checkout #payment {
  background: #0e1013;
  border-radius: 2px;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: #20242a;
  background: transparent;
}

.woocommerce-checkout #payment div.payment_box {
  background: #121417;
  color: rgba(255, 255, 255, 0.78);
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #121417 !important;
}

.woocommerce-checkout-review-order-table .order-total .amount {
  color: #ffd200;
  font-family: "Space Mono", ui-monospace, monospace;
}

/* ——— Account ——— */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #121417;
  border: 1px solid #20242a;
  border-radius: 2px;
  padding: 0.5rem 0;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: #c9ccd1;
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: #ffd200;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #121417;
  border: 1px solid #20242a;
  border-radius: 2px;
  padding: 1.25rem;
}

/* ——— Order received ——— */
.woocommerce-order {
  color: rgba(255, 255, 255, 0.85);
}

.woocommerce-order .woocommerce-order-overview {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}
