/*!
Woo-Commerce Stylesheet
Version: 1.2.0 - Limpiado para PM Photos
*/

/* ── Quitar espacio extra arriba y abajo en todas las páginas WooCommerce ── */
.woocommerce main,
.woocommerce-page main {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── Quitar ancho forzado del sidebar en páginas WooCommerce ── */
.woocommerce #primary.site-main,
.woocommerce-page #primary.site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
}

/* ── Forzar ancho completo del site-main en WooCommerce ── */
.woocommerce #primary,
.woocommerce-page #primary,
.woocommerce .site-main,
.woocommerce-page .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* ── CARRITO ── */
.woocommerce-page .entry-content { min-width: 100%; }

.woocommerce table.shop_table thead { background: #000; color: #fff; }
.woocommerce table.shop_table th { padding: 15px 10px; }
.woocommerce table.shop_table td { border-top: 0; padding: 10px; }
.woocommerce table.shop_table tr { outline: 1px solid #eee; }

.woocommerce table.shop_table tbody tr:nth-child(odd),
.woocommerce table.shop_table tbody tr:last-child,
.woocommerce table.shop_table tbody tr:last-child:hover { background: #fff !important; }
.woocommerce table.shop_table tbody tr:nth-child(even) { background: #f7f6f7; }
.woocommerce table.shop_table tbody tr:hover { background: #f7f6f7 !important; }

.woocommerce a.remove { font-weight: 200; border: 1px solid; margin: auto; line-height: 0.8em; }

.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img { width: 60px; height: 60px; vertical-align: middle; }

.woocommerce table.shop_table .product-name * { color: #444; text-decoration: underline; }

.woocommerce #content table.cart td.actions,
.woocommerce table.cart td.actions,
.woocommerce-page #content table.cart td.actions,
.woocommerce-page table.cart td.actions { padding: 20px; }

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text { width: 250px; height: 36px; border-radius: 4px; }

.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce .button.wc-backward,
.woocommerce .cart .button.wc-backward { padding: 12px 20px !important; }

.cart-collaterals .cart_totals { margin-top: 20px; padding: 20px; }
.cart-collaterals .cart_totals h2 { margin: 0; font-size: 20px; padding: 15px 10px; background: #000; color: #fff; text-transform: uppercase; }

.woocommerce .cart-collaterals .cart_totals th,
.woocommerce-page .cart-collaterals .cart_totals th,
.woocommerce .cart-collaterals .cart_totals td,
.woocommerce-page .cart-collaterals .cart_totals td { padding: 15px 10px; }

#add_payment_method .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout { padding-bottom: 0 !important; }

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button { padding: 18px !important; margin-bottom: 0; }

/* ── CHECKOUT ── */
.woocommerce-checkout .checkout.woocommerce-checkout { overflow: auto; }
.woocommerce-checkout .checkout.woocommerce-checkout h3 { margin: 10px 0 5px; }

.woocommerce .col2-set,
.woocommerce-page .col2-set { width: 56%; float: left; margin-right: 4%; clear: left; }
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 { width: 100%; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row .select2-container .select2-selection--single { padding: 5px 10px; height: 40px; }
.woocommerce form .form-row input.input-text::placeholder { text-transform: capitalize; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0; }
.woocommerce form .form-row .select2-container .select2-selection__arrow { height: 38px; }

.woocommerce #order_review_heading,
.woocommerce-page #order_review_heading,
.woocommerce #order_review,
.woocommerce-page #order_review { width: 40%; float: right; clear: right; }

.woocommerce-checkout form #order_review_heading { border: 2px solid #ebebeb; border-bottom: 0; margin: 0; padding: 1.5em 1.5em 0.6em; }
.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table .product-total { text-align: right; }
.woocommerce-checkout form #order_review { padding: 0 2em 2em; border-width: 0 2px 2px; border-style: solid; border-color: #ebebeb; }

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment { background: #fff; }

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods,
#add_payment_method #payment div.form-row,
.woocommerce-cart #payment div.form-row,
.woocommerce-checkout #payment div.form-row { padding: 0; border-bottom: 0; }

.woocommerce-checkout #payment #place_order { width: 100%; height: 48px; }

.cart_totals.calculated_shipping .shop_table tbody td,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tfoot .cart-discount td,
.woocommerce-checkout-review-order-table tfoot .order-total td { text-align: right; }

.woocommerce .woocommerce-form-coupon .form-row-last,
.woocommerce-page .woocommerce-form-coupon .form-row-last { float: left; }
.woocommerce form .form-row-last button,
.woocommerce-page form .form-row-last button { padding: 0 20px !important; height: 40px; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last { width: 49%; }

/* ── ORDEN ── */
.woocommerce-order .woocommerce-notice--success { background: #6ecb63; color: #000; padding: 8px; border-radius: 5px; margin-bottom: 2em; }
.woocommerce ul.order_details { padding: 0; }
.woocommerce-order .woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-order .woocommerce-customer-details .woocommerce-column__title { margin: 10px; }

/* ── MI CUENTA ── */
.woocommerce-account .woocommerce { border: 1px solid #ebebeb; margin: 40px auto; }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 25%; border: 1px solid #eee; border-left: 0; height: 100%; }
.woocommerce-MyAccount-navigation ul { padding: 0; text-transform: uppercase; font-size: 14px; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link { border: 0; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link * { color: #444 !important; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link:hover { background-color: #111; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active *,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link:hover * { color: #fff !important; }
.woocommerce-account .woocommerce-MyAccount-content { padding: 30px; width: 75%; }
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td { padding: 10px 15px; }
.woocommerce-MyAccount-content .col2-set { width: 100%; margin-right: 0; }
.woocommerce-MyAccount-content .col2-set h3 { margin: 10px 0; }
.woocommerce-MyAccount-content .col2-set address { padding: 10px; border: 1px solid #eee; border-radius: 10px; }
.woocommerce-MyAccount-content button.button { padding: 10px 12px !important; margin-top: 15px; }

/* ── RESPONSIVE ── */
@media only screen and (max-width: 901px) and (min-width: 501px) {
  .woocommerce .col2-set, .woocommerce-page .col2-set,
  .woocommerce #order_review_heading, .woocommerce-page #order_review_heading,
  .woocommerce #order_review, .woocommerce-page #order_review { width: 100%; margin-right: 0; margin-bottom: 2em; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; }
  #add_payment_method table.cart img,
  .woocommerce-cart table.cart img,
  .woocommerce-checkout table.cart img { width: 40px; height: 40px; }
  .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; padding: 10px; }
}

@media only screen and (max-width: 768px) {
  .woocommerce table.shop_table tr { margin: 10px 0; }
  .woocommerce table.shop_table td.product-remove { background: #000 !important; }
  .woocommerce table.shop_table td.product-remove * { color: #fff !important; }
  .woocommerce table.shop_table td { padding: 10px; }
}

@media only screen and (max-width: 501px) {
  .woocommerce #content table.cart td.actions .coupon,
  .woocommerce table.cart td.actions .coupon,
  .woocommerce-page #content table.cart td.actions .coupon,
  .woocommerce-page table.cart td.actions .coupon,
  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce table.cart td.actions .coupon .input-text+.button { width: 100%; }
  .woocommerce-page table.cart td.actions .button { width: 100%; margin-top: 10px; }
  .woocommerce-account .woocommerce-MyAccount-content { padding: 1em; }
}