.ppz-photo-row .ppz-cart-preview{display:flex;width:120px;height:140px;align-items:center;justify-content:center;background:#edf3f5;border:1px solid #d5e1e6;border-radius:8px;padding:12px}
.woocommerce .ppz-photo-row .ppz-cart-preview img{display:block;width:auto;max-width:100%;height:auto;max-height:116px;object-fit:contain;box-shadow:0 2px 7px #263d4926}
.ppz-cart-title{display:block;font-weight:600;color:#303b40}.ppz-cart-filename{display:block;font-size:13px;color:#617079;overflow-wrap:anywhere;margin:4px 0 12px}.ppz-cart-inline-preview{display:none}
.woocommerce .ppz-photo-row td.product-name{min-width:240px;text-align:left;vertical-align:top}.woocommerce .ppz-photo-row td{vertical-align:middle}.woocommerce .ppz-photo-row dl.variation{display:grid;grid-template-columns:120px minmax(0,1fr);gap:5px 12px;margin:0;font-size:13px;line-height:1.5}
.woocommerce .ppz-photo-row dl.variation dt,.woocommerce .ppz-photo-row dl.variation dd{float:none!important;margin:0!important;padding:0!important;clear:none!important;min-width:0;overflow-wrap:anywhere}.woocommerce .ppz-photo-row dl.variation dt{font-weight:400;color:#617079}.woocommerce .ppz-photo-row dl.variation dd p{margin:0}.ppz-cart-preview-missing{font-size:12px;color:#617079;text-align:center}
.woocommerce .ppz-photo-row .quantity input.qty{min-height:44px;min-width:64px}.woocommerce .ppz-photo-row a.remove{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center}
.woocommerce-checkout .ppz-cart-inline-preview,.woocommerce-mini-cart .ppz-cart-inline-preview{display:block;float:left;margin:0 12px 10px 0}.woocommerce-checkout .ppz-cart-preview{width:76px;height:88px;padding:8px}.woocommerce-checkout .ppz-photo-row dl.variation{clear:both}
.woocommerce-mini-cart .ppz-cart-inline-preview{display:none}
.woocommerce-checkout .ppz-photo-row td.product-name{min-width:0;overflow-wrap:anywhere}
.ppz-cart-resolution{color:#875100;background:#fff4dd;padding:2px 5px;border-radius:3px}
.woocommerce .ppz-cart-edit{display:inline-flex;align-items:center;min-height:40px;margin:0 0 12px;padding:6px 12px;border:1px solid #b7d3dd;border-radius:5px;background:#f2f8fa;color:#08748f;font-size:13px;text-decoration:none}.woocommerce .ppz-cart-edit:focus-visible{outline:3px solid #08748f;outline-offset:2px}
@media(max-width:768px){
 .woocommerce table.shop_table_responsive tr.ppz-photo-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative;background:#fff;border:1px solid #d5e1e6;border-radius:10px;margin-bottom:18px;overflow:hidden}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td{background:#fff;padding:12px 16px;border:0}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-thumbnail{display:none!important}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-name{grid-column:1/-1;min-width:0;text-align:left!important}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-name:before{display:none}
 .woocommerce .ppz-photo-row .ppz-cart-inline-preview{display:block;float:left;margin:0 14px 14px 0}
 .woocommerce .ppz-photo-row .ppz-cart-preview{width:88px;height:100px;padding:9px}
 .woocommerce .ppz-photo-row .ppz-cart-title{padding:8px 20px 0 0}.woocommerce .ppz-photo-row .ppz-cart-filename{min-height:76px;margin-bottom:12px;padding-right:20px}
 .woocommerce .ppz-photo-row dl.variation{clear:both;grid-template-columns:110px minmax(0,1fr);gap:6px 10px;font-size:13px}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-price,.woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-quantity,.woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-subtotal{border-top:1px solid #edf1f3;min-height:48px}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-price{grid-column:1;display:flex!important;align-items:center;justify-content:space-between;gap:6px}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-quantity{grid-column:2;display:flex!important;align-items:center;justify-content:flex-end;gap:10px}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-subtotal{grid-column:1/-1;font-weight:600}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-quantity:before{content:'Copias';line-height:44px;float:none}
 .woocommerce table.shop_table_responsive tr.ppz-photo-row td.product-remove{position:absolute;right:6px;top:6px;padding:0;min-width:36px;z-index:1}
 .woocommerce-checkout table.woocommerce-checkout-review-order-table:has(tr.ppz-photo-row){table-layout:fixed;width:100%}
 .woocommerce-checkout table.woocommerce-checkout-review-order-table:has(tr.ppz-photo-row) .product-total{width:78px;padding-left:8px;padding-right:8px}
 .woocommerce-checkout .ppz-photo-row td.product-name{padding-left:10px;padding-right:10px}
 .woocommerce-checkout .ppz-photo-row dl.variation{grid-template-columns:85px minmax(0,1fr);gap:6px 8px}
 .woocommerce-checkout .ppz-photo-row .ppz-cart-inline-preview{float:none;margin:0 0 8px}
 .woocommerce-checkout .ppz-photo-row .ppz-cart-filename{min-height:0;padding-right:0}
 .woocommerce-checkout .ppz-photo-row .ppz-cart-preview{width:76px;height:88px}
}

.ppz-photo-row .variation dd{white-space:pre-line}

/* FOTO12: compact photo lines; native edit/remove destinations and tax calculations. */
.woocommerce-cart .ppz-photo-row td.product-remove{width:0;padding:0!important}.woocommerce-cart .ppz-photo-row td.product-remove>a{display:none!important}
.woocommerce-cart .ppz-photo-row td.product-thumbnail{width:170px;min-width:150px;padding:14px!important}
.ppz-cart-left{display:flex;flex-direction:column;align-items:center;gap:10px}.ppz-cart-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.woocommerce .ppz-cart-actions .ppz-cart-edit{margin:0;min-height:40px;padding:7px 10px;white-space:nowrap;font-size:12px}
.woocommerce .ppz-photo-row .ppz-cart-actions a.remove{color:#9a3e37!important;border:1px solid #d9b9b6;border-radius:5px;background:#fff;min-width:40px;min-height:40px;width:40px;height:40px;margin:0}
.woocommerce .ppz-photo-row .ppz-cart-actions a.remove:hover{background:#fff1ef;color:#762c26!important}.ppz-cart-delete svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.woocommerce .ppz-photo-row dl.variation{gap:3px 10px;line-height:1.4}.woocommerce .ppz-photo-row dl.variation dd p,.woocommerce .ppz-photo-row dl.variation dt p{margin:0!important;padding:0!important}.woocommerce .ppz-photo-row dl.variation dd{margin-bottom:0!important}
.ppz-cart-tax{display:block;font-size:11px;font-weight:400;color:#526970;white-space:normal;margin-top:3px}
.ppz-order-preview{display:flex;align-items:center;justify-content:center;float:left;width:88px;height:100px;padding:7px;margin:0 14px 10px 0;background:#edf3f5;border:1px solid #d5e1e6;border-radius:6px;box-sizing:border-box}
.woocommerce .ppz-order-preview img{max-width:100%;max-height:84px;width:auto;height:auto;object-fit:contain}.woocommerce .ppz-photo-order-row .wc-item-meta{clear:both}
@media(max-width:768px){.woocommerce-cart .ppz-photo-row .ppz-cart-inline-preview{float:left;width:150px;margin:0 14px 10px 0}.woocommerce-cart .ppz-photo-row .ppz-cart-filename{min-height:0;padding:0;margin-bottom:10px}.woocommerce-cart .ppz-photo-row .ppz-cart-title{padding:0}.woocommerce-cart .ppz-photo-row dl.variation{gap:3px 8px}.woocommerce-cart .ppz-photo-row td.product-name{padding:14px!important}.ppz-cart-left{gap:7px}.ppz-cart-actions{gap:5px}}

@media(max-width:768px){.woocommerce-cart .ppz-photo-row td.product-remove{display:none!important}}

/* FOTO13: wpautop leaves a trailing newline in dd; pre-line creates an extra row of white space. */
.woocommerce-cart .ppz-photo-row dl.variation{row-gap:2px;line-height:1.35}
.woocommerce-cart .ppz-photo-row dl.variation dt,.woocommerce-cart .ppz-photo-row dl.variation dd{white-space:normal!important;line-height:1.35!important;min-height:0;margin:0!important;padding:0!important}
.woocommerce-cart .ppz-photo-row dl.variation dd p,.woocommerce-cart .ppz-photo-row dl.variation dt p{white-space:normal;line-height:inherit!important;margin:0!important;padding:0!important}

/* MAT01: the same compact layout and native actions for configured passepartout. */
.woocommerce .ppz-mat-row .ppz-cart-preview svg{display:block;width:auto;height:auto;max-width:100%;max-height:116px}
.woocommerce .ppz-mat-row .ppz-cart-title{margin-bottom:12px}
@media(max-width:768px){.woocommerce .ppz-mat-row .ppz-cart-preview svg{max-height:82px}}
.woocommerce .ppz-mat-row .ppz-mat-cart-shape{display:block;box-sizing:border-box;flex:none;border-style:solid;outline:1px solid #aabdc5;box-shadow:0 2px 7px #263d4920}
.woocommerce .ppz-mat-row .ppz-mat-trash-icon{display:block;position:relative;width:13px;height:15px;margin-top:4px;border:1.6px solid currentColor;border-top:0;border-radius:0 0 2px 2px;background:repeating-linear-gradient(90deg,transparent 0 3px,currentColor 3px 4px,transparent 4px 6px);background-size:8px 9px;background-position:center;background-repeat:no-repeat}
.woocommerce .ppz-mat-row .ppz-mat-trash-icon::before{content:'';position:absolute;top:-4px;left:-3px;width:17px;border-top:1.6px solid currentColor}
.woocommerce .ppz-mat-row .ppz-mat-trash-icon::after{content:'';position:absolute;top:-7px;left:3px;width:5px;height:3px;border:1.6px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}

/* FOTO14: the order review uses the same compact detail spacing as the cart.
   Normal whitespace also removes the trailing newline inserted by wpautop. */
.woocommerce-checkout .ppz-photo-row dl.variation{row-gap:2px;line-height:1.35}
.woocommerce-checkout .ppz-photo-row dl.variation dt,.woocommerce-checkout .ppz-photo-row dl.variation dd{white-space:normal!important;line-height:1.35!important;min-height:0;margin:0!important;padding:0!important}
.woocommerce-checkout .ppz-photo-row dl.variation dt p,.woocommerce-checkout .ppz-photo-row dl.variation dd p{white-space:normal;line-height:inherit!important;margin:0!important;padding:0!important}
.woocommerce-checkout .ppz-photo-row .ppz-cart-title{line-height:1.35;margin-bottom:3px}
.woocommerce-checkout .ppz-photo-row .ppz-cart-filename{line-height:1.35;margin-bottom:6px}
.woocommerce-checkout .ppz-photo-row td.product-name{padding-top:10px;padding-bottom:10px}
