/* Display only. Shipping/routing/discount/VAT arithmetic remains in Woo. */
[data-mgp-cotton-hidden], [data-mgp-standard-reference][hidden],
[data-mgp-additional-reference][hidden], .mgp-cotton-cart-state, .mgp-reference-inactive,
#mgp_customer_reference_field[hidden], #mgp_cotton_customer_reference_field[hidden] { display:none !important; }
#mgp-cotton-cart-projection { display:none !important; }
tr[data-mgp-offer-heading] > th {
    padding:13px 12px !important;background:#f3f5f7 !important;color:#151b23 !important;
    border:0 !important;border-radius:8px !important;
    font-size:13px !important;font-weight:650 !important;text-align:left !important;line-height:24px !important;
}
tr[data-mgp-offer-heading="additional"] > th { background:#edf7fc !important; }
.mgp-offer-count { float:right;white-space:nowrap;font-size:12px;font-weight:600;color:#48606c;background:#fff;padding:0 9px;border-radius:20px;margin-left:8px; }
tr[data-mgp-piece-total] > td { padding:15px 0 !important;border-top:1px solid #d8dde2 !important;color:#5b6068;font-size:13px; }
tr[data-mgp-piece-total] strong { float:right;color:#151b23;font-size:14px;margin-left:12px; }
/* Scope all layout changes to recognized, server-described checkout rows. */
body table.wfacp_mini_cart_items[data-mgp-summary-table],
body table.wfacp_mini_cart_items[data-mgp-summary-table] > tbody { display:block !important;width:100% !important; }
body table.wfacp_mini_cart_items[data-mgp-summary-table] tr[data-mgp-compact-item] { display:grid !important;grid-template-columns:minmax(0,1fr) 94px;gap:0;width:100% !important; }
body table.wfacp_mini_cart_items[data-mgp-summary-table] tr[data-mgp-offer-heading],
body table.wfacp_mini_cart_items[data-mgp-summary-table] tr[data-mgp-piece-total],
body table.wfacp_mini_cart_items[data-mgp-summary-table] tr[data-mgp-offer-heading] > th,
body table.wfacp_mini_cart_items[data-mgp-summary-table] tr[data-mgp-piece-total] > td { display:block !important;box-sizing:border-box;width:100% !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] > td { padding:17px 0 !important;vertical-align:top !important;border-bottom:1px solid #eef0f2 !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-name-area { display:grid !important;grid-template-columns:48px minmax(0,1fr);gap:12px;min-width:0;width:auto !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-image { float:none !important;width:48px !important;margin:0 !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp-pro-thumb { width:48px !important;height:64px !important;padding:0 !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-image img { width:48px !important;height:64px !important;object-fit:contain;border-radius:5px;background:#f7f8f9; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp_summary_img_true { float:none !important;width:auto !important;margin:0 !important;padding:0 !important;min-width:0; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp-product-link,
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp_mini_cart_item_title,
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .fkcart-item-name { display:block !important;width:auto !important;max-width:none !important;padding:0 !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .fkcart-item-sku,
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] strong.product-quantity { display:none !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .fkcart-item-name { display:block !important;margin:0 !important;font-size:14px !important;font-weight:600 !important;line-height:1.45 !important;color:#151b23 !important;text-transform:none !important;overflow-wrap:anywhere; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] [data-mgp-item-detail] { display:block !important;margin-top:5px !important;font-size:12px !important;font-weight:400 !important;color:#5b6068 !important;line-height:1.5 !important;text-transform:none;overflow-wrap:anywhere; }
body table.wfacp_mini_cart_items tr[data-mgp-flat-details="1"] dl.variation { display:none !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp_quantity_selector { margin-top:10px !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-total { display:block !important;width:auto !important;min-width:0;text-align:right !important;padding-left:10px !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-total .amount { font-size:14px !important;font-weight:600 !important;white-space:nowrap; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .product-total .tax_label { display:block !important;font-size:10px !important;white-space:normal !important;color:#717780 !important;line-height:1.5 !important; }
body table.wfacp_mini_cart_items tr[data-mgp-compact-item] .wfacp_delete_item_wrap { display:block !important;position:static !important;margin-top:12px !important; }
/* One tax basis and one already-included discount, on both cart surfaces. */
[data-mgp-cart-price] { display:block !important; }
body .mgp-cart-regular { display:block !important;color:#7b828a !important;font-size:11px !important;font-weight:400 !important;line-height:1.5 !important;white-space:nowrap; }
body .mgp-cart-current { display:block !important;color:#151b23 !important;font-size:14px !important;font-weight:650 !important;line-height:1.5 !important;white-space:nowrap; }
body .mgp-cart-tax { display:block !important;color:#717780 !important;font-size:10px !important;font-weight:400 !important;line-height:1.5 !important; }
body .mgp-cart-discount { display:inline-block !important;background:#edf7fc !important;color:#006c99 !important;border-radius:4px;padding:2px 5px;margin:3px 0;font-size:10px !important;line-height:1.4 !important;white-space:nowrap;font-weight:600 !important; }
body .mgp-cart-discount-note { clear:both;display:block !important;padding-top:9px;color:#5b6068 !important;font-size:11px !important;line-height:1.5 !important;font-weight:400 !important; }
/* The native drawer retains its rows, keys, original quantity/remove nodes. */
body [data-mgp-drawer-heading] { clear:both;padding:11px 10px !important;border-radius:8px;background:#f3f5f7;color:#151b23;font-size:13px;font-weight:650;line-height:24px; }
body [data-mgp-drawer-heading="additional"] { background:#edf7fc; }
body [data-mgp-drawer-total] { padding:16px 0;border-top:1px solid #d8dde2;font-size:13px;color:#5b6068; }
body [data-mgp-drawer-total] > strong { float:right;color:#151b23;margin-left:12px; }
body .fkcart--item[data-mgp-drawer-item] { display:grid !important;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px 0 !important;margin:0 !important;border-bottom:1px solid #eef0f2 !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-thumb-wrap { width:48px !important;min-width:0 !important;margin:0 !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-image-wrapper { width:48px !important; }
body .fkcart--item[data-mgp-drawer-item] img.fkcart-image { width:48px !important;height:64px !important;object-fit:contain;border-radius:5px;background:#f7f8f9; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-info { display:grid !important;grid-template-columns:minmax(0,1fr) 104px;gap:10px;min-width:0;width:auto !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-meta { width:auto !important;min-width:0 !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-title { display:block !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-name { display:block !important;font-size:14px !important;line-height:1.45 !important;color:#151b23 !important;font-weight:600 !important;margin:0 !important;overflow-wrap:anywhere; }
body .fkcart--item[data-mgp-drawer-item] [data-mgp-item-detail] { display:block !important;margin-top:5px;font-size:12px !important;line-height:1.5 !important;color:#5b6068 !important;font-weight:400 !important;text-transform:none;overflow-wrap:anywhere; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-sku,
body .fkcart--item[data-mgp-drawer-item] .fkcart-select-options,
body .fkcart--item[data-mgp-drawer-item][data-mgp-flat-details="1"] .fkcart-attr-wrap,
body .fkcart--item[data-mgp-drawer-item][data-mgp-price-ready="1"] .fkcart-item-price,
body .fkcart--item[data-mgp-drawer-item][data-mgp-price-ready="1"] .fkcart-discounted-price { display:none !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-misc { width:auto !important;min-width:0 !important;text-align:right !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-qty-wrap { margin-top:10px !important; }
body .fkcart--item[data-mgp-drawer-item] .fkcart-quantity-button,
body .fkcart--item[data-mgp-drawer-item] .fkcart-quantity__input { min-height:28px; }
/* MGP drawer spacing 2026-10-21: recognized pilot rows only. */
body .fkcart--item[data-mgp-drawer-item] {
    padding:18px 16px 18px 20px !important;
    column-gap:12px !important;
}
body .fkcart--item[data-mgp-drawer-item] .fkcart-thumb-wrap {
    position:relative;align-self:start;
}
body .fkcart--item[data-mgp-drawer-item] .fkcart-remove-item {
    left:-7px !important;right:auto !important;top:-7px !important;
}
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-info {
    grid-template-columns:minmax(0,1fr) 88px !important;
    column-gap:12px !important;
}
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-meta,
body .fkcart--item[data-mgp-drawer-item] .fkcart-item-misc {
    max-width:none !important;width:100% !important;align-self:start;
}
body [data-mgp-drawer-heading] { margin:0 16px !important; }
body [data-mgp-drawer-total] { margin:0 16px !important; }
/* End MGP drawer spacing. */

.mgp-cotton-reference-field {
    clear:both;margin:0 0 24px;padding:16px;border:1px solid #d8dde2;border-radius:10px;background:#fff;
}
.mgp-cotton-reference-field label { display:block;margin-bottom:8px;color:#111;font-weight:600; }
.mgp-cotton-reference-field label span { font-weight:400;color:#5b6068; }
.mgp-cotton-reference-field input { box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8dde2;border-radius:6px; }
.mgp-cotton-reference-field small { display:block;margin-top:8px;color:#5b6068;line-height:1.5; }
@media(max-width:767px) {
    tr[data-mgp-offer-heading] { display:table-row !important; }
    tr[data-mgp-offer-heading] > th { display:table-cell !important; }
}
