/* VICENTÍN 2026 · tienda: listado, ficha, carrito, pago y cuenta */

/* ------- listado ------- */
.shophead { padding: 170px 0 clamp(48px, 6vw, 84px); }
.shophead__grid { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.shophead .h2 { margin: 0; }
.shophead__side { max-width: 34ch; }
.shophead__promo { margin: 0 0 6px; font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.shophead__note { margin: 0; font-size: 15px; color: var(--muted); }
.shop--page { border-top: 0; padding-top: clamp(40px, 5vw, 72px); }
.chips { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.chip { padding: 10px 22px; border-radius: 99px; text-decoration: none; font-size: 15px; color: var(--cream); box-shadow: inset 0 0 0 1px var(--hair-strong); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.chip:hover { color: var(--gold); }
.chip[aria-current] { background: var(--gold); color: var(--ink); }
.products--three .product { grid-column: span 4; }
.shop--related .h2 { margin-bottom: clamp(32px, 4vw, 56px); }

/* ------- ficha ------- */
.pdp { padding: 130px 0 var(--section); background: var(--ink-2); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pdp__stage { margin: 0; display: grid; place-items: center; padding: clamp(24px, 4vw, 64px); border-radius: var(--radius); background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(209,193,115,.22), rgba(209,193,115,0) 70%), linear-gradient(180deg, #16150f 0%, #0d0c0a 100%); }
.pdp__stage img { width: min(100%, 680px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 14px; margin-top: 14px; }
.pdp__thumb { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; }
.pdp__thumb img { width: 100%; }
.pdp__panel { position: sticky; top: 92px; }
.pdp__crumb { margin-bottom: 18px; font-size: 14px; }
.pdp__crumb a { color: var(--gold); text-decoration: none; }
.pdp__crumb a::before { content: "← "; }
.pdp__title { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4vw, 64px); line-height: 1; text-wrap: balance; }
.pdp__price { margin: 0 0 22px; font-family: var(--display); font-size: clamp(30px, 2.8vw, 42px); color: var(--gold); line-height: 1; }
.pdp__short { color: var(--muted); }
.pdp__buy { margin: 26px 0 8px; }
.pdp__buy form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.pdp__buy .stock.out-of-stock { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 99px; color: var(--gold); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.pdp__buy .quantity input.qty { width: 84px; height: 56px; border: 0; border-radius: 999px; background: rgba(243,239,226,.08); color: var(--cream); text-align: center; font: inherit; font-size: 18px; box-shadow: inset 0 0 0 1px var(--hair-strong); }
.pdp__out { font-size: 15px; color: var(--muted); }
.pdp__out a { color: var(--gold); }
.pdp__facts { list-style: none; margin: 28px 0 0; padding: 0; font-size: 15px; color: var(--muted); }
.pdp__facts li { padding: 12px 0; border-top: 1px solid var(--hair); }
.pdp__facts a { color: var(--gold); }
.pdp-desc { padding: var(--section) 0; }
.pdp-desc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.pdp-desc__body p { color: rgba(10,10,9,.82); max-width: 62ch; }

/* ------- botones de WooCommerce ------- */
.woocommerce-page-body .button, .pdp__buy .button, .woocommerce-notices-wrapper .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--brand); font-family: var(--text); font-size: 15px; font-weight: 700; letter-spacing: .05em; text-decoration: none; line-height: 1.2;
  transition: transform var(--dur-1) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.woocommerce-page-body .button:active, .pdp__buy .button:active { transform: scale(.98); }
.woocommerce-page-body .button:hover { opacity: .84; }
.woocommerce-page-body .button:disabled, .woocommerce-page-body .button[disabled] { opacity: .4; cursor: not-allowed; }
.pdp__buy .button { min-height: 56px; background: var(--gold); color: var(--ink); flex: 1 1 200px; }
.pdp__buy .button:hover { background: var(--gold-soft); }
.woocommerce-page-body .checkout-button, #place_order { width: 100%; min-height: 60px; font-size: 16px; }

/* ------- avisos ------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 14px 20px; border-radius: 18px; background: rgba(255,255,255,.65); color: var(--ink); font-size: 16px;
}
.shop .woocommerce-message, .pdp .woocommerce-message, .pdp .woocommerce-info, .pdp .woocommerce-error { background: var(--brand); }
.woocommerce-error { background: #f6dcd8; display: block; }
.woocommerce-error li { list-style: none; }
.woocommerce-info a, .woocommerce-message a:not(.button) { color: inherit; text-underline-offset: 3px; }

/* ------- página de carrito, pago y cuenta ------- */
.woo { padding: 130px 0 var(--section); min-height: 72vh; }
.woo__title { margin-bottom: clamp(24px, 3vw, 44px); }
.woo table.shop_table { width: 100%; border-collapse: collapse; border: 0; font-size: 16px; }
.woo table.shop_table th { text-align: left; padding: 10px 12px 10px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.woo table.shop_table td { padding: 16px 12px 16px 0; border-top: 1px solid var(--hair); vertical-align: middle; }
.woo table.shop_table a:not(.button):not(.remove) { color: var(--ink); text-decoration: none; font-weight: 700; }
.woo table.cart img { width: 88px; border-radius: 14px; background: #fff; }
.woo a.remove { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); font-size: 18px; }
.woo a.remove:hover { background: var(--ink); color: var(--brand); }
.woo .quantity input.qty { width: 74px; height: 46px; border: 0; border-radius: 12px; text-align: center; font: inherit; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-strong); }
.woo td.actions { padding-top: 22px; }
.woo .coupon { display: inline-flex; gap: 10px; flex-wrap: wrap; float: left; }
.woo button[name="update_cart"] { float: right; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.woo .cart-collaterals { display: flex; justify-content: flex-end; margin-top: clamp(32px, 4vw, 56px); }
.woo .cart_totals { width: min(100%, 480px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.woo .cart_totals h2, .woo #order_review_heading, .woo .woocommerce-billing-fields h3, .woo .woocommerce-shipping-fields h3, .woo .woocommerce-additional-fields h3, .woo .woocommerce-account h2, .woo h2.woocommerce-order-details__title, .woo h2.woocommerce-column__title, .woo .u-column1 h2, .woo .u-column2 h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; color: var(--ink); }
.woo .wc-proceed-to-checkout { padding-top: 20px; }
.woo .cart-empty { font-size: 18px; }
.woo .return-to-shop { margin-top: 10px; }

/* formularios */
.woo .form-row { margin: 0 0 18px; padding: 0; }
.woo .form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.woo .form-row label.checkbox, .woo .form-row label.woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.woo .required { color: #7a1f1a; text-decoration: none; }
.woo input.input-text, .woo textarea, .woo select, .woo .select2-container--default .select2-selection--single, .woo input[type="password"], .woo input[type="email"], .woo input[type="text"], .woo input[type="tel"] {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--hair-strong);
}
.woo .coupon input.input-text { width: 180px; }
.woo .select2-container--default .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.woo .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.3; color: var(--ink); }
.woo .select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }
.woo input:focus, .woo textarea:focus, .woo select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.woo .woocommerce-invalid input.input-text { box-shadow: inset 0 0 0 2px #a3322a; }
.woo .col2-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.woo .col2-set::before, .woo .col2-set::after { display: none; }
.woo #customer_details.col2-set { grid-template-columns: 1fr; gap: 24px; }

/* finalizar compra a dos columnas */
@media (min-width: 981px) {
  .woo form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .woo form.checkout > * { grid-column: 1; }
  .woo form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
  .woo form.checkout #order_review { grid-column: 2; grid-row: 2 / span 8; }
  .woo form.checkout #customer_details { grid-row: 1 / span 9; }
}
.woo #payment ul.payment_methods { list-style: none; margin: 18px 0; padding: 0; }
.woo #payment ul.payment_methods > li { padding: 14px 0; border-top: 1px solid var(--hair); }
.woo #payment ul.payment_methods > li > label { display: inline; font-weight: 700; }
.woo #payment ul.payment_methods > li img { display: inline-block; max-height: 26px; width: auto; margin-left: 8px; vertical-align: middle; }
.woo #payment .payment_box { margin-top: 10px; font-size: 15px; color: var(--muted); }
.woo #payment .payment_box p:last-child { margin-bottom: 0; }
.woo .woocommerce-terms-and-conditions-wrapper { font-size: 15px; margin-bottom: 18px; }
.woo .woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; padding: 14px; background: #fff; border-radius: 12px; }
.woo .woocommerce-privacy-policy-text p { font-size: 14px; color: var(--muted); }
.woo .woocommerce-form-coupon-toggle a, .woo .woocommerce-form-login-toggle a { color: var(--ink); }

#order_review { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.woo .woocommerce-input-wrapper, .woo .password-input { display: block; width: 100%; }
.woo .password-input { position: relative; }
.woo .show-password-input { position: absolute; right: 8px; top: 50%; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a09' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat; }
.woo .show-password-input.display-password { opacity: .5; }
.woo ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.woo .woocommerce-shipping-destination, .woo .woocommerce-shipping-calculator { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.woo #ship-to-different-address { margin: 8px 0 16px; }
.woo #ship-to-different-address label { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.woo #ship-to-different-address input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--ink); }
.woo input[type="checkbox"], .woo input[type="radio"] { width: 18px; height: 18px; min-height: 0; flex: none; accent-color: var(--ink); }

/* mi cuenta */
.woo .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woo .woocommerce-MyAccount-navigation a { display: block; padding: 9px 18px; border-radius: 99px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); font-size: 15px; }
.woo .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--brand); }
.woo .woocommerce-MyAccount-content a:not(.button) { color: var(--ink); }
.woo form.login, .woo form.register, .woo form.lost_reset_password { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.woo .lost_password a { color: var(--ink); }
.woo address { font-style: normal; }

@media (max-width: 980px) {
  .woo .col2-set { grid-template-columns: 1fr; }
  .pdp__grid, .pdp-desc__grid { grid-template-columns: 1fr; }
  .pdp__panel { position: static; }
}
@media (max-width: 1080px) { .products--three .product { grid-column: span 1; } }
@media (max-width: 760px) {
  .woo table.shop_table_responsive thead { display: none; }
  .woo table.shop_table_responsive tr { display: block; padding: 12px 0; border-top: 1px solid var(--hair); }
  .woo table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border: 0; text-align: right; }
  .woo table.shop_table_responsive td::before { content: attr(data-title); font-size: 13px; color: var(--muted); }
  .woo table.shop_table_responsive td.product-remove::before, .woo table.shop_table_responsive td.product-thumbnail::before, .woo table.shop_table_responsive td.actions::before { display: none; }
  .woo table.shop_table_responsive td.actions { display: block; }
  .woo .coupon, .woo button[name="update_cart"] { float: none; width: 100%; margin-bottom: 10px; }
  .woo .coupon input.input-text, .woo .coupon .button { flex: 1 1 100%; width: 100%; }
}
/* Botón de PayPal: separado del de añadir y con la misma forma de pastilla */
.pdp__buy .ppc-button-wrapper { flex: 1 1 100%; width: 100%; margin: 12px 0 0 !important; border-radius: 999px; overflow: hidden; isolation: isolate; line-height: 0; }
.pdp__buy .ppc-button-wrapper iframe { display: block; }
.pdp__facts strong { color: var(--cream); font-weight: 600; }
