/* K&G Mowers - compatibility styles for assets that were never archived.
   Restores basic WooCommerce layout that the archived theme CSS no longer covers.
   No redesign: only the structures that would otherwise collapse into a plain list. */

.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 26px 22px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

ul.products li.product,
ul.products li {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0 0 14px;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
}

ul.products li.product img {
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  display: block;
}

ul.products li.product h2,
ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 6px;
  padding: 0;
  font-weight: 600;
}

.woocommerce-Price-amount,
.price,
.price ins {
  font-weight: 700;
  color: #f05523;
  text-decoration: none;
}

.price del {
  color: #999999;
  font-weight: 400;
  margin-right: 6px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.et_pb_button,
.add_to_cart_button,
button.single_add_to_cart_button,
input[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  background: #f05523;
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  cursor: pointer;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.add_to_cart_button:hover,
input[type="submit"]:hover {
  background: #d1400f;
  color: #ffffff;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #dddddd;
  text-decoration: none;
}

.woocommerce table.shop_attributes,
.woocommerce table.shop_table,
table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 26px;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
table.woocommerce-product-attributes th,
table.woocommerce-product-attributes td {
  border: 1px solid #e5e5e5;
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.woocommerce table.shop_attributes th,
table.woocommerce-product-attributes th {
  background: #f7f7f7;
  width: 210px;
  font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  display: inline-block;
  margin: 0 6px -1px 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #e5e5e5;
  border-bottom: 0;
  background: #f7f7f7;
  text-decoration: none;
  font-weight: 600;
}

.woocommerce div.product div.images img {
  max-width: 100%;
  height: auto;
}

.woocommerce .woocommerce-product-gallery,
.woocommerce div.product div.images {
  margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce textarea,
input[type="search"] {
  padding: 9px 12px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  max-width: 100%;
}

.woocommerce .star-rating {
  color: #f05523;
}

.kg-extra {
  clear: both;
  color: #333333;
  line-height: 1.75;
  font-size: 16px;
}

.kg-extra h2 {
  color: #222222;
}

.kg-extra p {
  margin: 0 0 16px;
}

/* Keep the archived layout from overflowing on small screens */
@media (max-width: 767px) {
  .et_pb_section,
  .et_pb_fullwidth_section {
    overflow-x: hidden;
  }
  ul.products {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px 14px;
  }
  .kg-extra {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}
