/* Pulinbo WooCommerce styling: shop grid, single product, cart and checkout.
   Payment gateway fields keep WooCommerce's own styling; this sheet
   intentionally does not target gateway inputs. */

body.woocommerce,
body.woocommerce-page {
  background-color: #fdfcfa;
  color: #111111;
}

/* Hide stray sidebar and widget output on WooCommerce pages. The shop
   templates render no sidebar; this covers widgets other code may print. */
body.woocommerce .widget-area,
body.woocommerce aside#secondary {
  display: none;
}

/* 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 {
  background-color: #111111;
  border: 1px solid #111111;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  padding: 11px 22px;
  text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: 0.6;
}

.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible,
.woocommerce select:focus-visible,
.woocommerce textarea:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

/* Notices. */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: #ffffff;
  border-top: 3px solid #111111;
  list-style: none;
  padding: 12px 16px;
}

/* Shop archive: responsive product grid. */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* WooCommerce adds clearfix pseudo-elements to the list; in a grid
   container they would become grid items, so neutralise them. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
  display: none;
}

body.woocommerce ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-radius: 12px;
  text-align: start;
}

body.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 6px;
  padding: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #111111;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: #111111;
  text-decoration: none;
}

.woocommerce ul.products li.product .price {
  margin-bottom: 12px;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 600;
}

.woocommerce ul.products li.product .price del {
  color: #8a7f74;
  font-weight: 400;
  opacity: 1;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .star-rating {
  margin-bottom: 8px;
}

.woocommerce ul.products li.product .button {
  margin-top: 0;
}

.woocommerce span.onsale {
  top: 12px;
  inset-inline-start: 12px;
  inset-inline-end: auto;
  min-height: 0;
  min-width: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 32px;
  text-align: center;
}

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

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: block;
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid #ddd3c7;
  border-radius: 999px;
  color: #111111;
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

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

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

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

/* Shop empty state (loop/no-products-found.php). */
.pulinbo-shop-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 20px;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-radius: 16px;
  text-align: center;
}

.pulinbo-shop-empty-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.3;
}

.pulinbo-shop-empty-text {
  margin: 0 0 20px;
  color: #6b6259;
  line-height: 1.55;
}

.pulinbo-shop-empty-cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.pulinbo-shop-empty-cta:hover {
  background: #333333;
  color: #ffffff;
}

/* Single product: gallery beside summary, tabs and related full width. */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 32px;
}

.woocommerce.single-product div.product div.images,
.woocommerce.single-product div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce div.product div.images img {
  border-radius: 12px;
}

.woocommerce div.product .woocommerce-product-gallery__trigger {
  inset-inline-end: 12px;
}

.woocommerce div.product .summary h1.product_title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.25;
}

.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price {
  margin-bottom: 16px;
  color: #111111;
  font-size: 1.25rem;
  font-weight: 600;
}

.woocommerce div.product .summary p.price del,
.woocommerce div.product .summary span.price del {
  color: #8a7f74;
  font-weight: 400;
}

.woocommerce div.product .summary p.price ins,
.woocommerce div.product .summary span.price ins {
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin-bottom: 20px;
  color: #44403a;
  line-height: 1.6;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
}

.woocommerce div.product form.cart div.quantity .qty {
  width: 64px;
  padding: 10px 8px;
  border: 1px solid #ddd3c7;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
}

.woocommerce div.product .product_meta {
  padding-top: 16px;
  border-top: 1px solid #eee6dd;
  font-size: 0.85rem;
  color: #6b6259;
}

/* Hides the default category label until real product categories exist. */
.product_meta .posted_in {
  display: none;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee6dd;
  list-style: none;
}

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

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

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 16px;
  color: #111111;
  text-decoration: none;
  font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 2px solid #111111;
  font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 20px 0;
  line-height: 1.6;
}

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cart page. */
.woocommerce-cart-form {
  overflow-x: auto;
}

.woocommerce table.shop_table {
  width: 100%;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-collapse: collapse;
  border-radius: 12px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0e9e0;
  text-align: start;
  vertical-align: middle;
}

.woocommerce table.shop_table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b6259;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 72px;
  height: auto;
  border-radius: 8px;
}

.woocommerce table.shop_table .product-name a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
}

.woocommerce table.shop_table .product-remove a.remove {
  color: #8a7f74;
}

.woocommerce table.shop_table .quantity .qty {
  width: 64px;
  padding: 8px;
  border: 1px solid #ddd3c7;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
}

.woocommerce table.shop_table td.actions {
  text-align: end;
}

.woocommerce table.shop_table td.actions .coupon {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  float: inline-start;
  margin-inline-end: 12px;
}

.woocommerce table.shop_table td.actions .coupon label {
  display: none;
}

.woocommerce table.shop_table td.actions .coupon .input-text {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #ddd3c7;
  border-radius: 999px;
  background: #ffffff;
}

.woocommerce .cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.woocommerce .cart-collaterals .cart_totals {
  width: 100%;
  max-width: 420px;
  float: none;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.woocommerce .wc-proceed-to-checkout {
  padding: 16px 0 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

/* Empty cart (cart/cart-empty.php). */
.pulinbo-cart-empty {
  padding: 48px 20px;
  text-align: center;
}

.pulinbo-cart-empty-message {
  margin: 0 0 20px;
  font-size: 1.125rem;
}

.pulinbo-cart-empty .return-to-shop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.pulinbo-cart-empty-designer {
  background-color: transparent;
  border: 1px solid #111111;
  color: #111111;
}

.pulinbo-cart-empty-designer:hover {
  background-color: #f5f0ea;
  color: #111111;
}

/* Checkout: two columns, fields, order review. */
form.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

form.woocommerce-checkout #customer_details {
  grid-column: 1;
}

form.woocommerce-checkout #order_review_heading,
form.woocommerce-checkout #order_review {
  grid-column: 2;
}

form.woocommerce-checkout #order_review_heading {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.woocommerce form .form-row {
  margin-bottom: 16px;
  padding: 0;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ddd3c7;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #111111;
}

.woocommerce form .form-row-first {
  float: inline-start;
  width: 48%;
}

.woocommerce form .form-row-last {
  float: inline-end;
  width: 48%;
}

.woocommerce form .form-row-wide {
  clear: both;
  width: 100%;
}

.woocommerce form .form-row .select2-container {
  width: 100%;
}

#order_review {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-radius: 12px;
}

#order_review table.woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

#order_review table.woocommerce-checkout-review-order-table th,
#order_review table.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #f0e9e0;
  background: transparent;
  text-align: start;
  vertical-align: top;
}

#order_review table.woocommerce-checkout-review-order-table tfoot th,
#order_review table.woocommerce-checkout-review-order-table tfoot td {
  font-weight: 600;
}

#order_review table.woocommerce-checkout-review-order-table .order-total th,
#order_review table.woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

#order_review #place_order {
  width: 100%;
}

@media (max-width: 768px) {
  form.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  form.woocommerce-checkout #customer_details,
  form.woocommerce-checkout #order_review_heading,
  form.woocommerce-checkout #order_review {
    grid-column: 1;
  }
}

/* ------------------------------------------------------------------ */
/* Shop archive: finished-designs grid + standard products section.   */
/* ------------------------------------------------------------------ */

body.woocommerce-shop .woocommerce-products-header {
  margin-bottom: 8px;
}

.pulinbo-shop-products {
  margin-top: 48px;
}

.pulinbo-shop-products__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #111111;
}

/* ------------------------------------------------------------------ */
/* Cart page: two columns. Left item list, right sticky summary card. */
/* CSS only: the standard cart form, quantities, remove and update    */
/* controls are untouched. No cart.php override is needed.            */
/* ------------------------------------------------------------------ */

body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-info,
body.woocommerce-cart .woocommerce > .woocommerce-error,
body.woocommerce-cart .woocommerce > .pulinbo-cart-empty {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
  min-width: 0;
}

body.woocommerce-cart .woocommerce .cart-collaterals {
  grid-column: 2;
  display: block;
  margin-top: 0;
  position: sticky;
  top: 24px;
}

body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
  width: 100%;
  max-width: none;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-radius: 12px;
}

/* The totals table sits inside the summary card: no double border. */
body.woocommerce-cart .cart_totals table.shop_table {
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 10px 0;
  background: transparent;
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart .cart_totals table.shop_table tr:last-child td {
  border-bottom: 0;
}

/* Pink order total. */
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total .amount {
  color: #E35A7F;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Black Checkout button. */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: #111111;
  border-color: #111111;
  color: #ffffff;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
}

/* Payment-marks row (text chips + coming-soon note) inside the card. */
.pulinbo-paysoon {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0e9e0;
}

.pulinbo-paysoon__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pulinbo-paysoon__chip {
  padding: 3px 9px;
  border: 1px solid #ddd3c7;
  border-radius: 6px;
  background: #FDFCFA;
  color: #6b6259;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.pulinbo-paysoon__note {
  margin: 10px 0 0;
  color: #6b6259;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body.woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .woocommerce .cart-collaterals {
    grid-column: 1;
  }

  body.woocommerce-cart .woocommerce .cart-collaterals {
    position: static;
  }
}

/* ------------------------------------------------------------------ */
/* Checkout: Payment Information card (left) + sticky order summary   */
/* and green promise card (right). The WooCommerce payment area and   */
/* its no-gateway notice are not hidden; shipping method options keep */
/* rendering through the standard review-order table.                 */
/* ------------------------------------------------------------------ */

form.woocommerce-checkout {
  row-gap: 16px;
}

/* Payment Information heading above the left column. */
form.woocommerce-checkout > .pulinbo-checkout-payment-title {
  grid-column: 1;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #111111;
}

/* Left column card: contact + shipping form. */
form.woocommerce-checkout #customer_details {
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #eee6dd;
  border-radius: 12px;
}

/* Clear the floated billing/shipping columns inside the card. */
form.woocommerce-checkout #customer_details::after {
  content: "";
  display: table;
  clear: both;
}

/* Right column order summary stays visible while scrolling. */
form.woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;
}

/* Green promise card under the order summary in the right column. */
form.woocommerce-checkout > .pulinbo-checkout-promise {
  grid-column: 2;
  padding: 20px;
  background: #EDF7F0;
  border: 1px solid #CBE8D2;
  border-radius: 12px;
}

.pulinbo-checkout-promise__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #1E4630;
}

.pulinbo-checkout-promise__text {
  margin: 0;
  color: #2F5A3E;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  form.woocommerce-checkout > .pulinbo-checkout-payment-title,
  form.woocommerce-checkout > .pulinbo-checkout-promise {
    grid-column: 1;
  }

  form.woocommerce-checkout #order_review {
    position: static;
  }
}
