/*--------------------------------------------------------------
# Resets
--------------------------------------------------------------*/
button[type="submit"],
input[type="submit"] {
  border-width: 0px;
  border-style: none;
  border-color: inherit;
  border-image: ;
}

/*--------------------------------------------------------------
# General Components
--------------------------------------------------------------*/

.woocommerce_page_title {
  display: none;
}

.woocommerce-message {
  text-align: center;
  margin-bottom: 2em;
}

.woocommerce-loop-product__title {
  color: #0D0C0C;
  text-decoration: none;
}

.wc-stripe-checkout-button,
.button {
  border-radius: 0px;
  color: #e0eeee;
  font-family: "Nanum Gothic";
  font-size: 1rem;
  letter-spacing: .1rem;
  background: #131414;
  padding: 10px 20px 10px 20px;
  width: 200px;
  height: 45px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0px 5px 5px 1px rgba(0,0,0,0.4);
}

.checkout-button {
  width: 300px;
  height: 55px;
  padding-top: 15px;
}


/*--------------------------------------------------------------
# Main Page
--------------------------------------------------------------*/
.products {
  margin-left: 5vw;
  margin-right: 5vw;
  padding-left: 0;
  font-family: "Nanum Gothic";
}

.shop-product {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 400px 70px;
  justify-items: center;
  margin-bottom: 40px;
}
  .shop-product > .woocommerce-LoopProduct-link {
    display: grid;
    grid-template-rows: 300px 4em 3em;
  }

  .shop-product > a > img {
    grid-row: 1;
  }
  .shop-product > a > h2 {
    grid-row: 2;
    text-align: center;
    font-size: 1.2rem;
  }
  .shop-product > a > span {
    grid-row: 3;
    display: block;
    text-align: center;
  }
  .shop-product > .add_to_cart_button {
    grid-row: 2;
    margin-top: 1em;
  }

@media only screen and (max-width: 600px) {
  .products {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
  .products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    margin-top: 20px;
  }
}

@media only screen and (min-width: 961px) and (max-width: 1199px) {
  .products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 20px;
    margin-top: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 20px;
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
# Single Product Page
--------------------------------------------------------------*/

.product {
  margin: 0 5vw 0 5vw;
}

.entry-summary > h1,
.entry-summary > p.price {
  text-align: center;
}

.entry-summary > .variations_form > table.variations {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  margin-top: 3em;
}
  .entry-summary > .variations_form > table.variations > tbody,
  .entry-summary > .variations_form > table.variations > tbody > tr,
  .entry-summary > .variations_form > table.variations > tbody > tr > td {
    display: contents;
  }
  .reset_variations {
    justify-self: end;
  }
  .woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5em;
  }
  input[type="number"] {
    	float: left;
    	width: 70px;
    	height: 45px;
    	padding: 0;
    	text-align: center;
    	border: 2px solid #ccc;
      border-radius: 3px;
    	outline: none;
  }
  .product_meta {
    display: none;
  }

@media only screen and (max-width: 960px) {

  .woocommerce-product-gallery__image {
    display: flex;
    justify-content: center;
  }

  .entry-summary {
    margin: 0 0 5em 0;
  }
  .single_variation_wrap {
    margin-top: 2em;
  }
  input[type="number"] {
    -moz-appearance: textfield;
  }
}

@media only screen and (min-width: 961px) {

  .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
  }
  .woocommerce-product-gallery__image {
    align-items: center;
  }
  .single_variation_wrap {
    margin-top: 3em;
  }
  .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 80px auto;
  }
  .woocommerce-variation-add-to-cart > .quantity {
    grid-column: 1;
  }
  .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    grid-column: 2;
  }

}

/*------------------------------------------------------------
# Cart Page
--------------------------------------------------------------*/
.wc-proceed-to-checkout {
  display: flex;
  justify-content: center;
}

.checkout-button {
  background-color: #399b56;
  color: #fff;
  width:
}


@media only screen and (max-width: 600px) {
  .woocommerce-cart-form__contents {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: .75em;
    margin: 1em 0 3em 0;
  }

  .woocommerce-cart-form__contents > thead {
    border-bottom: 2px #000 solid;
  }

  .woocommerce-cart-form__contents > tbody > tr.woocommerce-cart-form__cart-item {
    height: 60px;
  }

  .woocommerce-cart-form__contents > tbody > tr > td {
    padding-left: 10px;
    padding-right: 10px;
  }

  td.product-remove {
    max-width: 10px;
  }

  .product-thumbnail {
    display: none;
  }

  .woocommerce-cart-form__contents > tbody > tr > td.product-quantity >div.quantity > input.input-text {
    width: 50px;
    font-size: 1em;
  }

  .woocommerce-cart-form__contents > tbody > tr > td.actions > div.coupon {
    margin-top: 20px;
    height: 80px;
  }

  .woocommerce-cart-form__contents > tbody > tr > td.actions > div.coupon > input.input-text {
    width: 100px;
    margin-right: 30px;
  }
  .woocommerce-cart-form__contents > tbody > tr > td.actions > div.coupon > input.button {
    width: 80%;
    margin-left: 10%;
    margin-top: 1em;
    padding: 10px 10px 10px 10px;
    font-size: 1em;
  }
  .woocommerce-cart-form__contents > tbody > tr > td.actions > button.button {
    width: 80%;
    padding: 10px 10px 10px 10px;
    margin-left: 10%;
    margin-top: 2em;
  }

  table.shop_table_responsive {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 1em 5px 3em 5px;
  }
  table.shop_table_responsive > tbody > tr.cart-subtotal,
  table.shop_table_responsive > tbody > tr.tax-total,
  table.shop_table_responsive > tbody > tr.order-total {
    height: 50px;
  }

  table.shop_table_responsive > tbody > tr.cart-subtotal > th,
  table.shop_table_responsive > tbody > tr.tax-total > th,
  table.shop_table_responsive > tbody > tr.order-total > th {
    text-align: left;
  }
  table.shop_table_responsive > tbody > tr.cart-subtotal > td,
  table.shop_table_responsive > tbody > tr.tax-total > td,
  table.shop_table_responsive > tbody > tr.order-total > td {
    text-align: right;
  }

  .cart_totals > h2 {
    border-bottom: 2px #000 solid;
    text-align: center;
  }

  .cart_totals > .wc-proceed-to-checkout {
    text-align: center;
  }
}

@media only screen and (min-width: 601px) {

.woocommerce-cart-form__contents {
  display: grid;
  grid-template-rows: 3em 1fr;
  grid-template-columns: 1fr;
  padding-top: 10px;
  padding-bottom: 10px;
}

.woocommerce-cart-form__contents > thead > tr {
  display: grid;
  grid-template-columns: 30px 50px 1fr 1fr 1fr 1fr;
}

.woocommerce-cart-form__contents > tbody > .woocommerce-cart-form__cart-item {
  display: grid;
  grid-template-columns: 30px 50px 1fr 1fr 1fr 1fr;
  justify-items: center;
  padding-top: 10px;
  margin-left: 10px;
}

.product-remove {
  font-size: 2em;
  text-align: center;
}
.woocommerce-cart-form__contents > tbody > tr {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.actions {
  margin: 2em 0em 1em 2em;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
}
}


@media only screen and (max-width: 400px;) {
  .cart_totals > table > tbody > tr {
    display: flex;
    justify-content: center;
  }

  .coupon {
    margin-bottom: 1em;
  }

}
@media only screen and (min-width: 401px;) {
  .cart_totals > table > tbody > tr {
    display: flex;
    justify-content: space-around;
  }
}

/*------------------------------------------------------------
# Checkout Page
--------------------------------------------------------------*/

.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields {
  margin-bottom: 5em;
}

.address-field > .input-text {
  width: 400px;
}

.place-order {
  display: flex;
  justify-content: center;
}

.place-order > .button {
  background-color: #399b56;
  color: #fff;
}

.order_details {
  display: grid;
  grid-template-rows: 2em 2em 2em 2em;
  justify-content: center;
  padding-left: 0;
}

.woocommerce-checkout {
  text-align: center;
}

/*Account Login*/

.u-columns.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.u-column1, .u-column2 {
  display: grid;
  grid-template-rows: 5em 1fr;
  justify-content: center;
}

.woocommerce-form-login, .register {
  display: grid;
  grid-template-rows: 5em 5em 8em 5em;
}

.woocommerce-form-row {
  display: grid;
  grid-template-rows: 2em 2em;
  justify-items: center;
}

.woocommerce-form-row > .woocommerce-Input {
  width: 250px;
}

.woocommerce-form-login > p:nth-child(3) {
  display: grid;
  grid-template-rows: 4em 3em;
  grid-row-gap: 1em;
  justify-items: center;
}

.woocommerce-LostPassword {
  text-align: center;
  font-size: .75rem;
}

/*Checkout Page*/

.woocommerce-billing-fields__field-wrapper > p {
  justify-items: center;
}

.woocommerce-billing-fields__field-wrapper input {
  border: 1px solid #000;
  text-align: center;
}

.woocommerce-billing-fields__field-wrapper > p:nth-child(1),
.woocommerce-billing-fields__field-wrapper > p:nth-child(2),
.woocommerce-billing-fields__field-wrapper > p:nth-child(3),
.woocommerce-billing-fields__field-wrapper > p:nth-child(4),
.woocommerce-billing-fields__field-wrapper > p:nth-child(5),
.woocommerce-billing-fields__field-wrapper > p:nth-child(7),
.woocommerce-billing-fields__field-wrapper > p:nth-child(8),
.woocommerce-billing-fields__field-wrapper > p:nth-child(9),
.woocommerce-billing-fields__field-wrapper > p:nth-child(10),
.woocommerce-billing-fields__field-wrapper > p:nth-child(11) {
  display: grid;
  grid-template-rows: 2em 2em;
  text-align: center;
}

.woocommerce-billing-fields__field-wrapper > p:nth-child(1) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(2) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(3) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(4) > span,
.woocommerce-billing-fields__field-wrapper > p:nth-child(5) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(6) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(7) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(8) > span,
.woocommerce-billing-fields__field-wrapper > p:nth-child(9) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(10) > input,
.woocommerce-billing-fields__field-wrapper > p:nth-child(11) > input {
  height: 2em;
  width: 400px !important;
  text-align: center;
}

.woocommerce-additional-fields__field-wrapper > .notes {
  display: grid;
  grid-template-columns: 400px;
  grid-row: 2em 8em;
  justify-content: center;
}

@media only screen and (max-width: 800px) {

  .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(11, 4em);
    grid-row-gap: 1em;
    justify-content: center;
  }

}

@media only screen and (min-width: 800px) {

  .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4em 4em 4em 4em 4em 4em;
    grid-row-gap: 2em;
    justify-content: center;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(3){
   grid-column: 2;
   grid-row: 1;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(4) {
    grid-column: 2;
    grid-row: 6;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(6) {
    grid-column: 1;
    grid-row: 4;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(7) {
    grid-column: 1;
    grid-row: 5;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(8) {
    grid-column: 2;
    grid-row: 5;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(9) {
    grid-column: 1;
    grid-row: 6;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(10) {
    grid-column: 2;
    grid-row: 2;
  }

  .woocommerce-billing-fields__field-wrapper > p:nth-child(11) {
    grid-column: 2;
    grid-row: 3;
  }
}
.place-order > button,
div#payment > div.form-row > button.button {
  width: 400px;
}