/* SMALL BATCH — SHOP AND PRODUCT STYLING */

/* Center the WooCommerce content */
body.woocommerce #container {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
  min-height: 65vh;
  float: none;
}

body.woocommerce #container #content {
  width: 100%;
  margin: 0;
  float: none;
}

/* Hide the default shop sidebar */
body.woocommerce #sidebar,
body.woocommerce #secondary {
  display: none;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
  color: #bdbdbd;
  font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 32px;
}

/* Page and product headings */
.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title {
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

/* Product description */
.woocommerce .woocommerce-product-details__short-description {
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Prices */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: #ff7847;
  font-size: 24px;
  font-weight: 700;
}

.woocommerce .price ins {
  text-decoration: none;
}

/* Product image */
.woocommerce div.product div.images img {
  border-radius: 18px;
}

.woocommerce div.product div.images {
  margin-bottom: 36px;
}

/* Keep the placeholder from dominating the page */
.woocommerce div.product div.images img.woocommerce-placeholder {
  max-height: 460px;
  object-fit: contain;
  background: #e9e9e9;
}

/* Product purchase panel */
.woocommerce div.product div.summary {
  box-sizing: border-box;
  padding: 32px;
  background: #171717;
  border: 1px solid #333;
  border-radius: 18px;
}

/* Variation table */
.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 24px;
  border: 0;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
}

.woocommerce div.product form.cart .variations label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Readable dropdowns, including the opened options */
.woocommerce div.product form.cart .variations select,
.woocommerce .woocommerce-ordering select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #666;
  border-radius: 8px;
  background-color: #fff !important;
  color: #111 !important;
  -webkit-text-fill-color: #111;
  color-scheme: light;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  opacity: 1;
}

.woocommerce select option {
  background: #fff !important;
  color: #111 !important;
}

.woocommerce div.product form.cart .variations select:focus {
  outline: 2px solid #ff7847;
  outline-offset: 3px;
}

.woocommerce div.product .reset_variations {
  display: inline-block;
  margin-top: 10px;
  color: #c9c9c9;
  font-size: 13px;
}

/* Quantity field */
.woocommerce .quantity .qty {
  box-sizing: border-box;
  width: 76px;
  min-height: 52px;
  padding: 10px;
  border: 1px solid #666;
  border-radius: 8px;
  background: #fff;
  color: #111;
  -webkit-text-fill-color: #111;
  font-size: 16px;
}

.woocommerce div.product form.cart div.quantity {
  margin-right: 12px;
}

/* Orange action 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 {
  box-sizing: border-box;
  min-height: 48px;
  padding: 15px 24px;
  border: 1px solid #ff5a1f;
  border-radius: 8px;
  background: #ff5a1f;
  color: #111;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #ff7847;
  border-color: #ff7847;
  color: #111;
}

.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled] {
  background: #ff5a1f;
  color: #111;
  opacity: 0.5;
}

.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Variation price and description */
.woocommerce .woocommerce-variation-price {
  margin-bottom: 18px;
}

.woocommerce .woocommerce-variation-description {
  color: #d0d0d0;
  line-height: 1.7;
}

/* Confirmation and other notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  box-sizing: border-box;
  background: #1c1c1c;
  color: #fff;
  border-top-color: #ff5a1f;
  border-radius: 8px;
  line-height: 1.7;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
  color: #ff7847;
}

.woocommerce .woocommerce-message a:not(.button),
.woocommerce .woocommerce-info a:not(.button),
.woocommerce .woocommerce-error a:not(.button) {
  color: #ff966f;
}

/* Product metadata */
.woocommerce div.product .product_meta {
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid #383838;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.8;
}

.woocommerce div.product .product_meta > span {
  display: block;
}

/* Shop product cards */
.woocommerce ul.products li.product {
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 16px;
  background: #171717;
}

.woocommerce ul.products li.product a img {
  border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.woocommerce ul.products li.product .price {
  margin-top: 10px;
  font-size: 20px;
}

.woocommerce .woocommerce-result-count {
  color: #bdbdbd;
}

.woocommerce .woocommerce-ordering {
  max-width: 100%;
  margin-bottom: 30px;
}

/* Product details tabs */
.woocommerce div.product .woocommerce-tabs {
  clear: both;
  padding-top: 32px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: #383838;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 8px 0 0;
  padding: 0 20px;
  border: 1px solid #383838;
  border-radius: 8px 8px 0 0;
  background: #171717;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #c9c9c9;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #242424;
  border-bottom-color: #242424;
}

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

.woocommerce div.product .woocommerce-tabs .panel {
  color: #d0d0d0;
  line-height: 1.8;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  color: #fff;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 12px;
  color: #e8e8e8;
  border-color: #383838;
}

/* Mobile layout */
@media (max-width: 768px) {
  body.woocommerce #container {
    width: calc(100% - 32px);
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce div.product div.summary {
    padding: 24px 20px;
  }

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

  .woocommerce .woocommerce-message .button {
    float: none;
    display: block;
    margin-bottom: 14px;
    text-align: center;
  }
}